Connect your Matomo (self-hosted or Cloud) to your iPhone
Enter the address you open Matomo at in a browser, such as https://analytics.example.com or https://yourname.matomo.cloud, then sign in with username and password or paste an auth token. With two-factor authentication or SSO, use a token. Most failures are a wrong URL, a certificate problem or a firewall in front of the API.
Which URL to enter
The base URL of Matomo: everything before index.php. Log in to Matomo in Safari and look at the address bar.
| Setup | Example |
|---|---|
| Matomo Cloud | https://yourname.matomo.cloud |
| Self-hosted, subdomain | https://analytics.example.com |
| Self-hosted, in a folder | https://example.com/matomo |
Typical mistakes: entering the tracked website instead of the Matomo host, forgetting the folder, or pasting a full report link with ?module=…. Matomo Cloud customers with a custom domain can use either that domain or the matomo.cloud address.
Statomo normalises what you type: https:// is added if missing, and a trailing /index.php, query string or slash is removed.
Password or token?
Username and password is quickest. Statomo sends them once, only to your Matomo server, which returns a token for this device (listed in Matomo's Auth tokens as "Statomo on" plus the iPhone's name). The password isn't stored. The username is your Matomo login, which isn't always your email.
An auth token is the better choice if:
- you use two-factor authentication. Password sign-in via the API also needs the 2FA code, which apps can't pass along.
- you log in via SSO, LDAP or SAML (see Matomo's FAQ on API tokens with LDAP or SAML).
- you want a dedicated view-only user for the phone. That's least privilege, and the setup a privacy-minded admin or DPO will prefer. More in How to create a Matomo auth token.
In Statomo, tap Use an Access Token instead and paste it. Statomo sends API calls as POST, so tokens restricted to secure requests work.
Troubleshooting
Can't reach the server
- Test in Safari first, on the same iPhone. If Safari doesn't show your Matomo login, no app will get through.
- Internal network or VPN only? Connect the phone to the VPN.
- IP allowlists. Matomo's
login_allowlist_ip[]setting applies to the Reporting API by default, so a phone on mobile data gets blocked. Matomo's FAQ on restricting access by IP explains the options, including excluding API requests from the allowlist. - WAFs and security tools (fail2ban, ModSecurity, CDN firewalls) sometimes block API requests from unknown clients. Look for blocked requests to
index.phpin their logs.
HTTPS and certificates
iOS rejects self-signed and expired certificates and incomplete certificate chains, even when a desktop browser seems fine. Check the domain with an SSL checker; a Let's Encrypt certificate with the full chain fixes most cases. Don't fall back to plain HTTP: your token would travel unencrypted.
"This doesn't look like a Matomo server"
Something answered, but not Matomo's API: usually the tracked site, a hosting panel, or a folder one level off. https://your-url/index.php in Safari should show the Matomo login.
Reverse proxies
Behind nginx, Traefik, Cloudflare or a load balancer, make sure POST requests to index.php pass through with their body, and that Matomo knows it's served over HTTPS. Otherwise it may redirect to http:// or the wrong host.
Wrong username or password
If logging in on the web works but the app fails, 2FA or SSO is the likely cause. Use a token.
Token works but no sites
The token's user has no view access to any site. A Superuser or site admin has to grant it.
Very old Matomo
Statomo needs Matomo 4.10 or newer. If you're on an older version, it's worth updating anyway. Matomo Cloud is kept current for you.
Self-hosted or Cloud: where your data lives
Either way, your analytics data stays with you or with Matomo Cloud, not with an ad company. That's one of the main reasons EU sites choose Matomo (Matomo's GDPR guide). A mobile app shouldn't undo that: Statomo connects the iPhone directly to your Matomo over HTTPS, with no Statomo account or server in between, stores the token in the iOS Keychain, and contains no analytics, ads or crash SDKs. Once connected, try realtime visitors or Home Screen widgets.
FAQ
What is my Matomo Cloud URL?
The address you log in at, usually https://yourname.matomo.cloud.
Do I need to enter index.php?
No, the base URL is enough. Statomo strips /index.php if you paste it.
Can I connect several Matomo servers?
The free version of Statomo connects one Matomo account with all its sites. Pro (one-time €4.99) adds unlimited accounts with one-tap switching.
Updated November 2026.