Google consent mode and IAB TCF
The consent state is in place before your first Google tag runs
Okito shows your banner, gives Google tags a consent default before they run, and sends each visitor's choice as soon as it is made. The setup wizard turns it on for you.
Advanced consent mode and IAB TCF are included from the Standard plan. On Free and Beginner, basic consent mode applies: Google tags wait for the visitor's consent. See plans
- 1
Okito sets the default
consent defaultBefore any Google tag runs.
- 2
The Google tag loads
It reads the denied state and sends only cookieless pings.
- 3
The visitor chooses
In this example, Accept All.
- 4
Okito sends the update
consent updateGoogle tags adjust to the choice.
| Consent type | Default | After Accept All |
|---|---|---|
| ad_storage | denied | granted |
| ad_user_data | denied | granted |
| ad_personalization | denied | granted |
| analytics_storage | denied | granted |
What Okito handles for your Google tags
Okito sets the consent mode default and update commands for you. Consent mode itself does not show a banner, so Okito provides that too.
Advanced by default, basic one setting away
Advanced: tags load with the denied default and adjust to the choice. Basic: tags stay blocked until the visitor consents.
Advanced needs the Standard plan or higherBasic and advanced consent mode
Defaults by region
Regions where your banner asks first start denied. Other visitors start granted by default; you can change that and, from the Beginner plan, hide the banner there. With the snippet, the WordPress plugin and the Shopify app, a visitor whose browser sends Global Privacy Control starts denied; with the GTM template, the Okito script sends a denied update when it loads.
Returning visitors
A stored choice from the opt-in banner is applied right after the default, before any Google tag, with the consent mode snippet, the WordPress plugin and the Shopify app.
IAB TCF v2.4
Okito is an IAB Europe registered CMP, ID 508. You can also let Google tags read ad consent from the TC string with
enableAdvertiserConsentMode.IAB TCF needs the Standard plan or higherIAB TCF and Google
A banner text for consent mode
The template states the purpose, links to business.safety.google/privacy and keeps Accept All. Apply it with one click in Banner Builder or the Shopify app.
Install it the way your site is built
Okito's Google developer ID, dZGJiMm, is set in every option.
Consent mode snippet
Paste the snippet and the Okito script at the top of
<head>, above your Google tags.Google Tag Manager
Add the Okito CMP community template on the Consent Initialization trigger.
WordPress plugin
Prints the defaults first and connects Okito to the WP Consent API.
Shopify app
The app embed adds the defaults, and choices reach Shopify's Customer Privacy API.
Four steps to a green check
- 1
Create your account or sign in
New customers add their details and choose a plan, then land in the wizard.
- 2
Run the setup wizard
Keep “Enable Google Consent Mode” selected and choose advanced or basic. The banner template is applied for you.
- 3
Install the banner
Use the snippet, the GTM template, the WordPress plugin or the Shopify app.
- 4
Check the result
Open your site with
?okito_debug=1and look for the green box.
Advanced consent mode and IAB TCF are included from the Standard plan. On Free and Beginner, basic consent mode applies: Google tags wait for the visitor's consent.
See whether the order is right
Add this to the address of any page of your site. A box at the bottom left shows the result.
?okito_debug=1
- When a tag runs too early, the box names it. First check whether it is served through Google tag gateway, then follow the matching steps.
- Every cookie scan also checks the pages it opens. A scan you start or a scheduled scan notifies you in the app and by email when it finds gaps.
Okito debug
Green: nothing to do
The Consent Mode default was set before any Google tag.
Okito debug
Yellow: a Google tag ran first
Google Tag Manager ran before the Consent Mode default. Check Google tag gateway first; otherwise move the Okito snippet and script above it in the page head.
Documentation
- Google consent mode guide
How the default and the update work, and how to set them up.
- Basic and advanced consent mode
The two configurations, step by step.
- Consent mode settings reference
Each setting, with Google's explanation and how Okito sets it.
- Debug mode
What the green and yellow results mean.
- Google tag gateway
How to verify it and what to do about a late tag.
Turn on Google consent mode in the setup wizard
“Enable Google Consent Mode” is selected by default on a new website. If your website is already set up, you go to its next step instead; its Google settings are in Banner Builder, under General.
Türkçe
English