Shopify tracking and analytics.
Shopify's checkout restrictions make tracking hard to get right. TagFrog was built for this, and proves the setup with a real order.
Common Shopify tracking problems
These six show up on most Shopify stores the audit sees.
Checkout tracking not working
Problem. Shopify restricts JavaScript on checkout pages. A standard GTM container cannot see checkout steps or the purchase.
Fix. Use Shopify Web Pixels for the browser side and server-side events for the purchase. TagFrog does both from the app surface.
Duplicate transactions
Problem. The same purchase fires more than once, inflating revenue in GA4 and the ad platforms.
Fix. Deduplicate on order ID with one event_id shared by the browser and server events.
Missing add-to-cart events
Problem. Add-to-cart tracking breaks on AJAX carts, quick-add buttons, or after a theme update.
Fix. Tie the event to the cart API, not the button, or send it server side.
iOS attribution loss
Problem. iOS privacy changes mean 30 to 50 percent of conversions never reach a browser pixel.
Fix. Send the conversion server side: the Conversions API for Meta, enhanced conversions for Google Ads.
Cross-domain gaps
Problem. Sessions break when a customer moves between your domain and the Shopify checkout.
Fix. Set the linker parameter and referral exclusions so GA4 keeps one session across both.
A theme update breaks tracking
Problem. Theme updates and app installs overwrite or conflict with tracking code in theme.liquid.
Fix. Keep tracking out of the theme. An app-surface install survives theme changes.
What TagFrog does on Shopify
Installed from the app surface, never the theme. Free on GA4; TagFrog Pro at $75/mo per store adds every ad platform.
- GA4 in the browser and through the Measurement Protocol, with one session across your domain and the checkout.
- Every ecommerce event from view_item to purchase, plus refunds, from the Shopify order stream.
- Consent honoured before any tag fires: Shopify Customer Privacy, OneTrust, Cookiebot, CookieYes, Termly, Osano.
- Pro: Conversions API for Meta, TikTok, Pinterest, Google Ads, Microsoft Ads and Snapchat, deduplicated against the browser events.
- Pro: product feeds for Google Shopping, Meta, TikTok, Pinterest, Microsoft and Snapchat, refreshed on a schedule.
- A real one-cent test order, placed and refunded automatically, with a pass or fail for every step and platform.
- Watch (included with Pro when it launches): every check re-run weekly, an email when a tag disappears or a score drops.
Further reading
Find what's broken. Fix it. Keep it fixed.
Run the free tracking audit
One URL in. Every tag and pixel on the live page, what fires on consent, and what never reaches the ad platforms. No login, under a minute.
Run the auditInstall TagFrog on Shopify (free)
GA4 and server-side tracking on day one, no theme edits. Then TagFrog places a real test order and proves every step fired.
Request the installTagFrog Pro, $75/mo per store
Conversions API for Meta, TikTok, Pinterest, Google Ads, Microsoft and Snapchat, product feeds, and Watch included when it launches: weekly re-checks with an alert when anything drifts.
Get Pro, $75/mo — we send a payment linkAgency or freelancer with client sites? The same checks for every business in a territory, with leads, are at opsblu.com.