Hi guys! I'm working on a tag for Mixpanel that for the mapped variables uses a standard destination called people.increment. that basically counts specific events and attributes them to a user profile. This counter depends on a variable we send (for example category_level2). What I'm trying to do is setting a variable output to the destination that depends directly on category_level2. I've tried sending: mixpanel_increment --> people.increment.Did something in <category_level2> (where variable mixpanel_increment is set to 1) and also tried using a lookup table that sets category_level2 to a variable count_category "Did something in X category" and then setting this variable to count_category --> people.increment.count_category but neither are working. Is there a way to call a variable on the string or setting a variable to the destination people.increment.? If so, what would be the sintaxis and if not, what could be a way to work around this? Here are some examples of the usage of people.increment: // If no number is passed, the default is to increment by 1
mixpanel.people.increment("games played");
// You can also pass a number to increment
// Here we add 500 the user's point count
mixpanel.people.increment("points earned", 500);
// Pass an object to increment multiple properties
mixpanel.people.increment({
"dollars spent": 17,
// Subtract by passing a negative value
"credits remaining": -34
}); Thanks in advance. Best, Gabriel
... View more