- Joined
- Apr 17, 2018
- Messages
- 22,364
In my Triple Threat thread, I talked about how I am using back button and popunder scripts to help monetize my landing pages. Well, I decided to combine them into a single script that you and I can use on any landing page really easily
I call it BackUnder
All you need to do to add Back Button or Popunder to your landing page is copy/paste this code onto the landing page (I recommend the inside the <head></head>) and change the links you want to send the person to.
In the example, someone that presses the back button in their browser will be taken to yahoo.com and after someone clicks any link on your landing page, google.com will load as a popunder and your main call-to-action link will be loaded in a new tab (which becomes the focus when clicked).
You can remove either variable to remove that functionality from your landing page. For example, if I only wanted to use the back button feature and not the popunder feature, I would simply add this code to my
I call it BackUnder
BackUnder Script
JavaScript:
<script>
var back = 'https://yahoo.com';
var under = 'https://google.com';
</script>
<script src="https://backunder.com/script.js"></script>
All you need to do to add Back Button or Popunder to your landing page is copy/paste this code onto the landing page (I recommend the inside the <head></head>) and change the links you want to send the person to.
In the example, someone that presses the back button in their browser will be taken to yahoo.com and after someone clicks any link on your landing page, google.com will load as a popunder and your main call-to-action link will be loaded in a new tab (which becomes the focus when clicked).
You can remove either variable to remove that functionality from your landing page. For example, if I only wanted to use the back button feature and not the popunder feature, I would simply add this code to my
Last edited: