feat: Add GA integration, support for GA4 (#4626)
* GA integration settings * trackingId -> measurementId Hook up script * Public page GA tracking Correct layout of settings * Remove multiple codepaths for loading GA measurementID, add missing db index * Remove unneccessary changes, tsc * test
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
BelongsTo,
|
||||
Column,
|
||||
} from "sequelize-typescript";
|
||||
import { IntegrationService } from "@shared/types";
|
||||
import Team from "./Team";
|
||||
import User from "./User";
|
||||
import IdModel from "./base/IdModel";
|
||||
@@ -17,8 +18,8 @@ import Fix from "./decorators/Fix";
|
||||
@Table({ tableName: "authentications", modelName: "authentication" })
|
||||
@Fix
|
||||
class IntegrationAuthentication extends IdModel {
|
||||
@Column
|
||||
service: string;
|
||||
@Column(DataType.STRING)
|
||||
service: IntegrationService;
|
||||
|
||||
@Column(DataType.ARRAY(DataType.STRING))
|
||||
scopes: string[];
|
||||
|
||||
Reference in New Issue
Block a user