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 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

Was this helpful?

  1. Integrations

GA4 Integration via GTM

PreviousGA4 IntegrationNextMicrosoft Clarity Integration

Last updated 1 year 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.

  • variablesEnter 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 as Version 2.

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

Creating Triggers

  • Click on the Triggers from the sidebar and then click on 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 New button.

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

  • Next, click on the Tag Configuration and choose the Tag type as Google Analytics. And 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 Add row button. Give the Event Parameter as exp_variant_string and value as {{CustomFit-Exp-Beh-String}}.

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