Mixpanel

Powerful, self-serve product analytics to help you convert, engage, and retain more users

Integrate the Mixpanel API with the Formatting API

Setup the Mixpanel API trigger to run a workflow which integrates with the Formatting API. Pipedream's integration platform allows you to integrate Mixpanel and Formatting remarkably fast. Free for developers.

mixpanel.track with the Mixpanel API

Send an event to mixpanel

 
Try it
[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it

Overview of Mixpanel

Mixpanel is a powerful analytics API that allows you to track, analyze, and
engage with your users. With Mixpanel, you can build a variety of applications
and services, including:

  • A user analytics platform, for tracking user behavior and engagement
  • A marketing platform, for segmenting users and delivering targeted messages
  • A customer support platform, for tracking customer issues and resolving them
    efficiently
  • A product management platform, for tracking product usage and understanding
    how users interact with your product

Connect Mixpanel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    mixpanel: {
      type: "app",
      app: "mixpanel",
    }
  },
  async run({steps, $}) {
    const data = `data={
      "event": "Pipedream test event",
      "properties": {
        "token": "${this.mixpanel.$auth.token}"
      }
    }`
    
    return await axios($, {
      method: "post",
      url: `https://api.mixpanel.com/track#live-event`,
      headers: {
        "Content-Type": `application/x-www-form-urlencoded`,
      },
      data,
    })
  },
})

Connect Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})