we are tracking some additional custom variables in tables log_visit and log_link_visit_action. Now I want to create some custom reports to analyze and display the custom values. I’ve already read a lot of the API reference multiple times and I’ve checked out the existing plugins. However, my archiving and reports are still not working and I keep getting a lot of errors like “there is no data to display”, “column ‘label’ does not exist for addDataTable()” (or similar). I think that I missed something. Currently I try to query some data, archive it and display it in my report.
Is there a tutorial, documentation, etc. out there which describes completely how you can query log data, create a custom report and archive that report? It’s very frustrating at the moment that my report/plugin isn’t working and I have no idea what’s going wrong.
Just for clarification: I tried to unterstand how other plugins like plugins\CustomVariables or plugins\UserId are dealing with querying data and archiving DataTables as records. For me it looks like there is no default approach for this process. Do I miss something? Do you know any plugin, that could serve as kind of a blueprint?
Thank you very much for any help!