How can I strip the GET parameters from SiteCatalyst tracking pixel request ("g" GET parameter)? | Community
Skip to main content
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 1751 views

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

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 TanmayMathur

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

2 replies

TanmayMathur
Adobe Employee
TanmayMathurAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

bkothAuthor
Level 2
October 16, 2015

Thanks TM, will definitely consider this option!

Cheers,Björn