This URL leads to nowhere.
https://github.com/matomo-org/matomo/blob/master/plugins/ExamplePlugin/Widgets.php
It was obtained here: <Widgets - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v2?
Is there another example somewhere?
Roddy
Hi,
You are reading the Piwik 2.x docs which haven’t been updated since.
The new file should be here:
You can also take a look at the example plugin here:
Or just use the ./console generate:widget command to add a widget to your plugin.
./console generate:widget
Hi, Lukas!
My fundamental problem is getting any widget to render on a webpage without: one, exposing the authorization token; and two, not enabling access to the entire reporting UI. Any help in this regard would be greatly appreciated.