December 24, 2021 188

Best Popunder Script for 2022

With more people turning to marketing, including affiliate marketing, new ad formats also keep popping up (pun intended) while the old formats are still going strong with their stronger than ever market. However, choosing an ad format can be a tough decision. Even though every option has its own perks, Popunder ads are one of the oldest and most popular ad formats with a high success rate in every vertical.


What Is a Popunder Ad

Popunders or on-click ads are forms of advertisement that have gained exponential popularity over the past few years. Popunders are ads that open in a new browser window over the primary or active window that a user is using. However, do not get confused between Popunder ads and Tabunder ads. The latter opens in the same window that a user is using. The ones that open over an active tab are called tab-ups, and the ones that open behind it are known as tab-unders.

Popunders are less aggressive than Tabunders since users only view the former once they close an active browser window. You need to use a Javascript code if you want to display your Popunder ad.


The Best Script for Popunder in 2022

Here is an amazing Popunder script for you that you can use on WordPress. This script will allow you to add a pop-under window for whenever a person visits your website. So, if you are tired of opt-in popups or anything remotely similar to them and are looking for popup scripts that lead a visitor to another site in an entirely different window, then this is the perfect script for you.

All you have to do is copy and paste the given script. Just keep in mind to change the http://www.yahoo(dot)com to whatever domain you want to redirect your visitor to:

<script>

//Pop-under window- By JavaScript Kit
//Credit notice must stay intact for use
//Visit JavaScript Kit- Your comprehensive JavaScript, DHTML, CSS, and Ajax stop for this script

//specify page to pop-under
var popunder="http://yahoo.com"

//specify popunder window features
//set 1 to enable a particular feature, 0 to disable
var winfeatures="width=1250,height=1250,scrollbars=1,r esizable=1,toolbar=1,location=1,menubar=1,status=1 ,directories=0"

//Pop-under only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause popunder to load every time page is loaded
var once_per_session=0

///No editing after this needed/////

function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(off set, end))
}
}
return returnvalue;
}

function loadornot(){
if (get_cookie('popunder')==''){
loadpopunder()
document.cookie="popunder=yes"
}
}

function loadpopunder(){
win2=window.open(popunder,"",winfeatures)
win2.blur()
window.focus()
}

if (once_per_session==0)
loadpopunder()
else
loadornot()

</script>

Conclusion

The number of marketers using Popunder ads is rising year to year. People want to try the formats that are most effective AKA Popunders. They work the best with verticals such as pin submits, gambling, coupons, sweepstakes, adult, dating, beauty, and health, etc. So, what are you waiting for? You have the script (see above). Now, all you need is the passion to generate leads and increase brand awareness.

Do you think popunder ads are annoying?
0 votes

 

How do you like the article?
#popunder script