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

VisitFrequencies: Matomo Matomo Visit Frequency Get

read only REST

  • Catalog: Matomo
  • Schema: VisitFrequency
  • Label: Matomo Visit Frequency Get

Can only retrieve data.

Summary

Visit summary metrics for one site over one period, split into a new-visitor half and a returning-visitor half - unlike VisitsSummary.VisitsSummaries's own single, undivided set of the same metrics.

API Source

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

Performance Characteristics

Characteristic Value
Write rows per minute 2,130

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 VisitFrequencies 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_site_new double itgen_mat_avg_time_on_site_new filters on the platform, writable Average visit duration among new visitors, in seconds.
avg_time_on_site_returning double itgen_mat_avg_time_on_site_returning filters on the platform, writable Average visit duration among returning visitors, in seconds.
bounce_count_new int32 itgen_mat_bounce_count_new filters on the platform, writable Number of visits by a new visitor with exactly one action.
bounce_count_returning int32 itgen_mat_bounce_count_returning filters on the platform, writable Number of visits by a returning visitor with exactly one action.
bounce_rate_new varchar2 itgen_mat_bounce_rate_new filters on the platform, writable Bounce rate among new visitors, formatted by Matomo itself as a percentage.
bounce_rate_returning varchar2 itgen_mat_bounce_rate_returning filters on the platform, writable Bounce rate among returning visitors, formatted by Matomo itself as a percentage.
max_actions_new int32 itgen_mat_max_actions_new filters on the platform, writable Maximum number of actions in a single visit by a new visitor.
max_actions_returning int32 itgen_mat_max_actions_returning filters on the platform, writable Maximum number of actions in a single visit by a returning visitor.
nb_actions_new int32 itgen_mat_nb_actions_new filters on the platform, writable Number of actions across visits by a new visitor.
nb_actions_per_visit_new double itgen_mat_nb_actions_per_visit_new filters on the platform, writable Average number of actions per visit, among new visitors.
nb_actions_per_visit_returning double itgen_mat_nb_actions_per_visit_returning filters on the platform, writable Average number of actions per visit, among returning visitors.
nb_actions_returning int32 itgen_mat_nb_actions_returning filters on the platform, writable Number of actions across visits by a returning visitor.
nb_visits_converted_new int32 itgen_mat_nb_visits_converted_new filters on the platform, writable Number of visits by a new visitor during which at least one goal was converted.
nb_visits_converted_returning int32 itgen_mat_nb_visits_converted_returning filters on the platform, writable Number of visits by a returning visitor during which at least one goal was converted.
nb_visits_new int32 itgen_mat_nb_visits_new filters on the platform, writable Number of visits by a new visitor.
nb_visits_returning int32 itgen_mat_nb_visits_returning filters on the platform, writable Number of visits by a returning visitor.
sum_visit_length_new int32 itgen_mat_sum_visit_length_new filters on the platform, writable Sum of the length of visits by a new visitor, in seconds.
sum_visit_length_returning int32 itgen_mat_sum_visit_length_returning filters on the platform, writable Sum of the length of visits by a returning visitor, in seconds.