I create custom popup with custom cookie and when page is load my cookie have dot befor domain name. How remove this dot?

  • How did you set your cookie? Can you please put the code in your question?
    – HelgeB
    Mar 5, 2019 at 3:34
  • Cookie added by createPublicCookieMetadata() metod in observer
    – Tomalo
    Mar 5, 2019 at 9:10

1 Answer 1


I think in your Store > Configuration > General > Web > Default Cookie Settings added dot before domain name in Cookie Domain field.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.