@vidiecan opened this Issue on March 2nd 2020

Note:
#14235 looks similar but does not address this issue.

Version:
Matomo version: 3.13.3

Description:

curl "XXX/piwik/index.php?module=API&method=API.get&idSite=4&period=day&date=2020-02-13,2020-02-14&token_auth=XXX&format=xml&segment=pageUrl=<a class='mention' href='https://github.com/11234'>@11234</a>/1-1593"

returns two different set of properties. Afaict, it used to be the same set but filled with 0.

<?xml version="1.0" encoding="utf-8" ?>
<results>
        <result date="2020-02-13">
                <nb_uniq_visitors>1</nb_uniq_visitors>
                <nb_visits>1</nb_visits>
                <nb_users>0</nb_users>
                <nb_actions>1</nb_actions>
                <max_actions>1</max_actions>
                <bounce_count>1</bounce_count>
                <sum_visit_length>0</sum_visit_length>
                <nb_visits_new>1</nb_visits_new>
                <nb_actions_new>1</nb_actions_new>
                <nb_uniq_visitors_new>1</nb_uniq_visitors_new>
                <nb_users_new>0</nb_users_new>
                <max_actions_new>1</max_actions_new>
                <bounce_rate_new>100%</bounce_rate_new>
                <nb_actions_per_visit_new>1</nb_actions_per_visit_new>
                <avg_time_on_site_new>0</avg_time_on_site_new>
                <Referrers_visitorsFromSearchEngines>0</Referrers_visitorsFromSearchEngines>
                <Referrers_visitorsFromSocialNetworks>0</Referrers_visitorsFromSocialNetworks>
                <Referrers_visitorsFromDirectEntry>1</Referrers_visitorsFromDirectEntry>
                <Referrers_visitorsFromWebsites>0</Referrers_visitorsFromWebsites>
                <Referrers_visitorsFromCampaigns>0</Referrers_visitorsFromCampaigns>
                <Referrers_visitorsFromDirectEntry_percent>100%</Referrers_visitorsFromDirectEntry_percent>
                <Referrers_visitorsFromSearchEngines_percent>0%</Referrers_visitorsFromSearchEngines_percent>
                <Referrers_visitorsFromCampaigns_percent>0%</Referrers_visitorsFromCampaigns_percent>
                <Referrers_visitorsFromSocialNetworks_percent>0%</Referrers_visitorsFromSocialNetworks_percent>
                <Referrers_visitorsFromWebsites_percent>0%</Referrers_visitorsFromWebsites_percent>
                <nb_conversions>0</nb_conversions>
                <nb_visits_converted>0</nb_visits_converted>
                <revenue>0</revenue>
                <conversion_rate>0%</conversion_rate>
                <nb_conversions_new_visit>0</nb_conversions_new_visit>
                <nb_visits_converted_new_visit>0</nb_visits_converted_new_visit>
                <revenue_new_visit>0</revenue_new_visit>
                <conversion_rate_new_visit>0%</conversion_rate_new_visit>
                <nb_pageviews>1</nb_pageviews>
                <nb_uniq_pageviews>1</nb_uniq_pageviews>
                <nb_downloads>0</nb_downloads>
                <nb_uniq_downloads>0</nb_uniq_downloads>
                <nb_outlinks>0</nb_outlinks>
                <nb_uniq_outlinks>0</nb_uniq_outlinks>
                <nb_searches>0</nb_searches>
                <nb_keywords>0</nb_keywords>
                <bounce_rate>100%</bounce_rate>
                <nb_actions_per_visit>1</nb_actions_per_visit>
                <avg_time_on_site>0</avg_time_on_site>
                <avg_time_on_site_returning>0</avg_time_on_site_returning>
                <nb_actions_per_visit_returning>0</nb_actions_per_visit_returning>
                <bounce_rate_returning>0%</bounce_rate_returning>
        </result>
        <result date="2020-02-14">
                <Referrers_visitorsFromSearchEngines>0</Referrers_visitorsFromSearchEngines>
                <Referrers_visitorsFromSocialNetworks>0</Referrers_visitorsFromSocialNetworks>
                <Referrers_visitorsFromDirectEntry>0</Referrers_visitorsFromDirectEntry>
                <Referrers_visitorsFromWebsites>0</Referrers_visitorsFromWebsites>
                <Referrers_visitorsFromCampaigns>0</Referrers_visitorsFromCampaigns>
                <Referrers_visitorsFromDirectEntry_percent>0%</Referrers_visitorsFromDirectEntry_percent>
                <Referrers_visitorsFromSearchEngines_percent>0%</Referrers_visitorsFromSearchEngines_percent>
                <Referrers_visitorsFromCampaigns_percent>0%</Referrers_visitorsFromCampaigns_percent>
                <Referrers_visitorsFromSocialNetworks_percent>0%</Referrers_visitorsFromSocialNetworks_percent>
                <Referrers_visitorsFromWebsites_percent>0%</Referrers_visitorsFromWebsites_percent>
                <bounce_rate>0%</bounce_rate>
                <nb_actions_per_visit>0</nb_actions_per_visit>
                <avg_time_on_site>0</avg_time_on_site>
                <avg_time_on_site_returning>0</avg_time_on_site_returning>
                <nb_actions_per_visit_returning>0</nb_actions_per_visit_returning>
                <bounce_rate_returning>0%</bounce_rate_returning>
                <avg_time_on_site_new>0</avg_time_on_site_new>
                <nb_actions_per_visit_new>0</nb_actions_per_visit_new>
                <bounce_rate_new>0%</bounce_rate_new>
        </result>
</results>

Is this to be expected?

Powered by GitHub Issue Mirror