Overview
The Sensefuel Tags enables a Plug & Play deployment of hyper-personalized search, recommandations and conversation. Even if we strongly recommend to deploy the Functional Tag directly in the <head> html tag of your website, deploying it through Google Tag Manager (GTM) can simplify integration and maintenance. Sensefuel provides an official GTM template to streamline this process.
Template URL: Sensefuel GTM Template
Prerequisites
Before starting, ensure:
- You have admin access to your GTM container.
- Your have access to the TAG section of your Sensefuel environment to get the UID.
- Your website already uses GTM for tag management.
Step 1: Add the Sensefuel Template
- Log in to Google Tag Manager.
- Navigate to Templates → Tag Templates.
-
Click Search Gallery and find Sensefuel Tag.
- Click Add to Workspace to install the template.
Step 2: Create a New Tag
- Go to Tags → New.
- Select Sensefuel Tag from the list of available templates.
- For Functional TAG configure the following fields:
- Tag Purpose : select "functional"
-
Parameter UID: your Sensefuel site unique identifier available in the platform in the TAG section
Note : for the multi session TAG configure the Tag Purpose as "multi session" and keep in mind that this tag requires user's consent before being fired. You must deploy this tag via Consent Management Platform (CSP) such as Didomi, Commanders Act, Cookiebot, Axeptio, OneTrust, Piwik, etc.
Step 3: Set Up Triggers
Attach the tag to appropriate triggers:
- Trigger: All Pages → Ensures the Sensefuel script runs globally.
- For the multi session tag the trigger is linked to the consent given by the user via your CSP.
Step 4: Publish the Container
- Click Submit in GTM.
- Add a descriptive version name (e.g., “Sensefuel Tag Deployment”).
- Publish changes.
Step 5: Validate Deployment
- Use GTM Preview Mode to confirm the tag fires correctly.
- Check your browser console or network requests for Sensefuel JavaScript loading. (search "sensefuel" in the network tab)
Best Practices
- Version Control: Always document changes in GTM versions.
- Testing: Validate in staging before production.
- Monitoring: Regularly check tag firing and data accuracy.