Opt-Out iFrame URL and using tracker-proxy

I’m running 3.13.0 on a subdomain of my tracked site domain and have set up the Matomo Tracker Proxy at GitHub - matomo-org/tracker-proxy: HTTP proxy for Matomo's tracker API. This script allows to track websites with Matomo without revealing to your visitors the secret Matomo server URL.

The problem I see is that the Op-out iFrame HTML still has my subdomain. Is there a way to redirect that to hide the subdomain? Or is there another way to use Opt-out that doesn’t reveal the subdomain in the IFrame?

Thanks

Hi,

The tracker-proxy also supports forwarding the opt-out iFrame so you can simply replace the URL of the iFrame to point to the tracker-proxy (with the same GET parameters)

1 Like

Ah, OK. Thanks! That will work.