mccsoft / react-native-matomo

Matomo wrapper for React-Native. Supports Android and iOS. Fixed issues for native platforms build that are present in the official package.
MIT License
7 stars 2 forks source link

[Feature request] Add `resetUserId` to API #3

Open svdo opened 1 year ago

svdo commented 1 year ago

Hi,

Thanks for providing this module, it is rather convenient. The official Matomo API is of course richer than this wrapper, that's OK. There is one function specifically that I miss however: resetUserId. Would you be interested in adding this so that we can also handle situations where a user logs out? See also: https://developer.matomo.org/guides/tracking-javascript-guide#when-user-logs-out-reset-user-id.

Thank you!

mav10 commented 1 year ago

@svdo thanks for feedback. Yep I'll try to add it this week