consent-mode
यह क्या करती है
यह स्किल जाँचती है कि Google टैग हर विज़िटर की दी गई सहमति के आधार पर सही सहमति संकेत भेजें। यह Google एनालिटिक्स या विज्ञापन इस्तेमाल करने वाले और GDPR जैसे निजता नियमों का पालन करने वाले साइट मालिकों के लिए है।
कब इस्तेमाल करें
- ✓जब आपकी साइट निजता कानून वाले क्षेत्रों में Google एनालिटिक्स या विज्ञापन टैग इस्तेमाल करती है।
- ✓जब आपको अपने टैग Consent Mode v2 सेटिंग्स पर अपडेट करने हैं।
- ✓जब आप चाहते हैं कि सहमति की स्थितियाँ सही तरीके से भेजी जाएँ, इसकी पुष्टि हो।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/consent-mode/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी साइट पर Google Consent Mode v2 सेट करें, ताकि विज्ञापन और एनालिटिक्स टैग विज़िटर की कुकी पसंद का पालन करें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट टैग सेटअप अपडेट करता है ताकि विज्ञापन उपयोगकर्ता डेटा और विज्ञापन व्यक्तिगतकरण की सहमति स्थितियाँ भेजी जाएँ, और जाँचता है कि Google को भेजे गए अनुरोधों में consent पैरामीटर दिखता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Implement Google Consent Mode v2
Consent Mode v2 is essential for adhering to privacy regulations (like GDPR) while maintaining the ability to measure conversion and analytics data in a privacy-safe way.
Quick Reference
- Adjust tag behavior based on user consent for privacy compliance
- Maintain data insights through modeling for non-consenting users
- Ensure the
gcdparameter is present in pings to Google services
Check
Verify that Google Consent Mode v2 is correctly implemented and sending the appropriate consent states.
Fix
Update your GTM or gtag.js implementation to support the new ad_user_data and ad_personalization consent types.
Explain
Explain the transition to Consent Mode v2 and why it's required for digital advertising in certain regions.
Code Review
Review the routes, assets, and loading behavior that affect Implement Google Consent Mode v2. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/performance/consent-mode
अक्सर पूछे जाने वाले सवाल
Consent Mode क्यों मायने रखता है?
स्किल के अनुसार यह GDPR जैसे निजता नियमों का पालन करने में मदद करता है और फिर भी निजता-सुरक्षित माप की अनुमति देता है।
नए सहमति प्रकार कौन-से हैं?
स्किल ad user data और ad personalization का नाम लेती है।
मैं कैसे जाँचूँ कि यह काम कर रहा है?
स्किल कहती है कि Google सेवाओं को भेजे गए पिंग में gcd पैरामीटर मौजूद होना चाहिए।
जानकारी
लेखक का मूल विवरण
Use when auditing slow page loads, heavy assets, or rendering delays related to Implement Google Consent Mode v2. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.
लोकप्रियता
- GitHub स्टार
- 75k
- रैंकिंग में स्थान
- #2778
- लाइसेंस
- MIT
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।