Reputation: 872
I have some IFRAMEs on my pages for external services -- AddThis, YouTube, and a JWPlayer-based custom video solution. I want to use GTM to track clicks and responses in those IFRAMEs (particularly 'play' events on the video) but the cross-domain policy prevents that. How do I make that work -- and how do I get it to work in GTM?
Upvotes: 3
Views: 4166
Reputation: 872
It took me a while to figure it out, but basically:
I wrote up a more complete, long-form guide at https://www.wnet.org/2015/07/09/using-google-tag-manager-for-custom-event-tracking/
Upvotes: 2