Video tutorial · Shopify and ecommerce

The Google Tag Manager setup I recommend for international ecommerce

7 minOctober 2024By John BernalWatch on YouTube
In shortStores selling in several countries face different privacy laws and more blocked tracking. This video walks through the eight building blocks I recommend, from Google Consent Mode v2 to sending consented customer data with every conversion.

The eight building blocks

  1. Google Consent Mode v2.
  2. Server-side tracking for analytics and ad platforms.
  3. Load GTM from your own domain.
  4. Send data to your own domain.
  5. A GA4 ecommerce data layer: view_item, view_item_list, select_item, add_to_cart, view_cart, begin_checkout, add_shipping_info, add_payment_info and purchase, with items, value, currency and transaction_id.
  6. Send data to every ad platform you can through the server.
  7. One internal user ID used across analytics and ad platforms.
  8. Enhanced conversions: send consented customer details with conversions.

What you get: compliance with international privacy laws, more visits and devices tracked, better data for the ad platforms' algorithms, cleaner analytics and, in the end, more sales.

Recorded in October 2024. Some screens may look different today.

JB
John Bernal

Tracking and analytics consultant with 10+ years setting up GA4, Google Tag Manager, server-side tracking and ad platform conversions. Stape partner, Top Rated Plus on Upwork. About AnalyticsEngine

Related videos

Rather have someone set it up and keep it working?

Tracking & Analytics Ops is $500 a month per website. I set up your tracking, check it every day, fix what breaks and answer your analytics questions. AI does the daily checks; I make every decision.