Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

Inconsistent Page Name

Avatar

Level 2

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

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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. 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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.