O'Reilly logo

React Native Cookbook by Crysfel Villa, Stan Bershadskiy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tracking application events with Facebook Analytics

Keeping track of what users do while active in your application is an important bit of functionality to have. Metrics and analytics will help you understand which areas of your application may need more focus to develop and enhance. Facebook provides an entire platform for this to use in app development named Facebook Analytics. We can register our application using the Analytics dashboard to track engagements and analyze important metrics, such as sharing, purchases, and any custom events you may define.

This recipe will hook our sample application into Facebook Analytics and begin firing launch events, as well as a few custom events when we share information.

Getting ready

For this recipe, we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required