Is it possible to track the click count after called Branch.initSession() ?
Hello community, I just intergrated Branch in my app, and I was wondering how to do the click counting for my app. For example, I created a deep link, shared it on facebook, and next time when I logged in, opened my app, I wanna know how many people clicked my link. I noticed that I could check that in the dashboard, but is it possible to track the click count after called Branch.initSession(), in the callback function? Or I can use other function to get the counting of the clicks for my specific link?
Hi – thanks for posting the question.
As you mentioned, clicks on a Branch link can be seen on the Branch dashboard. When the app is installed/opened by a Branch link, that information is also available on the dashboard. If you’d like to track other events within the app, you can do so as well using the custom events tracking: https://dev.branch.io/cross-channel-analytics/user-value-attribution/#custom-event-tracking
Ideally, since the click happens outside the app, it cannot be accurately measured inside the app. Let us know if there is a specific use-case for your requirement and we’d be happy to help. For any technical queries, please reach out to our integrations team here.