Set up Consent Mode V2 with any cookiebanner in GTM

Поділитися
Вставка
  • Опубліковано 6 чер 2024
  • Step by step tutorial to manually set up consent mode v2 in Google Tag Manager.
    Looking for ways to grow your traffic? ►► Grab my FREE cheatsheet here at: leonkorteweg.com/cheatsheet
    In last weeks video I showed you how to do this with cookiebot the quick and easy way. But that video might not apply to you. You might have a different cookie management platform or even custom made cookiebanner that your web designer created. In this video I’m going to show you how to set up consent mode v2 manually in Google Tag Manager.
    Links mentioned in the video:
    - Grow your traffic cheatsheet: www.leonkorteweg.com/cheatsheet
    - Consent Mode V2 with Cookiebot: • How to Set Up Consent ...
    - Stay organised in GTM - Here's how I name my tags: • Stay organised in GTM:...
    - Code snippet - Get consent from local storage: gist.github.com/leonkorteweg/...
    Chapters:
    0:00 Introduction
    1:15 What is Consent Mode V2?
    2:09 Step 0: Verify if Consent Mode is really not set up elsewhere
    3:11 Step 1: Research how your CMP stores consent
    7:06 Step 2: How to set up Consent Mode V2 default command
    10:16 Step 3: Retrieve consent from cookie or local storage
    15:12 Step 4: Set Consent Mode update command
    16:51 Step 5: Test if Consent Mode V2 is working properly
    19:54 Step 6: Apply consent settings to every tag
    23:00 Closing thoughts
    #webanalytics #googleanalytics #googletagmanager #consentmode #cookiebanner #consentmanagement

КОМЕНТАРІ • 146

  • @LeonKorteweg
    @LeonKorteweg  3 місяці тому +3

    Looking for ways to grow your traffic? ►► Grab my FREE cheatsheet here at: leonkorteweg.com/cheatsheet

  • @tonyvaits
    @tonyvaits 10 днів тому +1

    Like many others, I spent many hours searching for the right way to configure google consent. Thank you so much!!!

    • @tonyvaits
      @tonyvaits 9 днів тому

      Yep, it worked for me for open source orestbida cookie consent, got two green checkmarks! Thanks again!

  • @MarioGorczyca
    @MarioGorczyca 3 місяці тому +4

    Great explanation, helped me a lot to set up Consent Mode in my e-commerce.

  • @louisloeb
    @louisloeb 3 місяці тому +5

    This tutorial was incredibly straightforward to follow. Thank you so much! 😃

  • @MotoriderLT
    @MotoriderLT 2 місяці тому

    Excellent video, explained exactly was is necessary and very clearly. Before watched this video spent few hour watching other videos and still didn't got the right ansver how to set up Consent mode V2.
    Thank you very much Leon.

  • @jeneu70
    @jeneu70 2 місяці тому

    Thumbs up! After this tutorial one really knows what do di in Tagmanager setup

  • @sirick93
    @sirick93 2 місяці тому +5

    You are a savior, best explanation out there by far and without using a paid service.

  • @marcob.240
    @marcob.240 Місяць тому

    Best video on that topic, by far! Thank you.

  • @lildex9468
    @lildex9468 2 місяці тому

    Simple, easy and effective. Thanks man!

  • @vincentkloos63
    @vincentkloos63 3 місяці тому

    Excellent video, that's exactly what I needed. Thank you!

  • @thisiswherethefunbegins
    @thisiswherethefunbegins 3 місяці тому

    Thank you! Now i have the plans for the weekend! :)

  • @monsegu
    @monsegu 2 місяці тому

    Well done Leon and Thank you. You are amazing :)

  • @user-mp9im8gr8u
    @user-mp9im8gr8u 3 місяці тому

    Thx my dude, this vid was very helpful!

  • @Natika101
    @Natika101 Місяць тому

    this was the best video on this topic that i've seen. Thank you so much. Going with the CMP agnostic approach is what I needed to see :)

  • @groenendijkalex
    @groenendijkalex 13 днів тому

    Thanks Leon! With this clear step-by-step guide I was be able to succesfully implement CMv2 via GTM.

  • @christopherhuber95
    @christopherhuber95 3 місяці тому

    Very very helpful! Thanks a lot. Appreciate it.

  • @danislavlazarov2993
    @danislavlazarov2993 2 місяці тому

    Dear Mr.Korteweg, thank you very mutch for this video. I have succeded to configure my site for Consent Mode v2 with the build in Blocksy cookie banner and everything is working perfectly find. I have liked your video and subscibed to your channel. Thank you again and keep up the good work.

  • @douwepausma
    @douwepausma 2 місяці тому

    Super Leon! Deze video heeft mij onwijs geholpen omdat ik mijn eigen cookiebanner had gemaakt!

  • @user-cl7sp3yo6s
    @user-cl7sp3yo6s 2 місяці тому

    Echt fan van jou videos man. Top werk dit. Amazing

  • @dautoviq
    @dautoviq 21 день тому

    Kerel! Harstikke bedankt. Super waardevol. Je hebt me echt geholpen!

  • @JoeBurton-fd4ob
    @JoeBurton-fd4ob Місяць тому

    Thankyou so much for this video!! I've been trying to get a better understanding of setting up consent mode for months now, and this is the first video that's actually made me feel like its possible for me to do it. Honestly, best Cookie consent tutorial out there!! Nice work

  • @StuartPetty
    @StuartPetty 2 місяці тому

    Super helpful , thanks for sharing 👍

  • @joaooliveira377
    @joaooliveira377 Місяць тому

    Thank you so much. Worked perfectly

  • @MiguelLopez-kd9yv
    @MiguelLopez-kd9yv День тому

    Incredible. You saved my life. Thank you!!!

  • @nicuconstantin8858
    @nicuconstantin8858 2 місяці тому

    You are amazing! super smart, and you helped us a lot!!! Thanks

  • @Vetala007
    @Vetala007 28 днів тому

    Thanks a lot! Now I can understand the point.

  • @jumefibo7260
    @jumefibo7260 2 місяці тому

    you deserve the sub man!

  • @cristinamiroslav9291
    @cristinamiroslav9291 2 місяці тому

    Very helpful. Thank you very much!

  • @TheHjtvideos
    @TheHjtvideos 2 місяці тому

    Thanks Leon! you showed me the wood behind the trees ! ;-)

  • @elmahdichaker1207
    @elmahdichaker1207 3 місяці тому

    Thank you Leon 👍

  • @pasqualesansone2963
    @pasqualesansone2963 2 місяці тому

    thanks for your support, I used a default CMP template and it not worked correctly. After your video everything works fine.
    Thanks, thanks thanks

  • @BestBikingRoads
    @BestBikingRoads Місяць тому +1

    Bedankt Leon dat is een super goed video

  • @richardsondan
    @richardsondan 3 місяці тому

    Superb - thanks!

  • @greg8437834
    @greg8437834 3 місяці тому

    Great Job, thank you !

  • @user-in8xm7tj7p
    @user-in8xm7tj7p 24 дні тому

    Thanks! Very helpful

  • @jorgeubeda3513
    @jorgeubeda3513 3 місяці тому

    Super amazing and many many thanks!!! suscribed and super like for you Leon 👋 Regards

  • @JosGerrits
    @JosGerrits 3 місяці тому

    Bedankt Leon, lekker bezig! 😁

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Hey Jos! Da's lang geleden 😁 Thanks voor je comment 👊🏻

  • @jmperea80
    @jmperea80 3 місяці тому

    Muchas gracias. Me ha servido de mucha ayuda 🙂

  • @jhuntrafego
    @jhuntrafego 2 місяці тому

    Very Good!

  • @Cannoffi
    @Cannoffi Місяць тому

    Big Thanks!!

  • @gpdude
    @gpdude 2 місяці тому

    thank you!

  • @searchpertsworkspace6826
    @searchpertsworkspace6826 Місяць тому

    Thank you :)

  • @korinektomas
    @korinektomas 2 місяці тому

    You are the best! 🙏 Where is the donation button? 😉

  • @JohanGrunwald
    @JohanGrunwald 15 днів тому

    This tutorial was awesome!
    I'm still not sure though, how I should setup the consent type for the newly generated tags. Should the default state be set as "analytics_storage" and the update state set as "no consent required"?

  • @user-wq7et2sf1u
    @user-wq7et2sf1u 2 місяці тому

    Top dit, dank.

  • @desislavaandreeva8897
    @desislavaandreeva8897 8 днів тому

    Hello, Leon! Thanks for the wonderful video! I'm trying to understand the difference between basic and advanced mode and I'm looking for some hints how to spot this when reviewing websites. Can you help with any suggestions please? Should I look anything into the setup in GTM or just the behaviour of the tags and their statuses depending don't he user's preferences?

  • @mariuszwakua6947
    @mariuszwakua6947 13 днів тому

    Excellent video! I have one question. Is it possible to share the consent mode cross domains in this way? And if so, how?

  • @user-ng5gu1fi8l
    @user-ng5gu1fi8l 3 місяці тому

    Excellent video Leon! A question though, is there a way to not needing to refresh after cookie acceptance/rejection for the consent to update?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Hey! It depends. Google tags don't need anything else, they will work as soon as consent has been given. For other marketing tags (like Meta Ads) you'll need to do some extra work. I might do a video on this in the future since more people have asked.

  • @LindsaySlegers-gr6wt
    @LindsaySlegers-gr6wt 2 місяці тому

    Thank you for this great tutorial! I would not have known where to start without it! One more question: I want to set analytics_storage on 'denied' by default, and also when someone has only accepted the essential and functional cookies. Therefore, I have set analytics_storage set on 'denied' both in the default and update tag. Nevertheless, when I test it, the on-page update for analytics_storage says 'granted'. Do you have any idea on how to tackle this?
    Sidenote: my cookie content is just 'true', I don't know if that may clarify my issue?

  • @aviapoIis
    @aviapoIis 7 днів тому +1

    Any method to do this with just the Google Tag, instead of Google Tag Manager?
    I would love to find a video or instructions for that!

  • @Nadine-ov6ge
    @Nadine-ov6ge 7 днів тому

    Hello, this video is super helpful. Do you know the settings required for the UK? Can I grant analytics_storage too?

  • @user-fn7ot2vl5y
    @user-fn7ot2vl5y Місяць тому

    Knight in shining armour !

  • @brucemaker4920
    @brucemaker4920 3 місяці тому

    Hey great video! Bought your plugin, works great, but there is an issue or more like a question regarding segmenting visitors. Our targeted auditory is international and we have visitors from around the world. Is there any way to implement consent window only for eu visitors ?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Hey I'm wondering what plugin you purchased, since I do not offer anything at the moment..
      But concerning your question, last week I uploaded a video on multi-region consent mode setups. It sounds like that video will answer your question 👍🏻

  • @FHskatechannel
    @FHskatechannel Місяць тому

    Great video! Do I have to do anything with my code in Shopify? Or can I do everything in GTM? I have an existing cookie banner already.

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому

      It depends.. You might have to do extra work if you have things like youtube video's or twitter snippets embedded on your pages. Because embed scripts usually collect data too.
      If you only collect data via GTM, these changes are not necessary.

  • @RupertSan87
    @RupertSan87 16 днів тому

    And what would be the setup for local storage in LookUp variables?

  • @aerocest
    @aerocest 3 місяці тому

    Hello Leon, i need help. When I search for the location of cookies, I can't find the same information as you - even on your site - what could it be? I mean I can't find a cookie in the list with the name of a banner or a cook or a concent. Thank you in advance!

  • @Digital_clasa0
    @Digital_clasa0 2 місяці тому

    Thank you for the video.I followed all the instructions but there seems to be a problem with the consent update(Warning 1: A tag read consent state before a default was set/2. Even if the customer accepts all cookies there seems the consent update keeps the same status denied for the AD Storage. i have this code on tracking consent {"essential":"on","performance":"on","social_advertising":"on"}. How should i put it in the field for consent_update? Thanks in advance for the help

  • @alexbachynskyi4429
    @alexbachynskyi4429 3 місяці тому

    Hi, nice tutorial. I have one question though. If my tags have built-in consent and Additional Consent Checks are "Not set". Is it ok, or should I explicitly set it to "No additional consent required"?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Yes, ideally you should always decide between additional or no additional consent required. Without it you will always get warnings on publishing your container that you still have to set consent. And this way you're able to show that you consciously made a choice.

  • @boyantsvetanov6351
    @boyantsvetanov6351 3 місяці тому

    Hello and thanks for the video, I added the the Consent mode template by Simo Ahava, but there are only fields for ad_storage and analytics_storage and there is no way to add the other fields.
    What could be the reason and how could I fix it?

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому

      Do you mean your template looks different from mine? Have you imported the same template and do you have the latest version?

  • @NikosBranis
    @NikosBranis 3 місяці тому +1

    Thank you for the video! I have one question though... Why, when you refused all cookies the "analytics_storage" was granted?

    • @nsimportant
      @nsimportant 3 місяці тому +1

      He talk's about setting it to granted on default and why at 9:01

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому +1

      I usually set it up like this, because in the Netherlands we are still allowed to use analytics cookies that aren't privacy-invasive (see www.acm.nl/nl/verkoop-aan-consumenten/reclame-en-verleiden/online-beinvloeden/cookies-plaatsen).
      In the video I show how you set Ad Storage based on a cookie. If you want, you use the same process to set Analytics Storage and Functionality Storage in Consent Mode.

  • @katerinarafajova2896
    @katerinarafajova2896 2 місяці тому

    Hello, thank you for the video. I did a consent mode based on it and I have a few questions, would it be possible to connect?

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому

      No :( Unfortunately my current schedule doesn't allow for new clients or one off consulting calls at the moment.

  • @kookia213
    @kookia213 Місяць тому

    At minute 20:00 of the video, I am trying to understand if this is the place to add 3rd party cookies from your website. Like... if you have additional services (say.. JS file that calls some 3rd party) and they write their own cookie, how do we let google know to show them as options on the dialog box that pops up by google (the consent manager)?. Thank you for a great video.

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому

      I'm not sure if I understand your question entirely, but I've made a seperate video on using Consent Mode with Meta Ads. I think that video will answer some of your questions

  • @user-uv7pu3ug5k
    @user-uv7pu3ug5k 3 місяці тому

    Hi, great tutorial about consent mode v2, but how if the user choose customize the cookie settings? This video is for accept all or decline all am I right?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      In this video I showed how to set ad_storage, but you could do the same thing for analytics_storage and functionality_storage. That way you're honoring users who accept analytics cookies, but no marketing cookies.
      In real life i find this rarely happens though. People usually accept or decline all.

  • @uslawpros
    @uslawpros 3 місяці тому

    Question do I keep the original CookieYes CMP tag and add what you are showing us? Or do I need to replace CookieYes or CookieBot CMP tag with the new way you are showing us?

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому

      Hey! I've recorded a video today where I show my CookieYes setup. Will be online next thursday 👍🏻

    • @uslawpros
      @uslawpros 3 місяці тому

      @@LeonKorteweg Fantastic! Thank you for taking your time to help us. I know for me personally, you helped me to get compliant because all of this was new to me. I have never worked in Tag Manager. I always used Google Tag, for there was no need to use Tag Manager at that time. Now we have to use GTM and I didn't want 3 script codes on our website when I could have 1. Plus, I learned how to load the GTM at 2.3 ms for our normal pages and then load as normal for the pages I am tracking. This has been a steep learning curve. Again thank you :)

  • @karstenmissot
    @karstenmissot 3 місяці тому

    Thanks, missen we hiermee het eerste pagina bezoek? Bezoeker ziet cookie banner, klikt op toestaan --> FB pixel (eigen html tag) kan nog niet worden ingeladen, want alles staat op denied.. - zal dan pas op volgende pagina worden ingeladen, ditzelfde voor de andere tags ?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Google Tags will work, even if consent has been given later on during the page view. For tags like Meta Ads a bit more work is required. I might do another video on this in the future since more people have asked me..

  • @annnell
    @annnell Місяць тому

    Best video! Thanks a lot. I have everything set up, but I have a warning: "A tag read consent state before a default was set". Please tell me what should I do in this case? How to make the default tag fire first?

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому +1

      I've made a seperate video on this 😎 you can watch that here: ua-cam.com/video/DspMhH6fMKg/v-deo.html&ab_channel=LeonKorteweg

    • @annnell
      @annnell Місяць тому

      @@LeonKorteweg Thank you! I'm off to see it.)

    • @annnell
      @annnell Місяць тому

      @@LeonKorteweg I configured an additional cookie_consent_update event, added it to the Analytics tag, but still the problem remains.
      My summary has the following order:
      1. Consent initialization (tags: consent Mode - Update, Consent Mode - Default )
      2. Set
      3. Consent (API Call - gtag("consent", "update", {...})) with On-page Update "Granted" and no data for On-page Default.
      4. Set (consent - on-page Update - "Granted", Current State - "Granted)
      5. Consent (API Call - gtag("consent", "default", {...}))
      That is, Update comes first, then Default.
      Maybe there is more video how to solve this?)) Any help would be appreciated.

  • @masonchan5420
    @masonchan5420 Місяць тому

    Thanks for the vid! Ihave a little issue, I have added the tag from the market place and set the trigger to "Consent Initialization", it does fire off the default but I get a message at the bottom "A tag read consent state a default was set". Any help please?

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому

      Thanks for pointing this out! More people have asked about this, so I've recorded a new video on this topic this morning. It will be out by the end of this week.
      Short answer here: In the video I will show you how to check if the setup is ok. But I've found that even if you have everything in the right order, the warning sometimes still appears for no apparent reason.

    • @masonchan5420
      @masonchan5420 Місяць тому

      ​@@LeonKortewegthank you! Looking forward to the new vid

  • @NathHint
    @NathHint Місяць тому

    you mentioned that 'analytics_storage' is still allowed to have set to 'granted' by default under some strict rules, in The Netherlands. Could you elaborate on this (or where to find information about this?) ? I'd like to know if my website is also eligible for this.

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому +1

      Hey! Yeah sure! The most current info can be found here although it is very general and open to interpretation: acm.nl/nl/verkoop-aan-consumenten/reclame-en-verleiden/online-beinvloeden/cookies-plaatsen
      I also still use the principles from an old guide on Universal Analytics by 'Authoriteit Persoonsgegevens'. Although they took it off their website a while back, an archived version can be found here: www.dropbox.com/scl/fi/ylaotq1st5gqcmcdho3xo/handleiding_privacyvriendelijk_instellen_google_analytics_april_22.pdf?rlkey=8vhjhie6zpfi3m98wf6j2abmw&dl=0

    • @NathHint
      @NathHint Місяць тому

      @@LeonKorteweg Awesome! Thanks a lot for the (super-) fast and helpful reply :)

  • @natuurbazen
    @natuurbazen 3 місяці тому +1

    Thanks!
    How do I add mulitple rules under "Cookies" in the web console? I have:
    cmplz_banner-status dismissed
    cmplz_consented_services
    cmplz_functional allow
    cmplz_marketing allow
    cmplz_policy_id 42
    cmplz_preferences allow
    cmplz_statistics allow
    There's no global rule with "Cookie" or "Consent" in it.
    Should I add all of them as a variable separately in GTM?

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому +1

      No this is everything you need. You would need to make cookie variables for cmplz_functional, cmplz_marketing, cmplz_preferences and cmplz_statistics. Then you would need to make four lookup table variables that output 'denied' or 'granted' based on those different cookies.

  • @mathiefo
    @mathiefo 2 місяці тому +1

    Maybe a silly question but GTM can only read the update consent cookievalue after you refreshed the page or if you go to a second page. In Belgium you aren't allowed to set analytics cookies on granted by default. So that means that you lose all your data on the first page? My google tag won't fire on my landingpage because the consent is only updated after a new page load after given consent right? You will also lose you conversion data if the conversion has been made without the need of a new page loud (for example button click) right?

    • @vigilantezack
      @vigilantezack 2 місяці тому +1

      I'm curious about that too.
      None of this requires a page reload. So for example if the person accepts cookies, and if GTM then serves all your tags, it would be no different than if it served all the tags just before giving consent in the first place, it's all within the same page load. They are just JS scripts after all, they can (more or less) execute any time.
      So the question is, will GTM send all your tags immediately after giving consent, or does it wait for the next page refresh?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Thanks for this question. Google Tags will update themselves if consent changes. So if consent has been given after pageload it will still track the first pageload.
      Meta Ads and other ad platforms don't behave like this. I've got a new video coming up this week that explains this in more detail.

  • @user-ek2mt6xv4b
    @user-ek2mt6xv4b 3 місяці тому

    We're trying to check our installation of consent mode our Cookieyes banner does not appear in the Tag Assistant. Any help with this would be greatly appreciated!

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Hey, I just launched a new video where I go over my CookieYes settings. Perhaps that helps?

  • @frankiexu8289
    @frankiexu8289 2 місяці тому

    thanks, so is this a completely free way for consent mode v2?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      The template is free, but it really depends on what CMP you're using I guess..

  • @donatasvalentelis5031
    @donatasvalentelis5031 2 місяці тому +1

    Hello, Leon! Thanks for wonderful video! Actually, I have the same problem as few persons wrote below - update tag does not update values for some reason as they stay as Denied. My cookie content looks like this: ["required","statistical","marketing"]. In Regex Table I'm placing "marketing" (with quotation marks) in pattern, granted in output and default value denied. After some tests I can see that in variables it gives me value of granted, but in consent it still returns denied. Do you imagine what I'm missing here?

    • @bodeatudor7496
      @bodeatudor7496 2 місяці тому

      I'm facing the same issue. @LeonKorteweg do you know what the cause could be?

    • @jozefslivka2929
      @jozefslivka2929 2 місяці тому

      Hi Guys, I am facing the same issue...basically the Google tag manager TAG consent mode doesnt get the update value from website "when I click allow all cookies on website, but do not do any other page reload action" ....so basically the very first page activity will be always missing in G.Analytics overview....that is pretty big issue.....did you manage to solve it?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Ah I came across something similar the other day. This is a use case that I haven't covered in my video. A Regex Lookup table is probably not the best option here. In my case I used a JavaScript Macro variable where I checked if "marketing" was present in the list (between brackets). But you'll need to know JavaScript to get this going.
      A couple of tips if you use a Regex Lookup variable:
      - If you want to check for "marketing" including brackets. Use the Regex \"marketing\". So with backslashes in front of every special character.
      - Please make sure you've disabled 'Full matches only' and 'Enable Capture Groups and Replace Functionality' under 'Advanced Settings' of your Regex Lookup variable.
      - If you would use a Regex Lookup you need to make sure that "marketing" is not present in the cookie content whenever someone denies

    • @cauuuse
      @cauuuse 2 місяці тому

      @@LeonKorteweg Can you do a short video or give pointers on how to implement the Javascript Macro Variable? Escaping the quotation marks doesn't seem to work for me. (Alternatively, can I hire you to take a look for me?)

    • @WaqasAhmed-fx4ii
      @WaqasAhmed-fx4ii 2 місяці тому

      Please make a video on it

  • @AiBusinessConsulting
    @AiBusinessConsulting Місяць тому

    do you have to use a 3rd party?

  • @makki4064
    @makki4064 3 місяці тому

    is that true that option for a visitor to opt-out have to be the same easy as for opt-in?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      This question is best asked to a legal advisor. But as I read GDPR, your website users must be able to decline consent in order for the accepted consent to be valid.
      Also, I would not make declining too hard for your users. That is just not nice to do..

  • @honzasir7946
    @honzasir7946 3 місяці тому +2

    Any tips, if we have Complianz and there are in cookies several row for consent example: cmplz_functional | allow, cmplz_marketing | allow, cmplz_preferences | allow, cmplz_statistics | allow any tips how to set this?

    • @natuurbazen
      @natuurbazen 3 місяці тому

      Same question here!

    • @honzasir7946
      @honzasir7946 3 місяці тому

      @@natuurbazen I just solve it - just use cmplz_marketing for 1st Party Cookie and than for lookup - ad storage: Lookup table - instead RedEx. Work for me well

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому

      Yes this is your answer right here 😁
      See for related answer this comment: ua-cam.com/video/yZjGzfWDc0Y/v-deo.html&lc=UgyehTMdP1BVs_HT3H94AaABAg.A0drVZ_edwzA0fgU8pAgmb

    • @jorgeubeda3513
      @jorgeubeda3513 2 місяці тому

      Finally did you find the good result about this?? I am thinking seriously to erase complianz and start with cookieboot because I dedicate all the day and nothing... I am very frustated abou it.

    • @andyserfel5972
      @andyserfel5972 Місяць тому

      Name: cmplz_marketing
      Value: allow
      Its working for me :)

  • @christopherhuber95
    @christopherhuber95 3 місяці тому

    I have a question as well: what if the is the content just says true? How do you set up the variables then? Can you stil put in marketing\ :true and statistics\ :true?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      No it needs to match the content of your cookie. So if your cookie only contains the value true, just set fallback to 'denied'. And match 'true' to 'granted'.
      By the way, you can get away with a regular Lookup table in this case, you don't need RegEx for this.

    • @christopherhuber95
      @christopherhuber95 2 місяці тому

      @@LeonKorteweg Thank You! I got another question. The Consent Mode Update Tag fires at the first initialization. Do it need to fire again at some point after that? Logically it has to but it doesnt... so just wondering.

  • @dawid.nerdcow
    @dawid.nerdcow 2 місяці тому

    I'm not familiar with the beta of consent in GTM, but is this not an issue that the consent doesn't update as soon as user grants it? In your tests, you always refresh the page to check it - this means that until the user reloads/changes the page, the consent is not set yet. Sounds like a major flaw to me. It's easily fixed with a few "Click" (or "Link click") triggers matching the button classes of the consent mechanism, but maybe I'm missing something with the beta option in admin? To me, consent should apply immediately - not on refresh.

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому +1

      Hey, thanks for your comment! You're right, to keep this video from running to long I did not include that in my tutorial. I've just published a follow-up where I go over the steps on how to solve this.
      By the way, a simple click trigger will not work, because the moment you click the consent usually hasn't been processed.
      Here is a link to the video: ua-cam.com/video/jXSnQvCkFzQ/v-deo.html

    • @dawid.nerdcow
      @dawid.nerdcow 2 місяці тому

      @@LeonKorteweg That makes sense. In our case, we already had consent mode and triggering scripts detached from one another so it wasn't an issue. Good point for others doing it themselves, though!

  • @RobinWerner-ph9nt
    @RobinWerner-ph9nt Місяць тому

    How would you proceed when the Cookie is saved in the local storage when creating the lookup-table?
    In my case I find this:
    "testCookie: true}
    testCookie:true"
    in the local storage part.
    The only other entry I find in the Cookie-part is the following: _tracking_consent withe this attribute: "%7B%22v%22%3A%222.1%22%2C%22reg%22%3A%22GDPR%22%2C%22region%22%3A%22DEHH%22%2C%22con%22%3A%7B%22CMP%22%3A%7B%22a%22%3A%22%22%2C%22p%22%3A%22%22%2C%22s%22%3A%22%22%2C%22m%22%3A%22%22%7D%7D%7D"
    So where how to proceed from here on?

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому +1

      I would probably try to work with the _tracking_consent cookie. First of all, check the box in your cookie variable that says 'URI-decode cookie'. If I manually decode your cookie via meyerweb.com/eric/tools/dencoder/ I get the following data:
      {"v":"2.1","reg":"GDPR","region":"DEHH","con":{"CMP":{"a":"","p":"","s":"","m":""}}}
      I'm guessing that the letters stand for the consent given. But I don't know which letter is responsible for analytics or ad consent. And it seems that all categories are empty here, because it says "m":"" instead of "m":"true"
      In some cases, you cannot check for marketing:true or something similar via a RegEx Table variable. You have to use a Custom JavaScript variable to convert the values. But I would need more info to help you with that.

    • @RobinWerner-ph9nt
      @RobinWerner-ph9nt Місяць тому

      @@LeonKorteweg Thanks for you reply here :) I´ll give you any information you need!
      If I decode it, I get the following: "{"region":"DEHH","con":{"CMP":{"a":"1","p":"1","s":"1","m":"1"}},"v":"2.1","reg":"GDPR"}"
      Assuming "1" stands for true
      Looks like I got it, thanks for your help! :)

  • @filipstaskiewicz3184
    @filipstaskiewicz3184 3 місяці тому +1

    Hi. I have a problem, after accepting all cookies and refreshing the page, the cookie settings return to the default settings. Do you know why? My cookies are storage on Local Storage

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому +1

      Do you mean that only your default command is running? Have you double checked your variable setup?

    • @filipstaskiewicz3184
      @filipstaskiewicz3184 3 місяці тому

      @@LeonKorteweg what I mean is that when the user accepts all cookies, I see in Google Tag Assistant that all cookies are granted. However, when the user refreshes the page, the cookie settings return to default

    • @filipstaskiewicz3184
      @filipstaskiewicz3184 2 місяці тому +1

      @@LeonKorteweg hello, I managed to fix it :) I have one more question for you. When entering the main Google Analytics page, I have the following notification at the top: "Checking data consent settings
      Check which Google services can receive personal data from the European Economic Area that users have consented to transfer." Do you know what I should do to fix this?

  • @takiecos
    @takiecos 3 місяці тому

    Hi, after update ad_user_data and ad_personalization is still denied. How Can I fix it?

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому +1

      Usually this happens if your variable setup is not exactly right, so either the cookie variable or the regex lookup variable.

  • @vigilantezack
    @vigilantezack 2 місяці тому +2

    Google continues to complicate the heck out of everything.

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      🙈 I feel you. No-compromise data collection in a world full of legislation and tracking prevention is hard.
      But I also see a big opportunity arise for web analytics programs / GA alternatives that work without cookies or track less personal data. I'm guessing many organisations will be willing to work with less complete data if that means not having to use cookiebanners and things like consent mode.

  • @RutDeRuijter
    @RutDeRuijter Місяць тому

    Heb je op deze manier geen abonnement nodig bij de CMP partner?

    • @LeonKorteweg
      @LeonKorteweg  Місяць тому

      It depends on what cookiebanner you end up using. But yes, if you're using a custom made cookiebanner, you can bypass the monthly subscription cost of a seperate CMP this way.

  • @cattree3415
    @cattree3415 3 місяці тому +1

    update tag does not update values for some reason, they stay as Denied for me

    • @AndreDreyer-kw7jv
      @AndreDreyer-kw7jv 3 місяці тому

      I have the same issue..?

    • @LeonKorteweg
      @LeonKorteweg  3 місяці тому +1

      I would check the cookie variable and lookup variable setup. If it always returns denied, there is probably something wrong there.

    • @AndreDreyer-kw7jv
      @AndreDreyer-kw7jv 3 місяці тому

      @@LeonKorteweg Thanks!! you were right. lookup variable had a special character I did not see.

    • @donatasvalentelis5031
      @donatasvalentelis5031 3 місяці тому

      @@LeonKorteweg , hey! Thanks for wonderful video! Actually, I have the same problem. My cookie content looks like this: ["required","statistical","marketing"]. In Regex Table I'm placing "marketing" (with quotation marks) in pattern, granted in output and default value denied. After some tests I can see that in variables it gives me value of granted, but in consent it still returns denied. Do you imagine what I'm missing here?

  • @cauuuse
    @cauuuse 2 місяці тому

    This is great tutorial, but having followed it to the letter, for the life of me I cannot get Consent Update to get granted permissions. The only difference I have vs your example is that the Cookie is called cauuuse_cookie_consent and the pattern I'm looking for is \"marketing\"\:true
    Any pointers appreciated :)

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому +1

      Hmm frustrating.. Have you checked the 'URI-decode cookie' in your cookie variable? And your Lookup table? Have you deselected both 'Full Matches Only' and 'Enable Capture Groups and Replace Functionality'?

    • @cauuuse
      @cauuuse 2 місяці тому

      @@LeonKorteweg Thanks for taking the time to reply, Leon :) I have done all of those things, but still don't see updated consent.

  • @honzasir7946
    @honzasir7946 3 місяці тому

    and how can I solve this if cookieconsent have this value and I need to check if this contain analytics value: {"categories":["functionality_storage","analytics_storage"],"level":["functionality_storage","analytics_storage"],"revision":0,"data":{"last_action_date":"2024-03-06T22:12:10.343Z"},"rfc_cookie":false,"consent_date":"2024-03-06T22:12:10.328Z","consent_uuid":"4aefc45b-753f-49da-8df5-8095047fe39c","last_consent_update":"2024-03-06T22:12:10.328Z"} any tips what can I use to get if value contain "analytics_storage"

  • @user-ng5gu1fi8l
    @user-ng5gu1fi8l 3 місяці тому

    Excellent video Leon! A question though, is there a way to not needing to refresh after cookie acceptance/rejection for the consent mode to take effect?

    • @LeonKorteweg
      @LeonKorteweg  2 місяці тому

      Yes, i've recorded a new video about this here: ua-cam.com/video/jXSnQvCkFzQ/v-deo.html