jQuery(document).ready(function(){ var url = "https://www.thefingerandthemoon.net/blog/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=0a8218b5bdee66a3674f446f29dfaadf&aoid="; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "https://www.thefingerandthemoon.net/blog/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=0a8218b5bdee66a3674f446f29dfaadf&aoid="; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }