Widget untuk meningkatkan traffic blogger

Hari ini saya akan share widget untuk meningkatkan traffic blog setiap harinya.
Script ini bertujuan agar webcrawler ikut membuat tester untuk website anda.

Ga pake lama ikuti tutorial dibawah ini:

1. Buka dashboard blogger –> Layout –> Cari mau dibagian manakah yang ingin anda tambah kan widget ini. Saran saya sih di footer atau sidebar. –> add widget html/javascript –> masukkan kode berikut ini:

<script async='async' type="text/javascript">
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return(false);
}
var ref = getQueryVariable("target"); //add target= in last iframe source
var url = window.location.href;
var host = window.location.hostname;
 
document.write('<a target="_blank" href="https://geopeeker.com/fetch/?url=' + url + '" rel="follow" alt="geopeeker" title="geopeeker">Geopeeker</a> | <a target="_blank" href="https://www.browserling.com/browse/win/7/chrome/58/' + url + '" target="_blank" alt="chrome58" title="chrome58">chrome58</a> | <a href="http://free.pagepeeker.com/v2/thumbs.php?size=x&url=' + host + '" alt="pagepeeker" title="pagepeeker">Pagepeeker</a> | <a href="https://seositecheckup.com/seo-audit/site-loading-speed-test/' + url + '" target="_blank" title="seositecheckup" alt="seositecheckup">Seo Site Checkup</a> | <a rel="nofollow" rel="noreferrer"href="https://performance.sucuri.net/domain/' + host + '" rel="follow" alt="sucuri" title="sucuri">Sucuri Performance</a> | <a rel="nofollow" rel="noreferrer"href="http://www.monitis.com/pageload/?url=' + url + '" rel="follow" alt="monitis" title="monitis">Monitis Test</a> | <a href="http://googleweblight.com/?lite_url=' + url + '" rel="follow" alt="googleweblight" title="googleweblight">Googleweblight</a> | <a alt="mobile test" title="mobile test" target="_blank" rel="nofollow" href="https://search.google.com/search-console/mobile-friendly?url=' + url + '">Mobile Test</a> | <a alt="pagespeed" title="pagespeed" target="_blank" rel="nofollow" href="https://developers.google.com/speed/pagespeed/insights/?hl=id&url=' + url + '">Pagespeed Insight</a> | <a alt="google cache" title="google cache" target="_blank" rel="nofollow" href="https://webcache.googleusercontent.com/search?q=cache:' + url + '">Cache</a> | <a alt="web archive" title="web archive" target="_blank" rel="nofollow" href="https://web.archive.org/save/_embed/' + url + '">Archive</a> | <a target="_blank" rel="nofollow" alt="Structure" title="Structure" href="https://search.google.com/structured-data/testing-tool/u/0/#url=' + url + '">Structure</a> | <a href="view-source:' + url + '">Source</a> | <a target="_blank" rel="nofollow" title="copyscape test" alt="copyscape test" href="http://www.copyscape.com/?q=' + url + '">Copyscape</a> | <a target="_blank" rel="nofollow" title="copyscape test" alt="AMP TEST" href="https://search.google.com/search-console/amp?url=' + url + '">AMP Test</a>');
</script>

Save widget.

NOTE: tambah kode pemanggil jquery <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> diatas </head>. Namun, bila template anda sudah memilikinya ga usah di tambah lagi pemanggil jquery tersebut.

NOTE 2: Bila ingin webcrawler mengikuti fungsi widget. Ubah rel=”nofollow” diatas dengan rel=”follow”, yang belum ada rel=”follow” tambahkan saja.

Selesai. Semoga bermanfaat.