Sending data from a website using GA4 configuration tag in Google Tag Manager

Overview

Use this instruction if you need to simultaneously collect event-based user behavior data from a website in both Google Analytics 4 and Google BigQuery.

These settings will not be displayed in the OWOX BI interface. For any questions about data collection in the GA4 event format, you can contact the OWOX manager (bi@owox.com).

 

Requirements

Before configuring data collection through the GA4 Configuration Tag, check the following statements:

  • Google Analytics 4 should be already implemented on your website via Google Tag Manager (setup instructions).

 

Step-by-step setup

Step 1. Creating a new web stream in Google Analytics 4 settings

1.1. Go to Google Analytics 4 View Settings.

01.png

1.2. Open the 'Data Streams' section. Click the "Add stream" button and select "Web".

02.png

If you have already created a web stream earlier, you will see a message:

03.png

Click “Yes”.

1.3. Specify the name of the web stream OWOX GA4.

04.png

Fill in other settings and hit the button "Create stream".

After that, you will be redirected to the new stream page, where you will see the following message. This message is expected, just ignore it.

image__1_.png

1.4. (Optional) If Custom events are specified in the settings of the current web stream, then they must be duplicated in the newly created OWOX GA4 web stream.

image.png

Step 2. Creating a new tag in Google Tag Manager

2.1. Go to Google Tag Manager to the tags section. Create a new Google Analytics 4 configuration tag:

2.2. Name the tag OWOX GA4 Configuration.

2.3. Specify the same trigger that is specified for the existing Google Analytics 4 configuration tag.

2.4. Specify the MEASUREMENT ID from the previously created OWOX GA4 web stream.

2.5. Check the box “Send to server container”.

2.6. In the “Server Container URL” field, specify the link (in the format 'https://streaming.bi.owox.com/ga4/...'') to the access point received from the OWOX manager (bi@owox.com):

06.png

2.7. Duplicate the entire set of tags for custom events with the same triggers and specify the OWOX GA4 Configuration tag. Standard events (page_view, scroll, etc.) will be sent automatically with a configuration tag.

Step 3. Publish a Google Tag Manager container

To start sending data to the OWOX BI access point, publish a container with a new tag.

Website user behavior data will appear in Google BigQuery in the “events_intraday_” tables. The data schema of “events_intraday_” table is fully compatible with native export from Google Analytics 4 to Google BigQuery.

Note:1. The session_id values may differ for events that are sent in different streams.
2. If a configuration tag created to send events to an OWOX BI access point is deleted, then the entire set of tags for custom events that contain this configuration tag must also be deleted. Otherwise, in Google Analytics 4 the event data will be duplicated.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.