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 (email@example.com).
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 1. Creating a new web stream in Google Analytics 4 settings
1.1. Go to Google Analytics 4 View Settings.
1.2. Open the 'Data Streams' section. Click the "Add stream" button and select "Web".
If you have already created a web stream earlier, you will see a message:
1.3. Specify the name of the web stream OWOX GA4.
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.
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.
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 (firstname.lastname@example.org):
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.