Code BLACKGO: cookie banner free for a year. Create an account →

Publications / Law and cookies

GDPR and your website — what obligations does a website owner have?

The GDPR does not require every website to look the same. It does, however, require personal data to be processed lawfully, for clearly defined purposes, transparently and with an appropriate level of security.

Author: Robert.S Published: 21 min read

GDPR and your website — what obligations does a website owner have?

Latest posts

A website is not only a company's business card, an online shop or a tool for winning customers. It is also a place where users' personal data may be collected and processed. A contact form, a newsletter sign-up, an analytics tool, an advertising pixel or an external service embedded on the site is enough to raise privacy questions.

That is why the GDPR matters not only for large enterprises, but also for small businesses, freelancers, digital agencies and owners of small websites.

The GDPR does not require every website to look the same. It does, however, require personal data to be processed lawfully, for clearly defined purposes, transparently and with an appropriate level of security. The scope of obligations depends on what information the website collects, what it is used for and which tools its owner uses.

In this guide we explain what to look out for to better prepare a website for the requirements of the GDPR, handle cookie consent correctly and reduce the risk of mistakes.

1. What is the GDPR and why does it apply to websites?

The GDPR is the General Data Protection Regulation, i.e. Regulation (EU) 2016/679 of the European Parliament and of the Council. It sets out the rules for processing the personal data of natural persons and the rights of those persons.

Personal data is information that makes it possible to identify a specific person directly or indirectly. The most obvious examples are a first name, surname, email address, telephone number or home address. In certain circumstances, online identifiers, location data and information collected while using the website can also be personal data.

This does not mean that every cookie automatically contains personal data. What matters is what information is stored, whether it can be linked to a person and how it is used.

The GDPR may apply to a website, among other things, when:

  • a user sends a contact form;

  • a customer places an order in an online shop;

  • a visitor signs up for a newsletter;

  • the website stores information about a user account;

  • analytics tools collect information about user activity;

  • an advertising system uses data to measure conversions or personalise ads;

  • the website stores identifiers that make it possible to recognise users or their devices.

The basic principles come mainly from Articles 5 and 6 GDPR. Data must be processed lawfully, fairly and transparently, for specified purposes and only to the extent necessary to achieve them.

2. Who is responsible for personal data on a website?

Typically, the data controller is responsible for compliant processing. This is the entity that determines the purposes and means of processing personal data.

If a company runs a website and decides to use it to collect requests for quotes, run a newsletter or measure the effectiveness of advertising campaigns, it usually acts as the data controller for those processes.

It is worth distinguishing the controller from entities that provide technical services. A hosting provider, an email marketing system operator, a marketing agency or a software provider may process data on behalf of the controller. Depending on what it actually does, such an entity may act as a processor or as an independent controller.

So it is not enough to state in the privacy policy that the company is responsible for the data. You also need to establish which entities take part in processing it and on what terms.

What should a website owner do?

First of all, they should establish:

  • what data the website collects;

  • for what purposes it is used;

  • who has access to it;

  • which tools and external services receive the data;

  • on what legal basis the processing takes place;

  • how long the information is stored;

  • what security measures are in place.

Only on the basis of such an analysis can you prepare adequate information for users and implement the right technical solutions.

3. Privacy policy — an important part of a website

The privacy policy is one of the main places where a website owner gives users information about data processing. However, it is not a guarantee of GDPR compliance on its own.

Article 13 GDPR sets out the information that must be provided when personal data is collected directly from the data subject. Depending on the situation, the user should receive, among other things, information about the controller, the purposes and legal bases of processing, the recipients of the data, the storage period and their rights.

A well-prepared privacy policy should answer the questions a user may have while using the website.

What should a privacy policy contain?

Depending on how the website works, it is worth including:

  1. Controller details — the name of the entity, contact details and other information required in the given situation.

  2. Purposes of processing — for example handling enquiries, fulfilling orders, running user accounts, analytics or marketing.

  3. Legal bases — the appropriate bases under Article 6 GDPR for each process.

  4. Recipients of the data — categories of entities to which the data is disclosed, if applicable.

  5. Storage period — the period or the criteria used to determine it.

  6. User rights — including the right of access to data, to rectification and to erasure, where the relevant conditions are met.

  7. Information about data transfers outside the European Economic Area — if they take place.

  8. Information about automated decision-making or profiling — if such processes take place.

  9. Contact for data protection matters — including the details of the data protection officer, if one has been appointed and the obligation to publish them applies.

Not every website will need an identical document. The policy should reflect how the website actually works, not just be a generic template copied from another company.

4. Contact forms and the GDPR

A contact form is one of the most common ways in which websites collect personal data. A user may provide their name, email address, telephone number, company name and the content of their message.

The website owner should consider which fields are really needed. If an email address is enough to reply to an enquiry, requiring a telephone number may be unjustified.

This is a practical application of the data minimisation principle: you should collect information that is adequate, relevant and limited to what is necessary for the given purpose.

No. This is a common mistake.

If a user contacts a company about an offer or a service, the processing of data may be based on steps taken at that person's request prior to entering into a contract, or on another appropriate legal basis. You should not automatically replace every legal basis with consent.

Consent must be used when it is actually the basis for the given processing and meets the requirements of the GDPR.

In practice, a form should above all provide access to clear information about data processing. If the data is also to be used for a separate purpose, for example marketing, you need to assess separately the legal basis and how any consent is collected.

5. Newsletters and online marketing

A newsletter sign-up requires distinguishing at least two issues: the basis for processing personal data and the requirements for sending commercial information by electronic means.

In certain cases consent can be the basis for processing data for a newsletter. You must then make sure that it is freely given, specific, informed and unambiguous, and that the controller can demonstrate it was obtained.

At the same time, you need to take into account the laws governing electronic communications and direct marketing. The mere fact that a company has a customer's email address does not automatically mean that it can use it for any marketing activity.

It is also worth providing an easy way to withdraw consent, if consent is the basis for processing, and recording the information needed to demonstrate that the process is correct.

Cookies, i.e. small pieces of information stored on the user's device, can serve different functions. Some are needed for the website to work, others are used for analytics, ad measurement, personalisation or tracking activity.

For websites in the EU, not only the GDPR matters, but also Article 5(3) of Directive 2002/58/EC (the ePrivacy Directive) and the national laws implementing it in each Member State, e.g. § 25 TDDDG in Germany or Article 82 of the Informatique et Libertés Act in France – see National laws. Article 5(3) governs storing information on the user's terminal equipment and gaining access to information already stored there, and for consent the directive refers to the relevant data protection rules.

Not every cookie obligation comes directly from the GDPR. The rules on access to the user's device and on processing personal data can apply in parallel, so you need to analyse them together.

What types of cookies can you find on a website?

The following categories are most commonly distinguished:

  • Necessary — support the basic operation of the website, for example maintaining a session or the shopping cart function.

  • Preferences — remember chosen settings, for example the language.

  • Analytics — help measure traffic and analyse how the website is used.

  • Marketing — may be used to measure campaigns, personalise ads or build audiences.

This division is helpful when designing a banner, but the name of a category does not determine the legal obligations. What matters is the actual purpose and functioning of the specific cookie or other technology.

This question cannot be answered without analysing their function and use.

Article 5(3) of the ePrivacy Directive and the national laws implementing it set conditions for informing the user and obtaining consent, as well as an exception for cases where storing information or accessing it is necessary to transmit a communication or to provide a service requested by the user.

That is why technologies necessary to perform a specific function may be subject to different rules than advertising tools. This does not mean, however, that every file the website owner calls “necessary” automatically falls under the exception.

For analytics and advertising tools, you need to assess how they actually work, the identifiers they use and the applicable law. Do not assume that every analytics solution is exempt from the consent requirement.

A cookie banner should not just be information displayed on the screen. If the website uses technologies that require consent, the mechanism should allow the user to make a choice and should act on that decision.

In practice, it is worth checking whether:

  • the user receives clear information about the purposes for which technologies are used;

  • they can accept or reject technologies that do not fall under an exception to consent;

  • they can make a more detailed choice, if needed;

  • settings are not pre-selected in a way that suggests consent;

  • scripts that require consent do not run before it is obtained;

  • a refusal is respected by the website and the integrated tools;

  • the user can change their decision and, where they have given consent, withdraw it;

  • the website records the information the controller needs to show how the choice was handled.

These requirements should be adapted to the technologies used and the legal bases. The banner should not suggest that accepting all cookies is the only way to use the website if there is no proper basis for this.

Is an “Accept” button enough?

No, if the mechanism does not ensure that consent is properly obtained and acted on.

The look of the banner alone does not determine compliance. Even an attractive interface can work incorrectly if advertising scripts run too early or the user's refusal is not respected.

So what matters is both what the visitor sees and what happens technically in the browser.

8. Google Analytics, Google Tag Manager and advertising pixels

Many websites use analytics and marketing tools. They can help measure traffic, analyse conversions and assess the effectiveness of campaigns, but implementing them requires checking the flow of data.

Google Analytics 4

Before implementing GA4, establish what information is collected, for what purposes, how the service is configured and which legal basis applies. If the use of the technology requires consent, the tool should not start the relevant processing before consent is obtained.

Google Tag Manager

Google Tag Manager makes it easier to manage tags, but it does not ensure legal compliance on its own. The container may hold analytics and advertising scripts, external libraries and other elements that need to be analysed.

Check which tags are fired, what their triggers are and whether the consent settings really block them until the right moment.

Meta Pixel and other advertising tools

Advertising pixels and similar technologies can pass information about user activity to external providers. Their implementation should be assessed on the basis of the specific configuration, purposes and applicable law.

It is not enough to mention the pixel in the privacy policy if a mechanism that requires consent starts before consent is obtained.

Consent Mode makes it possible to pass consent status signals to compatible Google services. However, it is not a cookie banner in itself or a universal solution that ensures legal compliance.

The implementation should cover the correct configuration of the consent collection mechanism, the signals passed to the tools and the behaviour of tags. The configuration should also be tested in practice.

These documents can be combined or kept separate, depending on the needs and structure of the website, but they serve slightly different functions.

The privacy policy describes the processing of personal data by the controller, including the purposes, legal bases, recipients and the rights of individuals.

Information about cookies should explain which technologies are used on the website, what they are for and what choices the user has. If the website uses many tools, it is worth also presenting the relevant categories, providers and technical details.

Having both documents does not by itself mean compliance. The content must match how the website actually works, and the consent mechanism should apply the rules described.

10. Forms, analytics and cookies — what needs testing?

The website owner should periodically check whether the solutions in place work as intended. Changes to plugins, templates, tags or integrations can change how the website behaves without any visible warning.

A practical test should cover at least the following situations:

  1. First visit — open the website in a new browser profile or clear previous settings.

  2. No decision — check that technologies requiring consent do not run before it is obtained.

  3. Refusal — choose to reject the relevant categories and check how the website behaves.

  4. Acceptance — give consent and verify that only the relevant technologies are activated.

  5. Changing settings — go back to the preferences panel and change your earlier decision.

  6. External tools — check the tags in GTM, analytics tools, pixels and embedded content.

  7. Mobile devices — test how the banner works on a phone and a tablet.

  8. Website updates — repeat the tests after technical changes.

It is worth documenting the tests and recording the date, the scenarios checked and any problems found. This is especially useful when several people or an external agency work on the website.

11. Security of personal data on the website

The GDPR requires not only transparent information for users, but also appropriate technical and organisational measures, adequate to the risk. This is covered, among other provisions, by Article 32 GDPR.

The scope of security measures depends on the type of data, the scale of processing and the potential consequences of an incident. A simple business card website may need different measures than an online shop that stores order history and customer data.

In practice, it is worth paying attention to:

  • updates of the CMS, plugins and server;

  • strong passwords and multi-factor authentication for administrator accounts;

  • restricting access to data and to the admin panel;

  • secure data transmission over HTTPS;

  • backups and recovery procedures;

  • controlling the access of providers and people who manage the website;

  • secure storage of forms, exports and databases;

  • incident response procedures.

In the event of a personal data breach, the controller must assess its obligations under the GDPR. In certain situations it may be necessary to notify the breach to the supervisory authority and, where there is a high risk to the rights or freedoms of individuals, also to inform the data subjects.

12. User rights — what must a website owner make possible?

People whose data is processed have rights under the GDPR. Depending on the circumstances, these may include:

  • the right of access to data;

  • the right to rectification;

  • the right to erasure;

  • the right to restriction of processing;

  • the right to data portability;

  • the right to object;

  • the right to withdraw consent, where processing is based on it;

  • the right to lodge a complaint with a supervisory authority.

Not all rights apply in every situation, and not every request must be fulfilled unconditionally. The controller should, however, have a procedure for receiving and handling such requests.

Where processing is based on consent, it should be possible to withdraw it at any time, and the withdrawal does not affect the lawfulness of processing before it. This follows from Article 7 GDPR.

Remember that withdrawing consent to cookies is not the same as requesting the erasure of all personal data. Each of these actions may require a separate assessment.

13. Does every website need a data protection officer?

No. The obligation to appoint a data protection officer (DPO) depends on the conditions set out in Article 37 GDPR, not on the mere fact of having a website.

The obligation may arise, among other things, when the core activities of the controller or processor consist of processing operations that require regular and systematic monitoring of individuals on a large scale, or of large-scale processing of special categories of data or of data relating to criminal convictions and offences.

Not every small business needs a DPO, but every business should assess its obligations and make sure that data protection matters are handled properly.

14. What are the fines for infringing the GDPR?

The GDPR provides for administrative fines for certain infringements. Depending on the type of infringement, the maximum can be €10 million or 2% of the undertaking's total worldwide annual turnover, or €20 million or 4% of that turnover — whichever is higher.

This does not mean that every mistake on a website automatically leads to the maximum fine. When deciding on sanctions, the circumstances of the specific case and the criteria set out in the GDPR are taken into account.

However, risk can arise not only from missing documentation but also from how the website actually works — for example from unlawful data processing, inadequate protection of information or failure to meet consent requirements.

That is why it is worth regularly checking both the content of documents and the technical operation of the website.

15. How to prepare a website for the GDPR? A practical checklist

The list below can help you carry out an initial review of your website. It does not replace an individual legal analysis, but it helps identify areas that need checking.

Documents and information

  • The data controller has been identified.

  • The privacy policy describes the actual processing.

  • The user receives the information required by Article 13 or 14 GDPR, depending on the situation.

  • The purposes of processing and the legal bases have been defined.

  • Data recipients and service providers have been verified.

  • The cookie information matches the technologies actually used on the website.

Forms and marketing

  • Forms do not collect excessive data.

  • Appropriate information about processing is available next to the forms.

  • The legal bases for the newsletter and marketing have been verified.

  • The process for withdrawing consent works correctly, if consent is used.

Cookies and analytics tools

  • An inventory of cookies, scripts and other technologies has been carried out.

  • It has been established which technologies require consent.

  • The banner allows the user to make an appropriate choice.

  • Technologies that require consent do not run before it is obtained.

  • Refusal and changes to settings are respected.

  • Google Analytics, GTM and advertising tools have been tested, if they are used.

Security and handling requests

  • The CMS, plugins and server are kept up to date.

  • Access to the admin panel is properly secured.

  • Backups and an incident response procedure are in place.

  • It is clear how to handle requests concerning user rights.

  • It has been decided when and how to retest the website.

If a website uses technologies that require consent, it needs a mechanism that lets the user make a choice and handles that choice properly.

A cookie consent management solution can help organise how information is displayed, how preferences are saved and how the launch of integrated technologies is controlled — provided it is configured correctly for the specific website.

consetgo is a solution designed for handling cookie consent. When implementing it, check whether the configuration matches the technologies actually used on the website, which integrations are available and whether scripts run according to the choices made.

However, installing a banner alone does not guarantee full GDPR compliance. The controller remains responsible for assessing the legal bases, the content of the information, the configuration of external services, data security and the other legal obligations.

The best approach is to combine a correctly configured consent mechanism with a website audit, up-to-date documentation and regular testing.

Summary

GDPR and your website is a much broader topic than a privacy policy and a cookie banner. A website owner should know what data they collect, for what purposes they process it, who they share it with and what security measures they use.

The most important steps are:

  • analysing forms and other sources of data;

  • preparing clear information about processing;

  • choosing the right legal bases;

  • checking cookies and external scripts;

  • handling consent correctly where it is required;

  • securing data and implementing procedures;

  • regularly testing the website after changes.

Remember that a website's GDPR compliance depends on how data is actually processed, not just on having the right documents. Well-prepared documentation, correct technical configuration and conscious consent management help reduce the risk of mistakes and build user trust.

Sources and basis

This material is for information only and is not individual legal advice. Requirements should be assessed in relation to the specific technologies, processing purposes and the current legal position.

Questions and answers

Does every website need a privacy policy?

This question cannot be answered just from the fact that a website exists. If the website processes personal data, the controller must meet the relevant information obligations. A privacy policy is often a practical way to provide this information, but its content should match the actual processing.

Does every website have to display a cookie banner?

Not every website needs an identical banner. Whether a consent mechanism is needed, and its scope, depends on the technologies used and the applicable law. If the website uses technologies that require consent, it must make sure that the user's choice is properly obtained and acted on.

Can Google Analytics run without consent?

It depends on the specific configuration, the technologies used and the applicable law. Do not automatically assume that analytics tools are exempt from the consent requirement. Before launching, check how the solution works and what the legal basis is.

Does a user have to accept cookies to enter the website?

Access to the whole website should not depend on accepting technologies that are not necessary to provide the requested service, without an appropriate legal basis. The consent mechanism should give the user a real choice.

Does a cookie banner alone ensure GDPR compliance?

No. The banner is only one part of the solution. Correct script configuration, documentation, legal bases, data security and handling user rights also matter.

Does a small company have to appoint a data protection officer?

Not always. The obligation to appoint a DPO depends on the conditions set out in Article 37 GDPR, not only on the size of the company or on having a website.

How often should a website's compliance be checked?

It is worth reviewing it regularly and after significant changes — for example after adding new analytics tools, an advertising integration, plugins or forms, or after changing a service provider. The frequency should take into account the risk and how the website works.

This is general information, not legal advice.

Read also

How to write clear cookie banner texts – rules and examples

How to write clear cookie banner texts – rules and examples

Law and cookies

Consent is valid only if the visitor understands what they are agreeing to. What the banner texts must make clear, how to name buttons and categories, examples of neutral texts and what happens after you change them.

· 6 min read

Dark patterns in cookie banners – what to avoid

Dark patterns in cookie banners – what to avoid

Law and cookies

Deceptive design patterns in cookie banners according to EDPB Guidelines 03/2022 and the report of the EDPB Cookie Banner Taskforce. What follows from the law, what is the authorities' position and how to check your own banner.

· 6 min read