return page URL in report (instead of page name)

Avatar

Avatar

daniels42062989

Avatar

daniels42062989

daniels42062989

31-05-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

PratheepArunRaj

Moderator

Avatar

PratheepArunRaj

Moderator

PratheepArunRaj
Moderator

17-06-2019

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

Answers (2)

Answers (2)

Avatar

Avatar

Andrey_Osadchuk

MVP

Avatar

Andrey_Osadchuk

MVP

Andrey_Osadchuk
MVP

17-06-2019

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

Avatar

MA1985

Avatar

MA1985

MA1985

17-06-2019

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