Hello,
We are facing a discrepancy between UI and API for Funnel reports:
- Using Matomo API, all past reports are properly returned (Funnels.getFunnelFlow and getMetrics), even for dates before February 7th.
- Using Matomo UI, we only have access to our Funnel reports from Sunday 7th of February. All previous days display an empty report:
The funnel was completed in 0 out of 0 visits with a 0% funnel conversion rate and a 0% funnel abandoned rate .
There is no data for this report.
Here is an example of successful API call for a past Funnel report, but not working on UI:
<item>
<pubDate>Sat, 06 Feb 2021 12:24:36 +0000</pubDate>
<guid>https://****.com/?module=CoreHome&action=index&idSite=1&period=day&date=2021-02-06</guid>
<link>https://****.com/?module=CoreHome&action=index&idSite=1&period=day&date=2021-02-06</link>
<title>*****to on 2021-02-06</title>
<author>https://matomo.org</author>
<description>…Start</td> <td>103</td> <td>103</td> <td>45</td> <td>103</td> <td>58</td> <td>56%</td…</description>
</item>
FYI, our Funnels have been created few weeks ago, and our cron job generates successfully our reports every hour.
Also, the associated Goals display properly their report even in the UI.
We updated from Matomo 4.0.5 to 4.1.1 on Feb 3rd (Funnel version 4.0.3 remained unchanged), and our users reported that past Funnel reports were working fine using Matomo UI before the update.
Here are few settings:
enable_browser_archiving_triggering = 0
browser_archiving_disabled_enforce = 1
archiving_range_force_on_browser_request = 0
enable_create_realtime_segments = 0
time_before_today_archive_considered_outdated = 2700
enabled_periods_UI = "day,week,month,year"
enabled_periods_API = "day,week,month,year,range"
FYI, I added back “range” to enabled_periods_UI temporarily, but it didn’t fix the issue.
Could you please assess what could explain this discrepancy of behaviour between the UI and API?
Thanks and Regards