Tracking WIP
This commit is contained in:
@@ -63,11 +63,14 @@ export const contentPageQueryRouter = router({
|
||||
|
||||
const tracking: TrackingSDKPageData = {
|
||||
pageId: contentPage.data.content_page.system.uid,
|
||||
lang: contentPage.data.content_page.system.locale as Lang,
|
||||
domainLanguage: contentPage.data.content_page.system.locale as Lang,
|
||||
publishedDate: contentPage.data.content_page.system.updated_at,
|
||||
createdDate: contentPage.data.content_page.system.created_at,
|
||||
channel: TrackingChannelEnum["static-content-page"],
|
||||
pageType: "staticcontentpage",
|
||||
pageName: contentPage.data.content_page.page_settings.tracking_page_name,
|
||||
siteSections:
|
||||
contentPage.data.content_page.page_settings.tracking_page_name, // Always the same as pageName for this page
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user