mikbuch / django-matomo

A simple app to add the Matomo JS tracking code to your template.
9 stars 4 forks source link

Add image beacon #4

Closed ethrgeist closed 1 year ago

ethrgeist commented 1 year ago

With Matomo you can still enable tracking of visitors when JavaScript cannot be used, using the Matomo Image Beacon.

You can include an image in your web pages, the image simply being a reference to the Matomo Tracking API endpoint, and Matomo will collect data about your users. Here is what the image looks like:

<!-- Matomo Image Tracker -->
<img src="https://matomo.example.org/matomo.php?idsite={$IDSITE}&amp;rec=1" style="border:0" alt="" />
<!-- End Matomo -->

https://matomo.org/faq/how-to/faq_176/