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