In uiPress pro version 3.1.05 we introduced new Matomo analytics blocks. These new blocks allow you to display your site analytics data directly in your WordPress admin.
To connect to Matomo analytics, you must be using the self hosted version of Matomo and applied the tracking code to your website.
Once your account is setup, go to the uiBuilder and add a matomo analytics block. Once added you will see a button that says ‘Connect matomo account’

Your site id can be found either from matomo account:
- Log into your Matomo.
- Go to
Administration
(click on the gear icon in the top right of the screen). - Click on the
Measurables(or Websites) > Manage
page. You will find a list of all websites on this page. - The website ID is on the left of the table listing all websites directly below the website name.

The matomo URL option is the URL to your matomo installation. For example: uipress.co/siteanalytics/
To create a auth token for Matomo you can follow these steps:
- Log in to Matomo
- Go to the Matomo Admin through the top menu
- Click on Personal -> Security
- In the bottom of the page click on “Create new token”
- Confirm your account password
- Enter the purpose for this token
- Choose if the token should only be valid for POST requests (Matomo 5 and newer)
- Click on “Create new token”
Once you add the required info, click connect and all being well the block will load your analytics data.