Hi,
I am developing a flutter web application.
I am tracking events using the flutter sdk version 3.14.0. The events are tracked and work.
The issue is with event properties: they are not tracked. The JSON sent does not contain them.
Here is how I track an event:
Amplitude.getInstance("instance_name").logEvent(<br /> "activity_create",<br /> {<br /> "activity_type": type.toString(),<br /> },<br /> null,<br /> null,<br /> false,<br />);
It looks a little bit different than the guide but that is because the code in the guide is outdated - using
analytics.logEvent('MyApp startup', eventProperties: {<br /> 'friend_num': 10,<br /> 'is_heavy_user': true<br /> });
throws compile errors.
Any idea on what might be wrong?