Consent
Set preferences for a visitor
Link your consent management platform, cookie banner, or opt-out links to RevScope. In many US states and some countries it's required to provide clear notice about the use of analytics, and provide a way to op-out of it. This is often done in the privacy policy for the website.
"granted" enables persistent attribution where it would
otherwise be disabled:
dispatch("set_consent", "granted"); "denied" clears the persistent attribution identifier cookie and
keeps RevScope in privacy mode; it does not prevent cookieless
measurement:
dispatch("set_consent", "denied"); "disabled" clears the identifier, stops all tracking, and deletes any analytics data previously recorded for the visitor's session
dispatch("set_consent", "disabled"); A subsequent call to "set_consent" overwrites the previous setting. The tracker remembers these choices in a cookie, which is a legitimate, permitted use of cookies in all jurisdictions.
Show a banner only when consent is required
If you show a cookie banner, you may want to show it only in some regions, and only if the visitor hasn't already recorded a decision. You can query this via the "consent_status" command. The callback runs after the RevScope server responds to the first request.
dispatch(
"consent_status",
function (status) {
// "granted" | "denied" | "disabled" | "required" | "not_required"
if (status === "required") {
// Show your cookie / analytics consent banner
}
}
); status is one of:
-
"granted"— the visitor previously opted in via aset_consentcommand with"granted" -
"denied"— the visitor previously opted out via aset_consentcommand with"denied"; cookieless measurement continues -
"disabled"— the visitor opted out of all measurement via aset_consentcommand with"disabled" -
"required"— no prior consent, and opt-in consent is required in the visitor's region. Note this only applies to storing a cookie, which does not happen in this region without consent. Showing a cookie banner for the purpose of RevScope analytics is optional. -
"not_required"— no prior consent, and opt-in consent is not required in the visitor's region
Do you need a banner?
RevScope's is designed to support audience measurement with and without cookies or opt-in consent, tailored by the visitor's location, so we can get the most complete analytics without infringing people's rights to privacy. However, national and regional laws vary, some authorities apply different analytics exemptions, the laws and interpretations evolve, and your wider site may use other tools that still require consent. We give you the tools to customize RevScope for your unique requirements.
For the background on when consent is required, see GDPR and Privacy laws.
This page provides general product and regulatory information, not legal advice.