Excluding traffic from stats with Cookie not working on other domains

Hi there, Super appreciate the help here, been at this for hours.

I’m trying to set the cookie to exclude my own traffic from sites.

The cookie is being set and it is working on the same domain as the matamo is installed.

Lets say stats.domain1.com and domain1.com << This works

I cannot however get any other domains to work only the root domain.

Ive updated nginx config, tried different settings…

I’ve tried setting trusted domains and CORs but nothing seems to work.

Help very much appreciated.