guyver888
New Member
Hi,
My coding knowledge is limited. I am using this back button redirect script:
<script type="text/javascript">function appendqs(t,n){var e=t&&-1!==t.indexOf("?"),o="";return n&&(o=e?"&":"?",t+=o+n),t}var pageInfo={title:document.title,url:location.href},backPageInfo={title:null,url:appendqs("back.html",location.search.substring(1))};window.history.pushState(backPageInfo,null,backPageInfo.url),window.history.pushState(pageInfo,pageInfo.title,pageInfo.url),window.addEventListener("popstate",function(){document.URL.indexOf("back.html")>=0&&(document.location.href=document.location)});</script>
My back.html file is a simple redirect to a separate voluum campaign to track back button redirects:
<!DOCTYPE html>
<html>
<head>
<!-- HTML meta refresh URL redirection -->
<meta http-equiv="refresh"
content="0; url=http://track.mydomain.com/xxxxxxxxx...ampaign_id}&category={category}&subid={subid}">
</head>
<body>
</body>
</html>
The issue I'm having is none of my traffic source tokens are being passed onto my back button redirect Voluum campaign. Is there a solution to this or am I missing something?
Any help is appreciated.
Thanks
My coding knowledge is limited. I am using this back button redirect script:
<script type="text/javascript">function appendqs(t,n){var e=t&&-1!==t.indexOf("?"),o="";return n&&(o=e?"&":"?",t+=o+n),t}var pageInfo={title:document.title,url:location.href},backPageInfo={title:null,url:appendqs("back.html",location.search.substring(1))};window.history.pushState(backPageInfo,null,backPageInfo.url),window.history.pushState(pageInfo,pageInfo.title,pageInfo.url),window.addEventListener("popstate",function(){document.URL.indexOf("back.html")>=0&&(document.location.href=document.location)});</script>
My back.html file is a simple redirect to a separate voluum campaign to track back button redirects:
<!DOCTYPE html>
<html>
<head>
<!-- HTML meta refresh URL redirection -->
<meta http-equiv="refresh"
content="0; url=http://track.mydomain.com/xxxxxxxxx...ampaign_id}&category={category}&subid={subid}">
</head>
<body>
</body>
</html>
The issue I'm having is none of my traffic source tokens are being passed onto my back button redirect Voluum campaign. Is there a solution to this or am I missing something?
Any help is appreciated.
Thanks