matomo-php-tracker
matomo-php-tracker copied to clipboard
How can I used this with cloudflare?
Currently, it's caching the code and not counting traffic. Is anyone else using this successfully with Cloudflare?
@haydenjames Are you taking of the PHP Tracker package for Matomo, or Matomo in general? For cloudflare in general this FAQ might help you: https://matomo.org/faq/new-to-piwik/how-do-i-install-the-matomo-tracking-code-on-my-cloudflare-setup/
Hi @sgiehl Thanks for the help sir.
That link you shared uses Cloudflare apps and installs even more js scripts than just pasting the default js tracking code.
I wanted to use server-side tracking to avoid js altogether.
I tried to get insight on Matomo but no luck thus far: https://forum.matomo.org/t/matomo-server-side-tracking-with-cloudflare/53208
thanks.
I don't think it's possible to use server side tracking as long as you use cloudflare for caching. If you have access logs you could try to import them using log analytics