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