var url = document.location; jQuery.getJSON('//happix4s.events.pixnet.net/v2/addhits.php?url='+encodeURIComponent(url));