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