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.
http://matomo.org/faq/how-to/faq_132/
GNU General Public License v3.0
152 stars 46 forks source link

tracker-proxy server URL #62

Closed ReemaAH closed 4 years ago

ReemaAH commented 4 years ago

Hello,

I have a question regarding the "$PROXY_URL" in config.php its description isn't very clear. shall I set up a separate proxy and add its URL here? or what the value should be exactly?

Thank you!

tsteur commented 4 years ago

@ReemaAH

// Edit the line below and replace http://your-tracker-proxy.org/ with the URL to your tracker-proxy // setup. This URL will be used in Matomo output that contains the Matomo URL, so your Matomo is effectively // hidden. $PROXY_URL = 'http://your-tracker-proxy.org/';

This means you need to configure the domain/path where you installed this tracker proxy. Eg if it's on your website then it might be https://your-domain.example.com/tracker-proxy/