Page dimension does not track all URLs on my site | Community
Skip to main content
Level 2
August 7, 2024
Question

Page dimension does not track all URLs on my site

  • August 7, 2024
  • 2 replies
  • 1661 views

Hi folks! 

 

I am writing because this is the first time I have seen this behaviour in one of my applications. I am using the Page variable as it comes straight from Adobe to track most visited pages and page views on each. 

 

After speaking with some users about a particular page where I was not seeing many views, I found out that this Dimension is not tracking all URLs users are visiting. I know the easiest solution would be to create an evar with a custom Page Name, but don't have the resources for doing so momentarily.

 

Is there any other alternative I could use for this?

 

Thanks a lot! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

yuhuisg
Community Advisor
Community Advisor
August 7, 2024

Unlike Google Analytics, Adobe Analytics actually requires you to set a value with the Page dimension, e.g. via s.pageName if your implementation uses AppMeasurement. But if you don't set a value, then Adobe Analytics would normally fall back to using the page URL instead.

So, given this fallback, if you're still not seeing your expected page URLs being reported with the Page dimension, then the simplest reason is usually because those pages don't even have Adobe Analytics tracking in them. So that would be the first thing to check: open those pages in the browser, then check if Adobe Experience Platform Debugger reports anything with them.

Level 2
August 7, 2024

Hi @yuhuisg

 

I am using (and would like to use) the URLs alone, as I am creating a segment with these. The plan is that, according to how our URLs are structured, we know what page they are in. In this case, these all end with /qa, so I can quickly go and create the segment with this in mind.

 

Going back to the issue, as this fallback still happens, I can tell that it happens on some URLs not all, but all contained in the same application and domain. Going back to my example, I can see 5 visits to some of these pages, but having done the testing myself, it does not really show the whole list that I or some other users have visited:

I have used the debugger and can see that at least everytime I have looked at it, I have been able to see Adobe Analytics tracking on it. 

Furthermore, and just to be sure I was doing everything alright, I even created an evar and prop with this data and I can see that it is sometimes populated and others empty.

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 7, 2024

Keep in mind that the default "Pages" (or pageName) dimension, only pertains to "page views" and not to your clicks / actions. It's also limited to 100 characters... if your URLs exceed that, then they will be truncated.

 

There is nothing wrong with tracking the URL, it's just that most implementations would set up a "hit expiry eVar" for tracking this, since you can get up to 255 characters... then you can use your page name as an actual name... 

 

You don't have to of course, every implementation is different... 

 

I agree with @yuhuisg that it sounds like the pages you are missing are likely not tracking at all... that would be the best place to start.

 

As for using URL as your pageName, if this is what you wish, I would explicitly pass the URL to the dimension myself, rather than relying on the fallback solution...

Nick_Walter
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 7, 2024

The only time I have really seen anything like this is when there was a timing issue on the site or a page redirect and the page changed to quickly that we were missing data. I don't know if there is functionality like that in your space but may be worth looking into.

 

I agree with the earlier post to check URL to see if you can get what you need from that. Otherwise, you could look at interactions that could only happen on that page to get a directional count of engaged visits.

Level 2
August 7, 2024

Hi @nick_walter !

 

I think it could be the case. URL is changed when user clicks on specific tabs of a page. Maybe setting up a click on that tab as the event/trigger of the collection of the URL could fix this?

Jennifer_Dungan
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
August 7, 2024

Is your site an SPA, or is this portion of it an SPA? You mention tabs... if those tabs change the content and URL of the page using SPA techniques, and your triggers are based on something like Window Loaded or DOM Ready, that could explain a lot....

 

You might even want to create a "History Change" rule (with conditions to only trigger in certain scenarios... ) You will have to test thoroughly to be sure you don't create double tracking, which can be worse than missing traffic....