Hello.
I’m planning to switch from Confluence to XWiki. I’ve migrated all the spaces and am testing the Pro Macros 1.15.1 app, but I have a lot of pages where I get notifications:
The [sa-views-tracker-stats] macro is not in the list of registered macros.
and
The [sa-views-tracker] macro is not in the list of registered macros.
Does anyone know which application is responsible for this macro?
Hello,
It means this macro doesn’t exist in your XWiki instance. It’s a confluence macro. You need to find some equivalent for it or write one yourself (or stop using it). Or contact a company who offers professional service and can help you with it .
See also https://extensions.xwiki.org/xwiki/bin/view/Extension/Confluence/XML/#HMacroConversion
What is the macro doing? Do you have a link to its doc?
Thx
Hello,
sa-views-tracker-stats displays a table with the statistics of the last time the user visited the page, the number of times the page was visited, and the user name.
sa-views-tracker displays a mirror of other pages. That is, it displays information from another page.
I tried different macros available in the store, but they don’t work.
Of course, I have a link to the documentation of this macro.
From your description the closer I could think of was the XWiki Statistics Application but it’s currently not maintained and we didn’t think it was of good-enough quality to be bundled in XWiki and it was moved as a contrib project.
The current recommendation is to use the Matomo integration. I guess Matomo provides some HTML/JS to integrate data into your own site (ie xwiki here). See Embedding Matomo User Guide - Reporting tools - Matomo Analytics for example.
This doesn’t exist ATM in XWiki so you’d need to explore it. Creating a wiki macro to wrap this is easy: https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/WritingMacros/WikiMacroTutorial/
Hope it helps
This is not fully correct. We want to move it out of XWiki but it’s still there for now, see Move xwiki-platform-statistics to XWiki Attic . It’s just not installed by default. The rest of what I was mentioning is correct.
Thank you, I will look in the config files and enable the statistics. Because deploying matomo for simple pageview statistics is too time consuming.