Cookie Banner for Tilda
Last updated: September 16, 2026
Tilda provides the T972 consent block with cookie categories, as well as notification-only blocks. Check your site configuration and Tilda documentation.
When using Cookiestack, choose one consent mechanism and check that another integration does not load the same analytics service independently.
Adding Cookiestack to a Tilda site
- Sign up for Cookiestack and add your Tilda domain under Domains — you'll get a unique
data-api-key. - In Tilda, open Site settings → More → Code insertion and add the tag to the "HEAD" field (applies to every page in the project):
<script src="https://api.cookiestack.dev/widget.js" data-api-key="YOUR_API_KEY" async ></script>
- Remove the built-in "Cookie" block if it's already on your pages — it's redundant and can visually clash with the Cookiestack banner.
- If Yandex Metrica is wired up through Tilda's native Analytics panel, disable it there and enable the Yandex Metrica integration in your Cookiestack domain settings instead — the widget initializes the counter itself, only after the visitor consents to the "Statistics" category.
Manually embedded scripts
For any third-party script added via Tilda's "HTML code" block, add type="text/plain" and data-cookie-category="marketing" (or statistics / preferences) — Cookiestack activates it automatically once the visitor consents to that category. See the JavaScript API for details.
For how Tilda's built-in "Cookie" block differs from a real CMP, see Cookiestack vs a builder's built-in banner.
This article is for informational purposes only and is not legal advice. Tilda's interface labels may vary by plan and builder version.