Learn business growth with Google Analytics 4 Forums Google Analytics 4 Troubleshooting GTM's Youtube Trigger Failing to Fire Consistently Reply To: Troubleshooting GTM's Youtube Trigger Failing to Fire Consistently

  • Addison

    Member
    1 April 2023 at 2:10 am

    It sounds like the issue you’re experiencing could be related to how Google Tag Manager (GTM) is interacting with the modal that your video lives in. Once the first video is played, GTM might not be recognizing the other videos as new components because they’re loaded dynamically within the same modal and, as a consequence, only the first video gets tracked. Try setting up ‘Observer Tags’ in GTM which is specifically designed to monitor changes in the elements of the page, like the loading of a new video in an existing modal. This tag can trigger whenever a new video gets loaded in the modal. Also, ensure that all your videos are appropriately tagged. Lastly, in your GA4 settings, make sure that ‘Enhanced measurement’ is turned ON and the specific video tracking feature is enabled under that setting. By trying this, the event should fire with the tag every time you click on a video, not just the first one.