Magento & Adobe Commerce Tracking
Engineered for Enterprise Stability
End-to-end tracking architecture built for high-volume Magento 2 and Adobe Commerce merchants: Varnish-safe dataLayers, Hyvä storefront integration, server-side webhooks, Meta CAPI, and Google Ads Enhanced Conversions.
Why Most Magento 2 Tracking Implementations Break
Magento is an enterprise-grade platform with complex caching, multi-step checkouts, and asynchronous JavaScript dependencies:
- Full-Page Cache Collisions: Placing dynamic tracking snippets in block templates causes Varnish or Fastly to cache user-specific data or fail to trigger cart events.
- Knockout.js Async Loading Issues: In standard Luma checkout, step changes occur via asynchronous Knockout templates without triggering standard page_view events.
- Payment Gateway Disconnects: Orders routed through external 3D-Secure gateways or payment providers drop tracking if the user closes their window before returning to Magento.
A Robust Magento Measurement Stack
Built to maintain sub-second storefront load times while providing deterministic data to Google, Meta, and Klaviyo.
Hyvä & Luma Theme DataLayer Integration
Bespoke dataLayer engineering built for both modern Alpine.js/Tailwind Hyvä storefronts and classic Luma Knockout.js architectures, pushing clean customer and cart events without breaking layout caches.
Varnish & Fastly Full-Page Cache Compatibility
Customer-specific cart and quote data isolated into private session blocks (customer-data.js / localStorage), ensuring 100% accurate tracking while maintaining 99%+ edge cache hit rates.
Server-Side sGTM & Adobe Commerce Webhooks
Backend order observer modules and webhook dispatches transmitting raw transaction payloads directly to Server-Side Google Tag Manager on Google Cloud Run or Stape.
Multi-Store View & Multi-Currency Precision
Deterministic tax, discount, and localized currency calculations across complex international multi-store view setups (EUR, GBP, USD, CHF, AUD, NOK) without rounding discrepancies.
Meta Conversions API (CAPI) & Deduplication
Dual-stream browser and server attribution with persistent first-party cookies (_fbp, _fbc) and SHA-256 hashed customer parameters yielding 9.0+ Event Match Quality.
Google Ads Enhanced Conversions for B2B & B2C
Automatic extraction of customer billing details, company names, and transaction values fed directly to Google Ads Smart Bidding and Value-Based Bidding (tROAS).
Standard GA4 & CAPI Ecommerce Funnel
Complete schema implementation covering every step of the Magento purchasing journey.
| Event Name | Trigger Point | Key Event Parameters Passed |
|---|---|---|
view_item_list | Catalog category page rendered | item_list_id, item_list_name, items[] |
select_item | Product clicked from catalog or widget | item_id, item_name, index, items[] |
view_item | Product detail page (PDP) loaded | value, currency, items[item_id, sku, price, category] |
add_to_cart | Customer adds simple or configurable product to cart | value, currency, items[item_id, quantity, price, variant] |
view_cart | Customer views mini-cart or checkout/cart page | value, currency, items[] |
begin_checkout | Customer proceeds to checkout (checkout/index) | value, currency, coupon, items[] |
add_shipping_info | Shipping method selected & saved in quote | shipping_tier, value, currency, items[] |
add_payment_info | Payment gateway selected (Braintree, Adyen, Klarna) | payment_type, value, currency, items[] |
purchase | checkout/onepage/success loaded / Order observer fired | transaction_id, value, tax, shipping, currency, items[] |
My Proven 5-Step Working Process
A clear process with support every month, so you always know what is happening with your ads. Tracking is verified before your budget is scaled.
-
Step 1: Free strategy call
Free · 30 minWe talk through your business, goals, budget and current ads. You get honest, practical answers, with no pressure and no obligation.
-
Step 2: Audit, research & opportunities
Week 1I review your account, website and market, research keywords, competitors and search intent, and find where budget leaks and where the quickest wins are.
-
Step 3: Growth strategy & tracking setup
Weeks 1–2A campaign plan agreed with you, plus Google Ads, GA4 and Tag Manager tracking for calls, forms and sales (server-side or offline where needed), tested before launch.
-
Step 4: Launch & weekly optimisation
OngoingCampaigns go live, then I manage them every week: search terms, bids, budgets, ads and landing pages, always focused on more leads and sales at a lower cost.
-
Step 5: Reporting & monthly strategy call
Every monthA clear monthly report on leads, sales and cost, and a call to review results and agree the plan for the next month.
Magento Tracking FAQs
Why does full-page caching (Varnish / Fastly) break Magento tracking?
Full-page cache (FPC) aggressively caches HTML responses to keep server response times fast. If dataLayer code is injected directly into cached CMS blocks or catalog templates, one visitor may see another visitor's cart data or user IDs. We engineer dataLayer architectures that load user and cart contexts via private customer-data sections or post-load AJAX fetches, keeping FPC at 99%+ hit rates.
Does this setup support modern Hyvä storefronts?
Yes. Hyvä replaces Magento's heavy RequireJS and Knockout.js stack with Alpine.js and Tailwind CSS. We construct native Alpine.js event dispatchers that listen to Hyvä checkout and cart events, pushing clean standard dataLayer objects synchronously.
How do you handle offsite payment gateways like PayPal, Klarna, or Adyen?
Offsite gateways frequently cause missed purchases when customers close their mobile browser before being redirected to checkout/onepage/success. We implement a Magento order observer module that fires a server-side webhook whenever an order status changes to "Processing" or "Complete", ensuring 100% reconciliation in GA4 and Google Ads.
Can you track Magento B2B features (quotes, negotiated pricing)?
Yes. For Adobe Commerce B2B instances, we track custom micro-conversions including request_for_quote, quote_approved, and purchase_order_submitted with dynamic B2B company parameters.
Remote Tracking & Ads Engineering Across 24 Wealth Markets
I deliver remote Tracking & Ads Engineering directly to high-growth brands and white-label agencies across Europe, North America, Australia, and the Middle East. Work is executed inside your own containers with strict NDAs, local currency precision, and timezone alignment.
CCPA/CPRA, HIPAA sanitization, high-spend Target ROAS
Explore market hub →UK GDPR & PECR, Consent Mode v2, London working day overlap
Explore market hub →TDDDG § 25 & DSGVO, EU Frankfurt hosted containers
Explore market hub →2025 Ekomloven compliance, Vipps & Klarna tracking
Explore market hub →Privacy Act 1988 & APPs, Sydney/Melbourne working overlap
Explore market hub →Quebec Law 25 & PIPEDA, bilingual Shopify checkouts
Explore market hub →PDPL compliance, Salla/Zid & real estate pipeline attribution
Explore market hub →Revised FADP (revDSG), luxury DTC and wealth lead gen
Explore market hub →