Overview
You can configure how the Converge destinations should behave based on the visitor’s consent preferences. To set this up, you need to send the consent to Converge. You still need a CMP, cookie banner provider, or your own solution to collect the preference. While this allows you to configure how destinations handle consent, regardless of the configured consent, events will still be sent to Converge.The consent method
Thecvg object has a consent method that you can use to send the visitor’s consent preferences to Converge.
It takes two arguments, we recommend always sending both.
analytics: Preference for analytics tracking. Possible values aregranted, anddenied. If not set, Converge will assume that the visitor hasdeniedconsent.marketing: Preference for marketing tracking. Possible values aregranted, anddenied. If not set, Converge will assume that the visitor hasdeniedconsent.
The visitor has granted consent for only analytics tracking
The visitor has granted consent for only analytics tracking
Equivalent to granting consent for only analytics tracking
Equivalent to granting consent for only analytics tracking
The visitor has granted consent for both analytics and marketing tracking
The visitor has granted consent for both analytics and marketing tracking
The visitor has denied consent for both analytics and marketing tracking
The visitor has denied consent for both analytics and marketing tracking
You need to make sure the
cvg object is available before you call the consent method.
If this is not the case, include the following snippet before calling cvg.Storing consent
Consent should be sent every time the user visits the page. Typically, you will rely on your CMP or own cookie banner implementation to retrieve the visitor’s consent and send it to Converge. Converge stores the consent preferences in the visitor’s browser as a backup. But, to make sure that it is up-to-date, you should still specify it every time the converge snippet loads. The preferences are also stored on the Converge profile, under theprofile_properties.
This is used to filter events when forwarding server-side.
Inspect the consent parameters for a profile
Inspect the consent parameters for a profile
The consent preferences are stored in the profile properties, under the
$consent key. This object is used to filter the server-side events.profile_properties
Automatic CMP integrations
Converge automatically detects and integrates with popular Consent Management Platforms (CMPs). When one of these CMPs is present on your page, Converge will automatically read the visitor’s consent preferences and apply them—no additional code required.This integration handles Converge’s consent tracking. If you’re using Google Ads, GA4, or Microsoft Ads, you’ll also need to implement Google and Microsoft Consent Mode. Read the Implementing Consent Mode guide to learn how to set this up with your CMP.
Supported CMPs
The following CMPs are automatically detected and integrated:Avada (Shopify)
Avada (Shopify)
Converge automatically integrates with Avada’s cookie consent banner on Shopify stores. The integration:
- Detects Avada’s consent banner using the Shopify Customer Privacy API
- Maps analytics and marketing consent from Shopify’s consent framework
- Updates automatically when visitors change their consent preferences
For Google Ads and GA4, you’ll also need to implement Google Consent Mode. See the Shopify Cookie Banner implementation example in the Consent Mode guide.
Cookiebot
Cookiebot
CookieFirst
CookieFirst
Cookie Information
Cookie Information
CookieYes
CookieYes
OneTrust
OneTrust
Converge automatically integrates with OneTrust’s consent framework. The integration:
- Maps OneTrust’s category C0002 (Performance) to Converge’s
analyticsconsent - Maps OneTrust’s categories C0004 (Targeting) and C0005 (Social Media) to Converge’s
marketingconsent - Integrates with the
OptanonWrappercallback to capture consent updates
For Google Ads and GA4, you’ll also need to implement Google Consent Mode. See the custom implementation examples in the Consent Mode guide for help integrating OneTrust with Google Consent Mode.
Usercentrics
Usercentrics
Converge automatically integrates with Usercentrics’s consent platform. The integration:
- Maps Usercentrics’s
functionalcategory to Converge’sanalyticsconsent - Maps Usercentrics’s
marketingcategory to Converge’smarketingconsent - Listens for the
UC_CONSENTevent to capture consent updates - Waits for the Usercentrics CMP to load before reading consent
For Google Ads and GA4, you’ll also need to implement Google Consent Mode. See the custom implementation examples in the Consent Mode guide for help integrating Usercentrics with Google Consent Mode.
If you’re using one of these CMPs, you don’t need to manually call the
cvg consent method. Converge will automatically detect the CMP and sync consent preferences. However, you can still manually call the consent method if you need to override or supplement the automatic integration.Limitations
The automatic CMP integrations have a few limitations to be aware of:- Loading order: The CMP must load and initialize before Converge can read consent preferences. Most integrations include timeout logic (typically 5 seconds) to wait for the CMP to load.
- Category mapping: Converge only tracks two consent categories (
analyticsandmarketing). Additional categories from your CMP are not captured. - Custom configurations: If you’ve customized your CMP category names or structure, the automatic integration may not work correctly. Use the manual consent method instead.
Sending consent
When Converge has not received any consent preferences, we will default todenied consent.
For that reason, we recommend calling the consent method before the Converge snippet.
Configuring consent before the tracking
Default consent
The Converge consent can be updated while the visitor is browsing the page. To set a default consent, you can simply call theconsent method with the static default preferences — and later on, update them as follows.
Default to granted consent until the visitor denies marketing
Identifiers
The Converge pixel leverages the following identifiers in every setup.| Name | Method | Description |
|---|---|---|
__cvg_uid | Cookie | Unique identifier for the user |
__cvg_sid | Cookie | Unique identifier for the current session |
__cvg_session | Cookie | Information about the current session. It’s used to ensure consistency of the session properties sent to Converge and to trigger new sessions based on changing tracking parameters. |
| Name | Destination | Method | Description |
|---|---|---|---|
__cvg_tblcid | Taboola | Cookie | Click ID from Taboola |
__cvg_mgidcid | MGID | Cookie | Click ID from MGID |
__cvg_sccid | Snapchat | Cookie | Click ID from SnapChat |
__cvg_awc | AWIN | Cookie | Click ID from AWIN |
__cvg_outbraincid | Outbrain | Cookie | Click ID from Outbrain |
| Name | Method | Description |
|---|---|---|
__cvg_consent_analytics | Local Storage | User consent for analytics purposes |
__cvg_consent_marketing | Local Storage | User consent for marketing purposes |