Consent Mode Tutorial: How to solve 'A tag read consent state before a default was set'

Поделиться
HTML-код
  • Опубликовано: 16 июл 2024
  • Learn how to solve the ‘A tag read consent state before a default was set’ error.
    Looking for ways to grow your traffic? ►► Grab my FREE cheatsheet here at: leonkorteweg.com/cheatsheet
    Have you ever noticed an error in your GTM Tag Assistant that reads ‘A tag read consent state before a default was set’? In this video we’re taking a look why this error is there and how to solve it.
    Updates:
    - Confirmation from Simo Ahava here that the warning is sometimes caused by the Consent Mode / Cookiebanner tag itself. In that case the warning can be ignored: / simmeroy_gtm-consentst...
    Links mentioned in the video:
    - How to grow your website traffic: leonkorteweg.com/cheatsheet
    - Set up Meta Ads with Consent Mode in GTM: • Using Meta Ads with Co...
    - Set up Consent Mode manually with any CMP or cookiebanner: • Set up Consent Mode V2...
    - All my videos on Consent Mode: • Consent Mode & Cookieb...
    Chapters:
    0:00 Intro
    0:19 Welcome
    1:15 Warning explanation
    2:10 Why does the warning appear?
    4:04 Debugging an example setup
    7:28 Test your Update command
    9:07 Consent Mode with Ecommerce dataLayer events
    10:59 I don't always solve the warning
    12:32 Close
    #googleanalytics #googletagmanager #consentmode #cookiebanner #digitalanalytics

Комментарии • 10

  • @LeonKorteweg
    @LeonKorteweg  3 месяца назад

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

  • @guillaumeducuingdev
    @guillaumeducuingdev Месяц назад

    Thanks Leon !🚀

  • @sirick93
    @sirick93 13 дней назад

    I have a script in the page that has nothing to do with google tag manager and causes the read consent error. Its a script about conversion from ads (conversion.js). How can i solve this?

    • @sirick93
      @sirick93 13 дней назад

      Can I have your email? I have found the problem and I need to send you an email to confirm. Basically gtm tags runs asychronously and that means that other scripts that read consent values can run before even consent initialization!

  • @GuardedThijs
    @GuardedThijs 3 месяца назад

    Goedemiddag Leon,
    In een eerdere video heb je het gehad over dat je Google Analytics zó hebt ingesteld dat je binnen Nederland tracking standaard mag inschakelen.
    Dit vind ik interessant, want ik heb hier eerder ook handleidingen voor gevolgd, maar ik twijfel er dan altijd nog aan of die handleidingen up-to-date zijn.
    Is er een bepaalde handleiding die jij volgt die 100% up-to-date is?

    • @LeonKorteweg
      @LeonKorteweg  3 месяца назад +1

      Hey there! Here are the guidelines that I'm currently following, but they are very broad and open for interpretation: www.acm.nl/nl/verkoop-aan-consumenten/reclame-en-verleiden/online-beinvloeden/cookies-plaatsen
      There used to be a PDF guide specifically for Google Analytics at www.autoriteitpersoonsgegevens.nl/ but that guide was more aimed at Universal Analytics. Also they announced that they were reconsidering there advice, but up until today we haven't back heard from them. They even took the PDF guide down a while back.

  • @bartekk2514
    @bartekk2514 2 месяца назад

    That issue is pain in the hole. Can’t get rid of this on most of sites. Sometimes after refreshing cookies it occurs and sometimes not. I feel like GTM runs random state generator for it. 😅

    • @LeonKorteweg
      @LeonKorteweg  2 месяца назад

      Exactly ;) Right after publishing this video I saw this video from Simo Ahava confirming that the warning may be caused by the Consent Mode / Cookiebanner tag itself, just like I suspected in the video. In that case the warning can be ignored: www.linkedin.com/posts/simmeroy_gtm-consentstate-consentmode-ugcPost-7186660973615661057-Md07

  • @akarapongboonrat9338
    @akarapongboonrat9338 Месяц назад

    I sub because ou are dutch 5555