return page URL in report (instead of page name) | Community
Skip to main content
New Participant
May 31, 2019 5:05 PM UTC
Solved

return page URL in report (instead of page name)

How do I return the URL of the page (as text) in my Page Views report?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
PratheepArunRaj
PratheepArunRajAccepted solution
New Participant
Jun 17, 2019 5:03 PM UTC

Dear Daniel,

If you didn't set the s.PageName variable, Adobe will automatically take URL as the Page Name.

But that's not the right way to capture Page Name if you want URL to be in your Page Name variable.

Because URL will have different protocols (http or https), it might have domain with www. or sometimes without www., it might have different Query String Parameters, different Query String Parameter Values etc.

So I would recommend you to capture the URL properly rather than leaving it to Adobe.

Thank You!

Arun

3 replies

PratheepArunRaj
PratheepArunRajAccepted solution
New Participant
Jun 17, 2019 5:03 PM UTC

Dear Daniel,

If you didn't set the s.PageName variable, Adobe will automatically take URL as the Page Name.

But that's not the right way to capture Page Name if you want URL to be in your Page Name variable.

Because URL will have different protocols (http or https), it might have domain with www. or sometimes without www., it might have different Query String Parameters, different Query String Parameter Values etc.

So I would recommend you to capture the URL properly rather than leaving it to Adobe.

Thank You!

Arun

Translate
Andrey_Osadchuk
Level 10
Jun 17, 2019 4:58 PM UTC

Hi daniels42062989,

You may want to implement a dimension (prop or eVar variable) with page URL if you are looking for reporting by URL.

Translate
Level 3
Jun 17, 2019 2:48 PM UTC

By default, Adobe returns and store the page url in the pages report if there is no value set in the s.pageName variable.

Translate