Inconsistent Page Name | Community
Skip to main content
Level 2
June 10, 2021
Solved

Inconsistent Page Name

  • June 10, 2021
  • 1 reply
  • 1152 views

how to do consistent page in adobe analytics?
If pageName and Pageurl refers same page then send only pageName 
please suggest how to do that in Launch

 

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

You have a few options:

  1. The AA-recommended way: every page has its own defined pageName. So even if the URL or title changes, the pageName must still stay the same. Biggest disadvantage: your developers will hate you because they need to maintain that mapping all of the time. And if there are new pages, they need to ask you for the pageNames, so you might also end up hating yourself.
  2. The GA way: use the URL's path as the pageName. This can be obtained easily in Launch, using the "URL" data element type. Biggest disadvantage: URLs change, so the expected consistency is gone. Also, this method won't work well with Single Page App sites.
    1. BTW AA has an AppMeasurement plugin that can convert URL paths into a pageName, by replacing the "/" with ":" and dropping ".html".
  3. Use page titles only. Biggest disadvantage: titles change, so the expected consistency is gone. Another disadvantage is in troubleshooting: If you need to check a page's tracking, you'll need to figure out its URL by yourself so that you can open that page.
  4. Your own way. The advantages and disadvantages are whatever you make them to be. 😉

1 reply

yuhuisg
Community Advisor
yuhuisgCommunity AdvisorAccepted solution
Community Advisor
June 10, 2021

You have a few options:

  1. The AA-recommended way: every page has its own defined pageName. So even if the URL or title changes, the pageName must still stay the same. Biggest disadvantage: your developers will hate you because they need to maintain that mapping all of the time. And if there are new pages, they need to ask you for the pageNames, so you might also end up hating yourself.
  2. The GA way: use the URL's path as the pageName. This can be obtained easily in Launch, using the "URL" data element type. Biggest disadvantage: URLs change, so the expected consistency is gone. Also, this method won't work well with Single Page App sites.
    1. BTW AA has an AppMeasurement plugin that can convert URL paths into a pageName, by replacing the "/" with ":" and dropping ".html".
  3. Use page titles only. Biggest disadvantage: titles change, so the expected consistency is gone. Another disadvantage is in troubleshooting: If you need to check a page's tracking, you'll need to figure out its URL by yourself so that you can open that page.
  4. Your own way. The advantages and disadvantages are whatever you make them to be. 😉