Page visit statistics should not be visible when in "front-edit" mode because the statistics are different from those in "normal" mode.
Therefore, they must be hidden.
In
<xsl:call-template name="matomo-stats"/>
The test is
<xsl:if test="ametys:renderingContext() = 'front' and normalize-space($piwikId) != '' and normalize-space($piwikUrl) != '' and $statsEnabled = 'true'">
It is necessary to add
not(ametys:isFrontEdition())
- Référence
-
SKINCARDS-271 When front-editing is enabled, do not display visit statistics
-
- Resolved
-
-
SKINSEARCH-365 When front-editing is enabled, do not display visit statistics
-
- Resolved
-