Protect Piwik DB on my host

(Pierre) #1


I would like to avoid that anybody just by copy paste the javascript at the end of a page is able to record “fake” visit.

In other words, is it possible to hide or remove from the HTML page the pkbaseURL?
For exemple, can I call the piwikTracker from my php file?

Many thanks for your help.


(vipsoft) #2

yes, use the server-side PiwikTracker class.