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.marketing: Preference for marketing tracking. Possible values aregranted, anddenied.
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.
Consentmo
Consentmo
Converge automatically integrates with Consentmo’s consent banner. The integration:
- Detects Consentmo’s banner script on the page
- Reads the
analyticsandmarketingpreferences directly, since Consentmo already uses these category names - Listens for the
consentmoSignalevent to capture consent changes made during the session, andconsentmoSignal_onLoadto pick up a returning visitor’s stored choice
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 Consentmo with Google Consent Mode.
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.
Pandectes (Shopify)
Pandectes (Shopify)
Converge automatically integrates with Pandectes’ cookie banner on Shopify stores, for both the current and the legacy banner. The integration:
- Maps Pandectes’
Performancecategory to Converge’sanalyticsconsent - Maps Pandectes’
Targetingcategory to Converge’smarketingconsent - Reads a returning visitor’s stored choice as soon as the page loads
- Listens for Pandectes’ consent events to capture choices made during the session
- For visitors who haven’t chosen yet, waits for Pandectes to detect their region and applies its default:
deniedwhere consent is required,grantedelsewhere. The first page view already carries this consent. If Pandectes hasn’t detected the region within 5 seconds, consent isdenieduntil it does.
- Consent regions are set in Shopify. Pandectes’ current banner follows the regions in your Shopify admin under Settings > Customer privacy. Make sure every region where you require consent is listed there.
- Legacy banner. Visitors’ choices are picked up, but not the regional default. Until a visitor chooses, their events follow the destination’s consent mode. Switch to Pandectes’ current banner to get the regional default.
- Basic plan. On Pandectes’ Basic plan, the current banner doesn’t send the events Converge listens to. Choices made in the banner are picked up on the next page load, and a new visitor’s first page view may have no consent, as the 5-second
deniedfallback doesn’t apply here. Plus or higher avoids this. - Checkout. Pandectes doesn’t run in Shopify checkout. Checkout events forwarded server-side use the consent from the visitor’s storefront visit. A visitor who goes straight to checkout on a new browser has no consent recorded, so their events follow the destination’s consent mode.
For Google Ads and GA4, you’ll also need to implement Google Consent Mode. Pandectes can do this itself: enable Google Consent Mode in the Pandectes app settings.
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
What happens to events without a recorded consent preference depends on the destination’s consent mode:
We recommend calling the consent method before your first
track call, as in the example below.
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.
The following identifiers are only used for specific destinations.
The following identifiers are only used when Converge consent integration is active.