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

Publications / Law and cookies

Advertising on Google or measuring traffic? Check whether you need a cookie banner

Simply running ads on Google does not require consent on your website, but conversion measurement, remarketing and a typical GA4 setup usually do. When you need a cookie banner and what Google Consent Mode v2 does.

Author: Robert.S Published: 3 min read

Advertising on Google or measuring traffic? Check whether you need a cookie banner

Two companies advertise on Google. The first checks in its Google Ads account how many people clicked the ad. The second has added a tag to its website to measure how many of those people submitted a form. Both run a campaign, but it is the configuration of their websites that determines whether they need to collect consent.

If you use a typical GA4 setup, measure conversions with a Google Ads tag that uses cookies or run remarketing, you probably need a consent collection mechanism. A cookie banner lets you give visitors a choice.

In the EU, Article 5(3) of the ePrivacy Directive and the national laws implementing it as a rule require prior consent for storing information on the user's device or accessing information already stored there. An exception may apply, for example, to a session identifier needed to run a shopping cart the user wants to use. What matters in the assessment is the purpose and operation of the technology, also when it uses a mechanism other than cookies. ePrivacy Directive, Art. 5(3)

  • You look at clicks in your Google Ads account. Running an ad does not in itself create an obligation to collect consent on the landing page. Do check, however, which tools run on that page.
  • You measure purchases or forms, or run remarketing. If the advertising tag stores or reads information on the visitor's device for these purposes, obtain consent before these operations take place.
  • You measure traffic on your website. A typical GA4 setup that uses cookies requires consent to analytics. With a different tool, check where it gets its information from. A “cookieless” claim does not by itself settle whether the tool reads information from the device in another way. EDPB guidelines

The banner collects the visitor's choice, and Consent Mode passes the consent state to supported Google tags. Google also has its own user consent policy, separate from the obligations under EU and national law. After configuration, check in the browser that the website respects the choice both before a decision and after refusal. Consent Mode documentation · Google user consent policy

Start with the page your ad points to. If you measure form submissions or purchases, also check the subpage where you record the conversion. For an initial review, use the free consetgo scanner. If you need a consent mechanism, see how a proper cookie banner should work.

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

Cookies in an online shop – a practical checklist

Cookies in an online shop – a practical checklist

Law and cookies

A checklist for a shop on any platform: catalogue, product page, cart and payment, thank-you page, newsletter, reviews and chat. What can work without consent, what has to wait for it and how to check it.

· 5 min read