Cara membuat view page counter tanpa firebase untuk blogger
Add Comment
143 x dilihat
Dokumentasi view page counter tanpa firebase Tinggal di copas dan gunakan sesuai keinginan kalian yang penting faham kode nya dan bisa menerapkannya biar tampilan blog makin cantik serta elegan tetapi perlu di perhatikan juga ini menggunakan javascript pastikan menaruh nya yang bener yahh biar tidak membebani kecepatan blog anda semua
<b:if cond='data:view.isPost'><span id='busuanzi_container_page_pv' style='display:none'>Dibaca <span id='busuanzi_value_page_pv'/> Kali</span></b:if> <span id='busuanzi_container_site_uv' style='display:none'> Unique Visitor : <span id='busuanzi_value_site_uv'></span> </span> | <span id='busuanzi_container_site_pv' style='display:none'> Page View : <span id='busuanzi_value_site_pv'></span> </span> <script>/*<![CDATA[*/var bszCaller,bszTag;!function(){var c,d,e,a=!1,b=[];ready=function(c){return a||"interactive"===document.readyState||"complete"===document.readyState?c.call(document):b.push(function(){return c.call(this)}),this},d=function(){for(var a=0,c=b.length;c>a;a++)b[a].apply(document);b=[]},e=function(){a||(a=!0,d.call(window),document.removeEventListener?document.removeEventListener("DOMContentLoaded",e,!1):document.attachEvent&&(document.detachEvent("onreadystatechange",e),window==window.top&&(clearInterval(c),c=null)))},document.addEventListener?document.addEventListener("DOMContentLoaded",e,!1):document.attachEvent&&(document.attachEvent("onreadystatechange",function(){/loaded|complete/.test(document.readyState)&&e()}),window==window.top&&(c=setInterval(function(){try{a||document.documentElement.doScroll("left")}catch(b){return}e()},5)))}(),bszCaller={fetch:function(a,b){var c="BusuanziCallback_"+Math.floor(1099511627776*Math.random());window[c]=this.evalCall(b),a=a.replace("=BusuanziCallback","="+c),scriptTag=document.createElement("SCRIPT"),scriptTag.type="text/javascript",scriptTag.defer=!0,scriptTag.src=a,document.getElementsByTagName("HEAD")[0].appendChild(scriptTag)},evalCall:function(a){return function(b){ready(function(){try{a(b),scriptTag.parentElement.removeChild(scriptTag)}catch(c){bszTag.hides()}})}}},bszCaller.fetch("//busuanzi.ibruce.info/busuanzi?jsonpCallback=BusuanziCallback",function(a){bszTag.texts(a),bszTag.shows()}),bszTag={bszs:["site_pv","page_pv","site_uv"],texts:function(a){this.bszs.map(function(b){var c=document.getElementById("busuanzi_value_"+b);c&&(c.innerHTML=a[b])})},hides:function(){this.bszs.map(function(a){var b=document.getElementById("busuanzi_container_"+a);b&&(b.style.display="none")})},shows:function(){this.bszs.map(function(a){var b=document.getElementById("busuanzi_container_"+a);b&&(b.style.display="inline")})}}; /*]]>*/</script>
0 Response to "Cara membuat view page counter tanpa firebase untuk blogger"
Post a Comment