Closed benzmarkus closed 2 years ago
Matomo documentation specifically describes values as being numeric.
Can you describe your use case where you would like to use regular strings as values for events ?
I would also like this ability. Data is both quantitative and qualitative and without strings, we can't track qualitative data without complex mapping of numbers to strings.
We have an app that connects to a number of different back-end instances, each of which has a string identifier. I would like to attach this identifier to each event, along with other metadata. The only way to do that currently is to use numbers and map them to strings (e.g. 10 = "ZA", 20 = "UK" etc).
Firebase Analytics has this idea already, they allow you to specify if an event param is a string or a number. See point 5 of their help docs.
I'll have a look at it.
It would be great to have it, value is often non numeric
Time has passed and Matomo has not changed its API for tracking events. The value still must be numeric. In case they change their model, I'll update the function of the tracker to allow whatever will be possible.
I currently it is only supported to track numeric values. Matomo supports string values to.