Comments

5 comments

  • Hi Matt,

    In order to use different banners for different/multiple regions you would need to add another domain group. So basically the way to configure support for multiple regions on the same domain(s) is through additional domain groups. The additional domain groups can function as separate configurations in terms of banner template, behavior, functionality, styling and content.
    For more detailed information about it, please check this article: https://support.cookiebot.com/hc/en-us/articles/360010932419

    Whencreating additional domain group you could also use Google Tag Manager to display different banners on the same website depending on visitor's location. 
    Please check the following link for GTM implementation guide: https://support.cookiebot.com/hc/en-us/articles/360012825379-Using-different-banners-on-the-same-website-depending-on-the-visitor-s-location-Google-Tag-Manager-implementation-method-

    var GeoRegions = "{'region':'AA','cbid':'AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA'}";

    You could find list of all region codes here: https://support.cookiebot.com/hc/en-us/articles/360010819560-List-of-region-codes-for-regions-specific-banner-implementations

    However, after adding different domain group you can also set a domain alias for testing and development purposes

    Regards,
    Spas

    0
    Comment actions Permalink
  • Avatar
    Matt

    Hello Spas,

     

    Thanks for the reply - I have that set up in tag manager.

     

    What I'm querying in is how do I actually test this works? Should I be using a VPN to check the appropriate banner appears for a region.

     

    Thanks

    0
    Comment actions Permalink
  • Hi Matt,

    Sorry for the misunderstanding. The best option for testing different regions is by using a VPN service, so you could simulate from where you access the domain and check it out.

    Regards,
    Spas

    1
    Comment actions Permalink
  • Avatar
    Matt

    Ok - So I'm up and running with a VPN.

     

    Currently I have to quit my browser or set a new private window to see the change in consent banner take effect.

    How can I get around this.

    I tried manually deleting cookies for my development site but I can't get the consent banner to update based on clearing cookies and refreshing the page.

    Thanks

    0
    Comment actions Permalink
  • Hi Matt,

    Usually, you should check the website through 'incognito' (private window) so you could be sure that no cookies have been set on the site. 
    As you mentioned, you could also try by manually deleting 'CookieConsent' cookie and reloading the page, then the consent banner should re-appear but it would not be updated. 

    Regards,
    Spas

    0
    Comment actions Permalink

Please sign in to leave a comment.