• Resolved Gabriel

    (@bielmp)


    Good afternoon,
    I need help again. I have a website composed of 3 separate Worpress installations (main domain and 2 subdomains).
    I am modifying the website to comply with GCM V2 through Google Tag Manager (GTM). For CookieYes loading I have followed method 1 of this document: https://www.cookieyes.com/documentation/implementing-google-consent-mode-using-cookieyes/
    Previously I have followed the steps by deactivating the WordPress CookiesYes plugin on the main domain and deactivating the script on the two subdomains.
    I have followed the steps and in the main domain the cookie management works correctly but not in the subdomains. In GTM, I reloaded the script using a custom HTML tag with the installation code obtained from the CookieYes website. As a trigger I have tried both page view and consent initialization but I can’t get the cookies to be activated for the subdomains.
    I have activated in CookieYes-Advanced Settings both Consent setting-Subdomanin consent sharing and GCM-Support GCM.
    I don’t know if I have to repeat the process for each subdomain and create new tags in GTM using CokieYes CMP from the Community? Please can you tell me, how can I solve it?
    Thank you very much

    The page I need help with: [log in to see the link]

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

    (@cookieyesteam)

    Hi @bielmp,

    Greetings from CookieYes!

    You should stick on to Method 2 while using CookieYes plugin. Or otherwise please deactivate the plugin while implementing method 1. And while implementing Method 1, you shouldn’t add the CookieYes installation script separately as the CookieYes CMP tag itself will inject this script to your site.

    Thread Starter Gabriel

    (@bielmp)

    Yes, I have deactivated the CookieYes plugin. I am implementing Method 1 via GTM but so it was not working for me on the 2 subdomains I put the installation scripts on them but I will remove it now.
    Should I create 3 tags: one for the main domain and 2 subdomains and apply the restrictions that only load where appropriate? or with a single tag would work on the main and subdomains?
    Thank you very much

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @bielmp,

    You should add the CookieYes CMP tag only once if you are using the same GTM container in your main domain and subdomains.

    Thread Starter Gabriel

    (@bielmp)

    Perfect, that’s what I have done.
    I have removed the CookieYes installation script from the two subdomains and I only have a tag that loads CokieYes (Method 1) on all pages using GTM.
    I see that so CookieYes is active in the main domain and in the 2 subdomains but the configuration is not shared, in each environment I get the cookie warning and the configuration I do in it only affects this environment, not the rest. I’m testing with incognito browsing, I don’t know if that affects or if I’m missing something.
    Thanks

    Thread Starter Gabriel

    (@bielmp)

    I just tried without incognito mode and CookieYes is available on domain and subdomains, but it does not save the configuration from one to another. should I do something else? Sorry for the inconvenience and thanks

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @bielmp,

    Could you please check the working after changing the registered site URL in CookieYes from https://www.espanolconcarmen.com to espanolconcarmen.com

    You change this by?navigate to the?Subscriptions?page and click the More […] button associated with your site.

    Thread Starter Gabriel

    (@bielmp)

    Perfect, everything is correct.
    I will delete the subscriptions I created on the CookieYes website for the subdomains and I will keep only the espanolconcarmen.com one.
    Thank you very much for your help!

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @bielmp,

    This thread has been inactive for a bit, so we are going to mark it as resolved now. Please feel free to open a new thread or follow-up if you have any further questions or still need help.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Set up single banner for main domain and subdomains using GTM’ is closed to new replies.