Partners / Integrations

Connect all the things! Here is what we’ve got so far.

../_images/heroku_logo.png

Keen IO is live in the Heroku add-on marketplace! Now you can track events in your Heroku apps using the Keen IO addon.

$ heroku addons: add keen
../_images/stripe_logo.png

Stripe is great payment processing API. Their awesome webhooks make it super easy to get your Stripe event data into Keen IO. Here’s a 1 min video guide.

Our Stripe Recipes show you how to make revenue growth line charts and other fun stuff!

Integration with Stripe is just four easy steps:

  1. Login to Keen IO and copy your Project ID and Write Key.
  2. Login to Stripe and head over to your Account Settings. Select the Webhooks tab and click the “Add URL” button.
  3. Construct your webhook URL. Since Stripe already sends payment events in JSON form, integration is simple. We simply need to give them a URL to send the events to. The URL will look like this:
https://api.keen.io/3.0/projects/<keen_project_id>/events/Stripe_Events?api_key=<write_key>
  1. Set the Mode to Live.

That’s it! Now, as your events happen in Stripe they will be posted to Keen IO in a new collection, appropriately called “Stripe_Events”.

../_images/sendgrid_logo.png

SendGrid’s cloud-based email infrastructure relieves businesses of the cost and complexity of maintaining custom email systems.

Using the Keen IO platform and SendGrid’s Event Webhooks, you can easily pull and store all of your email event information. From here, you can use our Data Analysis APIs and Data Visualization tools to pull all of the relevant data into your dashboard.

Cool? Let’s get started.

  1. Login to Keen IO and copy your Project ID. We recommend storing events in the same Keen IO project you already use for your app, not a separate one.
  2. Login to SendGrid and make you way over to your apps page. Locate and activate the Event Notification App. And, in the settings, select the events you want to post to Keen IO (why not all?), check “Batch event notifications”, and enter the Post Event URL:
https://api.keen.io/3.0/projects/<keen_project_id>/partners/sendgrid/versions/v3?api_key=<api_write_key>

If you’re using Version 1 or 2 of the Event API, use this as your Post Event URL instead:

https://api.keen.io/3.0/projects/<keen_project_id>/partners/sendgrid/versions/v2?api_key=<api_write_key>

That’s it! Now, as your emails make their way through SendGrid, all of the event information will be posted to Keen IO. A new Event Collection, aptly named “Sendgrid Email Events”, will be created within your project.

SendGrid’s complete Event Notification Application documentation is available here.

Note

To get the full benefit of Events, you’ll also need to make sure that you’ve enabled SendGrid’s Open Tracking App and Click Tracking App.

The SendGrid Event Webhooks Documentation is a great resource on SendGrid email events. As you start to do more analysis, it’s worth a read. You can even skip a lot of the sections, because we’ve done much of the work for you.

Note

A few notes on the event properties, though:

  • keen.timestamp - UTC timestamp for when the event was posted to Keen IO.
  • timestamp - Unix timestamp passed to Keen IO from SendGrid. It’s the number of seconds since Epoch (January 1, 1970).
  • category - Because your emails can have multiple categories, we store this value as an array.

There’s a great demo page of SendGrid and Keen IO integration here.

You also might want to check out SendGrid’s blog post on extracting and analyzing event data with Keen IO.

../_images/datahero_logo.png

Data Hero makes it super easy to turn data into cool visualizations - no coding required! This is a really handy way to explore your Keen IO data, especially for non-devs.

Just extract a CSV from the Keen IO workbench, upload into Data Hero, and you’ll be able to point and click your way to really cool charts in no time!

Check out this guide: Analyzing Keen IO Events in DataHero

../_images/stackmob_logo.png

The StackMob platform helps developers build mobile apps. Add Keen IO to your app today!

Find us in the StackMob module marketplace!

../_images/openshift_logo.png

Check out the Keen IO quickstart for OpenShift.

So, what are you waiting for? It only takes a few minutes and a few lines of code to start collecting the events that really matter to you.

Sign Up Free