getVisitorIDLifetime

The getVisitorIDLifetime() method returns the current visitor ID lifetime in milliseconds. A value of 0 means the visitor ID never expires.

Syntax

await FlutterPiwikPro.sharedInstance.getVisitorIDLifetime();

Returns

The current visitor ID lifetime in milliseconds.

Type: number

Examples

To get the visitor ID lifetime:

final int lifetime = await FlutterPiwikPro.sharedInstance.getVisitorIDLifetime();

Related methods