Acronym
AcronymContact Us
  • About Acronym
  • Adobe Tags (Adobe Launch)
    • Google Tag (gtag)
      • Configuration
      • Actions
        • Preload the gtag.js library
        • Set persistent values
        • Send a page view
        • Send an event
      • Release Notes
      • Frequently Asked Questions
        • Consent Management
        • Error Codes
      • Migration Guides
        • Google Ads
        • Google Universal Analytics
        • Google Gtag
      • Developer Documentation
  • Adobe Analytics
    • Activity Map Destination
Powered by GitBook
On this page
  • Setting Default Consent States
  • Updating Consent State

Was this helpful?

  1. Adobe Tags (Adobe Launch)
  2. Google Tag (gtag)
  3. Frequently Asked Questions

Consent Management

PreviousFrequently Asked QuestionsNextError Codes

Last updated 11 months ago

Was this helpful?

Google has released several that allow for more precise consent management. Acronym is working on developing a user interface that will let you make consent management adjustments without needing to code.

Setting Default Consent States

As of you can that will run prior to your accounts' initializing. A common use case for this is to set the default consent states. Using Google's as a guide, you can add consent configuration, e.g.:

gtag('consent', 'default', {
  'ad_storage': 'denied',
  'ad_user_data': 'denied',
  'ad_personalization': 'denied',
  'analytics_storage': 'denied'
});

Updating Consent State

Currently, you must use custom code to update a user's consent state. Acronym is working on developing new rule actions and a user interface that will allow for consent state updates. In the meantime, using Google's as a guide, add a new rule action, select Core > Custom Code, then add your code.

gtag('consent', 'update', {
  'ad_storage': 'granted'
});

Update gtag function name if applicable

If you've used a custom function name, be sure to use that instead of gtag within the custom code.

new features
developer documentation
developer documentation
add custom code
v2.0.0