(Video) Measure School of Google Analytics – How to track iFrames with Google Tag Manager ?


Iframe Tracking with GTM was always kind of hard, because iFrames are Webpages that are loaded within other webpages. Since Google Tag Manager can only listen and track events within the parent Frame we need to use a Browser Api called postMessage to send data from the iframe to the parent frame.

Notice: This only works if you have access to change and edit the iFrame