Using Cookiebot during development on various environments / URLs

Comments

3 comments

  • Avatar
    Spas – vConnect – Community Supporter

    Hi James,

    You could change the domain that your are using from CookieBot admin panel. Also there is a option to add a Domain alias for testing purposes. By using Domain alias you could enable cookie consent on internal domains for test, development and staging. 

    Regards,
    Spas

    0
    Comment actions Permalink
  • Avatar
    James Whiteley

    Hi Spas

    I have to use ngrok (https://ngrok.com/product) in order to provide a URL for Cookiebot (because I cannot add http://localhost:[PORT NUMBER] as a "Domain name" entry on the "Domains" tab in Cookiebot Settings.

    ngrok will generate a choice of 2 URLs that I can use. They look like this:

    e.g
    http://72455dc9.ngrok.io/
    and
    https://72455dc9.ngrok.io/


    Now...

    Do I add one of these as a Domain name AND also add it as a domain alias (with a Domain mapping which is the same)?

    I cannot get this to work locally at the moment.  There are no cookies found (and I know there should be many present).



    Can you help?

    Thanks

    James

    0
    Comment actions Permalink
  • Hi James,

    I think that the problem comes from the fact that you are using localhost to which Cookiebot has not access. 

    Regards,
    Spas

    0
    Comment actions Permalink

Please sign in to leave a comment.