«script>
/Query (document) ready(function(SX
URLModifier(tid"); // replace VTID to any key
function URLModifier(customKey)
{
var searchKeyWord = utm _campaign'; // replace utm_campaign to any key you want to
search for
var searchKeyWordUrl = getParamFromURL(searchKeyWord):
if(searchKeyWordUr)
searchKeyWordUr = searchKeyWordUr + '_optin1';
S('a').each(function() {
var currentLinkUrl = S(this) attr (href):
if(typeof currentLinkUr I== "undefined") //Anchor Links
var modifiedUr = currentLinkUri+(currentLinkUri.match(1?/) ? '&':?') +
customKey + '=' + searchKeyWordUrt; (this).attr*href, modifiedUri):
else // Image Links
var currentimgLinkUrt = $(this).attr('data-imagelink);
var modifiedimgUrl = currentimaL.inkUri+(currentimgLinkUrl.match(1?07 '&': 17')
+ customKey + '=' + searchKeyWordUr;
S(this) attr("data-imagelink, modifiedimaUd):
function getParamFromURL(1)
var anew RegExp|78]*t+=([^8#*)).exec(window.location.href):
return null=a=a?null:a[1]|