Feature Request: Cookiebot CMP Integraiton with Typeform via Google Tag Manager | Community
Skip to main content

Feature Request: Cookiebot CMP Integraiton with Typeform via Google Tag Manager


Overview

Typeform’s current cookie consent solution is very limited and self-contained. In this post, I’ll first talk about the issues with Typeform’s current cookie consent solution, and then provide some suggestions that can help, like integrations with other cookie consent solutions like Cookiebot.

Current Problems 

First, let’s say someone visits your website, and you already use a cookie consent solution like Cookiebot. When they first visit, they’re presented with a cookie banner and they accept all cookies. After exploring your site, they arrive at a page with an embedded Typeform quiz (which has it’s own cookie consent functionality set to ‘on’) and decide to take it. In this scenario, they’re asked for cookie consent again through the Typeform embed. That just doesn’t make for a clean user experience since the differing cookie consent software (the one used on the website vs. Typeform’s built-in one) don’t talk to each other or recognize cookies have already been accepted or denied.

Typeform’s current cookie consent solution is also not that smart. I’d love the ability to display a cookie banner if a visitor is from the EU, but not display a cookie banner if they are visiting my website from the US. With Cookiebot installed on a website, you can do this very easily! But with Typeform’s built in solution, you have to show the cookie consent box to everyone, no matter where they’re visiting from.

Solutions/Ideas

I would love to see some integrations with other cookie consent platforms like Cookiebot. Here’s how I can envision it working:

  • Cookiebot is set up for a website via their CMP tag within Google Tag Manager
  • Google Tag Manager integration with Typeform (already exists, yay!)
  • Fix the integration so that the Cookiebot CMP tag in GTM works properly with Typeform. Currently, Typeform doesn’t play well with the Cookiebot CMP tag in GTM because it doesn’t allow it to update cookie consent like it’s supposed to. Therefore, none of my GTM tags (Hubspot, Facebook pixel, etc.) will fire correctly (See screenshots for an example of this. On my webpage, there are a lot of extra GTM events that fire because of the Cookiebot CMP tag that don’t fire on my Typeform Quiz, including the pivotal ‘cookie_consent_update’ tag, which is what all of my marketing tags, like FB pixel and Google Analytics, are tied to).

This kind of integration would give marketers like myself so much more flexibility when managing cookie consent, especially when thinking about how users interact with/engage with our content. For example, if someone already consents to cookies on an initial site visit, they don’t have to be asked again when taking a typeform quiz because Cookiebot already sees they consented to cookies. Additionally, I have more control over who even gets shown a cookie banner based on the users location.

 

Typeform GTM Events ^^
Website GTM Events ^^

 

6 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • June 24, 2024

Hi @v100sfm Happy Monday! Thanks so much for sharing this and also sharing your use case. I really appreciate the level of detail, too. This will be helpful for our product team! I’ve passed this over to them. 😀


  • Navigating the Land
  • 3 replies
  • May 5, 2025

any update on this ?


  • Navigating the Land
  • 3 replies
  • May 5, 2025

in my case the typeform would not load if, when the cookiebot prompt appears the user chooses “reject all”. To solve this :

  1. Go to your Cookiebot Admin Panel

  2. look for cookies that start with “tf_”

  3. set them as “necessary”


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • May 5, 2025

Hi ​@aplennevaux Thanks for stopping by! This is an interesting solution. Do you have any screenshots/videos to help other members set this up? 


  • Navigating the Land
  • 3 replies
  • May 6, 2025

Hi,

The issue was still appearing despite whitelisting typeform’s cookies in cookiebot in some cases (browser, world location, etc). Basically Cookiebot does not like typeform very much.

This solved it - the form now loads even if all cookies are rejected by the user: add the data-cookieconsent="ignore" attribute to the script tag, like this:

<script id="typeform-form" data-cookieconsent="ignore" src="//embed.typeform.com/next/embed.js"></script>

It tells cookiebot to not block this script until the user has set its cookie preferences.

@Liz  I suggest this be added to your official documentation. We banged our head here for several days on this.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • May 7, 2025

Thanks for sharing, ​@aplennevaux ! Since cookiebot isn’t an official integration/product of ours, we wouldn’t be able to add it to the help center, but we will keep this thread here for anyone that does want to utilize it! This is a great workaround!


Reply