var url = document.location; jQuery.getJSON('//2012night-party.events.pixnet.net/addhits.php?url='+url);