How do I find the Matomo website ID, also called idSite or Site ID?
Cloud On-Premise
Matomo lets you measure several websites within one Matomo server. Each website added to Matomo has its very own ID Site (or Website ID).
To find out the idSite value for a given website, you can follow these steps:
- Log into your Matomo instance.
- Go to Administration
> Websites > Manage page.
- The Manage Measurables page displays a list of all your tracked websites.
- The ID is shown below the website name.
- Click View Tracking code to review/copy your site’s tracking code.
- In the tracking code, the variable
udefines the URL of your Matomo instance, where tracking requests are sent, for example:
var u="https://mysite.matomo.cloud/";
If you are using Matomo for WordPress, your Site ID should be 1 and you can double check this ID in Matomo Analytics > System Report > Matomo Blog idSite.