Matomo hosting on a different domain, third party cookies?

Hello,
if I host matomo on another domain than the website’s, will the cookies be blocked by Safari, Firefox etc… because they are considered as third party cookies?
Thank you!