Mediabuy Blog
前车之鉴,后车之师
Share Media Buy
快速提升Landing Page的CTR、转化率JavaScript代码
快速提升Landing Page的CTR、转化率JavaScript代码

3条必备通用代码

<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="robots" content="noindex, nofollow, noarchive, nosnippet" />

 

打开LP弹窗代码

 <script> alert("Congratulations!nnYou have come first in "+place+"'s (Mobile) prize draw contest!nnYou are now entitled to choose (1) reward!nnPress OK to continue..."); </script>

 

单页弹窗代码:

<body bgcolor="#000000"><script type='text/javascript'>alert('***** WARNING ***** nn(4) Systems failure detected while you attempted to perform this download. Your phone contacts, photos & password could be damaged. nnImmediate action must be taken : nnStep 1: Install Kiwi Calendar Recovery from App Store nnStep 2: Load Apps & Run Auto Recovery function nnStep 3: Wait for 60 Seconds for System Repair nrnr *** Exit at your own risk ***');</script>  <meta http-equiv="refresh" content="0;URL=http://alsomomoney" />   </body>

 

显示地理位置的JavaScript Code:

<script language="JavaScript" src="https://j.maxmind.com/app/geoip.js"></script> <script> var place; var city = geoip_city(); var country = geoip_country_name(); if(city=='') place = country; else place = city; </script>  引用处代码:<script language="JavaScript">document.write(place);</script>

 

显示星期几的或具体上下午的JavaScript Code

<strong><script type="text/javascript">  var d=new Date(); var weekday=new Array(7); weekday[0]=" Sunday "; weekday[1]=" Monday "; weekday[2]=" Tuesday "; weekday[3]=" Wednesday "; weekday[4]=" Thursday "; weekday[5]=" Friday "; weekday[6]=" Saturday ";  document.write("" + weekday[d.getDay()]);  </script> <script language="JavaScript">  <!-- Begin var d = new Date(); var h = d.getHours();  if (h < 2) document.write("morning, "); else if (h < 3) document.write("morning, "); else if (h < 7) document.write("morning, "); else if (h < 12) document.write("morning, "); else if (h < 17) document.write("afternoon, "); else if (h < 23) document.write("evening, "); else document.write("evening"); // End --> </script></strong> we randomly select one <strong></strong> user from <strong><script language="JavaScript">document.write(place);</script> </strong> who is eligible for a chance to win a brand new iPad! <br />Based on today's draw you are this <strong>  <script language="JavaScript">  <!-- Begin var d = new Date(); var h = d.getHours();  if (h < 2) document.write("morning's"); else if (h < 3) document.write("morning's"); else if (h < 7) document.write("morning's"); else if (h < 12) document.write("morning's"); else if (h < 17) document.write("afternoon's"); else if (h < 23) document.write("evening's"); else document.write("evening's"); // End --> </script>

 

计时器代码:

<script> setInterval('countdown()',1000); function countdown(){ var mins = parseInt(document.getElementById("mins").innerHTML); var secs = parseInt(document.getElementById("hsecs").innerHTML); if(mins!=0 && secs==0){nmins = mins -1; nsecs = 59;} else if(mins!=0 || secs!=0){nmins = mins; nsecs = secs - 1;} else if(mins==0 && secs==0){nmins = mins; nsecs = secs;} document.getElementById("mins").innerHTML = nmins; document.getElementById("hsecs").innerHTML = nsecs; if(nsecs < 10) nsecs = "0" + nsecs; document.getElementById("secs").innerHTML = nsecs; } </script>  引用计时器代码: <span style="color:red;"><span >3</span> Mins  <span >41</span> Sec <span style="display: none;" >41</span> </span>

 

点击页面任何地方跳你想跳的页面:

<script type="text/javascript"> document.onclick = function(){location.href = "链接"};</script>

更多提升Landing Page的CTR转化率流量判断代码我会放到圈内,供圈友学习,欢迎加入。

https://sharemediabuy.com/wp-content/uploads/2018/05/beepress-beepress-weixin-zhihu-jianshu-plugin-2-4-2-357-1525404476.jpg

 

始发于微信公众号:Affiliate创客

赞赏
欢迎持续关注本博客,所有内容皆原创,如需转载,注明来路,谢谢。 关注公众号获取更多干货:affiliate创客(点赞按钮可扫码)
首页      Affiliate Market      快速提升Landing Page的CTR、转化率JavaScript代码

Leave a Reply

textsms
account_circle
email

快速提升Landing Page的CTR、转化率JavaScript代码
3条必备通用代码: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> <meta name="apple-mobile-web-app-cap…
扫描二维码继续阅读
2018-05-02


没有激活的小工具

 电子书《2018 Affiliate Meida Buy》正规教程

对新手入门和重在突破瓶颈的你绝对有帮助

  让你少踏博主走过的坑,把有限的预算放在值得测试的项目

截止3月16日,已有651人获取