Honestly I was looking for this so long. Thanks for sharing.
@mafterr114 ай бұрын
First to make a tutorial about this properly..finally
@MaxRohowsky4 ай бұрын
haha yes, this was also my thought
@mafterr114 ай бұрын
@@MaxRohowsky was struggling with the cookie banner, not gonna lie... and nothing online.
@talakolavijaykumarreddy18432 ай бұрын
Not first actually the same video as made by @Ryan Gaudion way earlier
@brazilian_orthodox4 ай бұрын
Thank you! Finally a good tutorial on the subject. Earned a sub.
@MaxRohowsky4 ай бұрын
haha I share the frustration. There really wasnt any good video out there. :D
@mzafarr20 күн бұрын
Amazing video, just wanted to confirm does the GoogleAnalytics component provided in next/thirdparties not doing everything? are somethings missing?
@BhargPatel-z9c2 ай бұрын
But script is not updating from "denied" to "granted". did you checked it?
@romanm96383 ай бұрын
Like, subscribe!
@MaxRohowsky3 ай бұрын
Thanks for the sub!
@hotelcolonialfoz29 күн бұрын
How to do it with GTM?
@sergiigulaga14863 ай бұрын
I am not sure is good idea to embedded code without @next/third-parties/google . Your perfomance page can be low down.
@MaxRohowsky3 ай бұрын
Interesting... didn't think that would be an issue...
@awais_ansarii4 ай бұрын
❤
@KaiWollherr4 ай бұрын
Hi there, is there anyone who had the same issue? I cant set my buttons to true or false with this approach. setCookieConsent(false)}> Ablehnen setCookieConsent(true)}> Erlauben Initially its set to null like in the tutorial. Now it tells me that its not possible to set it to true or false. Argument of type 'false' is not assignable to parameter of type 'SetStateAction'.ts(2345)
@MaxRohowsky4 ай бұрын
Hi Kai, this typescript error happens when you try to set a boolean value to something that only accepts null. Change the code to useState(null).