Tracking WIP
This commit is contained in:
@@ -176,11 +176,13 @@ export const loyaltyPageQueryRouter = router({
|
||||
|
||||
const loyaltyTrackingData: TrackingSDKPageData = {
|
||||
pageId: loyaltyPage.system.uid,
|
||||
lang: loyaltyPage.system.locale as Lang,
|
||||
domainLanguage: loyaltyPage.system.locale as Lang,
|
||||
publishedDate: loyaltyPage.system.updated_at,
|
||||
createdDate: loyaltyPage.system.created_at,
|
||||
channel: TrackingChannelEnum["scandic-friends"],
|
||||
pageType: "loyaltycontentpage",
|
||||
pageName: loyaltyPage.pageSettings.tracking_page_name,
|
||||
siteSections: loyaltyPage.pageSettings.tracking_page_name, // Always the same as pageName for this page
|
||||
}
|
||||
getLoyaltyPageSuccessCounter.add(1, metricsVariables)
|
||||
console.info(
|
||||
|
||||
Reference in New Issue
Block a user