Skip to content
Discussion options

You must be logged in to vote

Yes, Zest supports Google Consent Mode v2 out of the box. Just flip one flag:

window.ZestConfig = {
  consentModeGoogle: true
};

Or use a data attribute on the script tag:

<script
  src="https://cdn.jsdelivr.net/npm/@freshjuice/zest"
  data-consent-mode-google
></script>

When enabled, Zest automatically pushes a 'default' denied state for all consent types (analytics_storage, ad_storage, ad_user_data, etc.) on initialization — this is the critical GDPR requirement: signals are set before GTM or gtag loads. Then, on every consent change (accept/reject/modify), Zest sends 'update' signals reflecting the visitor's actual choices.

How to wire it

  1. Set consentModeGoogle: true in your Zest confi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zapalblizh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants