Cloak Piwik-Tracking-Link


(baschan) #1

Hey guys,

i have one installation of Piwik which is tracking multiple websites. This works fine, but I do not want google, any other crawler or just people to know my network-structure.

So lets say I have the Domain - piwikcounter.xyz as piwik server and multiple client domains like client1.xyz, client2.xyz, client3.xyz.

My client domains are all linking to the same tracking code at piwikcounter.xyz/stats/piwik.php?idsite=1

How could I realise it that all my client domains would link to an internal file like client1.xyz/stats/piwik.php but all requests get redirected to my external counter server at piwikcounter.xyz/stats?

Maybe there is a chance to get it to work with CURL? I do not want to install multiple installations of piwik.

Thanks alot.


(Karlsson) #2

I did this with DNS subdomain settings.

piwik.site1.de, piwik.site2.de and piwik.site3.de are pointing all to my single piwik installation.


(Matthieu Aubry) #3

Karlsson, how exactly is the configuration done? I would like to add this to the FAQ, if you can help with instructions style_emoticons/<#EMO_DIR#>/smile.gif thanks