Documentation
Website
  • Getting Started
  • Customer Journey
    • Creating Customer Journey
    • Understanding the Journey
    • Performance Dashboard
    • Pre-built Templates
  • Channels
    • Mobile Push
    • Web Push
    • In-App Message
    • SMS/LMS
    • Webhook
  • Audience
    • Segments
    • Device Management
  • Engagement Tools
    • Dashboard
    • Message Personalization (Liquid)
    • Template
    • Sending Test Messages
    • AI Messaging
    • API Templates
    • Rate Limiting
    • Frequency Capping
    • Tracking Events
    • Inviting Members
  • Data Integration
    • User ID
    • Events
    • Tags
    • Integrating Google Tag Manager
    • Integrating Amplitude
    • Integrating Mixpanel
  • Guide for Developers
    • Mobile SDK Setup
      • Android SDK Setup
      • iOS SDK Setup
      • React Native SDK Setup
      • Flutter SDK Setup
      • Additional Setup
        • Android: FCM Setup (v1)
        • Android: Notification Icons
        • iOS: APNS Setup
        • iOS: Disable Swizzling
    • Web SDK Setup
    • REST API Reference
    • Mobile SDK Reference
    • Web SDK Reference
Powered by GitBook
On this page
  • How to Start
  • 1. Download the FlareLane GTM Tag
  • 2. Configure GTM Tag
  • 3. Testing & Deployment
  • Provided Functions
  • Event Triggers
  • Tag Assignment & Removal
  • In-App Message Display
  • User ID Assignment & Removal
  • FlareLane SDK Initialization
  1. Data Integration

Integrating Google Tag Manager

PreviousTagsNextIntegrating Amplitude

Last updated 4 days ago

is a solution that allows you to manage web scripts without modifying the website's code. By using GTM, you can easily execute scripts without writing code or going through complex development and deployment processes.

It's especially useful because it enables you to link FlareLane events and tags based on various triggers—such as page views, button clicks, and scrolls—on your website with just a few clicks, all without writing any code.

How to Start

1. Download the FlareLane GTM Tag

Download the FlareLane GTM tag template file above, then follow the steps below to install it in Google Tag Manager:

  1. Go to the Templates section in your GTM console.

  2. Click "New" to create a new template.

  3. Select "Import," and upload the downloaded file.

This will install the FlareLane tag template into your workspace.

2. Configure GTM Tag

For detailed instructions on how to configure each function, please refer to the Provided Functions below.

3. Testing & Deployment

By enabling Debug Mode within the FlareLane tag, browser console logs will be recorded during the tag execution process for easier troubleshooting.

Additionally, you can use the Network tab in your browser’s developer tools to inspect the actual network requests being sent and received.

Once all tag settings are complete and working, you can now publish the changes on your website.


Provided Functions

Event Triggers

Tag Assignment & Removal

In-App Message Display

User ID Assignment & Removal

FlareLane SDK Initialization

With the installed FlareLane GTM tag, you can link customer data—such as , —and also define exposure groups (triggers) for displaying .

You can use GTM’s built-in to verify whether the configured tag is working properly.

This triggers a FlareLane based on the configured trigger in GTM. Alternatively, you can also attach detailed data as variables along with the event name for more in-depth tracking.

This links a FlareLane based on the configured trigger in GTM. You can either assign a fixed value or pass it through a variable. For tag removal, specify the tag to be removed and trigger the dedicated tag removal function accordingly.

This displays based on the configured trigger in GTM. You can define groups (triggers)—for example, to show a specific in-app message when a user visits a particular page.

This assigns a FlareLane based on the configured trigger in GTM. If you need to remove the user ID, you can trigger the dedicated user ID removal function accordingly.

You can initialize the FlareLane SDK through the GTM tag as well. However, since web push notifications require uploading a Service Worker file, we recommend initializing the SDK by directly inserting the code as outlined in the guide for a more complete setup.

events
user profiles, and tags
in-app messages
debugging tools
event
tag
in-app messages
user ID
Web SDK Integration
Google Tag Manager (GTM)
31KB
template.tpl