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:

  1. Log into your Matomo instance.
  2. Go to Matomo settings Settings Cog Icon > Measurables (or Websites) > Manage page.
  3. The Manage Measurables page displays a list of all your tracked websites.
  4. The ID is shown below the website name.

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.

Previous FAQ: HTTP Tracking API developer reference