"Mixpanel" (Service Connection)
Connect to the Mixpanel analytics platform using the Wolfram Language to extract and analyze data on user interaction with web and mobile applications.
Connecting & Authenticating
Requests
Annotations
"ListAnnotations" — get the annotations list made for the given date range
"DateWindow" | None | date range; accepts Quantity objects or strings (e.g. "two weeks") |
"AddAnnotation" — create a new annotation at a specific date
"Date" | (required) | annotation date | |
"Description" | (required) | the description of the annotation |
"UpdateAnnotation" — update an annotation with a new date and description
"AnnotationID" | (required) | the ID of the annotation to update | |
"Date" | (required) | updated annotation date | |
"Description" | (required) | the updated description of the annotation |
Events
"Events" —get unique, total, or average data for a set of events over a period of time
"Event" | (required) | the event or events to get data for | |
"Type" | General | analysis type ("General", "Unique", "Average") | |
"DateWindow" | {DatePlus[Today,-30],"Days"} | date range; accepts Quantity objects or strings (e.g. "two weeks") |
Event Types
"EventTypes" — get a list of the most common events over the last 31 days
"Type" | General | analysis type ("General", "Unique", "Average") | |
MaxItems | 255 | maximum number of items to return |
Top Events
"TopEvents" — get the top events for today, with their counts and the normalized percent change from yesterday
"Type" | General | analysis type ("General", "Unique", "Average") | |
MaxItems | 100 | maximum number of items to return |
Event Properties
"Properties" — get unique, total, or average data for a single event and property over a period of time
"Event" | (required) | a single event to get data for | |
"Property" | (required) | the name of the property to get data for | |
"Type" | General | analysis type ("General", "Unique", "Average") | |
"DateWindow" | {DatePlus[Today,-30],"Days"} | date range; accepts Quantity objects or strings (e.g. "two weeks") | |
MaxItems | 255 | maximum number of items to return | |
"Values" | All | property values to retrieve data for |
Top Properties
"TopProperties" — get the top property names for an event
"Event" | (required) | event name to query | |
MaxItems | 10 | maximum number of items to return |
Property Values
"PropertyValues" — get the top values for a property
"Event" | (required) | event name to query | |
"Property" | (required) | property name to query | |
MaxItems | 10 | maximum number of items to return | |
"Bucket" | None | specific data bucket to query |
Funnels List
"Funnels" — get the names and IDs of funnels
Funnel
"Funnel" — get data for a funnel
"FunnelID" | (required) | funnel ID to query | |
"DateWindow" | {DatePlus[Today,-30],Today,"Days"} | date range; accepts Quantity objects or strings (e.g. "two weeks") | |
"CompletionDeadline" | (required) | the number of days each user has to complete the funnel, starting from the time they triggered the first step in the funnel; may not be greater than 60 days |