sourceTrafficName

The sourceTrafficName property is the traffic-source name the SDK adds to analytics tracking. It is used inside the SDK for traffic attribution. Keep the default ("ios") unless Piwik PRO support or official documentation explicitly asks you to change it.

Syntax

PiwikTracker.sharedInstance()?.sourceTrafficName = name
[PiwikTracker sharedInstance].sourceTrafficName = name;

Parameters

  • sourceTrafficName string. Default "ios". Not intended for routine customization.

Related methods