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