WP Manifestindependent plugin directory
manifest / analytics / yours59-matomo-popular-posts-wordpress-plugin

Popular Posts from a Matomo instance

Wordpress Plugin: Popular Posts from a Matomo instance

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/larsloq/yours59-matomo-popular-posts-wordpress-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Wordpress Plugin: Popular Posts from a Matomo instance

Use your matomo data for things like "popular posts" or "Most read posts" Be GDPR safe and do not send your user's data around the internets ( like i.e. jetpack does )

Features:

  • gives you an option page to connect to a matomo
  • by default it queries matomo for the "most popular posts of today"
  • provides dashboard widgets showing simple stats in backend
  • caches results in a transient
  • js is used to render the results

Installation

This plugin is a blueprint for developers. Its not made for typical WordPress end-user, so no simple click-install. Clone or download, move to wp-content-plugins and - important - read the code and adjust it to your needs.

Screenshot

screenshot of a wordpress dashboard

Tags:

wordpress, #matomo, #plugin, #developer-plugin, #most-read, #popular-posts

CMB2

https://developer.matomo.org/api-reference/reporting-api#VisitsSummary

Todo:

  • make this more end-user friendly
  • publish on worpdress plugins
  • translation

Licence

The code in this project is licensed under GNU GENERAL PUBLIC LICENSE Version 3.