JavaScript Installation Guide
Implement the AIReady bot tracker snippet dynamically using custom JavaScript.
Dynamic JavaScript Insertion
If you want to inject the tracking snippet dynamically using plain JavaScript or custom event scripts, you can write a load function. This is useful for single-page applications or tag managers.
Code Example
Paste this script snippet into your developer console, custom analytics module, or tag manager custom tag code:
javascript
(function() {
const script = document.createElement('script');
script.src = 'https://aiready.co/t.js?id=YOUR_SITE_ID';
script.async = true;
document.head.appendChild(script);
})();Still having trouble with integration?
Reach out to our developer support team directly. We are happy to help get you verified.