Get Started (JavaScript)
Paste the snippet immediately after the opening <head> tag on each page (or once in your root layout). The same shape of config is shown on the public Intastellar Consents overview—swap in your real domains, IDs, and branding.
<script>
window.INTA = {
policy_link: "https://yourdomain.com/privacy-policy",
settings: {
rootDomain: "yourdomain.com",
company: "yourcompany",
arrange: "ltr",
color: "#000000",
logo: "https://yourdomain.com/logo.png",
design: "overlay",
gtagId: "G-XXXXXXXXXX",
requiredCookies: [],
keepInLocalStorage: [],
},
};
</script>
<script src="https://consents.cdn.intastellarsolutions.com/uc.js"></script>Replace placeholders with your domain, company name, colours, logo URL, and measurement IDs.
Privacy policy URL
Set a reachable privacy policy URL. Use policy_link and/or settings.privacy_policy on window.INTA. Missing or invalid URLs are a common reason the banner stays hidden—see the FAQ on the docs home.
Related
Last updated