Skip to Content
SourcesShopifyDestinationsGoogle Tag Manager

Shopify and Google Tag Manager

Use Shopify storefront events with Google Tag Manager while keeping Vendo's server-side commerce data and event identity consistent.

Last reviewed September 15, 2026

Google Tag Manager (GTM) runs in the storefront browser. Use it for tags that must run client-side. Use Vendo’s Shopify source for durable server-side commerce records and downstream delivery.

Before you start

  • Get the Container ID (GTM-XXXXXXX) of your GTM container.
  • For a headless storefront, install GTM on the storefront yourself.
  • Connect Shopify to Vendo and enable the supported storefront tracking path.
  • Decide which events GTM owns and which events Vendo owns, so that you do not send them twice.
NeedRecommended owner
Marketing or analytics tags that must run in the browserGTM
Shopify orders, customers, products, refunds, and fulfillmentsVendo Shopify source
Server-side delivery to warehouses, analytics, or messaging toolsVendo destinations
Consent gating for browser tagsYour consent platform and GTM consent mode

Configure GTM

In the Vendo Shopify app, Google Tag Manager shows as Coming Soon in the Add destination window. You cannot add it as a destination from the app. If Vendo has a Container ID for your store, Vendo’s theme block loads the container on your Shopify theme.

  1. For a headless framework, add the container with the method that the framework supports.
  2. Configure consent before marketing tags fire.
  3. Create triggers only for browser events that GTM must own.
  4. When a browser event has a server-side counterpart, use the same order and event identifiers.
  5. Publish to a test environment before production.

Data layer events

Vendo pushes storefront events into the GTM data layer with these event names:

Vendo eventData layer event
Page Viewedpage_view
Product Viewedview_item
Product Added To Cartadd_to_cart
Product Removed From Cartremove_from_cart
Cart Viewedview_cart
Checkout Startedbegin_checkout
Checkout Contact Info Submittedadd_contact_info
Checkout Address Info Submittedadd_shipping_info
Checkout Shipping Info Submittedadd_shipping_info
Payment Info Submittedadd_payment_info
Checkout Completedpurchase
Collection Viewedview_item_list
Search Submittedsearch
Customer Logged Incustomer_logged_in
Newsletter Registerednewsletter_registered
Checkout Alert Displayedalert_displayed
UI Extension Erroredui_extension_errored

For other events, the event name is the Vendo event name in lowercase, with underscores for spaces.

The Vendo app shows the labels Customer Logged In (login) and Newsletter Registered (sign_up). The data layer receives customer_logged_in and newsletter_registered, not login and sign_up. Create your GTM triggers on the names in the table.

Google Tag Manager does not receive custom events.

Data layer name

If Google Tag Manager is already set up for your store, its Settings tab has a Data Layer Name (Optional) field. If you leave it blank, Vendo uses the default name dataLayer.

Avoid duplicate events

Do not send the same event independently from GTM and Vendo without a shared deduplication key. For conversion platforms, keep the same event name, event ID, order ID and event time across browser and server copies.

Verify

  1. Use GTM Preview mode to confirm that the expected tags fire once.
  2. Complete a test storefront flow.
  3. Confirm that Vendo receives the expected Shopify events.
  4. Check each downstream destination for duplicate browser and server copies.
  5. Validate consent behavior in the accepted, rejected and undecided states.

Troubleshooting

SymptomCheck
Tag never firesContainer installation, published version, trigger, and consent state
Event fires twiceTheme scripts, GTM triggers, and Vendo destination ownership
Browser and server events do not deduplicateEvent ID, order ID, event name, and timestamp mapping
Headless storefront has no eventsUse the headless Shopify guide
Need help?

When you contact support, give your workspace, the source or destination name, the job ID and the first error message.

support@vendodata.com
Last updated on