Digital Governance
cancel
Showing results for 
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
data-ev-consent-type

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:
data-ev-consent-type='c' 

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

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.