jQuery(document).ready(function(){ var url = "http://www.chwkarc.ca/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=ed1096cef44499505e870f4dc4b2b15d"; 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=ed1096cef44499505e870f4dc4b2b15d"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }