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