trackScreen

The trackScreen() method records a screen view on your mobile app. The screen view is similar to the page view on a website.

Syntax

await FlutterPiwikPro.sharedInstance.trackScreen(screenName: "path");

Parameters

screenName (string, required)

The path set for your screen. Example: example/welcome.

Examples

To send a screen view with the path example/welcome:

await FlutterPiwikPro.sharedInstance.trackScreen(screenName: "example/welcome");