Skip to Content
TrackingGoogle Tag Manager

Google Tag Manager

Load your GTM container on all funnel pages and push AppFunnel events to the dataLayer for use with GTM triggers.

What It Does

  • Loads the GTM container script automatically on every funnel page. No manual script injection needed.
  • Pushes events to the dataLayer so you can create triggers and tags in GTM based on funnel activity (page views, purchases, etc.).

Google Tag Manager is a client-side only integration. Events are pushed to the dataLayer in the visitor’s browser. There is no server-side component.

Setup

Navigate to Settings > Integrations > Google Tag Manager in your project.

  1. Container ID: Your GTM container ID, formatted as GTM-XXXXXXX. Find this in your GTM workspace  at the top of the page.

GTM Integration Setup Insert image: The Google Tag Manager integration settings page showing the Container ID input field with a GTM-XXXXXXX placeholder value

Event Mapping

AppFunnel pushes events to the dataLayer using GA4-compatible event names by default:

AppFunnel EventDefault dataLayer Event
page.viewpage_view
checkout.startbegin_checkout
checkout.payment_addedadd_payment_info
purchase.completepurchase

Each event can be individually enabled, disabled, or remapped to a custom event name.

Using Events in GTM

Once the integration is active, create triggers in GTM based on the dataLayer events:

  1. Go to Triggers > New in your GTM workspace.
  2. Choose Custom Event as the trigger type.
  3. Enter the event name (e.g., purchase) as the event name.
  4. Attach the trigger to your tags (Google Ads conversion, GA4 event, etc.).

If you remap an event name in AppFunnel (e.g., changing purchase to conversion_complete), make sure your GTM triggers use the remapped name.

Combining with Other Integrations

GTM is commonly used alongside the Meta Ads integration. If you are already using AppFunnel’s native Meta Ads integration for Pixel tracking, you do not need to add the Meta Pixel again through GTM — this would result in duplicate events.

Use GTM for tags and services that AppFunnel does not have a native integration for (e.g., Google Ads, TikTok, Pinterest, custom analytics).

Last updated on