Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Is there a max URL length for Omniture tracking links?

Avatar

Level 1

Hey there community,

I have been asked this question by our client, does anybody have a quick answer on it? Would be useful as to not having to trial-and-error it. Thanks in advance!

Remy

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi Remy,

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.

If there are any processing rules/vista rules that need to take place based on the page URL, it works if the URL is not truncated. However, the reports will only show the g paramter, which is the initial 255 characters. The -g is only used for processing.

Here is an article that may help you: Capturing and using page URL in reports

-Hyder

View solution in original post

3 Replies

Avatar

Level 3

Hi Remy,

Refer this link - Limits

Hope this helps.

Avatar

Correct answer by
Employee Advisor

Hi Remy,

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.

If there are any processing rules/vista rules that need to take place based on the page URL, it works if the URL is not truncated. However, the reports will only show the g paramter, which is the initial 255 characters. The -g is only used for processing.

Here is an article that may help you: Capturing and using page URL in reports

-Hyder

Avatar

Level 1

Thank you very much hyder, this helps a lot!

Cheers