Mautic Community Forums

Mautic on multiple domains

Hi guys,



what is best solution this situation:


  • one client
  • multiple domains for different countries (example.tld, example.tld1, example.tld2)



    Do you think I should share cookie from example.tld to others domain?

    Something like put this on example.tld domain:

    <img src=“http:example.tld1/share-cookie.php?mautic_session_id=”.$_COOKIE[“mautic_session_id”]."&lead_id=".$_COOKIE[$_COOKIE[“mautic_session_id”]]



    And small piece code for set cookie on share-cookie.php



    Dou you have better idea for this issue?




Hi guys,

what is best solution this situation:

  • one client
  • multiple domains for different countries (example.tld, example.tld1, example.tld2)

Do you think I should share cookie from example.tld to others domain?
Something like put this on example.tld domain:
<img src=“http:example.tld1/share-cookie.php?mautic_session_id=”.$_COOKIE[“mautic_session_id”]."&lead_id=".$_COOKIE[$_COOKIE[“mautic_session_id”]]

And small piece code for set cookie on share-cookie.php

Dou you have better idea for this issue?