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