In my quick testing, I noticed that the SDK documentation would be correct, and the header file untrue. Additionally, I noticed that setting the appName property affected the domain part of the screen tracking urls. Similarly to how the applicationDomain property behaves in the Android SDK.
The
PiwikTracker.h
header file (https://github.com/PiwikPRO/piwik-pro-sdk-framework-ios/blob/1.0.6/PiwikPROSDK.framework/Headers/PiwikTracker.h#L189) mentions that the value of theappName
property will be sent as the custom variable in index 2. On the other hand, the SDK documentation https://developers.piwik.pro/en/latest/sdk/Piwik_PRO_SDK_for_iOS.html#default-custom-variables that the custom variable at index 2 will be populated with the system version. It is confusing that the different pieces of documentation contradict each other.In my quick testing, I noticed that the SDK documentation would be correct, and the header file untrue. Additionally, I noticed that setting the
appName
property affected the domain part of the screen tracking urls. Similarly to how theapplicationDomain
property behaves in the Android SDK.