How to disable typeform GTM based on cookie consent | Community
Skip to main content
Answered

How to disable typeform GTM based on cookie consent


We ask our users if they wish to allow cookie based tracking and if they reject it we wish to disable any reporting to GTM. How can I achieve this with TypeForm?

Best answer by mathio-tf

I dont think you can disable GTM via embed attribute.

There is a cookie consent banner that can be displayed in your form. I was told it will soon support loading GTM as well.

View original

3 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14921 replies
  • March 23, 2023

Hi @samparmenter I believe you would need to create your own code for this, but @mathio might know for sure!


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • March 23, 2023

I dont think you can disable GTM via embed attribute.

There is a cookie consent banner that can be displayed in your form. I was told it will soon support loading GTM as well.


  • Author
  • Explorer
  • 1 reply
  • March 23, 2023

So we can’t block GTM related events when the user decides to reject the use of non essential cookies? Thats a shame. 


Reply