Getting Started
Add a consent banner to your website in minutes. Create a team, add your site, and embed one script tag.
Go from zero to a fully working consent banner in four steps. No code required except pasting a single script tag.
Create your account
Head to app.consentstack.io/login and sign in with Google or your email address. If you use email, you'll get a one-time verification code to confirm your account.
Create a team
After signing in, you'll be prompted to create a team. Enter a name and ConsentStack generates a URL-friendly slug automatically.
Teams organize your sites, members, and billing in one place. Even if you're working solo, you need one team to get started.
Add a site
Inside your team, click to create a new site. Give it a name like "Marketing Site" or "Blog." ConsentStack will:
- Generate a unique Site Key for your site
- Publish a default consent configuration so your banner works immediately
You'll find your Site Key on the site's overview page. It looks like this: csk_abc123def456
Embed the script tag
Add this single line to your website's <head> tag, replacing YOUR_SITE_KEY with the key from the previous step:
<script
src="https://cdn.consentstack.io/consent.js"
data-site-key="YOUR_SITE_KEY"
defer
></script>That's it. The SDK loads in the background (~21 KB), fetches your consent configuration, detects the visitor's location, and displays the right consent banner -- all automatically.
Verify it's working
Open your site in a browser -- you should see the consent banner appear. If something looks off, check our Testing & Verification guide.
What happens next
- Third-party scripts are blocked automatically. ConsentStack detects trackers on your page and prevents them from running until your visitor consents. Learn how script blocking works.
- The right rules apply to every visitor. Visitors in the EU see GDPR opt-in banners, visitors in California see CCPA-style notices, and everyone else gets a simple acknowledgement -- no configuration needed. Explore consent models.
- Every consent decision is logged. Accepts, rejections, and preference changes are recorded with a privacy-first audit trail. No personal data is stored. See how categories and regions work.