• Resolved thom39

    (@thom39)


    How are you supposed to implement this order of loading in scripts when using the plugin with GCM defaults set to on, following the latest plugin update?

    Ensure that the scripts are loaded in the following order for proper functionality:

    1. Custom Consent Mode script
    2. gtag / GTM script
    3. CookieYes script

    The gtag / GTM script should be in between the consent mode script but the plugin generates script 1 and 3 and inserts it into the wp_head().

    What am I missing?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @thom39,

    Greetings from CookieYes!

    While implementing Google consent mode using the latest feature available in the plugin, you shouldn’t ensure the above order of the scripts.

    Please make sure that you add the gtag/GTM script immediately below the wp_head() function call.

    Thread Starter thom39

    (@thom39)

    Hi @cookieyesteam

    ok, thanks for confirming this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.