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

# Type: Matomo Matomo Devices Detection Type

`read only` `REST`

- Catalog: `Matomo`
- Schema: `DevicesDetection`
- Label: Matomo Devices Detection Type

Can only retrieve data.

## Summary

Visits over one period broken down by device type (desktop, smartphone, tablet, ...) - one row per type Matomo recognises, most at zero visits on a typical site.

## API Source

- Endpoint: `/index.php?module=API&method=DevicesDetection.getType&idSite={id_site}&period={period}&date={date}&format=json`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Write rows per minute | 50,600 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `date` | `varchar2` | [x] |  | The date the period is anchored on, or a range such as '2026-08-01,2026-08-31'. |
| `id_site` | `number` | [x] |  | The Matomo site ID to report on. |
| `period` | `varchar2` | [x] |  | The reporting period: day, week, month, year or range. |

## Table Columns

The columns of the table `Type` 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 |
|---|---|---|:---:|---|---|
| `bounce_count` | `varchar2` | itgen_mat_bounce_count | [ ] | filters on the platform, writable | Number of visits from this device type with exactly one action. Absent - and read back as null - on a device type with zero visits; numeric otherwise, though Matomo does not report it with a consistent type. |
| `label` | `varchar2` | itgen_mat_label | [ ] | filters on the platform, writable | Device type name, for instance 'Desktop', 'Smartphone' or 'Unknown'. |
| `max_actions` | `int32` | itgen_mat_max_actions | [ ] | filters on the platform, writable | Maximum number of actions in a single visit from this device type. Absent - and read back as null - on a device type with zero visits. |
| `nb_actions` | `varchar2` | itgen_mat_nb_actions | [ ] | filters on the platform, writable | Number of actions across visits from this device type. Absent - and read back as null - on a device type with zero visits; numeric otherwise, though Matomo does not report it with a consistent type - see UserCountry.Country's own equivalent column. |
| `nb_visits` | `int32` | itgen_mat_nb_visits | [ ] | filters on the platform, writable | Number of visits from this device type. |
| `nb_visits_converted` | `varchar2` | itgen_mat_nb_visits_converted | [ ] | filters on the platform, writable | Number of visits from this device type during which at least one goal was converted. Absent - and read back as null - on a device type with zero visits; numeric otherwise, though Matomo does not report it with a consistent type. |
| `segment` | `varchar2` | itgen_mat_segment | [ ] | filters on the platform, writable | Matomo's own segment expression selecting exactly this device type, usable as the segment argument of another reporting table. Absent - and read back as null - on the 'Unknown' bucket. |
| `sum_daily_nb_uniq_visitors` | `int32` | itgen_mat_sum_daily_nb_uniq_visitors | [ ] | filters on the platform, writable | Sum, over every day in the period, of the number of unique visitors from this device type that day - not the same as a period-wide unique count, which Matomo does not sum this way across days. Absent - and read back as null - on a device type with zero visits. |
| `sum_daily_nb_users` | `int32` | itgen_mat_sum_daily_nb_users | [ ] | filters on the platform, writable | Sum, over every day in the period, of the number of visits with a User ID set from this device type that day. Absent - and read back as null - on a device type with zero visits. |
| `sum_visit_length` | `varchar2` | itgen_mat_sum_visit_length | [ ] | filters on the platform, writable | Sum of the length of visits from this device type, in seconds. Absent - and read back as null - on a device type with zero visits; numeric otherwise, though Matomo does not report it with a consistent type. |

