After installing Matomo Analytics, Grav users will need to know the best way to integrate the two. Below we cover how to connect Matomo Analytics with Grav CMS + Admin Plugin with the piwik plugin and SSH.
Connect Matomo Analytics
- Log into Grav.
- Select Plugins from the left.
- Install the “piwik” plugin.
- Press Continue.
- On the piwik configuration page, add the Site ID and Piwik (Matomo) URL without HTTP/HTTPS.
Using SSH
- Login SSH.
- Navigate to the Grav root directory.
- Install the piwik plugin with bin/gpm install piwik.
- Copy the /piwik.yaml to users/config/plugins/ and update the Site ID and Piwik (Matomo) URL.
enabled: true siteId: 0 sitePiWikURL: ''
Learn more about Grav in our Support Center.