: See different actions in Google Analytics when the same page title is used for multiple pages I work for a company that has a self-service web portal. Most transactions on this portal are in
I work for a company that has a self-service web portal. Most transactions on this portal are in wizard format and broken down by steps. In some cases, the same Page Title may be used for a Step and it's related sub-steps.
Examples:
Step 1 - Look up user's account
By username, by password, or both
Step 1 - Look up user's account
User's email address was found, but user needs to enter further information to identify the account
Is there a way to know the difference between #1 and #2 in GA? Unfortunately, in most cases they also have the same URL within the portal. Or does the portal need to be re-architected?
More posts by @Pierce454
1 Comments
Sorted by latest first Latest Oldest Best
One option would be to add a hash value to the URL to differentiate between the different screens such as example.com/wizard/lookup#username and example.com/wizard/lookup#more-info. Once you have this linking scheme in place you can push a new pageview event to Google Analytics using...
ga('send', 'pageview', {
'page': location.pathname + location.search + location.hash
});
And what that code will do is push the complete URL including the location hash as a new pageview to Google (you would do this instead of the default pageview code which does not include the location hash). That would then give you the listing as two separate URL's in GA without needing to do anything fancy.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.