Skip to main content

Quickstart Installation Guide

Consent Shield delivers real-time tracker blocking, Google Consent Mode v2 synchronization, and automated California CIPA § 631 wiretap lawsuit defense.

1-Line Script Tag Integration

Add the following script tag directly into your website's <head> before any analytics, marketing pixels, or tag managers:

<!-- ConsentShield Real-Time Defense Kernel -->
<script
src="https://consentshieldai.com/shield.js"
data-site-id="CS-LIVE-PROD"
data-gcm-v2="true"
data-cipa-protect="true"
data-respect-gpc="true"
async>
</script>
Zero-Execution Guarantee

Consent Shield intercepts network requests from Meta Pixel, TikTok, and session replay recorders prior to DOM execution, ensuring complete compliance before user consent is granted.

Consent Shield natively syncs with Google Tag Manager and the Google Consent Mode v2 standard:

<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}

gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'denied',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'wait_for_update': 500
});
</script>