Open tdymel opened 3 years ago
same here ...
in matomo.ts : // PAQ requires that eventValue be an integer, see: http://matomo.org/docs/event-tracking if ((properties as TrackEventMatomoProperties).value) { const parsed = parseInt((properties as TrackEventMatomoProperties).value as any, 10); (properties as TrackEventMatomoProperties).value = isNaN(parsed) ? 0 : parsed; }
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Im using the the
Angulartics2Matomo
service to calleventtrack("customAction", { category: "customCategory", value: "someValue" })
. This will send an trackEvent to Matomo but the value will be0
. Number values work fine. It looks like there is a conversion problem somewhere, however, the plugin looked fine.What is the expected behavior? It should send the value as string value.
Environment: