Skip to content

Commit 53f26fb

Browse files
authored
Merge pull request #5742 from segmentio/vanand17-patch-10
Update incrementing proeprties doc in Mixpanel
2 parents 6e749a2 + 4ebf190 commit 53f26fb

File tree

1 file changed

+10
-1
lines changed
  • src/connections/destinations/catalog/mixpanel

1 file changed

+10
-1
lines changed

src/connections/destinations/catalog/mixpanel/index.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,16 @@ Remember, Segment sends one event per `page` call.
418418
419419
### Incrementing properties
420420

421-
To increment at the property level, tell Segment which properties you want to increment using the **Properties to increment** setting and Segment calls Mixpanel's `increment` for you when you attach a number to the property (for example, `'items purchased': 5`)
421+
To increment at the property level, tell Segment which properties you want to increment using the **Properties to increment** setting and Segment calls Mixpanel's `increment` for you when you attach a number to the property. For example, you need to increment the following property:
422+
423+
```javascript
424+
analytics.track('Event Name', {
425+
feedback_day_number: 1
426+
}
427+
);
428+
```
429+
430+
Enter the `propertyname: _feedback_day_number_` in the destination settings. The property value now increases from 1.
422431

423432
### Reset Mixpanel Cookies
424433

0 commit comments

Comments
 (0)