How do I do attribute mobile app purchases to paid mobile-web advertising?
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
- 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"])
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.
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.