Retrieving URL Slug in Adobe Analytics | Community
Skip to main content
WendyS-W
New Participant
December 21, 2021
Solved

Retrieving URL Slug in Adobe Analytics

  • December 21, 2021
  • 2 replies
  • 1354 views

Many of the URLs that I'm trying to analyze are super long. I want to be able to just capture the slug. Is there a way to do this within AA?

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 PratheepArunRaj

Dear Wendy,

Not sure which report you are seeing.

If you are seeing the default URL report, then the report will have the complete URL structure and not just the URL Slug (Path).

To capture the URL Slug, you can use an eVar with a limit of 256 char bytes or use RegEx to build a classification builder to separate the URL slug if possible (Sorry, i don't have any ready-made RegEx).

Thank You, Pratheep Arun Raj B (Arun) | NextRow DigitalTerryn Winter Analytics

2 replies

PratheepArunRaj
PratheepArunRajAccepted solution
New Participant
December 22, 2021

Dear Wendy,

Not sure which report you are seeing.

If you are seeing the default URL report, then the report will have the complete URL structure and not just the URL Slug (Path).

To capture the URL Slug, you can use an eVar with a limit of 256 char bytes or use RegEx to build a classification builder to separate the URL slug if possible (Sorry, i don't have any ready-made RegEx).

Thank You, Pratheep Arun Raj B (Arun) | NextRow DigitalTerryn Winter Analytics

Pablo_Childe
New Participant
December 21, 2021

Not sure what you mean by slug but basically your url variable pass it to an evar. The evar I think is limited to 256 or 512 characters long vs 100 for url.

 

You can then pull your report by the evar and have much longer lengths viewable.

 

GLTU