Metrics
This documentation is for an outdated Matomo version.
Click here if you want to read this article for the latest version.
Click here if you want to read this article for the latest version.
Piwik\
Metrics
This class contains metadata regarding core metrics and contains several related helper functions.
Of note are the INDEX_... constants. In the database, metric column names
in DataTable rows are stored as integers to save space. The integer
values used are determined by these constants.
Properties
This class defines the following properties:
$mappingFromIdToName
Signature
- Its type is not specified.
$mappingFromIdToNameGoal
Signature
- Its type is not specified.
Methods
The class defines the following methods:
getMappingFromIdToName()getVisitsMetricNames()getMappingFromNameToId()getMappingFromNameToIdGoal()getDefaultMetricSemanticTypes()getDefaultMetricTranslations()getDefaultMetrics()getDefaultProcessedMetrics()getReadableColumnName()getMetricIdsToProcessReportTotal()getDefaultMetricsDocumentation()getPercentVisitColumn()
getMappingFromIdToName()
Signature
- It does not return anything or a mixed result.
getVisitsMetricNames()
Signature
- It does not return anything or a mixed result.
getMappingFromNameToId()
Signature
- It does not return anything or a mixed result.
getMappingFromNameToIdGoal()
Signature
- It does not return anything or a mixed result.
getDefaultMetricSemanticTypes()
Signature
- It returns a
arrayvalue.
getDefaultMetricTranslations()
Signature
- It does not return anything or a mixed result.
getDefaultMetrics()
Signature
- It does not return anything or a mixed result.
getDefaultProcessedMetrics()
Signature
- It does not return anything or a mixed result.
getReadableColumnName()
Signature
It accepts the following parameter(s):
$columnIdRaw
It does not return anything or a mixed result.
getMetricIdsToProcessReportTotal()
Signature
- It does not return anything or a mixed result.
getDefaultMetricsDocumentation()
Signature
- It does not return anything or a mixed result.
getPercentVisitColumn()
Signature
- It does not return anything or a mixed result.