28550RE: [webanalytics] How to remove a given string from the Sitecatalyst image request.
- Oct 11, 2011Some years ago (in an early version of H-code, I believe), Omniture started
allowing you to override the default referrer value using s.referrer, just
like you can do with s.pageName.
Assuming the offending string is "gateway=BlockMe" you could do this:
myStr = "gateway=BlockMe"
s.pageName = document.location.href.split(myStr).join("")
s.referrer = document.referrer.split(myStr).join("")
From: firstname.lastname@example.org [mailto:email@example.com] On
Behalf Of mausam m
Sent: Tuesday, October 11, 2011 1:28 AM
Subject: [webanalytics] How to remove a given string from the Sitecatalyst
I am using Omniture sitecatalyst in my application.
Due to a firewall restriction within my organization, the image request is
getting blocked whenever it contains a specific string anywhere within the
This string is present in the application URL (which unfortunately, we cant
change) and so gets embedded within the image request too.
Now, for a workaround, i need to look for the string within the image
request URL and simply remove it from there.
In my knowledge, the URL contains this string within the pageName and
referrer variables but there may be other instances too. Moreover, i can
remove the string from pageName but not from referrer as it is assigned
Is there a way to search for all the instances of the string within the URL
and remove them?
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>