Set Up GTM Tracking Platforms

The Template page is where you configure all your tracking platforms and generate the GTM template file for import. This guide covers setting up each supported platform.

Template Configuration Page

Accessing the Template Page

  1. Open the GroPulse GTM & Data Layer app
  2. Click Template from the sidebar
  3. Or click Configure template from the Dashboard

Google Analytics 4 (GA4)

What You Need

  1. Measurement ID (format: G-XXXXXXXXXX)
  2. Measurement Protocol API Secret (for server-side events)

Finding Your Measurement ID

  1. Go to analytics.google.com
  2. Click Admin (gear icon)
  3. Select your property
  4. Click Data Streams
  5. Select your web stream
  6. Copy the Measurement ID
GA4 Data Streams Page

Finding Your API Secret

  1. In the same Data Stream settings
  2. Click Measurement Protocol API secrets
  3. Click Create to generate a new secret
  4. Copy the secret value
GA4 API Secret

Configuration

  1. Toggle Google Analytics 4 ON
  2. Enter your Measurement ID
  3. Enter your Measurement Protocol API Secret
  4. Click Save (or it auto-saves)

Events Tracked

  • page_view – Page views
  • view_item – Product page views
  • view_item_list – Collection views
  • add_to_cart – Add to cart actions
  • remove_from_cart – Remove from cart
  • begin_checkout – Checkout initiated
  • purchase – Completed purchases

Google Ads Conversions

What You Need

  1. Conversion ID (format: AW-XXXXXXXXX)
  2. Conversion Label (for each conversion action)

Finding Your Conversion Details

  1. Go to ads.google.com
  2. Click Tools & SettingsConversions
  3. Click on your conversion action
  4. Click Tag setupUse Google Tag Manager
  5. Copy the Conversion ID and Conversion Label

Configuration

  1. Toggle Google Ads conversions ON
  2. Enter your Conversion ID
  3. Enter your Conversion Label
  4. Optionally set Conversion Value settings

Google Ads Remarketing

What You Need

  1. Conversion ID (same as above)

Configuration

  1. Toggle Google Ads remarketing ON
  2. Enter your Conversion ID

How It Works

The remarketing tag enables:

  • Dynamic remarketing for product views
  • Cart abandonment audiences
  • Purchase exclusion audiences

Facebook Pixel

What You Need

  1. Pixel ID (15-16 digit number)
  2. Conversion API Access Token (for server-side events)
  3. Test Event Code (optional, for testing)

Finding Your Pixel ID

  1. Go to Facebook Events Manager
  2. Select your pixel
  3. Click Settings
  4. Copy your Pixel ID

Generating Conversion API Token

  1. In Events Manager, click Settings
  2. Scroll to Conversions API
  3. Click Generate access token
  4. Copy the token (it’s shown only once!)

Getting Test Event Code

  1. In Events Manager, click Test Events
  2. Copy the Test event code (e.g., TEST12345)
  3. Use this for testing, then remove before going live

Configuration

  1. Toggle Facebook pixel ON
  2. Enter your Pixel ID
  3. Enter your Conversion API Access Token
  4. (Optional) Enter Test Code for testing
  5. Click Save

Events Tracked

Shopify EventFacebook Event
Page ViewPageView
Product ViewViewContent
Add to CartAddToCart
Checkout StartInitiateCheckout
PurchasePurchase

TikTok Pixel

What You Need

  1. Pixel ID (19-character alphanumeric)
  2. Access Token (for Events API)

Finding Your Pixel ID

  1. Go to TikTok Ads Manager
  2. Click AssetsEvents
  3. Select your pixel
  4. Copy the Pixel ID

Generating Access Token

  1. In the same Events section
  2. Click SettingsEvents API
  3. Generate and copy your access token

Configuration

  1. Toggle TikTok pixel ON
  2. Enter your Pixel ID
  3. Enter your Access Token

Events Tracked

Shopify EventTikTok Event
Page ViewPageView
Product ViewViewContent
Add to CartAddToCart
Checkout StartInitiateCheckout
PurchaseCompletePayment

X (Twitter) Pixel

What You Need

  1. Pixel ID
  2. CAPI Token (for Events API)

Configuration

  1. Toggle X (Twitter) pixel ON
  2. Enter your Pixel ID
  3. Enter your CAPI Token for server-side events

LinkedIn Insight Tag

What You Need

  1. Partner ID (7-digit number)

Finding Your Partner ID

  1. Go to LinkedIn Campaign Manager
  2. Click AnalyzeInsight Tag
  3. Copy your Partner ID

Configuration

  1. Toggle LinkedIn insight ON
  2. Enter your Partner ID

Pinterest Tag

What You Need

  1. Tag ID (13-digit number)
  2. Conversion API Token (for server-side events)

Configuration

  1. Toggle Pinterest Pixel ON
  2. Enter your Tag ID
  3. Enter your CAPI Token

Snapchat Pixel

What You Need

  1. Pixel ID
  2. CAPI Token

Configuration

  1. Toggle Snapchat Pixel ON
  2. Enter your Pixel ID
  3. Enter your CAPI Token

Reddit Pixel

What You Need

  1. Pixel ID
  2. CAPI Token

Configuration

  1. Toggle Reddit Pixel ON
  2. Enter your Pixel ID
  3. Enter your CAPI Token

Downloading and Importing the Template

Download the Template

  1. Configure all your platforms
  2. Click Download GTM Template
  3. A JSON file will be downloaded

Import to Google Tag Manager

  1. Go to tagmanager.google.com
  2. Select your container
  3. Click Admin
  4. Click Import Container
  5. Choose the downloaded file
  6. Select import options:
    • New workspace: Creates a new workspace with the template
    • Existing workspace: Merges with your current workspace
  7. Select Merge (recommended) or Overwrite
  8. Click Confirm
GTM Import Container Button

After Import

  1. Review the imported tags, triggers, and variables
  2. Click Preview to test
  3. Verify events are firing correctly
  4. Click Submit to publish
GTM Imported Tags

Updating Your Template

When you add new platforms or change settings:

  1. Make changes in the app
  2. Download a new template
  3. Import to GTM (merge with existing)
  4. The new tags will be added without affecting existing ones

Troubleshooting

Template Download Fails

  • Ensure you have at least one platform enabled
  • Check that required fields are filled for enabled platforms
  • Try refreshing the page

Import Errors in GTM

  • Ensure you’re selecting the correct workspace
  • Try creating a new workspace for the import
  • Check for duplicate variable names

Tags Not Firing

  • Verify platform credentials are correct
  • Check that events are enabled in Data Layer Settings
  • Use GTM Preview mode to debug

Best Practices

  1. Test Before Publishing: Always use GTM Preview mode
  2. Use Test Codes: Facebook and TikTok provide test event codes
  3. Monitor Regularly: Check platform dashboards for data accuracy
  4. Keep Credentials Secure: Never share API tokens publicly
  5. Update Templates: Re-download when adding new platforms

Next Steps

Last updated on February 16, 2026

Was this article helpful?

PREVIOUS

GroPulse GTM FAQ & Troubleshooting

NEXT

Connect Google Tag Manager to Shopify

Powered by Support Genix