sourceTrafficVersion
Property name typoThe Objective-C property name is
sourceTrafficVesion(note: missing r). This typo is part of the public API and is kept for backward compatibility. The Swift name is the same. Prefer your IDE’s symbol completion over typing the name from this page.
The sourceTrafficVesion property is the traffic-source version string the SDK adds to analytics tracking. It is used inside the SDK for traffic attribution. Keep the default the SDK sets unless Piwik PRO support or official documentation explicitly asks you to change it. That default is a fixed value shipped in the SDK, not a value your app reads from its own Info.plist.
Syntax
PiwikTracker.sharedInstance()?.sourceTrafficVesion = version[PiwikTracker sharedInstance].sourceTrafficVesion = version;Parameters
- sourceTrafficVesion
string. SDK-defined default. Not intended for routine customization.
Notes
- Renaming the property would be a breaking change; the
Vesionspelling is intentional to preserve the API.
Related methods
Updated 15 days ago