Google Analytics 4 (GA4) is the latest version of the Google Analytics platform that provides a more advanced and comprehensive view of user behavior across different platforms and devices. It offers cross-device tracking, machine learning-powered insight
3 min read652 words13 explained imagesUpdated Wed, 4 Mar at 8:28 AM
Assistants need to reach this page over the internet. While it is only running on your machine, these two buttons will not be able to load it.
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.
Google Analytics 4 (GA4) is the latest version of the Google Analytics platform that provides a more advanced and comprehensive view of user behavior across different platforms and devices. It offers cross-device tracking, machine learning-powered insights, and enhanced event-tracking capabilities.
Concerning our CRM, the recent enhancement to track GA4 events with the measurement-id and API secret means that users of our CRM can now easily use GA4 tracking with their CRM accounts. This will allow them to track and analyze user behavior and engagement across different channels, including their website, mobile app, and social media platforms.
After the workflow execution is completed it will take 24 to 48hrs for the data to reflect in the Google Analytics platform
Steps to set up Google Analytics 4 in Workflows
The existing workflow action for Google Analytics in the CRM includes both Google Analytics 4 and Universal Analytics, which means that users can choose to use either platform or both to track their marketing campaigns and website traffic. This provides a more flexible and integrated approach to tracking and analyzing user behavior, which can help businesses make data-driven decisions to improve their marketing strategies and user experience.
Create or use an existing Google Analytics Workflow
In your Google Analytics Workflow, select the action 'Add to Google Analytics.'
A new dropdown value under 'Action Type' has been introduced by the name 'Google Analytics 4'; select this from the dropdown.
Create or use an existing Google Analytics Workflow (image 1 of 13)What this shows A new dropdown value under 'Action Type' has been introduced by the name 'Google Analytics 4'; select this from the dropdown.What this showsIllustrates the "Create or use an existing Google Analytics Workflow" section of "Google Analytics 4 Tracking".This screenshot appears in the "Create or use an existing Google Analytics Workflow" section of "Google Analytics 4 Tracking". The text alongside this image reads: A new dropdown value under 'Action Type' has been introduced by the name 'Google Analytics 4'; select this from the dropdown. Immediately after, the guide continues: Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set….Image 1 of 13What to fill inA new dropdown value under 'Action Type' has been introduced by the name 'Google Analytics 4'; select this from the dropdown.Next stepGo to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.)
Get a Measurement ID from your Google Analytics Data Stream
Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.)
Get a Measurement ID from your Google Analytics Data Stream (image 2 of 13)What this shows Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream.What this showsIllustrates the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.). Immediately after, the guide continues: Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.Image 2 of 13Where to goGo to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.)Next stepPaste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.Get a Measurement ID from your Google Analytics Data Stream (image 3 of 13)What this shows Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream.What this showsIllustrates the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.). Immediately after, the guide continues: Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.Image 3 of 13Where to goGo to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.)Next stepPaste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.Copy the Measurement ID for your desired Data Stream: Get a Measurement ID from your Google Analytics Data Stream (image 4 of 13)What this shows Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream.What this showsIllustrates the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Go to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.). Immediately after, the guide continues: Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.Image 4 of 13Where to goGo to your Google Analytics account and fetch the measurement-id from Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream. (Please refer to Google help documentation on how to Set up Google Analytics if you do not have it set up.)Next stepPaste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.
Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.
Get a Measurement ID from your Google Analytics Data Stream (image 5 of 13)What this shows Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.What this showsIllustrates the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get a Measurement ID from your Google Analytics Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Paste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow. Immediately after, the guide continues: You can Add the event name that you wish to track. This event name will show up under the Google Analytics dashboard along with other standard events that are set up. Refer here for the event naming rules by google.Image 5 of 13What to copyPaste the Measurement ID in the Measurement ID field of your Google Analytics Action in your workflow.Next stepYou can Add the event name that you wish to track. This event name will show up under the Google Analytics dashboard along with other standard events that are set up. Refer here for the event naming rules by google
Create a Google Analytics event that you want to track
You can Add the event name that you wish to track. This event name will show up under the Google Analytics dashboard along with other standard events that are set up. Refer here for the event naming rules by google
“The Add to Google Analytics workflow action supports an optional Event Value field.”
“Use Event Value to send a numeric value with the event (for example, revenue, order total, or a score).”
“In the action UI, this may appear as event.value. Populate it using a static number or a dynamic value from the workflow.”
Get an API Secret Value from your Data Stream
Add the API secret by navigating to your Google Analytics account Admin ➝ Account Settings ➝ Data Stream ➝ Select the Data Stream ➝ Measurement Protocol API secrets.
“Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”
Get an API Secret Value from your Data Stream (image 6 of 13)What this shows “Event Value is optional.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: “Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”. Immediately after, the guide continues: Before an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Image 6 of 13What this covers“Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”Next stepBefore an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Get an API Secret Value from your Data Stream (image 7 of 13)What this shows “Event Value is optional.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: “Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”. Immediately after, the guide continues: Before an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Image 7 of 13What this covers“Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”Next stepBefore an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Get an API Secret Value from your Data Stream (image 8 of 13)What this shows “Event Value is optional.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: “Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”. Immediately after, the guide continues: Before an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Image 8 of 13What this covers“Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”Next stepBefore an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Please Note:
Before an API Secret can be created you need to acknowledge that you have read and understood Google's privacy disclosures regarding the collection of user data.Get an API Secret Value from your Data Stream (image 9 of 13)What this shows “Event Value is optional.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: “Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”. Immediately after, the guide continues: Then click on Create if no API Secret has already been created.Image 9 of 13What this covers“Event Value is optional. If you don’t need to send a numeric value, you can leave it blank.”Next stepThen click on Create if no API Secret has already been created.
Then click on Create if no API Secret has already been created.
Get an API Secret Value from your Data Stream (image 10 of 13)What this shows Then click on Create if no API Secret has already been created.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Then click on Create if no API Secret has already been created. Immediately after, the guide continues: Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Image 10 of 13What to clickThen click on Create if no API Secret has already been created.Next stepMake sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Name your API secret and then hit Create, and a Secret Value will be generated for it automatically. Get an API Secret Value from your Data Stream (image 11 of 13)What this shows Then click on Create if no API Secret has already been created.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Then click on Create if no API Secret has already been created. Immediately after, the guide continues: Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Image 11 of 13What to clickThen click on Create if no API Secret has already been created.Next stepMake sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Get an API Secret Value from your Data Stream (image 12 of 13)What this shows Then click on Create if no API Secret has already been created.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Then click on Create if no API Secret has already been created. Immediately after, the guide continues: Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Image 12 of 13What to clickThen click on Create if no API Secret has already been created.Next stepMake sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Copy the Secret Value from here and paste it into the API Secret field in the Google Analytics action in your Workflow.
Please Note:
Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.
Get an API Secret Value from your Data Stream (image 13 of 13)What this shows Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.What this showsIllustrates the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking".This screenshot appears in the "Get an API Secret Value from your Data Stream" section of "Google Analytics 4 Tracking". The text alongside this image reads: Make sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Image 13 of 13What to copyMake sure there is no space before or after when you paste your API Secret value into the workflow's field or your Google Analytics action will fail.Save Action and then Save the Workflow. Publish if you are ready to use it.