Skip to main content
Level 2
Jan 2, 2025 11:36 AM UTC
Solved

Subject: While Designing DataLayer, do we need to include PageURL under page info ?

I'm in the process of designing a Technical Specification Document (TSD) and when i checked couple of websites as a reference

I don't see "Page URL" in their data layer, how ever on network calls I'm able to see, the URL is getting passed and mapped to a defined, dedicated variable

how it is possible?

 

meanwhile 

can i include pageURL in my data layer structure ?

digitalData.page.pageInfo.pageURL

is this fine?

 

Please help to let me know

 

Thanks & Regards,

bjoern-koth
bjoern-kothAccepted solution
Adobe Employee
Jan 2, 2025 11:46 AM UTC

Remember that if you are using a tag management system, you can for instance easily use the document.URL from the browser, using JavaScript.

 

So, even without having it explicitly set in the data layer it will still be a simple task to map it in the Tag Manager to the tracking call

Cheers from Switzerland!

1 reply

bjoern-koth
Adobe Employee
bjoern-kothAdobe EmployeeAccepted solution
Adobe Employee
Jan 2, 2025 11:46 AM UTC

Remember that if you are using a tag management system, you can for instance easily use the document.URL from the browser, using JavaScript.

 

So, even without having it explicitly set in the data layer it will still be a simple task to map it in the Tag Manager to the tracking call

Translate
Cheers from Switzerland!