---
title: "Sites (Matomo)"
description: "Matomo Sites Manager Sites"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.SitesManager.Sites
original: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.SitesManager.Sites
updated: 2026-11-10T15:13:36Z
license: https://documentation.invantive.eu/en/
---

# Sites: Matomo Matomo Sites Manager Sites

`insert` `update` `delete` `REST`

- Catalog: `Matomo`
- Schema: `SitesManager`
- Primary Keys: `idsite`
- Label: Matomo Sites Manager Sites

Can retrieve data and change data using `insert`, `update` and `delete`.

## Summary

Every site (website or app) this Matomo instance tracks - the top-level unit every reporting and tracking call is scoped to.

## API Source

- Endpoint: `/index.php?module=API&method=SitesManager.getAllSites&format=json`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Write rows per minute | 9,750 |

The result can be cached on the client.

## Table Columns

The columns of the table `Sites` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `currency` | `varchar2` | itgen_mat_currency | [ ] | filters on the platform, writable | Three-letter currency code used for the site's e-commerce reports. |
| `ecommerce` | `int32` | itgen_mat_ecommerce | [ ] | filters on the platform, writable | 1 if e-commerce tracking is enabled for the site, 0 otherwise. |
| `idsite` | `int32` | itgen_mat_idsite | [x] | filters on the platform, writable | Site ID: the value the id_site parameter of every reporting table refers to. Assigned by Matomo when the site is created, and never written. |
| `main_url` | `varchar2` | itgen_mat_main_url | [ ] | filters on the platform, writable | Primary URL of the site. Written as a single URL. |
| `name` | `varchar2` | itgen_mat_name | [x] | filters on the platform, writable | Site name. Matomo's own parameter is called 'siteName' on insert and update; exposed here under the plainer name every other table already uses for its label column. |
| `timezone` | `varchar2` | itgen_mat_timezone | [ ] | filters on the platform, writable | Timezone the site's reports are computed in, for instance 'UTC' or 'Europe/Amsterdam'. |
| `ts_created` | `varchar2` | itgen_mat_ts_created | [ ] | filters on the platform, writable | Date and time the site was created, as returned by Matomo. Matomo does not document which time zone this is expressed in. |

