DG and Privacy UX
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Consent Solutions Knowledge Base

Legacy script tag attributes

Script Tag Attributes

data-ev-noticeid The site notice id required
data-ev-coid The company id required
data-ev-consent-callback The function to call on consent. We default this to g_consentGiven which we include with the script, but this can be overridden if necessary required
data-ev-consent-expires Allows the default cookie consent duration (10 years) to be overridden. The numeric value represents the number of years to set on the consent cookie for the expiration date optional, defaults to 10

Indicates the types of actions we will accept to indicate consent. The different action types are:

  • close the banner (always indicates consent) - action letter = c
  • navigate to another page of the site - action letter = n
  • scroll the current page - action letter = s
  • click anywhere on the page - action letter = p

The default consent value is cn (click or navigate).

For example, to override the default behavior and force the user to close the banner to indicate consent you would use the following attribute:

optional, defaults to cn
Labels (1)
Version history
Revision #:
2 of 2
Last update:
‎10-07-2019 08:21 AM
Updated by:
Looking for more?
Ask in Discussions

Peer-to-peer support  and answers on developing CMS templates, modifying privacy scripts or building integrations.

Digital Experience Management

Find answers and ask questions on content management, personalization and targeting.

Digital Quality Management

Find answers and ask questions on WCAG and SEO quality management.

Digital Governance

Find answers and ask questions on consent and monitoring solutions.