Closed purbojati closed 1 year ago
I was trying this all day long and the groups still not coming into Groups Tab. What's wrong? Please help. Thanks!
sendEnvent(String eventName, [Map<String, dynamic>? properties]) { properties ??= {}; properties['platform'] = Platform.isAndroid ? "android" : "ios"; Posthog().group( groupType: 'Bisnis', groupKey: global.bussinessId, groupProperties: {'nama': 'cobacoba'}); Posthog().capture(eventName: eventName, properties: properties); }
@ahmadadzan Can you check if your SDK init. is correct? docs is here.
Try to enable the Posthog().debug(true)
flag and copy-paste the logs, so we can check what's going on.
Are you testing on Android or iOS?
Is the Posthog().capture(...)
event at least appearing on PostHog dashboards?
@purbojati any feedback?
@marandaneto No, unfortunately :( We are still using Posthog for event tracking, just that not Group analytics.
Ok, since I mentioned this is already possible, let me know if you find any issues.
There is no Flutter guideline in Posthog documentation.