DPDP consent for online stores
D2C brands run on ad pixels and analytics. Under the DPDP Act, those tools need the shopper's consent before they collect personal data, and the main obligations apply from 13 May 2027. A banner that says "by using this site you agree" will not meet that standard.
The challenge is doing it without breaking your ad measurement or slowing the store down. ConsentPlix is built for exactly that trade-off.
Keep ads working with Google Consent Mode v2
ConsentPlix sets Google Consent Mode v2 to "denied" as soon as the page loads, then updates ad_storage, analytics_storage, ad_user_data and ad_personalization the moment the shopper chooses. Google Ads and GA4 can then use their own modelling for visitors who decline, instead of losing them entirely.
Every choice is also pushed to dataLayer as a cp_consent_updated event, so you can trigger tags in Google Tag Manager on consent.
Fast enough for a store
The ConsentPlix script is about 5KB compressed and has no dependencies, so it adds very little to page weight. That matters on mobile, where most Indian shoppers browse, and for Core Web Vitals, which affect both search ranking and conversion.
Setting it up on Shopify or WooCommerce
- Add the ConsentPlix script to your theme's head, above other tracking code. On Shopify that is
theme.liquid; on WooCommerce it is your theme's header or a header-scripts plugin. - Known trackers, including the Meta Pixel, Google tags, TikTok and Clarity, are held back automatically until the shopper allows them.
- For other scripts or embeds, mark them with
data-cp-category="marketing"or"analytics". - Show the notice in Hindi, Tamil or any other scheduled language your customers prefer.
Full steps are in the quickstart and the cookie and tracker blocking guide.
What it costs
Start free, then move to Starter at ₹399/month for up to 10,000 consents, or Growth at ₹999/month for up to 5 domains. Compare plans on the pricing page.