I have the following scenario: I have Matomo tracking set up for a site that is both used directly and inside a different site’s context in an iframe.
Now I have the following problem: since the Matomo tracking cookies (_pk_id.* and _pk_ses.*) are set with a SameSite policy of “Lax”, they are inaccessible for the site inside the iframe. This means that not only is the user not recognized as the same user who is using the site outside the iframe, but each tracking request inside the iframe is issued as a new visit although it still is the same user.
Is there any way I can configure Matomo to set the tracking cookies with a SameSite policy of “None”?