How can I connect to Matomo with WP?
Hi, I've jsut installed it on NC31. At the setting page, What should be plase to "Piwik/Matomo Url"?
I am using Matomo Analytics for Wordpress. So, the URL should be something like this? : https://domain.tld/wp-content/plugins/matomo/app/index.php
I also put rewrite rule to .htaccess. I am using different domain on the same server, and both site are related. so I would like to check transition from site A to site B.
Thanks,
Hi @nobo73, the Matomo Analytics for Wordpress is designed to track statistics on one site : your wordpress site. If you use it to track another site, you will mix (and mess) data between sites. If you don't care about mixing stats, it works:
See (just in case) on your WP, on Matomo settings the tracking code. You'll find your site id (99% probablity of being 1), and the url of your Matomo entry point :
https://domain.tld/wp-content/plugins/matomo/app/
Don't add "index.php" to this url as Matomo Nextcloud will add "matomo.php" and "piwik.js" to this url.
Anyway, my advice would be to create your own Matomo site. It's quite as easy as creating a Wordpress site (PHP + MySQL). And you'll be able to track any of your WP sites or Nextcloud.
Yours,