sendOutlink

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

Syntax

[[PiwikTracker sharedInstance] sendOutlink:@"outlink"];

Parameters

outlink (string, required)

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

Examples

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

[[PiwikTracker sharedInstance] sendOutlink:@"https://example.com"];