chore: remove comment

This commit is contained in:
Arvid Norlin
2024-02-14 14:17:47 +01:00
parent 744ac6f49b
commit b938295ea2
2 changed files with 3 additions and 4 deletions

View File

@@ -57,7 +57,6 @@ export default function RootLayout({
data-cookieconsent="ignore" data-cookieconsent="ignore"
src="/Static/dist/js/ng/main.js?1705409330990" src="/Static/dist/js/ng/main.js?1705409330990"
/> />
{/* Should this be moved to an app/layout instead? */}
<AdobeScript /> <AdobeScript />
{/* <Script {/* <Script
data-cookieconsent="ignore" data-cookieconsent="ignore"

View File

@@ -38,7 +38,6 @@ function createPageObject(trackingData: TrackingData) {
pagename: trackingData.pageName, pagename: trackingData.pageName,
pagetype: trackingData.pageType, pagetype: trackingData.pageType,
pageurl, // is window.location.href viable? pageurl, // is window.location.href viable?
...sitesections,
createDate: trackingData.createdDate, createDate: trackingData.createdDate,
publishDate: trackingData.publishedDate, publishDate: trackingData.publishedDate,
domain, // is window.location.host viable? domain, // is window.location.host viable?
@@ -47,8 +46,9 @@ function createPageObject(trackingData: TrackingData) {
pageid: trackingData.pageId, pageid: trackingData.pageId,
sessionid: "<unique identifier of session>", // base on what? sessionid: "<unique identifier of session>", // base on what?
domainlanguage: lang, domainlanguage: lang,
hotelbrand: "scandic", // "<scandic or scandicgo)>", what is this based on? hotelbrand: "scandic",
siteversion: "new-web", // good enough? siteversion: "new-web",
...sitesections,
} }
return page_obj return page_obj
} }