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