jQuery(document).ready(function(){ var url = "https://www.thefingerandthemoon.net/blog/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=30bdd29c284dcc681e2ed0e6e2f69ecd&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=30bdd29c284dcc681e2ed0e6e2f69ecd&aoid="; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }