Integrating Google Tag Manager
Last updated
Last updated
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.
Download the FlareLane GTM tag template file above, then follow the steps below to install it in Google Tag Manager:
Go to the Templates section in your GTM console.
Click "New" to create a new template.
Select "Import," and upload the downloaded file.
This will install the FlareLane tag template into your workspace.
For detailed instructions on how to configure each function, please refer to the Provided Functions below.
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.
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.