Home / All Integrations / Amplitude Analytics

Connect Amplitude Analytics to your chatbot

Send events to Amplitude Analytics


Requirements

In order to use this library, you need to create an Amplitude account and retrieve an API key.

Parameters

  • events must be an array of valid event objects
  • methods defaults to "sendEvents" and can be ommitted

Example

do events = [
  {
    "user_id": "can_be_any_string",
    "event_type": "flow1-step1"
  },
  {
    "user_id": "can_be_any_string",
    "event_type": "flow1-step2"
  }
]
do Fn("amplitude", method="sendEvents", events=events)

For more information about the event object, refer to: https://developers.amplitude.com/docs/batch-event-upload-api#event

Discover similar integrations:

Google Analytics

Many more integrations are coming!

If you have a cool integration in mind, drop us an email on contact@csml.dev and tell us all about it!

Many of our 44 currently available integrations come directly from your suggestions!

Join the Community
on Slack Slack

Come and learn all about CSML with other chatbot enthusiasts on the Slack CSML Community! ūü§ó