Google Analytics 4 (GA4) is the newest version of the Google Analytics platform, offering a more advanced and comprehensive understanding of user behavior across various platforms and devices. It features cross-device tracking, machine learning-powered insights, and improved event-tracking capabilities.
In relation to our CRM, the recent update to track GA4 events using the measurement ID and API secret allows CRM users to seamlessly integrate GA4 tracking with their accounts. This enhancement enables them to monitor and analyze user behavior and engagement across multiple channels, including websites, mobile apps, and social media platforms.
1. First, Click "Automation"

2. Following that, click on "Create Workflow".

3. Once that's done, click on "Start from Scratch".

4. Afterwards, click Add action

5. Next, click on "Add to google analytics".

6. Please read!

7. You can add your own action name if you prefer.

8. Select "Google Analytics 4" as action type
A new dropdown option called 'Google Analytics 4' has been introduced under 'Action Type'; please select this from the dropdown menu.

Navigate to your Google Analytics account
9. Follow steps to retrieve the measurement ID from Google Analytics.

10. Select From the list of Data streams
Select from the list of data streams that you have already created.

11. Copy the Measurement ID for your desired data stream.

12. Next up, Paste the Measurement ID here

13. Add "Event Name" here
You can add the event name that you wish to track. This event name will appear on the Google Analytics dashboard alongside other standard events that are configured.

Get an API Secret Value from your Data Stream
14. Follow these steps to create and obtain the API secret.

15. Go to the list of data streams.

16. Click "Measurement Protocol API secrets"

17. Once you have read and understood, please click "I acknowledge."
Before creating an API Secret, you must acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.

18. Next, click on "Create" if no API Secret has been created yet

19. Name your API secret, then click "Create." A Secret Value will be automatically generated for you.

20. Copy the Secret Value from this location.

Ensure there are no spaces before or after when you paste your API Secret value into the workflow's field, or your Google Analytics action may fail.
21. Paste the API Secret Value here

22. Next, Add the event value here.

23. To finish off, click on "Save Action".

Publish it when you are ready to use it.