Track visitor consent to Converge
cvg
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 are granted
, and denied
.
If not set, Converge will assume that the visitor has denied
consent.marketing
:
Preference for marketing tracking. Possible values are granted
, and denied
.
If not set, Converge will assume that the visitor has denied
consent.The visitor has granted 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 denied consent for both analytics and marketing tracking
cvg
object is available before you call the consent
method.
If this is not the case, include the following snippet before calling cvg
.profile_properties
.
This is used to filter events when forwarding server-side.
Inspect the consent parameters for a profile
$consent
key. This object is used to filter the server-side events.denied
consent.
For that reason, we recommend calling the consent method before the Converge snippet.
consent
method with the static default preferences β and later on, update them as follows.
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 |