As affiliate marketers we always try to squeeze as much profit out of our campaigns as possible and this little back button redirect script can add a few % to your bottom-line.
I use this script on all of my landing pages and it increases my ROI with up to 31% depending on the offer that I promote.
What this back button redirect script does is quite simple:
It manipulates where visitors are being send when they are on your landing page and hit the back button to leave your landing page.
You can imagine that the opportunities are pretty much endless, here I have listed a few possibilities:
- Send your visitors straight to the offer you are promoting.
- Send your visitors to a smartlink or offer rotator.
- Disable the back button completely and keep visitors on your landing page.
- Send visitors to a different landing page.
- Send visitors to a different offer.
- … The possibilities are endless!
I had most success by either sending the visitors direct to the offer or sending them to a completely different landing page for the same offer.
How to Use the Back Button Redirect Script
The script is written in JavaScript and can be place within the body of your html. So before the </body> tag or in the header of your page, so before the </head> tag.
I usually place it in the header of my landing pages because sometimes a page loads slow and a visitor can not be bothered to wait for the page to load. By adding the back button redirect script to the header you make sure that the back button script is loaded as early as possible.
The back button redirect script can be used in 2 ways
1. Send visitors to a different url
<script type=”text/javascript”>
! function () {
var t;
try {
for (t = 0; 10 > t; ++t) history.pushState({}, “”, “#”);
onpopstate = function (t) {
t.state && location.replace(“https://targeturl.com“)
}
} catch (o) {}
}();
</script>
How to use: Copy the code, add it to your landing page and replace https://targeturl.com with the url where you want to send your visitor.
2. Keep visitors on your landing page
<script type=”text/javascript”>
! function () {
var t;
try {
for (t = 0; 10 > t; ++t) history.pushState({}, “”, “#”);
onpopstate = function (t) {
t.state && location.replace(“#”)
}
} catch (o) {}
}();
</script>
How to use: Copy the code, add it to your landing page and a back button click will force visitors to stay on your landing page.
Tracking the ROI of your back button redirect button script
In order to track how many sales/leads you generate via this back button redirect script most trackers such as Binom, Redtrack and Voluum allow you to set a custom link for your back button.
By using a seperate URL for your back button you can see exactly what percentages of visitors leaves via the back button and how much $$$ these visitors have made you.
A word of warning
It is quite obvious that using this back button redirect script is not very user friendly. It messes with the browser experience of visitors so make sure you don´t use this on a website where you want to have good user retention.
It looks like Google has caught on on this type of browsing history manipulation and might take measures against it in future updates of the Google Chrome browser.
When this update will happen and if other browsers follow suit is not clear, but make sure to take advantage of this money generating script while you can!
The success of using this script depends a lot on where you send your visitors. Try to test different offers, landing pages and variations to see what brings you the best results.
Did you like this post? Please share it with your friends by hitting one of the share buttons.
Any questions? Please leave a comment below and I will try to reply as soon as possible.
Comments
One response to “Back Button Redirect Script”
[…] for more amazing landing page scripts? How about this back button redirect script to increase your […]