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

SiteSearchKeywords: Matomo Matomo Actions Site Search Keywords

read only REST

  • Catalog: Matomo
  • Schema: Actions
  • Label: Matomo Actions Site Search Keywords

Can only retrieve data.

Summary

Internal site searches performed over one period, one row per search keyword.

API Source

  • Endpoint: /index.php?module=API&method=Actions.getSiteSearchKeywords&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 SiteSearchKeywords 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
avg_time_on_page double itgen_mat_avg_time_on_page filters on the platform, writable Average time visitors spent on the site after this search, in seconds.
bounce_rate varchar2 itgen_mat_bounce_rate filters on the platform, writable Bounce rate for visits performing this search, formatted by Matomo itself as a percentage.
exit_nb_visits varchar2 itgen_mat_exit_nb_visits filters on the platform, writable Number of visits which left the site right after this search. Numeric, though Matomo does not report it with a consistent type - see Actions.PageUrls' own equivalent column.
exit_rate varchar2 itgen_mat_exit_rate filters on the platform, writable Exit rate for visits performing this search, formatted by Matomo itself as a percentage.
label varchar2 itgen_mat_label filters on the platform, writable The search keyword as the visitor typed it.
nb_hits int32 itgen_mat_nb_hits filters on the platform, writable Number of times this keyword was searched, including repeat searches within one visit.
nb_pages_per_search double itgen_mat_nb_pages_per_search filters on the platform, writable Average number of pages viewed after performing this search.
nb_visits int32 itgen_mat_nb_visits filters on the platform, writable Number of visits during which this keyword was searched.
segment varchar2 itgen_mat_segment filters on the platform, writable Matomo's own segment expression selecting exactly this search keyword, 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 search, in seconds.