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