Tracking, attribution & analytics

How do I set up GA4 for a Shopify store?

Short answer

Connect GA4 through Shopify’s Google & YouTube app, which sends standard e-commerce events such as view item, add to cart, begin checkout and purchase. Then verify the events in GA4’s real-time report and mark purchase as a key event.

Avoid installing GA4 twice (app plus manual code), which double-counts purchases.

Set up a simple funnel exploration in GA4 to see where visitors drop off by device and source.

Want this solved for your brand? We'll audit your store, ads and tracking and send a written plan within 48 hours.

Answered by ScaleInbox · Reviewed by Shubham Vishwakarma, founder