New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JS Tracker: trackEvent bug, event value is truncated #14934
Comments
Can you check if it's reported correctly in the visitor log? Or where is it reported wrongly? |
It is reported wrongly in the visitor log. As I said earlier event value 12225057 is being reported as 12225100 in the visitor log. |
There is also a bug that event value does not take string. Contrary to what the documentation says. If you pass a string to event value then visitor log shows 0. |
Are you using the latest version of Matomo? I suppose you're meaning sending like |
I don't know what version of Matomo I am using, I am just following the Matomo documentation:
|
I'm not seeing the trackEvent call there? It be important for us to know the Matomo version before we look into this any further. Thanks |
3.11.0 Thanks for your help |
the example I provided was the JavaScript bootStrap, below is an example of the call we use to track an event _paq.push(['trackEvent', 'Category', 'Action', 'name', 12225057); |
It seems this a restriction in the database with the MySQL says in their documentation @mattab not sure if we want to change the column type as part of Matomo 4? |
Can't remember now why we picked Float 🤔 |
I'll put it into Matomo 4 |
We have encountered an issue with TrackEvent, when you send an event value like 12225057, the value is becoming 12225100 on matomo dashboard.
When you send an event value like 719 then it is recorded correctly.
The text was updated successfully, but these errors were encountered: