Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

return page URL in report (instead of page name)

daniels42062989
Level 1
Level 1

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

1 Accepted Solution
PratheepArunRaj
Correct answer by
Moderator
Moderator

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
MA1985
Level 2
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.

Andrey_Osadchuk
Community Advisor
Community Advisor

Hi daniels42062989,

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

PratheepArunRaj
Correct answer by
Moderator
Moderator

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