Mobile app version of vmapp.org
Login or Join
Shelley277

: Issues overriding page field value in pageview tracking in Google Analytics I decided to override page value which is send to GA on page view. Reasons for override were: Not always page title

@Shelley277

Posted in: #EventTracking #GoogleAnalytics #UniversalAnalytics

I decided to override page value which is send to GA on page view. Reasons for override were:


Not always page title is unique (some pages have one title)
Page URLs are ugly and meaning less and looking at URL it will be hard to understand which page it is.


So I explicitly provide page value.

Like this:

ga('send', 'pageview', {'page': '/store/books/viewlist'})


My questions are:


Is this a good practice to override page value?
Why in Google Analytics Behavior -> Events -> Pages in page column I see page URL (thus "/store/driver?page=777&action=viewlist") not the page value what is sent? Is this a GA bug? In other places, for instance, in Behavior -> Site content -> All pages in page column I see correct page value (thus "/store/books/viewlist").

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme