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

How can I strip the GET parameters from SiteCatalyst tracking pixel request ("g" GET parameter)?

Avatar

Level 2

Hey guys,

SiteCatalyst tracking pixels always contain a "g"-parameter with the current request URL with all its GET parameters.
e.g. calling http://www.adobe.com/ch_de/?hello=world will trigger a tracking call which will contain "&g=http%3A%2F%2Fwww.adobe.com%2Fch_de%2F%3Fhello%3Dworld"

Since this may contain some data that is not meant to be sent to a server in the US, do you know a way to strip some specific or all GET parameters from the tracking request without actually altering the document.location? 

Cheers,
Bjoern

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You can use s.pageurl to override the g-parameter. You can go through the following article - https://marketing.adobe.com/resources/help/en_US/sc/implement/pageURL.html

Just be advised it may adversely affect your reports if you decide to blank this variable. 

Thanks!

TM

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

You can use s.pageurl to override the g-parameter. You can go through the following article - https://marketing.adobe.com/resources/help/en_US/sc/implement/pageURL.html

Just be advised it may adversely affect your reports if you decide to blank this variable. 

Thanks!

TM

Avatar

Level 2

Thanks TM, will definitely consider this option!

Cheers,Björn