CustomFit Dashboard
  • Getting Started
    • Installing CustomFit Code Snippet
      • Installing the code snippet on Webflow
      • Installing the code snippet on Wordpress
      • Installing the code snippet on Wix
      • Installing the code snippet on Shopify
      • Installing the code snippet on Unbounce
  • Account Setup
    • Configuring Account Users
    • Add Users and Assign Roles
    • Configuring Subdomains
    • Configuring Traffic Blocking
  • Experience
    • How to create an A/B test
    • How to create a Split URL test
    • How to create a Shopify theme based testing
    • How to create an AI Conversion Optimize experience
    • How to create an Outbound Experience
    • Creating an Experience
    • Experience Page Paths
    • Experience Targeting
    • Visual editor
    • Experience Goals
    • Experience Insights
    • Experience Settings
    • Experience Dashboard
    • Experience FAQs
  • Visual Editor
    • Overview
    • App Bar
    • Editor Palette
    • Toolbar
    • Popups
  • ABM
  • Audience Segments
    • Geo Location
    • Technology
    • UTM Parameters
    • Visitor Attributes
    • Salesforce Attributes
    • HubSpot Attributes
    • Kickfire Attributes
    • Visitor Behavior
      • Page event
      • Click event
      • Track event
  • Integrations
    • GA4 Integration
    • GA4 Integration via GTM
    • Microsoft Clarity Integration
    • Hotjar Integration
    • Clearbit Integration
    • 6sense Integration
    • Segment Integration
    • Mixpanel Integration
    • Amplitude Integration
    • Heap Integration
    • Salesforce
      • Connected App
      • Apex Class
      • Apex Triggers
      • Remote Site Settings
    • Kickfire
    • HubSpot
    • Slack
  • Split URL Testing
  • Reports
    • Create Report
    • Configure Targets
    • Configure Goals
  • Overview of Reports
  • Segments
    • Creating a Segment
    • Segment Rules
  • Dashboard
    • Analytics
  • Install the CustomFit snippet
  • Event Analyzer
    • Creating an Event
    • Forward Custom Events from GTM to CustomFit
    • Event Insights
    • Event Properties
    • Property Insights
  • Change Log
  • Frequently Asked Questions
    • CustomFit JS Script
Powered by GitBook
On this page
  • Creating Data Layer Variable
  • Creating Triggers
  • Creating Tags
  • Enabling and Configuring GA4 in CustomFit.ai

Was this helpful?

  1. Integrations

GA4 Integration via GTM

PreviousGA4 IntegrationNextMicrosoft Clarity Integration

Last updated 14 days ago

Was this helpful?

Creating Data Layer Variable

  • Log in to your GTM account.

  • Click on the Variables from the sidebar and then click on New button present in User-Defined Variables section.

  • Enter the title as CustomFit-Exp-Beh-String

  • Next, select the variable type as Data Layer Variable.

  • Then, provide the Data Layer Variable Name as customfit_exp_beh_string.

  • Set the Data Layer Version to Version 2.

  • Finally, set the Default value as 0 and click the Save button.

Creating Triggers

  • Click on the Triggers from the sidebar and then click on the New button.

  • Give the Trigger Name as CustomFit-Data-Push-GA4-Trigger.

  • Next, click on the Trigger Configuration and choose the Trigger type as Custom Event.

  • Enter the Event name as customfit-data-push-ga4.

  • Finally, click on the Save button.

Creating Tags

  • Click on the Tags from the sidebar and then click on the New button.

  • Give the Tag Name as CustomFit-Data-Push-GA4.

  • Next, click the Tag Configuration and choose Tag type as Google Analytics. In Google Analytics, select Google Analytics: GA4 Event option.

  • In the Measurement ID field, enter the Measurement ID of the GA4 account to which the data needs to be sent.

  • Enter the Event Name as experience_impression.

  • In the Event Parameters section, click on the Add row button. Give the Event Parameter as exp_variant_string and value as {{CustomFit-Exp-Beh-String}}.

  • Finally, click the Triggering section, and choose the Firing Triggers as CustomFit-Data-Push-GA4-Trigger. And Click on the Save button.

Enabling and Configuring GA4 in CustomFit.ai

GTM is now fully set up to capture your CustomFit.ai data. The next step is to forward this data to GA4 by enabling the GA4 integration within your CustomFit.ai experiences. For detailed guidance on enabling the integration and completing the setup, refer to the article .

linked