You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To capture events manually, you have to capture an event called $autocapture with the following properties:
ElevatedButton(
onPressed: () {
Posthog()
.capture(eventName:'\$autocapture', properties: {
'\$event_type':'touch',
'\$touch_x':100, // read the position '\$touch_y':100, // read the position
});
},
child:constText("Capture touch event"),
),
The goal would be to do that automatically instead of calling capture manually in every single widget.
The problem is that heatmaps is only available via the toolbar (Web only), so you'd not be able to see the heatmaps for Mobile yet anyway, this would be a feature request, Heatmaps for Mobile in general.
The suggested approach would be useful anyway since more events would be captured automatically instead of manually.
Description
https://posthog.com/docs/toolbar/heatmaps
We'd need to create a Widget wrapper that tracks and captures every interaction such as clicks, etc.
You can manually do this though, by capturing events manually.
The text was updated successfully, but these errors were encountered: