trackOutlink

The trackOutlink() method records clicks on links to external websites or apps (different domains).

Syntax

await FlutterPiwikPro.sharedInstance.trackOutlink('outlink');

Parameters

outlink (string, required)

The outlink. Example: https://example.com.

Examples

To track an outlink to https://example.com:

await FlutterPiwikPro.sharedInstance.trackOutlink('https://example.com');