Heap for iOS

Heap launched a couple months ago with a new approach to user analytics: just capture everything. It lets businesses conduct event-based analytics without having to ship code or wait for data to trickle in.

Now we’re ready to bring Heap to native iOS apps.

Mobile analytics for iPhone and iPad can be particularly egregious. If you haven’t explicitly tagged the “invite friend” event, for instance, but you need to analyze what type of users most often invite their friends, then you’re forced to:

  1. Hunt down and manually instrument the “invite friend” event within your Objective-C code.
  2. Submit updated code for App Store approval.
  3. Wait.
  4. Wait.
  5. Once the app is pushed live, wait some more for data to accumulate on the tracked event.
  6. Finally ask your question.

Heap for iOS, on the other hand, automatically captures native interactions such as taps and swipes, so that the process above reduces to “ask your question”.

How it Works

To integrate Heap into an iOS app, just add our library package.


Once the newly-updated project is shipped, Heap will automatically capture all touch events and gestures on all user sessions, even if the user is offline.

To define an event after-the-fact, all you need to do is specify a gesture type and the corresponding UIView instance variable.


The event applies retroactively to all the past user activity within Heap. You can include it in funnels or segment on it, as if you had defined it from the very beginning.


We’ve been especially relentless in keeping the footprint of our iOS library low. CPU and memory activity remains negligible, even in apps with frantic user input (such as games). We also preserve bandwidth by batching user activity and only periodically sending data over the wire.

Request an Invite

Heap is in invite-only mode. To request an invite for the iOS library, just send us your email below. Update: Heap is now available for iOS! Get it at https://heap.io.

Folks who tweet us @heap have been known to get advance invites. 🙂

We hope Heap for iOS makes mobile analytics much easier for you, so that you can focus more time on development and marketing. As always, drop us a line for any feedback or ideas.