jQuery(document).ready(function(){ var url = "http://www.chwkarc.ca/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=ab38a46422d169f0b05e4a95d2a24b6d"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "http://www.chwkarc.ca/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=ab38a46422d169f0b05e4a95d2a24b6d"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }