31
31
piwikTracker.setCustomVariable(
32
32
2, // Index, the number from 1 to 5 where this Custom Variable name is stored
33
33
"device", // Name, the name of the variable, for example: Gender, VisitorType
34
"mobile", // Value, for example: "Male", "Female" or "new", "engaged", "customer"
34
"app", // Value, for example: "Male", "Female" or "new", "engaged", "customer"
35
35
"visit" // Scope of the Custom Variable, "visit" means the Custom Variable applies to the current visit
37
37
piwikTracker.trackPageView();