sourceTrafficVersion
Property name typoThe property name is
sourceTrafficVesion(missing therin "Version"). The typo is part of the public API and is preserved for backward compatibility. The Swift and Objective-C names are the same.
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 value used for analytics attribution. Default: SDK-defined. Don't change this value unless instructed by Piwik PRO support or official documentation.
Notes
- The
Vesionspelling is intentional. Renaming the property would be a breaking API change.
Related methods
Updated 2 months ago
Did this page help you?