fix: add channel and pageType
This commit is contained in:
@@ -13,13 +13,14 @@ export type TrackingSDKPageData = {
|
||||
createdDate: string
|
||||
publishedDate: string
|
||||
lang: Lang
|
||||
pageType: string
|
||||
channel: TrackingChannel
|
||||
}
|
||||
|
||||
export enum LoginTypeEnum {
|
||||
Email = "email",
|
||||
MembershipNumber = "membership number",
|
||||
MagicLink = "magic link",
|
||||
// MagicLink = "magic link",
|
||||
}
|
||||
export type LoginType = keyof typeof LoginTypeEnum
|
||||
|
||||
@@ -37,12 +38,8 @@ export type TrackingSDKProps = {
|
||||
userData: TrackingSDKUserData
|
||||
}
|
||||
|
||||
export type TrackingSDKData = {
|
||||
lang: Lang
|
||||
export type TrackingSDKData = TrackingSDKPageData & {
|
||||
pathName: string
|
||||
pageId: string
|
||||
publishedDate: string
|
||||
createdDate: string
|
||||
}
|
||||
|
||||
// Old tracking setup types:
|
||||
|
||||
Reference in New Issue
Block a user