Integrating analytics on React

I have a simple (possibly) question. Can I integrate the visualisations from Matomo within my own React webapp. If yes, then a high level pointer to points of integration would be greaty appreciated.

PS: Question is not about capturing analytics from React site but building a interactive dashboard using Matomo api and possibly svg, Canvas react-vis libs.



You can either directly embed all Matomo widgets as iFrames or use the extensive reporting API to get the data of every report (e.g. as JSON) and create the visualization.