Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

return page URL in report (instead of page name)

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

3 Replies

Avatar

Level 2

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

Avatar

Level 10

Hi daniels42062989,

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

Avatar

Correct answer by
Community Advisor

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