Want to find the Google Analytics trackingId values in use on a page?

It’s all very well and good if you want to find the trackingIds you need to use when building a page (just check the admin console) but if you want to find out which trackingIds have actually been deployed onto a page, to debug your implementation, then you need to do this. The first gist returns an Array to the console of all tracking IDs on the page, the second simpler example just pings back a single ID.

Further Reading:

Leave a Reply

Your email address will not be published. Required fields are marked *