Cookie consent banner
Cookie consent is a mandatory feature for sites that use analytics, marketing scripts or any kind of visitor tracking. The Emit platform lets every site configure and customise its own cookie consent banner independently.
What is cookie consent?
When a visitor first visits your site, under the GDPR you must inform them about the use of cookies and give them the option to accept or reject tracking. The cookie consent banner is exactly that element — it is shown at the bottom or top of the page and offers two options:
- Accept all — all cookies and tracking scripts are loaded
- Reject all — only necessary cookies remain, analytics and marketing are blocked
How to enable cookie consent
- Go to Admin → Settings
- In the side navigation find the Cookie Consent section
- Tick Enable Cookie Consent Banner
- Adjust the settings as you like
- Click Save Changes
Settings
Banner text
This is the message shown to visitors. The default text reads:
"We use cookies to improve your experience. By using our site, you agree to our use of cookies."
You can change it to Serbian or any other language, for example:
"Koristimo kolačiće da bismo poboljšali vaše iskustvo. Korišćenjem našeg sajta, slažete se sa našom upotrebom kolačića."
Button text
- Accept Button Text — the text on the accept button (default: "Accept All")
- Reject Button Text — the text on the reject button (default: "Reject All")
You can change them, e.g. in Serbian:
- Accept → "Prihvatam"
- Reject → "Odbijam"
Link to the privacy policy
Enter the URL of your privacy policy page (e.g. /privacy-policy). If you leave it empty, the link is not shown in the banner.
Tip: Create a "Privacy policy" page on your site and enter its slug here.
Banner position
Choose where the banner is shown:
| Option | Description |
|---|---|
| Bottom | Bottom of the page (recommended) |
| Top | Top of the page |
Theme (colour)
| Theme | Look |
|---|---|
| Dark | Dark background (#1a1a2e), light text — a modern, professional look |
| Light | White background, dark text — a clean, minimal look |
Live preview
As you change the settings, a preview of the banner updates automatically at the bottom of the section. You can see right away how the banner will look before you save.
How cookie consent works
The visitor flow
- First visit — the banner is shown (no consent cookie)
- Click "Accept" — the cookie
cookie_consent=acceptedis stored for 365 days, Google Analytics loads - Click "Reject" — the cookie
cookie_consent=rejectedis stored for 365 days, analytics stays blocked - Later visits — the choice is remembered, the banner is not shown again
What is blocked?
When a visitor rejects cookies:
- Google Analytics does not load — no visit tracking
- All other marketing and analytics scripts are blocked
When a visitor accepts cookies:
- Google Analytics loads dynamically
- All tracking scripts work normally
Necessary cookies (always allowed)
These cookies are necessary for the site to work and do not depend on consent:
- Session cookie — for login and authentication
- cookie_consent — stores the visitor's own choice
Multi-tenant support
Every site on the platform has independent cookie consent settings. Enabling the banner on one site does not affect other sites. The settings are stored in each site's own settings.json file.
Frequently asked questions
Is cookie consent mandatory?
If you use Google Analytics or any visitor tracking, under the EU's GDPR — yes, it is mandatory. Even if your site is not primarily aimed at the EU market, we recommend enabling it.
What if I disable cookie consent?
If you disable the cookie consent banner, Google Analytics will load directly on all pages without asking for consent (as it worked before).
How long is the visitor's choice remembered?
The choice is stored in a cookie for 365 days. After that period the banner is shown again.
Can I change the look after saving?
Yes, you can change the text, colours, position and theme at any time. The change applies immediately after saving the settings.