Exported API datasets do not contain "Unique visitors" or "Unique entrances" or "Unique exits" metrics for URL folders #9483
Labels
answered
For when a question was asked and we referred to forum or answered it.
Milestone
Problem description
For URL folders eg.
domain.com/folder/*
, when exporting the dataset in CSV such as: http://demo.piwik.org/index.php?module=API&method=Actions.getEntryPageUrls&format=TSV&idSite=7&period=day&date=yesterday&expanded=1&translateColumnNames=1&language=en&token_auth=anonymous&filter_limit=100In this file, we notice that "Unique visitors" or "Unique entrances" or "Unique exits" metrics columns are empty for a particular set of rows.
domain.com/folder/*
then the "Unique" metrics are not founddomain.com/page
then the "Unique" metrics are correctly processed.Why is there missing metric for page URLs folders?
The reason the metrics are removed is because Piwik does not process them. How could we get the "Unique visitors" who visited for example domain.com/folder/* ? if we summed the "Unique visitors" of all pages within this folder, we would not get the "Unique visitors" but a sum of unique visitors, which is completely different.
Therefore Piwik cannot process
Workaround?
A possible workaround would be to use
&flat=1
in the URL so that all URLs are flattened. Then all "Unique" metrics will be displayed since all rows in the dataset will be for actual page urls.Example: http://demo.piwik.org/index.php?module=API&method=Actions.getEntryPageUrls&format=TSV&idSite=7&period=day&date=yesterday&expanded=1&translateColumnNames=1&language=en&token_auth=anonymous&filter_limit=100&flat=1
The text was updated successfully, but these errors were encountered: