But that of course gets loaded on the page load rather than when the event is triggered. I tried using a $.get call but got the error:
I don't need to get any data from the URL; I just need to load it. How can I do that from JQuery?
MLHttpRequest cannot load http://exampletrackingservice.com/track?C=82374&source=js. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://mysite.com' is therefore not allowed access.
From novice to tech pro — start learning today.