GTM template with instructions video from Simo Ahava!

GTM template with instructions video from Simo Ahava!

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…

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)

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.

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.

Server-Side Tracking, First-Party Cookies and Conversion APIs for any website with easy installation. Simple yet powerful tracking tool for digital advertising.

Tracklution customer rating badgeTracklution customer rating badge

4.8+ Rating on G2 and Trustpilot

Helsinki

Simonkatu 6 A
00100 Helsinki, Finland

New York

307 W 38th St
NY 11105, United States

Meta partner badge
Google partner badge
Meta partner badge

© Tracklution Oy 2026. All rights reserved.