poitch / dart-matomo

A Dart Matomo Client
MIT License
20 stars 39 forks source link

Update track event to follow api requirements #35

Open mootw opened 3 years ago

mootw commented 3 years ago

Event category is required, name is optional, value can be num instead of int.

The current implementation has a widgetName parameter that is "optional", That is tied to the category value, which it is actually required by the matomo api otherwise event tracking does not work properly, see the documentation.

This change is API breaking.

glettl commented 1 year ago

Would be nice to see this fixed. Took me hours to find the reason for the missing events in Matomo