Integrating with Google Tag Manager

Track landing page performances using Google Tag Manager

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


Don't be a stranger

Last updated