invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Outlinks: Matomo Matomo Actions Out Links

read only REST

  • Catalog: Matomo
  • Schema: Actions
  • Label: Matomo Actions Out Links

Can only retrieve data.

Summary

Outbound links clicked from the site over one period, one row per destination URL.

API Source

  • Endpoint: /index.php?module=API&method=Actions.getOutlinks&idSite={id_site}&period={period}&date={date}&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 3,620

The result can be cached on the client.

Parameters

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

Table Columns

The columns of the table Outlinks 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
label varchar2 itgen_mat_label filters on the platform, writable Destination URL, as Matomo groups it - not always the full URL.
nb_hits int32 itgen_mat_nb_hits filters on the platform, writable Number of times this outlink was clicked, including repeat clicks within one visit.
nb_uniq_visitors int32 itgen_mat_nb_uniq_visitors filters on the platform, writable Number of unique visitors who clicked this outlink.
nb_visits int32 itgen_mat_nb_visits filters on the platform, writable Number of visits during which this outlink was clicked.
segment varchar2 itgen_mat_segment filters on the platform, writable Matomo's own segment expression selecting exactly this outlink, usable as the segment argument of another reporting table.
sum_time_spent int32 itgen_mat_sum_time_spent filters on the platform, writable Total time visitors spent on the site up to and including this click, in seconds.
url varchar2 itgen_mat_url filters on the platform, writable Full destination URL of the outlink.