How to add a Tracking ID
Add a Tracking ID to connect MP Tracking Pixel with your GA4 property.
Before you start
Prepare:
- Your GA4 Measurement ID
- Your Measurement Protocol API secret
- The
item_idformat used by your product feed, if you use Google Merchant Center or Google Ads
Add the Tracking ID
- From your Shopify admin, open MP Tracking Pixel.
- Go to Tracking IDs.
- Click Add tracking ID.
- Enter a name, such as
Primary tracking ID. - Enter your GA4 Measurement ID.
- Enter your Measurement Protocol API secret.
- Choose whether to enable
gtag.json the storefront. - Choose whether to enable GA4 DebugView mode while testing.
- Select a GA4 item_id mapping.
- Review the ecommerce events.
- Click Save.
What happens after saving
MP Tracking Pixel creates or updates the managed Shopify Web Pixel for your store.
Storefront sync may take 2-5 minutes after saving.
Tracking ID limit
MP Tracking Pixel currently allows one Tracking ID per store.
If you see Tracking ID limit reached, edit the existing Tracking ID instead of creating another one.