jQuery(document).ready(function(){ var url = "https://www.patricesoletti.com/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=99d7fc21d949c0e5d3ab5eb7b4e3086b"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); } ); window.onload = function(){ /* var url = "https://www.patricesoletti.com/wp-content/plugins/trafficanalyzer/js/ta_post_loaded.php?hid=99d7fc21d949c0e5d3ab5eb7b4e3086b"; var xhr = new XMLHttpRequest(); xhr.open("get",url,"true"); xhr.send(); */ }