added iOS source code
[wl-app.git] / iOS / Pods / MatomoTracker / MatomoTracker / CustomDimension.swift
1 import Foundation
2
3 /// For more information on custom dimensions visit https://piwik.org/docs/custom-dimensions/
4 public struct CustomDimension {
5     /// The index of the dimension. A dimension with this index must be setup in the Matomo backend.
6     let index: Int
7     
8     /// The value you want to set for this dimension.
9     let value: String
10     
11     public init(index: Int, value: String) {
12       self.index = index
13       self.value = value
14     }
15 }