Fibr Support
  • Fibr Docs
  • Get Started
    • Intro to Fibr
      • What is Fibr?
      • What products does Fibr offer?
    • Account Settings
      • Inviting Your Team
    • Fibr Script
      • What is Fibr Script?
      • Configuring the Fibr Script for your website
      • Impact of Fibr Script on Website Performance
    • FAQs
      • How to Whitelist Fibr in Your Website’s Content Security Policy (CSP)?
      • Can You Run Fibr on Your Local Machine?
  • Fibr Testing
    • Intro to A/B Testing
      • How to Create an A/B Test in Fibr?
      • How do you create a bulk AB campaign?
    • Audience Selection
      • Define your Audience Segment
      • Location-based Segmentation
    • FAQs
      • What are Traffic Allocation and Traffic Split?
      • Can I change an experiment's configuration when it is running?
      • Can I Run Fibr Tests on a Website That Has Cookies Disabled?
      • Can I Run Fibr Tests on Sub-domains?
      • Scheduling a Campaign in Fibr
  • Fibr Personalization
    • Ad Personalization
      • How to create an Ad Personalization campaign?
      • How to create a bulk Ad Personalization campaign?
    • Audience Personalization
      • How to create an Audience Personalization campaign?
      • Defining the audience for Audience Personalization
      • Location-based Segmentation
      • How to create a bulk Audience Personalization campaign?
  • Fibr Editor
    • Using Visual Editor to Create Variants
    • Using Visual Editor to track events
    • Using Fibr Editor for Bulk Variant Creation
  • Metrics
    • How can I define metrics on Fibr?
    • How do the GTM metrics work on Fibr?
    • What is a Primary Metric?
  • Integrations
    • Integrating Fibr with Google Analytics 4
    • Integrating Fibr with Google Tag Manager
    • Integrating Fibr with Google Ads
    • Integrating Fibr with Meta Ads
Powered by GitBook
On this page
  • Turning on the Integration
  • Data Layer Specifications
  1. Integrations

Integrating Fibr with Google Tag Manager

Track landing page performances using Google Tag Manager

PreviousIntegrating Fibr with Google Analytics 4NextIntegrating Fibr with Google Ads

Last updated 6 months ago

This article documents the process of using Google Tag Manager to capture impressions and conversions with Fibr variation parameters

Fibr can push data layer events to Google Tag Manager (GTM) whenever a visitor views an experience. Below we’ll detail out the information that Fibr sends to the data layer, enabling you to capture that information and send it to your downstream platforms with GTM tags.

Turning on the Integration

To send a data layer event when a visitor sees a Fibr experience, you’ll first need to turn on the integration.

  1. Navigate to

  2. Click on the Google Tag Manager card.

  1. Follow the Google OAuth process to connect your GTM account with Fibr

  2. At the next step enter the container URL where you want to create the data layer. This should be the container that is active on your website

Data Layer Specifications

Whenever a user sees a Fibr variation, we’ll push an event to the data layer called fibr_track_event . This event will contain the following properties:

  • fibr_session_id: The unique id of a visitor session

  • fibr_user_id: The unique user id assigned to the visitor

  • fibr_variation_id: The unique id of the variation that the user saw

  • fibr_variation_name: The name of the variation that the user saw

  • fibr_campaign_group_id: The unique id of the Personalization or Experiment to which the variation belongs

  • fibr_campaign_group_type: The campaign type. This can have 2 values:

    • Personalization: This specifies that the variation loaded was of a personalization

    • Experiment: This specifies that the variation loaded was of an experiment

  • fibr_campaign_group_name: The name of the Personalization or Experiment to which the variation belongs

  • fibr_campaign_name: The name of the campaign to which the variation belongs

  • fibr_campaign_id: The unique id of the campaign to which the variation belongs

  • fibr_workflow_id: The workflow to which the campaign belongs

  • fibr_campaign_group_name: < Name of personalization or experiment >

  • fibr_client_id: This is a unique identifier for the client

  • fibr_is_qualified: This parameter is to determine whether the user qualified for a personalization or not

This data layer will help you capture the Fibr variation data and send it to your downstream analytics platforms by building tags, triggers and variables. Fibr offers an automated Google Analytics setup which you can view .

https://app.getfibr.co/integrations
here