Topics

On this page

Last updated on Oct 9, 2025

GTM Tracking

In this documentation you will learn how to use Google Tag Manager with GoDAM Videos.

What is GoDAM GTM integration?

Google Tag Manager (GTM) integration for GoDAM allows you to track detailed video engagement metrics and user behavior. This helps you understand how your audience interacts with your videos, measure content performance, and optimize your video marketing strategy. Learn more about GTM.

Why Use GTM with GoDAM?

Track Video Performance

Improve Marketing Campaigns

Better Analytics

What Gets Tracked?

When enabled, GoDAM automatically tracks these video events:

EventWhen It HappensWhat It Tells You
Video StartWhen someone clicks playHow many people are interested in your content
25% ProgressWhen 25% of video is watchedEarly engagement level
50% ProgressWhen half the video is watchedMid-point engagement
75% ProgressWhen 75% of video is watchedStrong engagement
Video CompleteWhen video finishesFull engagement and conversion

Step-by-Step Setup Guide

Step 1: Install Google Tag Manager

If you don’t have GTM set up yet, create a GTM Account

  1. Go to tagmanager.google.com
  2. Sign in with your Google account
  3. Create a new account and container
  4. Get the GTM container ID

Step 2: Install GTM4WP

  1. Install and activate the GTM4WP plugin to your WordPress site.
  2. Add your GTM ID from your Tag Manager account.
GoDAM-GTM-Tracker-Docs-image-1

Note: This step is a simpler alternative to manually adding GTM container code to your WordPress site’s <head> section. The GTM4WP plugin automatically handles the container code installation.

Step 3: Enable GTM Tracking in GoDAM

  1. Go to GoDAM Settings
    1. In your WordPress admin, navigate to GoDAM → Settings
    2. Click on the General Settings tab
  1. Turn on GTM Tracking
    1. Find the “Enable GTM Tracking” option
    2. Toggle it ON
    3. Click Save Settings
GoDAM-GTM-Tracker-Docs-image-2

Step 4: Configure Google Tag Manager

Create Triggers

In your GTM container, create these triggers:

Video Start Trigger:

  1. Trigger Type: Custom Event
  2. Event Name: video_start

Video Progress Trigger:

  1. Trigger Type: Custom Event
  2. Event Name: video_progress

Video Complete Trigger:

  1. Trigger Type: Custom Event
  2. Event Name: video_complete

Use Exact Match for simple, precise event tracking. Use Regex Match when you need pattern matching or want to catch variations. 

Example:

  1. Exact Match: video_start – Fires only for the exact event name “video_start” 
  2. Regex Match: ^video_(start|progress|complete)$ – Fires for “video_start”, “video_progress”, or “video_complete”

Create Variables

Set up these data layer variables to capture video information:

Variable NameData Layer VariableDescription
Video URLvideo_urlURL of the video
Video Titlevideo_titleName of the video
Progress Percentagevideo_progress_percentageHow much of video was watched
Page URLpage_urlURL where video is embedded
Page Titlepage_titleTitle of the page

Create Tags

For Google Analytics 4:

  1. Create GA4 Event Tags
    1. Tag Type: Google Analytics: GA4 Event
    2. Event Name: video_start (create separate tags for each event)
    3. Event Parameters:
      1. video_url: {{Video URL}}
      2. video_title: {{Video Title}}
      3. page_url: {{Page URL}}
      4. page_title:{{Page Title}}

Similarly create video_progress and video_complete events.

GoDAM-GTM-Tracker-Docs-image-3
  1. Set Up Conversion Goals
    1. In Google Analytics, create goals based on video_complete events
    2. Set up audiences for different engagement levels

Step 5: Test Your Setup

  1. Use GTM Preview Mode
    1. In GTM, click “Preview”
    2. Visit a page with a GoDAM video
    3. Play the video and watch for events in GTM preview
  2. Verify Events
    1. You should see video_start when you play
    2. Progress events at 25%, 50%, 75%
    3. video_complete when video finishes

You can go to your account on analytics.google.com and see the live events in DebugView

GoDAM-GTM-Tracker-Docs-image-4

Next Steps

Once your GTM integration is set up and working, you can start leveraging the video engagement data to improve your content strategy. Create custom dashboards in Google Analytics to monitor video performance and set up alerts for significant changes in engagement metrics. Use the drop-off data to identify specific timestamps where viewers lose interest and optimize your content accordingly. Track which videos drive the most conversions and completion rates to identify your best-performing content.