Cookies, consent and measurement: what you may measure
BizzBot5 min read
Cookies are small files that a website leaves in a visitor's browser. Necessary cookies work without asking, but for analytics and ads, under rules similar to the European ones, the visitor's explicit consent is usually needed before they are switched on. What exactly the law requires for your website, check with a lawyer or a data protection specialist.
In short
- Cookies are divided into necessary, functional, statistical and marketing, and consent is usually required for the last two groups.
- A banner should let you decline as easily as you accept.
- Visitors who decline will not appear (or will appear only partly) in analytics, so your numbers are lower than the real ones.
- This is general information. The rules in Serbia and the EU are not identical, and the competent authority in Serbia is the Commissioner for Information of Public Importance and Personal Data Protection.
Four types of cookies
The easiest way is to sort cookies by purpose, because the purpose determines whether consent is needed:
| Type | What it is for | Example | Consent |
|---|---|---|---|
| Necessary | The site does not work without them | Cart, login, security | Usually no |
| Functional | Remember the visitor's choice | Language, text size | Depends on the case |
| Statistical | Measure visits | Counting visitors, sources | Usually yes |
| Marketing | Track visitors for ads | Advertising pixels, remarketing | Usually yes |
The division in the table is general. The real classification depends on what your tools actually do, so do not rely on the name alone.
You will also hear about first-party and third-party cookies. A first-party cookie is set by your own website, and a third-party cookie is set by an outside service embedded in your site, for example an ad network or an embedded video. Third parties usually cause more concern, because they can track the visitor across other sites too. But even a first-party cookie is not automatically exempt from the rules: the purpose decides, not the owner.
What a banner should look like
A banner is the notice that appears on a first visit to the site. In European practice a good banner has several things:
- It says clearly which types of cookies you use and what they are for, in plain language.
- It offers a "Decline" button that is as visible as "Accept".
- It does not pre-tick statistical and marketing cookies.
- It does not load statistical and marketing tools until the visitor consents.
- It lets the visitor change or withdraw the choice later, for example through a link in the footer.
- It leads to the full privacy policy, where the tools are listed.
A banner that makes declining harder, or one that only informs ("cookies are active, continue"), often does not fulfill the purpose of consent. If you are not sure, ask a specialist.
How visitors' choices affect your data
Someone who declines marketing and statistical cookies is usually not recorded in a tool like GA4, or is recorded only in a limited way. That is why the numbers in analytics underestimate visitors, and the share of visitors who decline is not the same for every site. Some tools offer a way to estimate the missing data statistically (Google calls it Consent Mode). Such an estimate is approximate and does not replace real data.
What this means for you:
- Numbers from analytics are a lower bound, not an exact total.
- Compare month with month, not analytics with your cash register.
- When you change the banner, expect a break in the data: the number of visitors can drop while real traffic stays the same.
- Read your important business numbers (orders, inquiries) from your own sources: email, the sales system, your records.
More about setting up measurement is in the article on GA4 basics for website owners.
A practical order for a small website
- List the tools. What on the site sets cookies: analytics, advertising pixels, embedded video, chat, maps, forms. If you do not know, ask the person who maintains the site or use a free cookie scanning tool.
- Sort them into the four types from the table.
- Load non-necessary ones only after consent. This is a technical step that is usually done by a developer or a consent plugin.
- Write the policy with a list of cookies, their purpose and retention period.
- Check once every three months. Every new tool (a new pixel, a new widget) can add cookies you have not declared.
Chat on the website and cookies
Every addition to a website, chat included, can use cookies or similar technology to remember a conversation. Ask each vendor what exactly it sets in the visitor's browser and what it is for, and then put that in your policy. How to inform visitors about chat is explained in the article on the privacy notice and cookies when you have a chat.
Frequently asked questions
Do I need a cookie banner?
If you use analytics or marketing tools, probably yes. If you use only necessary cookies, often not. The exact answer depends on your website, so check with a specialist.
May I measure visits if a visitor declines cookies?
You should not switch on tools that require consent until you have it. What is allowed without cookies and how depends on the tool and the regulations, so check with a data protection specialist.
Why did my visitor count drop after I introduced a banner?
Most likely because visitors who decline are no longer recorded, not because there are fewer of them. The real number has not changed; you have just stopped seeing part of it.
What next
List all the tools that set cookies on your website and sort them into the table from this article. Then check the banner and the policy with a lawyer or a specialist. If you are introducing a chatbot, get in touch to ask what needs to be listed, and the article on data privacy in chat gives a general framework.