Concatenated Alexa Certify Code

2.6k Views Asked by At

I currently have a lofty goal of getting all ( or at least most ) of our javascript and css concatenated and minified into an external file for our site.

Alexa tracking is giving me a bit of a headache. The Alexa coverage report shows that it can't find the tracking script on the pages where it has been made external.

I see the code in the external script, I know that it is firing, and there are no JavaScript errors on the page.

How does Alexa certify that these pages have the script? Do they crawl the page and wait for a callback from the script? or do they literally scan the source of the page for the script?

Does anybody know, or have a solution to this other than just making the JS inline again?

Alexa Code:

_atrk_opts = { atrk_acct:"###", domain:"###",dynamic: true};
(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://d31qbv1cthcecs.cloudfront.net/atrk.js"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })();
0

There are 0 best solutions below