consent-mode
하는 일
이 스킬은 Google 태그가 각 방문자가 동의한 내용에 따라 올바른 동의 신호를 보내는지 확인합니다. Google 분석이나 광고를 쓰고 GDPR 같은 개인정보 규칙을 따라야 하는 사이트 운영자를 위한 스킬입니다.
사용하는 경우
- ✓개인정보 법이 적용되는 지역에서 사이트가 Google 분석이나 광고 태그를 쓸 때.
- ✓태그를 Consent Mode v2 설정으로 업데이트해야 할 때.
- ✓동의 상태가 올바르게 전송되는지 확인하고 싶을 때.
스킬 링크
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/consent-mode/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사이트에 Google Consent Mode v2를 설정해서, 광고와 분석 태그가 방문자가 선택한 쿠키 설정을 따르도록 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 광고 사용자 데이터와 광고 개인화 동의 상태를 보내도록 태그 설정을 업데이트하고, Google로 가는 요청에 동의 매개변수가 있는지 확인합니다.
기술 내용 (원본 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
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
frontendchecklist
75k명령줄 도구를 사용해 380개가 넘는 규칙으로 프런트엔드 코드와 실시간 페이지를 접근성, 속도, SEO, 보안 측면에서 점검합니다.
frontend-checklist-global
75kFront-End Checklist의 386개 규칙 전체로 프런트엔드 프로젝트를 감사하고, 발견한 문제마다 구체적인 해결 방법을 제시합니다.
404-page
75k없는 페이지 화면에 도움이 되는 링크가 있고 실제 404 상태 코드를 반환하는지 확인해, 길을 잃은 방문자를 돕습니다.
about-page
75k사이트를 운영하는 사람을 설명하는 명확한 소개 페이지가 있는지 검토해, 방문자와 검색 엔진의 신뢰를 높입니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.