1. Knowledge base
  2. Google Analytics 4

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.

  1. Click here to download our pre-build container template
  2. Go to https://tagmanager.google.com
  3. Click "Admin"
    Import Google Analytics 4 container with custom settings - Step 2
  4. Click "Import container"
    Import Google Analytics 4 container with custom settings - Step 3
  5. Click "Choose container file" and select the file you just downloaded
    Import Google Analytics 4 container with custom settings - Step 4
  6. Click "Existing" and select "Default workspace"
    Import Google Analytics 4 container with custom settings - Step 5
    Import Google Analytics 4 container with custom settings - Step 6
  7. Click "Merge".

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

    Import Google Analytics 4 container with custom settings - Step 7

  8. Click "Confirm"
    Import Google Analytics 4 container with custom settings - Step 8
  9. Click "GA4 Measurement ID (PM Gross Profit)"Import Google Analytics 4 container with custom settings - Step 9

  10. Insert the Measurement ID associated with your PM Gross Profit Property
    Import Google Analytics 4 container with custom settings - Step 11

  11. Click "Save"

    Import Google Analytics 4 container with custom settings - Step 13
  12. Click "GA4 Measurement ID (PM Revenue)"
    Import Google Analytics 4 container with custom settings - Step 14

  13. Insert the Measurement ID associated with your PM Revenue Property
    Import Google Analytics 4 container with custom settings - Step 16
  14. Click "Save"
    Import Google Analytics 4 container with custom settings - Step 18
  15. Click "Submit" and publish the changes
    Import Google Analytics 4 container with custom settings - Step 19
    Import Google Analytics 4 container with custom settings - Step 22

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