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