How to set up Google Analytics 4 (GA4) with e-commerce events in Google Tag Manager using our pre-build container template
Follow the steps in this article to set up Google Analytics 4 (GA4) including e-commerce events in Google Tag Manager using our pre-build container template.
NOTE: Click here for instructions on How to manually set up Google Analytics 4 (GA4) in Google Tag Manager
Note: Click here for instructions on setting up Google Analytics in Shopify with a Custom Pixel
https://knowledge.profitmetrics.io/how-to-set-up-google-analytics-4-ga4-custom-pixel-in-shopify
- Click here to download our pre-build container template
- Go to https://tagmanager.google.com
- Click "Admin"

- Click "Import container"

- Click "Choose container file" and select the file you just downloaded

- Click "Existing" and select "Default workspace"


- Click "Merge".
WARNING: Leaving this setting at overwrite will overwrite your entire container and delete all existing tags, triggers and variables.

- Click "Confirm"

-
Click "GA4 Measurement ID (PM Gross Profit)"

-
Insert the Measurement ID associated with your PM Gross Profit Property

-
Click "Save"

-
Click "GA4 Measurement ID (PM Revenue)"

- Insert the Measurement ID associated with your PM Revenue Property

- Click "Save"

- Click "Submit" and publish the changes


That's it. Your Google Analytics 4 properties will now receive all standard Ecommerce events, except the purchase which is provided by ProfitMetrics Integration.