11.07.2023
365

How to Connect Google Analytics 4 as Data Destination

How to Connect Google Analytics 4 as Data Destination

The integration will allow you to send data and perform event tracking in Google Analytics 4 based on data from other systems. For example, you can send events by pulling them from your website, CRM or Google Sheets. This will allow you to effectively automate your workflows and save a lot of time.

Let's go through the entire Google Analytics 4 setup steps together!

Navigation:
1. What will integration with Google Analytics 4 do?
2. How to connect your Google Analytics 4 account to ApiX-Drive?
3. How can I setup data transfer to Google Analytics 4 in the selected action?
4. An example of the data that will be sent to your Google Analytics 4.
5. Auto-update and update interval.

To do this, click "Start Configuring Data Destination".

How to Connect Google Analytics 4 as Data Destination | Setup Data Destination system

Select the system as Data Destination. In this case, you must specify Google Analytics 4.

How to Connect Google Analytics 4 as Data Destination | System selection

Next, you need to specify an action, for example, "Send EVENT via Measurement Protocol".

How to Connect Google Analytics 4 as Data Destination | Action selection

For more information on how you can use data transfer in Google Analytics 4, see the article: https://www.brainlabsdigital.com/blog/offline-transactions-with-google-analytics/

The next step is to select the Google Analytics 4 account into which the data will be get.

If there are no accounts connected to the system, click "Connect account", enter your credentials and give ApiX-Drive permission to work with your Google Analytics 4 account.

How to Connect Google Analytics 4 as Data Destination | Account connection
How to Connect Google Analytics 4 as Data Destination | Account connection
How to Connect Google Analytics 4 as Data Destination | Account connection
How to Connect Google Analytics 4 as Data Destination | Account connection
How to Connect Google Analytics 4 as Data Destination | Account connection

Select the Advertising account, Webproperty and Data source to which the data will be transferred from the list.

How to Connect Google Analytics 4 as Data Destination | Assigning fields

Select the required data that is in the Google Sheets cells, click on the parameter and it will be assigned to the selected Google Analytics 4 field. By selecting variables, you will be able to see what data is in the Google Sheets fields.
Please note that you can use not only Google Sheets variables, but also manually entered data.

Click "Edit and Continue" when you're done with assigning fields.

How to Connect Google Analytics 4 as Data Destination | Assigning fields

You can learn more about Event params in this article: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters

How to Connect Google Analytics 4 as Data Destination | Assigning fields
How to Connect Google Analytics 4 as Data Destination | Assigning fields
How to Connect Google Analytics 4 as Data Destination | Assigning fields

Now you can see the test data.

If you want to send test data to Google Analytics 4 in order to check if the setup is correct, click "Send test data to Google Analytics 4" and go to your Google Analytics 4 to check the result.

If you want to change the settings - click "Edit" and you will go back one step.

If everything suits you, click "Next".

How to Connect Google Analytics 4 as Data Destination | Test data

This completes the Data Destination system setup!

Now you can start choosing the update interval and enabling auto-update.

To do this, click "Enable update".

How to Connect Google Analytics 4 as Data Destination | Enable auto-update

On the main screen, click on the gear icon to select the required update interval or setup scheduled launch. To start the connection by time, select scheduled start and specify the desired time for the connection update will be started, or add several options at once when you need the connection will be started.

Attention! In order for the Scheduled Run to work at the specified time, the interval between the current time and the specified time must be more than 5 minutes. For example, you select the time 12:10 and the current time is 12:08 - in this case, the automatic update of the connection will occur at 12:10 the next day. If you select the time 12:20 and the current time is 12:13 - the auto-update of the connection will work today and then every day at 12:20.

To make the current connection transmit data only after another connection, check the box "Update connection only after start other connection" and specify the connection after which the current connection will be started.

How to Connect Google Analytics 4 as Data Destination | Update interval
How to Connect Google Analytics 4 as Data Destination | Update priority

To enable auto-update, switch the slider to the position as shown in the picture.

To perform a one-time data transfer, click on the arrow icon.  

How to Connect Google Analytics 4 as Data Destination | Enable auto-update

This completes setup Google Analytics 4 as a Data Destination ! See how easy it is!?

Now don't worry, ApiX-Drive will do everything on its own!