Analytics, Bug Tracking, and Licensing

This is a pretty big list of features, so let's get started with deciding on whether we need This chapter provides essential information for developers who want to monitor Electron applications in production, track errors and crashes, analyze a real-time user base, and much more. In this chapter, you are going to walk through the processes of integrating with third-party analytics services, raising custom events, and wiring your Electron applications with license checks. We are also going to send notifications to installed copies of our application across all major desktop platforms.

By the end of this chapter, you will have an Electron project with tracking support integrated. You will also be able to generate some statistics and tracking information for demonstration purposes. As part of the practical exercise in this chapter, you are going to integrate with the third party service and get the Nucleus service subscription, which is free for the first month, so that you can collect and inspect the analytics data. The estimated project build time is three hours.

In this chapter, we will cover the following topics:

  • Understanding analytics and tracking
  • Creating your own solution or using an existing service
  • Using Nucleus for Electron applications
  • Creating a new Nucleus account
  • Creating a new project with tracking support
  • Installing the Nucleus Electron library
  • Inspecting real-time analytics data
  • Disabling tracking per user request
  • Verifying real-time user statistics
  • Supporting offline mode
  • Handling application updates
  • Loading global server settings
  • License checking and policies

This is a pretty big list of features, so let's get started with deciding on whether we need analytics and whether we need to build all the features ourselves.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.9.236