Usercentrics (Termageddon)
The Usercentrics integration allows Conversion Bridge to respect user consent choices from the Usercentrics consent management platform. Usercentrics is a JavaScript-based consent solution that displays a cookie banner on your website and collects consent from your visitors before tracking scripts are allowed to run.
If you use Termageddon for your privacy policy and cookie consent, this is the integration you need. Termageddon uses Usercentrics under the hood to power its consent banner, so the same integration covers both.
This integration ensures that:
- Analytics tracking only runs when users consent to analytics/statistics cookiesA small piece of data stored in a user’s browser that helps websites remember user activity, preferences, or sessions across visits.
- Marketing/advertising tracking only runs when users consent to marketing cookies
- Tracking scripts are blocked until consent is given
- Consent changes are handled in real-time as users update their preferences
Setup Instructions
Step 1: Set Up Usercentrics
- Create a Usercentrics account at usercentrics.com (or set up consent through Termageddon)
- Install the Usercentrics CMP WordPress plugin from the WordPress plugin directory. This is the easiest way to add the Usercentrics consent banner to your site. The plugin handles loading the Usercentrics script automatically.
- In your Usercentrics dashboard, add the services (platforms) you want to manage consent for, such as Google Analytics, Meta Pixel, Google Ads, etc.
- Make sure your consent categories are set up. Usercentrics typically uses categories like:
- Analytics or Statistics or Functional (for analytics platforms)
- Marketing or Advertising (for advertising platforms)
Step 2: Enable the Integration in Conversion Bridge
- Go to Settings > Conversion Bridge > Consent in your WordPress admin
- Select Usercentrics (Termageddon) as your cookie consent plugin
- Save your settings
Since the Usercentrics consent banner runs entirely in JavaScript, Conversion Bridge detects it automatically on the page. The Usercentrics option is always available to select in your consent settings.
Step 3: Configure Service Names (If Needed)
Conversion Bridge automatically maps the most common Usercentrics service names to the correct tracking platforms. In most cases, this works without any extra setup.
However, the service names in your Usercentrics dashboard must match what Conversion Bridge expects. If you have renamed a service in Usercentrics (for example, calling it "GA4" instead of "Google Analytics"), the automatic mapping may not work.
To fix this, either:
- Rename the service in your Usercentrics dashboard to match one of the recognized names listed in the Supported Platforms section below
- Or keep your custom name and rely on category-level consent (analytics or marketing) instead of per-platform consent
How It Works
Consent Flow
Here is what happens when a visitor lands on your site:
- Page loads: Conversion Bridge checks if the Usercentrics API (
UC_UI) is available - Banner appears: Your visitor sees the Usercentrics consent banner
- Visitor makes a choice: They can accept all, deny all, or choose specific categories/services
- Consent is communicated: Usercentrics fires JavaScript events that Conversion Bridge listens for
- Tracking starts or stays blocked: Conversion Bridge enables or disables tracking based on the visitor's choices
Consent Detection
Because Usercentrics is a JavaScript-only solution, there are no server-side cookies for Conversion Bridge to read on page load. All consent detection happens in the browser through the Usercentrics API.
Conversion Bridge listens for three Usercentrics events:
UC_UI_INITIALIZED: Fires when the consent banner first loads. Conversion Bridge checks the current consent state at this point.UC_CONSENT: Fires whenever consent changes. Conversion Bridge reads the updated consent details from this event.UC_UI_CMP_EVENT: Fires when a visitor clicks Accept All, Deny All, or Save. Conversion Bridge responds to each action accordingly.
Two Levels of Consent
Conversion Bridge checks consent at two levels:
- Category-level consent: Checks broad categories like "Analytics" or "Marketing." This determines whether analytics or marketing tracking is allowed overall.
- Service-level (platform-specific) consent: Checks individual services like "Google Analytics" or "Meta Pixel." This allows Conversion Bridge to enable or disable tracking for each platform separately.
Both levels work together. If a visitor grants consent for the "Analytics" category, all analytics platforms are enabled. If they grant consent for only "Google Analytics" as a specific service, only that platform is enabled.
Supported Platforms
Conversion Bridge automatically recognizes the following Usercentrics service names and maps them to the correct tracking platform. The service name matching is not case-sensitive.
Analytics Platforms
| Usercentrics Service Name | Conversion Bridge Platform |
|---|---|
| Google Analytics | Google Analytics 4 (GA4) |
| Google Analytics 4 | Google Analytics 4 (GA4) |
| Google Tag Manager | Google Tag Manager (GTM) |
| Microsoft Clarity | Microsoft Clarity |
| Clarity | Microsoft Clarity |
| HotJar | Hotjar |
| Plausible | Plausible Analytics |
| Usermaven | Usermaven |
Marketing Platforms
| Usercentrics Service Name | Conversion Bridge Platform |
|---|---|
| Meta Pixel | Meta (Facebook) Ads |
| Facebook Pixel | Meta (Facebook) Ads |
| Google Ads | Google Ads |
| Google Ads Remarketing | Google Ads |
| TikTok | TikTok Ads |
| TikTok Pixel | TikTok Ads |
| TikTok Ads | TikTok Ads |
| TikTok Ads Pixel | TikTok Ads |
| TikTok Advertising | TikTok Ads |
| Pinterest Tag | Pinterest Ads |
| Microsoft Advertising | Microsoft Ads |
| Microsoft Ads | Microsoft Ads |
| LinkedIn Insight Tag | LinkedIn Ads |
| LinkedIn Ads | |
| Snapchat Pixel | Snapchat Ads |
| Twitter Pixel | X (Twitter) Ads |
| X Pixel | X (Twitter) Ads |
| Reddit Pixel | Reddit Ads |
| Taboola Pixel | Taboola Ads |
| Outbrain Pixel | Outbrain Ads |
If a service in your Usercentrics dashboard is not in this list, Conversion Bridge will try to determine its category based on the service name. Services with names that include words like "analytics," "statistics," or "performance" are treated as analytics. Services with names that include "marketing" or "advertising" are treated as marketing.
Script Blocking
When the Usercentrics integration is active, Conversion Bridge adds special attributes to all tracking scripts so that Usercentrics can block them until consent is given.
How Scripts Are Tagged
Each tracking script gets two attributes added to it:
data-usercentrics="[Service Name]"-- tells Usercentrics which service the script belongs totype="text/plain"-- prevents the browser from running the script until Usercentrics changes the type back totext/javascript
Analytics Script Example
<script data-usercentrics="Google Analytics" type="text/plain" src="..."></script>
Marketing Script Example
<script data-usercentrics="Meta Pixel" type="text/plain" src="..."></script>
When a visitor grants consent for a service, Usercentrics unblocks the matching scripts and they begin running normally.
Platforms With Native Consent Handling
Some platforms have their own built-in consent handling (such as Google Analytics 4, Meta, and Google Ads). These platforms are not blocked by Usercentrics script blocking. Instead, they load normally and Conversion Bridge sends them consent signals directly through their own APIs. This is the recommended approach for these platforms because it gives the platform more accurate consent data.
Termageddon Users
If you use Termageddon for your website's privacy policy and cookie consent, you are already using Usercentrics. Termageddon partners with Usercentrics to power its consent banner functionality.
To set up the integration:
- Make sure your Termageddon cookie consent banner is active on your site
- Select Usercentrics (Termageddon) in Conversion Bridge's consent settings
- Everything else works the same as described above
The service names and categories you configure in your Termageddon/Usercentrics dashboard will be used by Conversion Bridge to manage consent for your tracking platforms.
Debugging
Enable Console Logging
To debug the consent integration:
- Add
?cb_console=1to any page URL on your site - Open your browser's developer tools (usually F12 or right-click > Inspect)
- Check the Console tab for consent-related messages:
Usercentrics: Integration initializedUsercentrics: Consent via API: analytics=true, marketing=falseUsercentrics: UC_CONSENT: analytics=true, marketing=trueUsercentrics: ACCEPT_ALLUsercentrics: DENY_ALL
Verify Script Blocking
To confirm scripts are being blocked correctly:
- Open your browser's developer tools
- Go to the Elements or Inspector tab
- Search for
data-usercentricsin the page source - You should see your tracking scripts tagged with
data-usercentrics="[Service Name]"andtype="text/plain" - After granting consent, the script type should change to
text/javascript
Common Issues
- Service name mismatch: If a platform is not responding to consent, check that the service name in your Usercentrics dashboard matches one of the names in the Supported Platforms table above.
- No consent events firing: Make sure the Usercentrics script is loading on your page. Check the browser console for any Usercentrics-related errors.
- Tracking fires without consent: Verify that you have selected Usercentrics as your consent plugin in Conversion Bridge settings. Also check that the Usercentrics script loads before the Conversion Bridge scripts.
Best Practices
- Use standard service names: When adding services in your Usercentrics dashboard, use the default names (like "Google Analytics" instead of custom names) so that Conversion Bridge can automatically map them.
- Test the full consent flow: Visit your site in a private/incognito window and test accepting, rejecting, and changing consent preferences.
- Check all platforms: After setting up the integration, verify that each of your enabled tracking platforms respects consent by checking the browser console with
?cb_console=1. - Keep categories consistent: Make sure your Usercentrics categories use standard names like "Analytics," "Statistics," "Marketing," or "Advertising" so that Conversion Bridge can identify them correctly.
- Review regularly: Periodically check that new tracking platforms you add to Conversion Bridge are also added as services in your Usercentrics dashboard.
Privacy Compliance
The Usercentrics integration helps you comply with:
- GDPR: General Data Protection Regulation (EU)
- CCPA: California Consumer Privacy Act (US)
- ePrivacy Directive: EU ePrivacy Directive
- LGPD: Brazil's General Data Protection Law
- Other Privacy Laws: Various regional privacy regulations
Important: This integration helps with the technical side of compliance by blocking tracking scripts until consent is given. However, you are also responsible for:
- Having a proper privacy policy
- Providing clear information about what data you collect
- Allowing users to withdraw consent at any time
- Complying with all privacy laws that apply in your jurisdiction
Still need help?
If you have not yet found your answer in the documentation articles, please contact support
Contact support