Skip to main content
Best Web Developer logo
Language and currency EN £ GBP

Language

Currency

Prices on this site are shown in the currency you choose.

Insight

GDPR Cookie Consent: Compliant Banners That Don’t Kill Conversion

How to build GDPR cookie consent banners that are compliant and still convert: the seven rules, the design mistakes that cost sales, Consent Mode v2, an eight-step process and what Saudi sites need.

  • 27 November 2026
  • 11 min read
  • Compliance

Last updated: September 2026 · Reading time: 13 min · By the Best Web Developer team

GDPR cookie consent banner on a mobile store with equal Accept and Reject buttons at the bottom of the screen
A compact bottom banner with equal choices is compliant and leaves the product and the buy button visible.

Quick answer

Compliant GDPR cookie consent means no non-essential cookies before consent, Accept and Reject offered with equal prominence on the first layer, clear purposes, no pre-ticked boxes, and an easy way to change your mind. To protect conversion, use a compact non-blocking banner, load the consent script fast, avoid layout shift, and use Google Consent Mode to recover measurement.

Key takeaways

  • Cookie rules come from the ePrivacy rules (PECR in the UK); the GDPR sets the standard for what valid consent looks like.
  • European regulators have fined large companies for making “Reject” harder to click than “Accept”.
  • Banners rarely hurt sales by themselves. Full-screen walls, slow scripts and layout shift do.
  • Consent rates of 40–70% are typical in our audits for compliant, well-designed banners.
  • Saudi sites that target EU or UK visitors need GDPR-grade consent, and PDPL principles point the same way at home.

What GDPR cookie consent actually requires

GDPR cookie consent is the permission a website must get before storing or reading non-essential cookies and similar trackers on a visitor’s device. Strictly necessary cookies, such as a shopping basket or login session, do not need consent.

The requirement comes from two layers of law. The EU ePrivacy Directive, and in the UK the Privacy and Electronic Communications Regulations (PECR), say you need consent to use non-essential cookies. The GDPR, and UK GDPR, define what counts as valid consent: freely given, specific, informed, unambiguous and given by a clear affirmative action.

In 2019 the Court of Justice of the EU confirmed in the Planet49 case that pre-ticked boxes do not count as consent. Regulators such as the UK’s Information Commissioner’s Office and France’s CNIL have since published detailed guidance, and CNIL has fined major platforms for making refusal harder than acceptance.

Note: general information, not legal advice

This guide summarises widely accepted practice under EU and UK rules and how it relates to Saudi Arabia’s PDPL. National regulators interpret details differently and guidance changes, so have your consent setup reviewed by a qualified privacy adviser for the markets you serve.


The seven rules of a compliant GDPR cookie consent banner

A compliant banner follows seven rules. Break one and the consent you collect may not be valid, which means your analytics and advertising data were gathered unlawfully.

1. Nothing fires before consent

Analytics, advertising pixels, heatmaps and chat widgets that set non-essential cookies must wait until the visitor agrees. This is the rule we see broken most often: a banner appears, but the tags in the page head have already fired.

2. Reject is as easy as Accept

Offer “Reject all” on the first layer, with the same size, colour weight and position as “Accept all”. Hiding refusal behind a “Settings” link, or styling it as faint text, is the pattern regulators have penalised.

3. Clear, specific purposes

Group cookies by purpose, such as analytics, personalisation and advertising, and describe each in plain language. Name the main third parties. “We use cookies to improve your experience” is not specific enough.

4. No pre-ticked boxes or implied consent

Scrolling, continuing to browse or closing the banner is not consent. Every optional category starts switched off.

5. Withdrawal is always available

Provide a persistent link, often “Cookie settings” in the footer, that reopens the preferences. Withdrawing should be as easy as giving consent.

6 and 7. Records and documentation

Keep a record of each consent choice, with timestamp and banner version, and publish a cookie policy listing each cookie, its purpose, provider and duration. Our own cookie policy shows a simple format. The GDPR.eu resource site gives a readable overview of the consent conditions.

Why most cookie banners hurt conversion, and how to fix them

Cookie banners hurt conversion mainly through bad implementation, not through compliance itself. In the stores we audit, the biggest losses come from four issues.

Full-screen walls

A modal that covers the whole page forces a decision before the visitor has seen anything of value. A compact bottom bar, around 20–30% of the mobile viewport, lets them see the product, price and headline first. Consent does not require you to block the page.

Layout shift and slow scripts

A banner that pushes content down after load damages Cumulative Layout Shift, one of Google’s Core Web Vitals, where 0.1 or less counts as good. Overlay the banner with fixed positioning instead of inserting it into the page flow. Consent platform scripts can also add 50–300 KB; load them early but asynchronously, and self-host where the vendor allows.

Confusing copy

Long legal text makes people hesitate or leave. Keep the first layer to two short sentences, with a link to details. Test your wording the way you test a headline.

Lost measurement

When visitors decline, analytics under-reports and ad platforms optimise on less data. That is a reporting problem, not a sales problem, and it can be partly addressed with Google Consent Mode v2, which Google requires for personalised advertising to EEA users, plus server-side tagging and first-party measurement.

Comparison of a full-screen cookie wall and a compact bottom consent bar on mobile
The same compliant choices, two layouts. The compact bar keeps the product and call to action on screen.

Pro tip

Tag every campaign link with UTM parameters. Even when a visitor declines analytics cookies, first-party order data and UTM-tagged landing URLs let you attribute a large share of sales. Our free UTM link builder keeps the naming consistent across channels.


Our GDPR cookie consent implementation process

We implement consent in eight steps. On a typical WordPress or Shopify site it takes three to eight working days, and costs SAR 3,000–15,000 depending on the number of tags and markets.

  1. Scan and inventory. List every cookie, pixel, script and local storage item, and which tool sets it.
  2. Classify by purpose. Strictly necessary, preferences, analytics, advertising.
  3. Choose a consent platform. Pick a certified CMP if you run Google ads in Europe, with geo-targeting if you serve several regions.
  4. Block by default. Move all non-essential tags behind consent in your tag manager or CMP.
  5. Design the banner. Compact, bottom-aligned on mobile, equal Accept and Reject, a Settings link, bilingual where needed.
  6. Configure Consent Mode. Map categories to Google’s consent signals and test both states.
  7. Verify. Clear cookies, load the site, confirm nothing non-essential fires before a choice, then test Accept, Reject and withdrawal.
  8. Monitor. Re-scan monthly, because new plugins and marketing tags often bypass consent.

Highlight: first-layer copy that works

“We use essential cookies to run this site. With your permission we also use analytics and advertising cookies to improve it and show relevant offers.” Buttons: Accept all, Reject all, Settings. Two sentences, three choices, and a link to the cookie policy.

Key benefits of getting consent right

A well-built consent setup reduces legal risk and usually improves data quality, because the data you keep is lawful and consistent.

  • Lower regulatory risk: GDPR fines can reach €20 million or 4% of global turnover, and cookie breaches are also enforced under national ePrivacy rules.
  • Advertising continuity: correct Consent Mode signals keep Google Ads measurement and remarketing working in Europe.
  • Faster pages: fewer tags firing before consent often improves load time for every visitor.
  • Trust: clear, honest choices signal a professional brand, especially to privacy-aware European buyers.
  • Cleaner stack: the inventory step usually uncovers old pixels and plugins you no longer need.
“A banner that respects the visitor’s choice costs you some data. A banner that tricks them costs you trust, and eventually a fine.”
— Best Web Developer strategy team

What GDPR cookie consent means for Saudi Arabia websites

Saudi sites need GDPR-grade consent when they offer goods or services to people in the EU or UK, or monitor their behaviour. At home, the PDPL points in a similar direction on transparency and consent.

Saudi brands selling into Europe and the UK

A Riyadh fashion or fragrance store shipping to the UK, or a Jeddah travel business marketing Umrah packages to European visitors, is likely to fall within the GDPR’s reach. The practical answer is a geo-targeted consent platform that shows an opt-in banner to EU and UK visitors.

PDPL at home

The Personal Data Protection Law has been in force since September 2023, with enforcement from September 2024, and SDAIA publishes its implementing rules on its regulations and policies page. The PDPL does not copy the EU cookie rules, but its emphasis on transparency, purpose limitation and consent for certain processing means a clear Arabic and English privacy notice and a sensible consent approach for marketing trackers is good practice for Saudi-facing sites too.

Bilingual and RTL banners

Consent must be informed, so the banner should appear in the page’s language. Arabic banners need right-to-left layout with buttons mirrored and wording written natively, not machine translated.

Illustrative case: a Riyadh store fixes its banner for UK customers

Challenge: A Saudi modest-fashion brand with 30% of orders from the UK used a full-screen cookie wall with only an “Accept” button. Meta and Google pixels fired before any choice, and mobile CLS was 0.27.

What we did: We inventoried 41 cookies, removed 9 unused tags, installed a geo-targeted CMP with equal Accept and Reject buttons in Arabic and English, configured Consent Mode v2 and overlaid the banner as a compact bottom bar. Cost: SAR 11,500 over six working days.

Result: Over the next eight weeks, UK consent rate settled at 58%, mobile CLS dropped to 0.04, UK conversion rate moved from 1.6% to 1.8%, and no pixel fired before a choice in monthly scans.


Cookie banner patterns compared

The compact bottom bar with equal choices is the best balance of compliance and conversion for most sites. The table compares common patterns.

PatternCompliance riskConversion impactVerdict
“By using this site you agree” noticeHighLowNot valid consent
Accept only, reject hidden in settingsHighMediumPattern regulators target
Full-screen wall with equal choicesLowHighCompliant but costly
Compact bottom bar with equal choicesLowLowRecommended default
Geo-targeted: opt-in for EU/UK, notice elsewhereLow if configured wellLowestBest for Saudi sites with EU traffic

Consent platform subscriptions typically range from free tiers for small sites to around SAR 100–600 a month for business plans, with enterprise tools costing far more. Our technical SEO service includes consent implementation and tag audits as part of site health work.

Highlight: the ten-minute consent audit

Open your site in a private window with developer tools on the Application tab. Before clicking anything, check whether analytics or ad cookies already exist. Click Reject and reload: do they appear? Check the banner is in the page’s language, that Reject is on the first layer, and that a footer link reopens settings. Any “yes” to cookies before consent is a fix for this week.


Frequently Asked Questions about cookie consent

Do I need a cookie banner under GDPR?

You need a way to collect consent if your site uses non-essential cookies or similar trackers, such as analytics, advertising pixels or heatmaps, and serves visitors in the EU or UK. If you use only strictly necessary cookies, such as a basket or login session, you do not need a consent banner, but you should still explain those cookies in a cookie policy.

Does a cookie banner need a Reject all button?

In practice, yes. European regulators expect refusing to be as easy as accepting, and several have fined companies for hiding rejection behind extra clicks. The safest design places Accept all and Reject all on the first layer with equal size and prominence, plus a Settings option for granular choices and a footer link to change preferences later.

Do cookie banners reduce conversion rates?

A compact, well-built banner has little effect on sales in our audits. Conversion losses usually come from full-screen walls that block content, slow consent scripts, layout shift that moves buttons, and confusing legal copy. Fix those four issues and most sites see neutral or slightly positive results, while measurement gaps can be reduced with Consent Mode and first-party data.

Does a Saudi Arabia website need GDPR cookie consent?

It does if the site offers goods or services to people in the EU or UK or monitors their behaviour, for example a Saudi store shipping to Europe. For Saudi-only audiences, the PDPL applies instead. It does not mirror EU cookie rules, but a clear bilingual privacy notice and consent for marketing trackers is sensible practice under its transparency principles.

What is Google Consent Mode v2?

Google Consent Mode v2 is a way for your site to tell Google tags whether a visitor has consented to analytics and advertising storage and to personalised ads. Tags adjust their behaviour accordingly, and Google can model some conversions from consented data. Google requires these consent signals for personalised advertising to users in the European Economic Area.

How much does it cost to set up cookie consent properly?

For a typical WordPress or Shopify site, implementation usually costs SAR 3,000–15,000 depending on the number of tags, markets and languages. Consent platform subscriptions range from free tiers for small sites to roughly SAR 100–600 a month for business plans. Larger sites with many domains and enterprise tools can cost considerably more.

GDPR cookie consent without losing sales

GDPR cookie consent and conversion are not in conflict. Block non-essential tags until consent, give Accept and Reject equal weight, explain purposes clearly and make withdrawal easy. Then protect sales with a compact banner, fast scripts, no layout shift and Consent Mode for measurement.

For Saudi businesses with European or UK customers, a geo-targeted, bilingual setup covers both GDPR and PDPL expectations with one tool. Run the ten-minute audit above today; most sites find at least one tag firing too early.

Get a consent setup that passes review and keeps selling

We will scan your site, list every tag that fires too early and quote a fixed SAR price to fix it.

Get a free consultation See pricing
Tags: GDPR cookie consent, cookie banner design, consent management platform, Google Consent Mode v2, ePrivacy, UK PECR, PDPL Saudi Arabia, conversion rate optimisation, Core Web Vitals, Vision 2030

Frequently asked questions

What does this page cover?

GDPR Cookie Consent explains how to build GDPR cookie consent banners that are compliant and still convert: the seven rules, the design mistakes that cost sales, Consent Mode v2, an eight-step… in practical terms: what it means, when it applies and what to do next. It is written for business owners and developers rather than for search engines, with the technical detail kept where it is useful.

Who is this written for?

Owners and marketing leads who need to make a decision, plus developers who want the implementation detail. Jargon is explained on first use and every recommendation can be acted on without buying anything.

Is this information current?

It is reviewed against current Google documentation and observed client results, and updated when the guidance changes. Anything time-sensitive is dated in the copy rather than left to drift.

Is it free to read?

Yes, with no paywall, no email gate and no signup. If it is useful, the only thing we ask is that you link to it when you quote it.

Can you implement this for us?

Yes. The same team that writes these guides delivers the work, so the advice and the implementation come from the same place rather than a content team and a separate agency.

Where can I read more?

Related guides, services and free tools are linked at the end of this page, and the full library is indexed in the sitemap so you can find the topic closest to your question.

Do you accept corrections?

Yes. If something here is out of date or wrong, tell us and it gets fixed with a visible update. Accurate technical writing is worth more to us than being right in public.

Need help implementing this?

Best Web Developer gives you a fixed quote, a dated plan and a senior developer who stays on the project from first call to launch. No account managers, no hourly surprises.

Request a quoteSee pricing

Want this handled for you?

We build and optimise sites like this every week. Book a free 30-minute call and we will tell you exactly what we would change on yours.

Get a free site review

Keep reading

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
infobestwebdeveloper.org
Free consultation

show prices in USD?

Get a free quoteWe reply within 1 business hour