OPTION 1: Install Matomo as a WordPress Plugin (Easiest Way)
Matomo has a full-featured plugin that integrates right into your WordPress dashboard, no external server or subdomain needed.
Steps:
- Go to WordPress Admin
https://yourdomain.com/wp-admin - Navigate to:
Plugins > Add New - Search for:
Matomo Analytics – Ethical Stats. Powerful Insights. - Click “Install” → “Activate”
- Configure Matomo:
Go to the new menu:
Matomo Analytics > Settings - Click “Start Installation” and follow the guided setup.It will:
- Automatically install Matomo in the background (no FTP needed)
- Track your visitors with no extra setup
- Give you dashboards inside WordPress
What You Get:
- Full Matomo dashboard inside WordPress
- Real-time visitors, traffic sources, behavior, goals
- No data leaves your server – all privacy friendly
- Supports cookieless tracking
- GDPR-friendly features (consent, data retention, etc.)
OPTION 2: Use External Matomo (Self-Hosted or Matomo Cloud)
This is for when you already installed Matomo at a separate location like:
analytics.yourdomain.com(self-hosted VPS)- or via Matomo Cloud
Steps:
- Go to Matomo Dashboard
- Admin > Websites > Add a New Website
- Get your Tracking Code + Site ID
- In WordPress, install plugin:
Matomo Analytics for WordPress (by André Bräkling)or useInsert Headers and Footers - Paste Tracking Code into
<head>of your theme or via plugin. - Matomo will now track your WordPress site traffic.
Which Option Should You Use?
| Use Case | Recommended Option |
|---|---|
| Simplicity | |
| More Control & Advanced Features | |
| VPS Available | |
| One-click WordPress users |