How do I do attribute mobile app purchases to paid mobile-web advertising?

How would I do mobile web to mobile app tracking?
For instance, if a new reg user came from a paid source to mobile web, but then converted into a purchase later on mobile app, how would we attribute that mobile app install and purchase back to the original paid source?
Zenmarketing — Other
2 Answer(s)
Answered on May 13, 2016.

Hi Nick,


Great question! Branch actually lets you do that pretty easily. All you have to do is enable and use custom event tracking. You can define your own post-install events for Branch to track, and view them in the dashboard.

In addition the default Branch events, you can track any custom user action you wish. Examples of what you may want to track:

  • Account creation / signup
  • Add to cart
  • Purchase
  • Creating content inside the app (e.g. posting a photo, video, or comment)
  • Sharing a piece of content outside of the app

Recording a custom event in your app is accomplished via a simple call to the SDK:


You can also include additional information when creating a custom event:

  Branch.getInstance().userCompletedAction("purchase", withState: ["item" : "123-AB-456"])

You can see data for one custom event at a time in the dashboard by using the dropdown picker above Marketing and Source Analytics data.

Branch dashboard

Custom events columns on these pages show total events count and events %, where the percentage is total events over total Branch-referred app sessions (installs + re-opens). You can see these metrics for individual links, campaigns, channels, tags, stages, and features.

Branch dashboard

There’s no hard limit to tracking custom events data, but Branch will only allow you to see your first 100 custom events in the Branch dashboard. Most apps track 5-10 of the most important custom events they care about.

You can also see custom events as they occur on the Live View > Events page.

Live View Events

Mobile Growth Community — Marketer
Commented on May 13, 2016.

Thanks!  Could I then export all of my purchase events by channel/source via the API ?

Zenmarketing — Other
Commented on May 14, 2016.

Yep, you can use webhooks or the export functionality for that.

Mobile Growth Community — Marketer
Answered on May 16, 2016.

You can also use a product like MoEngage to track user actions from the source of install all the way through to purchase.

MoEngage — Marketer