refactor(LOY-48): update date property names in tracking data across contentstack queries

This commit is contained in:
Chuma McPhoy
2024-12-30 19:31:50 +01:00
parent 1f516c7c20
commit f2e29ae049
5 changed files with 10 additions and 10 deletions
@@ -177,8 +177,8 @@ export const loyaltyPageQueryRouter = router({
const loyaltyTrackingData: TrackingSDKPageData = {
pageId: loyaltyPage.system.uid,
domainLanguage: lang,
publishedDate: loyaltyPage.system.updated_at,
createdDate: loyaltyPage.system.created_at,
publishDate: loyaltyPage.system.updated_at,
createDate: loyaltyPage.system.created_at,
channel: TrackingChannelEnum["scandic-friends"],
pageType: "loyaltycontentpage",
pageName: validatedLoyaltyPage.data.trackingProps.url,