What Google, Meta and Microsoft require
Ad and analytics platforms have their own consent rules, mostly written for Europe. In India they don't replace the DPDP Act; their consent signals are how your tags learn what the visitor chose.
Google Consent Mode v2
Consent Mode tells Google tags what the visitor allowed. Version 2 has four core signals (ad_storage, analytics_storage, ad_user_data, ad_personalization) plus functionality_storage, personalization_storage and security_storage. Google's EU user consent policy requires these signals for traffic from the EEA, the UK and Switzerland if you use its advertising features.
- Set defaults to denied with gtag('consent', 'default', …) before any Google tag loads, then send an update when the visitor chooses.
- Basic mode does not load Google tags until consent; advanced mode loads them and sends cookieless pings while denied. Advanced mode still sends data about the visitor before a choice, which sits badly with consent before processing under the DPDP Act (s.6(1)), so basic mode is the cautious setting.
- A Consent Mode signal is not consent. A banner that sends granted before the visitor clicks anything defeats the purpose.
CheckMyDPDP reads the gcs parameter on Google requests in its first pass and reports when ad or analytics storage was already granted before any choice.
Meta Pixel and Microsoft Clarity / UET consent signals
- Meta Pixel: call fbq('consent', 'revoke') before fbq('init'), and fbq('consent', 'grant') once the visitor accepts advertising. Without it the pixel sends events from the first page view.
- Microsoft Advertising (UET): UET has its own consent mode; push a default of ad_storage denied to window.uetq before the tag loads, then an update after the choice.
- Microsoft Clarity: Clarity's consent API tells it whether it may set cookies; until then, load Clarity only after analytics consent.
Each platform's terms also make you responsible for having a lawful basis and a notice for the data its tags collect. Check each vendor's current documentation, as their consent APIs change more often than the law does.
Sources
- Digital Personal Data Protection Act, 2023 (Gazette of India, 11 August 2023)
- Google: Consent Mode overview and EU user consent policy
- Meta: Pixel consent API (fbq consent)
- Microsoft Advertising: UET consent mode, and Microsoft Clarity: consent API