Google Analytics 4 Connector
The Google Analytics 4 Connector is used to send data to Google Analytics 4 via the Tracking Pixel and GA4 Measurement Protocol (API).
Prerequisites
You will need the following to complete the setup of the connector successfully:
- Google Analytics 4 Measurement ID
- Go to Admin -> Data Streams -> Click your Web data stream -> You’ll see Measurement ID at the top right (looks like G-XXXXXXX).
- Google Analytics 4 API Secret Value
- In the same Data Stream view -> “Measurement Protocol API secrets.” -> Click Create (if you don’t have one yet). -> Copy the Secret Value (it’s typically 30–40 characters of mixed letters and numbers)
Google Analytics 4 Connector Setup
Choose the Google Analytics 4 Connector from the "Connectors" section on your Tracking Container's main page.
Press "Add" / "Edit" on the Google Analytics 4 Connector and provide the following information:
- Google Analytics 4 Measurement ID
- Google Analytics 4 API Secret Value
If you are ready to go live sending data to Google Analytics 4, toggle the "Live" button and press "Save". Otherwise you can save your details by pressing "Save" and later come back to toggle the "Live" button.
When your Connector is live, your collected data will be sent to Google Analytics 4.
A/B Testing
If you wish to do AB testing with Google Analytics 4 Connector compared to your previous web-tag based setup, you can generate a new Property in GA4 and connect GA4 Connector to this new, parallel property.
Troubleshooting
Issues with a connector? Visit our Troubleshooting and FAQ to find answers to most common issues for each connector.