The Vanilla JS integration is the foundation everything else is built on. Two script tags, one for your configuration, one for the CDN-hosted consent engine, are all it takes to bring GDPR, CCPA, LGPD, POPIA, and PDPA compliance to any website.
How to set up
Add the configuration script
Place this first script tag at the very top of your <head>. Set your policy_link and rootDomain at minimum. Browse the full settings reference in the developer docs.
<script>
window.INTA = {
policy_link: "https://yourdomain.com/privacy-policy",
settings: {
rootDomain: "yourdomain.com",
// Full reference: inta.dev/docs/cookie-banner/v1
}
};
</script>
Load the consent engine
Add the CDN script immediately after the config block. It loads asynchronously so it never blocks your page render.
<script src="https://cdn.intastellar.eu/uc.js"></script>
That's it
The banner appears on first visit. Consent state is stored per-visitor. Google Consent Mode v2 Advanced, Microsoft Clarity & UET, HubSpot Cookie API, and VWO all activate automatically based on what the visitor accepts.
What you get
- Works with React, Vue, Angular, Svelte, Next.js, Nuxt, Astro, and any other stack
- Under 5 KB loaded async, zero impact on Core Web Vitals
- Served from a global CDN with 99.9% uptime SLA
- All native consent framework integrations activate automatically
- No build step, no bundler, no npm package required
- Consent state persists across page loads and subdomains