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.

track over 255 characters

Avatar

Level 1

Hi,

our URLs are longer than 255 characters because of various utm descriptions included. Do you have any ideas on how to track the complete URL?

I think a list evar is not useful because its purpose is to split up the content into several parts...

Regards

Stefanie

2 Replies

Avatar

Level 4

Hi @-Stef- 

 

The pageURL variable (g) in Analytics has a limit of 255 characters/bytes.

 

The first 255 characters of the URL are passed along in g. If the URL goes beyond 255, it is captured in -g. This has a limit of 2k bytes.



This might helps:  Page URL 

 

Thanks



Avatar

Employee

Hi @-Stef- PageURL or eVars in Adobe Analytics have a size limit of 255 bytes, hence for any pageURL longer than that, we can consider using two eVars (assuming 255 bytes should be sufficient for pageURL+path; and another 255 bytes for the query string parameter) 

  1. capture page URL and path in eVarXwindow.location.hostname+window.location.pathname (reference)
  2. the query string parameters in say eVarY=window.location.search 

You can then use the combination of eVarX and eVarY through data feeds/warehouse to meet your use case. Otherwise, there is not out of the box solution to capture more than 255 bytes under any dimension.