On this page
Overview
When a visitor chooses on your cookie banner, CookieScan turns each category into Google Consent Mode types. The table shows which. It is the same whether you use the CookieScan script or the CookieScan template in Google Tag Manager.
Category to consent type
| Category | Google consent types | When the visitor accepts it |
|---|---|---|
| Marketing | ad_storage, ad_user_data, ad_personalization | All three are granted. |
| Statistics | analytics_storage | Granted. |
| Preference | functionality_storage, personalization_storage | Both are granted. |
| Necessary | security_storage | Always granted. |
| Unclassified | None | No Google consent type changes. |
A category the visitor turns down sends its types as denied. Statistics cookies you mark Exempt don't grant analytics_storage. Only the visitor's Statistics choice does.
Before the visitor chooses
The default is what Google tags receive before a choice.
| Install method | Default for a new visitor |
|---|---|
| Script tag | Every type is denied, except security_storage. |
| Google Tag Manager | Every type is denied, except security_storage, unless you set defaults by region in the template. |
For a returning visitor, CookieScan applies their saved choice as soon as the page loads. Google tags don't wait for the banner.
Geo-Awareness can change this. With it on, a visitor from a country that doesn't need consent is treated as accepting everything, unless their browser sends Global Privacy Control. With a script tag, their default is granted. With Tag Manager, their default stays denied, and a granted update follows when the banner loads.
Microsoft Advertising
CookieScan also passes the Marketing choice to Microsoft Advertising's Consent Mode, as ad_storage. It stays denied until the visitor accepts Marketing.