Skip to content

EARN UP TO 50% COMMISSION WITH OUR RESELLER ACCOUNTS + REGULAR PASSIVE INCOME SIGN UP TODAY

Reference

Tag Manager events

Look up the events CookieScan adds to the Google Tag Manager data layer, and when each one is sent, so you can use them as triggers.

Updated 2 min read

Applies to:
  • Tag Manager & Consent Mode

https://cookiescan.com/help/tag-manager-events/ Β· Updated 12 October 2026

On this page

Overview

CookieScan adds events to the Google Tag Manager data layer, so you can use them as triggers. There are two kinds: a category event for each category a visitor accepted, and a consent-update event for Google Consent Mode. Both need a data layer on the page, which Tag Manager creates.

To use the events step by step, see Fire tags on consent in Tag Manager.

Category events

These events need Google Tag Manager events turned on at Cookie Banner, then Settings, then Google Tag Manager events. The setting is on Premium and Enterprise plans.

EventSent when
cookie-consent-necessaryThe visitor has made a choice on your banner, whatever they chose.
cookie-consent-preferenceThe visitor accepted Preference.
cookie-consent-statisticsThe visitor accepted Statistics.
cookie-consent-marketingThe visitor accepted Marketing.
cookie-consent-unclassifiedThe visitor accepted Unclassified.

CookieScan sends no event for a category the visitor turned down.

CookieScan sends consent-update when Use Google Consent Mode is on. It doesn't need the Google Tag Manager events setting.

CookieScan sends it as each page loads, and straight after each Consent Mode update. A tag on this trigger sees the visitor's latest consent state.

When events are sent

SituationWhat CookieScan sends
A first visit, before any choiceconsent-update only, if Consent Mode is on.
Any page, with a saved choiceThe category events for that choice, once your banner has loaded.
A new choice, with Seamless consent (no page reload) onThe events straight away, without a page reload.
A new choice, with seamless consent offThe events on the page that reloads after the choice.

With Geo-Awareness on, a visitor from a country that doesn't need consent starts with every category allowed. CookieScan then sends the category events from their first page.

Was this article helpful?

Thanks for your feedback.

Please don't include personal details. We can't reply here.

Thanks for your feedback.

Please don't include personal details. We can't reply here.

Thanks, your comment has been sent.

Sorry, we couldn't record your feedback. Please try again later.

Still stuck?

Our support team can help with anything these guides don't cover. Tell us your CookieScan ID and the page address so we can look straight away.

Back to Reference