How to disable typeform GTM based on cookie consent

  • 22 March 2023
  • 3 replies

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 23 March 2023, 15:21

View original

3 replies

Userlevel 7
Badge +5

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

Userlevel 7
Badge +5

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.

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