Action: Add to Google Analytics

Modified on Mon, 26 Aug at 5:50 PM

The Add to Google Analytics action in your workflow allows you to initiate specific events within Google Analytics. This functionality is particularly useful for tracking activities beyond simple page views, such as form completions, user sign-ups, or customer support interactions.

Google Analytics Integration

Action Configuration

Action Type

  1. Action Name: Provide a custom name for the action or use the default one.

  2. Action Type: Specify the action type.

  3. Tracking ID: Depending on your version of Google Analytics, there are two types of tracking IDs:

    • Universal Analytics (UA): To find your UA tracking code, navigate to the ‘Admin’ tab in Google Analytics, click on 'Tracking Info', then select ‘Tracking Code’. Your tracking ID, beginning with “UA,” will be displayed here. Copy this code and paste it into the corresponding field in your workflow.

    • Google Analytics 4 (GA4): For GA4 users, go to the ‘Admin’ tab in Google Analytics, click on 'Property Settings', then select 'Property ID'. The tracking code, which is numerical, will be displayed here. Copy it and insert it into the designated field in your workflow.

  4. Event Category: Enter the category for the event, such as 'Form Submission'. You can also create a custom category.

  5. Event Action: Define the action that should trigger when a user interacts with your form or other tracked elements. For instance, 'Exit Form Opt-in'.

  6. Event Label: Assign a label for easier identification, such as 'Black Friday form submission'.

  7. Event Value: Add a dynamic value to the event using small icon tags.

Event Configuration

Traffic Source Categorization


We utilize predefined rules to categorize traffic sources. These rules compare the full page URL and the referring domain against set criteria. Detailed rules and source information are provided below:

Attribute

Rules

utm_medium

utm_source

Google Organic

Referring domain is the Google search engine

organic

Google

Google Paid Search

utm_source is google and referring domain is google.com

CPC

Google

Facebook

Referring domain is facebook.com

referral

Facebook

Paid Social

utm_medium contains "cpc" where utm_source is facebook.com

CPC

Facebook

Direct Traffic

No referring domain or tracking URL present

none

Direct

Referral

Referring domain is example.com

referral

example.com

Social Media

Referring domain is a social media site (e.g., Facebook, Instagram)

social

Social

Display Traffic

Referring domain example.com

cmp, banner, display

example.com


Note: If both utm_medium and utm_source are set, they will be used for categorization. If only one is available, the categorization will follow the table above. Additionally, GCLID (Google Click Identifier) is used to track individual clicks.

Frequently Asked Questions


How to Identify Category, Action, and Label in GA4?

In Universal Analytics, events are categorized by Category, Action, and Label, each being distinct. However, in Google Analytics 4 (GA4), all interactions are considered events without these distinctions. For example, viewing a webpage triggers a page_view event. Since GA4 does not differentiate by Category, Action, or Label, it's advisable to adapt your data collection strategy to align with the GA4 event model.

How to Verify Setup in GA4?

To check if your GA4 setup is functioning correctly, visit the GA4 property in Google Analytics. Navigate to Reporting > Acquisition Reports. If the setup is correctly configured, your data should appear here. Applying filters for source and medium (highlighted in red) can further refine the report.

GA4 Setup Verification



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article