jQuery(document).ready(function(){ var url = "https://hoodcomstudies.com/cma303/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=eafc3417986a3444c8fd3794f00b6b39"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "https://hoodcomstudies.com/cma303/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=eafc3417986a3444c8fd3794f00b6b39"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }