Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I used this with cloudflare? #124

Open
haydenjames opened this issue Sep 20, 2023 · 3 comments
Open

How can I used this with cloudflare? #124

haydenjames opened this issue Sep 20, 2023 · 3 comments

Comments

@haydenjames
Copy link

Currently, it's caching the code and not counting traffic. Is anyone else using this successfully with Cloudflare?

@sgiehl
Copy link
Member

sgiehl commented Sep 20, 2023

@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/

@haydenjames
Copy link
Author

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.

@sgiehl
Copy link
Member

sgiehl commented Sep 22, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants