NicoHood / grav-plugin-matomo

Integrates Matomo analytics into Grav CMS
GNU General Public License v3.0
6 stars 1 forks source link

site_id is set to "1" always #5

Open rototom opened 2 years ago

rototom commented 2 years ago

Whatever I write as a site_id, it always tracks to site_id 1.

NicoHood commented 2 years ago

Are you sure? Are you editing the correct file?

rototom commented 2 years ago

I tried using the webinterface and the corresponding file directly (user/config/plugins/matomo.yaml )

NicoHood commented 2 years ago

Are you using the javascript tracking or the php tracking? In the javascript you could check if the correct id is set: https://github.com/NicoHood/grav-plugin-matomo/blob/develop/templates/js/matomo.js.twig#L14