It’s easy to add Matomo tracking to your WordPress site. You can either use the easy WordPress plugin (using the steps below), install the JavaScript code (using this guide), or install an image beacon (using this guide).


Steps to start tracking in Matomo

  1. Install the Connect Matomo (WP-Matomo) plugin in your WordPress.
  2. In the left menu, click Settings > WP-Matomo.
  3. In the Matomo Mode dropdown, select the option Self hosted (HTTP API, default).

  4. In the Matomo URL text field, enter your Matomo URL, for example

  5. In the Auth token text field, enter your Matomo authentication token. How to find Auth Token.

  6. Confirm the Auto config checkbox is selected and click on Save Changes.

  7. You should see Connect Matomo is successfully connected to Matomo message. If you do not see the message, make sure the values you provided in the previous steps are correct, and try again.

  8. Click on the Enable Tracking tab.

  9. In the Add tracking code dropdown, select Default tracking.

  10. Click on Save Changes and a success message will appear.

Congratulations, you should now be successfully tracking visitors with Matomo Analytics through your WordPress site! Happy Analytics.