Would it be possible to add support for loading "raw" JSON tracking data ? That would make it easier to import tracking data when the number of tracking elements ( https://developer.matomo.org/api-reference/tracking-api ) varies for each request.
A sample tracking event that I would like to import looks like this:
Hi @ekaragodin ,
I noticed this plugin with the 3.10 release.
Would it be possible to add support for loading "raw" JSON tracking data ? That would make it easier to import tracking data when the number of tracking elements ( https://developer.matomo.org/api-reference/tracking-api ) varies for each request.
A sample tracking event that I would like to import looks like this:
For a simple ping tracking event (https://developer.matomo.org/guides/tracking-javascript-guide#accurately-measure-the-time-spent-on-each-page) that amount of data in the
request
would look very differently.The above sample payload is created by the QueuedTracking-plugin ( https://github.com/matomo-org/plugin-QueuedTracking/ ) and that would be stored in Redis for later processing.
I do not know PHP well enough to create a PR for this, pointers or suggestions welcome, thanks!