Iframe widget showing wrong results

Been a happy user for a while, but something weird happened few days ago. Matomo installed on micro server in subdomain. Counts stats all good, and I have a widget for authors to show their visitor graph on main site. Last few days results in server vs results in widget different dramatically.

What can be wrong? Tried anything like Matomo cache clear, invalidate results for those dates, recalculate all results… nothing helps.

I found the source of error. Here is the original iframe code:

<iframe width="100%" height="260" src="https://XXX.org/matomo/index.php?module=Widgetize&action=iframe&widget=1&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite=1&period=day&date=today&disableLink=1&widget=1&segment=customVariablePageValue1==XXX&token_auth=XXX" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe>

So that segment for custom variable part shall not have number: &segment=customVariablePageValue==XXX. Then it worked for me.

1 Like