If you use Cloudflare, you can start tracking data in Matomo seamlessly using the Matomo app available on Cloudflare. Here’s how to set it up:

  1. Login to your Cloudflare dashboard.

  2. Click “Websites” on the left menu, and select the site on which you want to enable the Matomo tracking code.

  3. Click “Apps” on the left menu.

  4. Search for “Matomo Analytics” under the “Search Apps” input box.

  5. Click on the “Matomo Analytics” app listed in above screenshot

  6. Click on “Preview on your site” button.

  7. Configure the app by specifying the Matomo URL and Matomo Site ID for which you want to enable tracking and click “Install on all pages”.

  8. Review permissions and allow Cloudflare to share your email address with Matomo by clicking “Continue”.

  9. Wait for the app to install, and you will see the Matomo Analytics app installed under “Your Installed Apps” section.

Congratulations! You have successfully installed the Matomo Analytics app on Cloudflare. To verify that hits are being tracked, visit your website and check that this data is visible in your Matomo instance.