Partners / Integrations¶
Connect all the things! Here is what we’ve got so far.
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
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:
- Login to Keen IO and copy your Project ID and Write Key.
- Login to Stripe and head over to your Account Settings. Select the Webhooks tab and click the “Add URL” button.
- 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:
- 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”.
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.
- 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.
- 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:
If you’re using Version 1 or 2 of the Event API, use this as your Post Event URL instead:
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.
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.
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.
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
The StackMob platform helps developers build mobile apps. Add Keen IO to your app today!
Find us in the StackMob module marketplace!
Check out the Keen IO quickstart for OpenShift.