Mixpanel
Mixpanel is a product analytics tool that helps you track user interactions and behaviors in your app or website to make data-driven decisions.
Categories: Analytics
Type: mixpanel/v1
Connections
Version: 1
Basic Auth
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| username | Username | STRING | true |
Connection Setup
- Login to the dashboard at https://eu.mixpanel.com/login/.
- Click on Settings.
- Select Settings and then click on Project Settings.
- Under Access Keys section, copy the Project Token. Use these credentials to create a connection in ByteChef.
Actions
Track Events
Name: trackEvents
Send batches of events from your servers to Mixpanel.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| events | Events | ARRAY Items[{STRING(event), DATE_TIME(time), STRING(distinct_id), STRING($insert_id)}] | A list of events to be sent to Mixpanel. | true |
Example JSON Structure
{
"label" : "Track Events",
"name" : "trackEvents",
"parameters" : {
"events" : [ {
"event" : "",
"time" : "2021-01-01T00:00:00",
"distinct_id" : "",
"$insert_id" : ""
} ]
},
"type" : "mixpanel/v1/trackEvents"
}Output
Type: OBJECT
Properties
| Name | Type | Description |
|---|---|---|
| code | INTEGER | |
| num_records_imported | INTEGER | |
| status | STRING |
Output Example
{
"code" : 1,
"num_records_imported" : 1,
"status" : ""
}Find Distinct ID
To find the Distinct ID, click here.
Find Insert ID
To find the Insert ID, click here.
What to do if your action is not listed here?
If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.
To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.
Additional Instructions
How to find Distinct ID
Open the Mixpanel dashboard. On the left bar, go to Data/Users. Choose the user you want to use, click on the user and below the name, you will find Distinct ID.
How to find Insert ID
Open the Mixpanel dashboard. On the left bar, go to Data/Events. Choose the event you want to use, click on the event and in the table you will find Insert ID.
How is this guide?
Last updated on
MistralAI
Open, efficient, helpful and trustworthy AI models through ground-breaking innovations.
Modular RAG
A modular RAG (Retrieval-Augmented Generation) component that provides a flexible and customizable approach to building RAG systems. It allows you to combine different retrieval, augmentation, and generation strategies into a cohesive pipeline for enhanced AI-driven information processing and response generation.