matomo-org / matomo-sdk-ios

Matomo iOS, tvOS and macOS SDK: a Matomo tracker written in Swift
MIT License
388 stars 164 forks source link

Expose visit scope customer variables #21

Closed mattiaslevin closed 10 years ago

mattiaslevin commented 11 years ago

Expose a method to set visit scope variables.

Piwik documentation http://piwik.org/docs/custom-variables/

Current the SDK sets the app name and version is set using custom variables. Allow the dev to turn this off in order to access all 5 custom variable slots. Should this be default on or off?

Investigation if the visit scope params can be sent in each tracking request for the same session of if we need to same the cookie generated by the Piwik server and send in subsequent requests (try to avoid the cookie).

mattiaslevin commented 10 years ago

Fixed. You can now both turn off the default visit customer variables as well as set your own.