includeDefaultCustomVariable
The includeDefaultCustomVariable() method turns on or off fetching device type, OS version and app version from the device. It is turned on by default.
Syntax
[PiwikTracker sharedInstance].includeDefaultCustomVariable = isFetched;
Parameters
isFetched (boolean, required)
Whether device type, OS version and app version are fetched from the device. True: is fetched. False: is not fetched.
Examples
To turn off automatic fetching of device type, OS version and app version from the device:
[PiwikTracker sharedInstance].includeDefaultCustomVariable = NO;
Notes
- If
includeDefaultCustomVariable = YES
is set, indexes 1-3 are used to track device type, OS version and app version as custom variables.
Related methods
Updated 6 days ago