Integrate Google Tag Manager
What You’ll Need
- "Manage Integrations Access" in the Fibr Dashboard
- A valid Google Tag Manager account
- Access to the appropriate GTM container
- Publishing permissions in GTM
Step-by-Step Integration Guide
Navigate to Settings > Integrations on the Left-Hand Menu on the Dashboard
Click the Connect button on the GTM card.
Sign in to your Google Account connected to Google Tag Manager(GTM) and allow access when prompted.
This method uses OAuth 2.0 Authorization Code Flow, a secure industry-standard process. This process is secure, fully compliant with Google’s API policies, and does not expose your credentials to Fibr.
Select and Link Your GTM Container. Follow these steps to link your GTM container:
- On the GTM connection page, click on the Google Tag Manager button. This will open your GTM dashboard in a new tab.
- Inside GTM, select the container you wish to connect.
- Copy the URL of the container page.
- Paste this URL back into the Fibr dashboard and click Next.
Review the list of default variables and tags to sync and Approve the list.
Choose and Approve Fibr events (e.g., impressions, conversions) you’d like GTM to track.
Publish Your Changes in GTM
- Go back to your GTM Dashboard.
- Open the container you linked.
- Click Submit > Publish > Continue to apply the changes.
Return to the Fibr dashboard and click Approve to finalize the setup.
What Fibr Sends to the GTM Data Layer
Once connected, Fibr pushes events to the data layer each time a visitor sees a variantt. These events allow you to route important personalization and experiment data into platforms like GA4, Meta Ads, Mixpanel, and more via GTM.
Event Name: fibr_track_event
Variable | Description |
|---|---|
fibr_session_id | User session information ID |
fibr_user_id | Fibr unique user ID |
fibr_variation_id | Fibr experience user ID |
fibr_variation_name | Fibr experience name |
fibr_campaign_type | Personalization or Experiment |
fibr_campaign_name | Fibr campaign name |
fibr_campaign_id | Fibr campaign ID |
fibr_event | Always set to fibr_track_event |
fibr_workflow_id | Fibr workflow ID |
fibr_campaign_group_name | Name of the personalization or experiment group |
These variables are automatically added to your GTM container during the integration process and can be used to create:
- Data Layer Variables
- Triggers
- Custom Tags
This setup gives you full control to build cross-platform tracking and analytics workflows using the data Fibr provides.