bir sitemize popunder kod ekledik. ancak pop'tan gelen ziyaretçi sayısı toplam sadece %3-%4 civarında. bunu nasıl arttırabiliriz? sağlam hazır kod var mı bildiğiniz?
4 siteye paylaşarak kullandığımız kod:
var ramboyeni = ['a sitesi','b sitesi','c sitesi','d sitesi'];
var rand = ramboyeni[Math.floor(Math.random() * ramboyeni.length)];
var puShown = false;
function yenigeliyor(a) {
if (puShown == true) {
return true
}
win = window.open(a, "yenipencere", "menubar=0,resizable=1,width=1,height=1");
win.moveTo(150000, 150000);
if (win) {
win.blur();
puShown = true
}
return win
}
function setCookie(b, c, d) {
var a = new Date();
a.setTime(a.getTime() + d);
document.cookie = b + "=" + c + "; expires=" + a.toGMTString()
}
function getCookie(b) {
var d = document.cookie.toString().split("; ");
var c, a, e;
for (var f = 0; f < d.length; f++) {
c = d[f].split("=");
a = c[0];
e = c[1];
if (a == b) {
return e
}
}
return null
}
function yeniranq() {
if (document.attachEvent) {
document.attachEvent("onclick", checkTarget)
} else {
if (document.addEventListener) {
document.addEventListener("click", checkTarget, false)
}
}
}
function checkTarget(b) {
if (!getCookie("yenipenc2020")) {
var b = b || window.event;
var a = yenigeliyor(rand);
setCookie("yenipenc2020", 1, 1 * 60 * 60 * 1000)
}
}
yeniranq();