Subject: While Designing DataLayer, do we need to include PageURL under page info ? | Community
Skip to main content
Level 2
January 2, 2025
Solved

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

  • January 2, 2025
  • 1 reply
  • 436 views

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,

Best answer by bjoern__koth

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

1 reply

bjoern__koth
Community Advisor and Adobe Champion
bjoern__kothCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
January 2, 2025

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!