phil2
March 23, 2021, 11:02am
1
Hallo liebes Matomo Forum!
Das ist mein erster Beitrag und freue mich hier zu sein!
Ich habe eine Frage zu den Kennzahlen der Seitentitel.
Und zwar habe ich im Reiter Verhalten - Seitentitel (bei markiertem Seitentitel) Seitenansichten von 48.606 und eindeutige Seitenansichten von 11.215.
Dann habe ich auf der anderen Seite ein Segment angelegt mit folgenden Parametern, siehe Bild 2
Hier sind die Seitenansichten in der Besucherübersicht, dann allerdings sehr anders zu den vorherigen Werten im Reiter Verhalten (Seitenansicht 67.072 Seitenansichten, 52.484 Eindeutige Seitenansichten)
Habe ich hier einen Denkfehler drin? Oder woran kann das liegen?
Sorry ich kann nur ein Screenshot hinzufügen… Kann aber gerne weitere schicken, falls welche benötigt werden!
Danke schonmal & viele Grüße an euch
Phil
Lukas
(Lukas Winkler)
March 23, 2021, 11:23am
2
Hallo,
Die Erklärung liegt hierin:
opened 07:32AM - 22 Jan 20 UTC
Major
Enhancement
Since Segments cannot be used as filter anymore (see https://github.com/matomo-o… rg/matomo/issues/15163) Then I put forward this high priority feature request to add full feature support for Filtering. Suggesting `Custom Reports` plugin as a solution for this feature is not an option. This feature must be part of the core offering.
Most modern web application are data driven and as part of its value proposition it will create dashboard, reports etc to inform its users of the usage of their offering. Building user defined reports/views/dashboards based on user interactions will include filtering, as the user want to see exact results. Filtering and segmentation is the essentials features of any Analytics platform. Hence, we must build this missing feature at its highest priority.
## How
As Matomo also advertise to be a replacement of Google Analytics, then lets see what they do:
> Filtered queries restrict the rows that do (or do not) get included in the result. Each row in the result is tested against the filter: if the filter matches, the row is retained and if it doesn't match, the row is dropped.
> **Dimension filtering**: Filtering occurs before any dimensions are aggregated, so that the returned metrics represent the total for only the relevant dimensions.
> * **Metrics filtering**: Filtering on metrics occurs after the metrics are aggregated.
> * **Valid combinations**: You can filter for a dimension or metric that is not part of your query, provided all dimensions/metrics in the request and the filter are valid combinations. For example, you might want to query for a dated list of pageviews, filtering on a particular browser.
Source: https://developers.google.com/analytics/devguides/reporting/core/v3/reference#filters
For rich possibilities of Filtering the massive amount of data a regular website/app gets, we need the following operators:
### Metric Filter Operators
Operator | Description
-- | --
`==` | Equals
`!=` | Does not equal
`>` | Greater than
`<` | Less than
`>=` | Greater than or equal to
`<=` | Less than or equal to
### Dimension Filter Operators
Operator | Description
-- | --
`==` | Exact match
`!=` | Does not match
`=@` | Contains substring
`!@` | Does not contain substring
`=~` | Contains a match for the regular expression
`!~` | Does not match regular expression
It would be a big plus if we could get support for *Regular expression* in those filters.
## Filter Syntax
Given the fact that Segments are alreadty supported, we only need to invent a `filter` parameter.
```
metric_dimension_name operator expression
```
Example:
```
filter=referrerName==Google,referrerName==Bing;country==IN
```
Aus performance-gründen funktionieren segments nicht so, wie du erwarten würdest. Das Segment filtert alle Besuche, bei denen eine URL mit diesem Seitentitel aufgerufen wurden. Die anderen Seitenaufrufe in dem Besuch werden aber auch mitgezählt.
Du kannst dir https://matomo.org/faq/how-to/how-do-i-get-matomo-segments-to-behave-as-a-filter/ dazu anschauen
1 Like
phil2
March 24, 2021, 9:17am
3
Hallo Lukas,
danke für deine hilfreiche Antwort!
Eine Frage noch dazu: Wie kann ich dann filtern wenn nicht mit den Segmenten? Oder ergibt es Sinn mit wie in dem How-To beschrieben die config/config.ini.php mit (enable_segments_cache = 0) dementsprechend anzupassen?
Danke und viele Grüße!
Phil