i am currently developing an own Piwik plugin and have problems with archiving the plug-in data.
On the analyzed web page information of different types may be requested. I save a request in a custom variable for the page:
The report itself works and looks as follows:
In the Archiver.php i use the queryActionsByDimension with the param $where=‘custom_var_k4 = “request”’ to count the request for each type and save them in the archive:
name | value
Request_Type_A | 1
Request_Type_B | 2
How can i get this data in the api-method ? I have tried to save the names (Type_A, Type_B) in a blob and get the values by $archive->getDataTableFromNumeric($names), but this helps me only for a period of one day.
Is there any good tutorial for the archiving process ?
Thank you for your time
(Sorry for my bad english, i am from germany)