This guide shows you how to add a “Back Traffic” redirect to your landing pages.
Normally, when users hit the back button, you lose any chance to monetize them. With this script, they’re redirected to a YTZ campaign instead, turning lost traffic into profit. Many partners report a 5–10% boost in overall performance.
Just paste the following code into your landing page header and add your YTZ offer link. This script is supported in over 98% of internet browsers. View the full list
<script type="text/javascript">
!function(){
var campaign_link = "https://example.com?kw="; // REPLACE WITH YOUR LINK
var t;
try{
for(t=0;10>t;++t)history.pushState({},"","#");
onpopstate=function(t){t.state&&location.replace(campaign_link)}
}
catch(o){}
}();
</script>
Important: Make sure you grab your YTZ campaign link and add tracking parameters