Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Electron Projects

You're reading from   Electron Projects Build over 9 cross-platform desktop applications from scratch

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher Packt
ISBN-13 9781838552206
Length 436 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Denys Vuika Denys Vuika
Author Profile Icon Denys Vuika
Denys Vuika
Philipp Langhans Philipp Langhans
Author Profile Icon Philipp Langhans
Philipp Langhans
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Building Your First Electron Application 2. Building a Markdown Editor FREE CHAPTER 3. Integrating with Angular, React, and Vue 4. Building a Screenshot Snipping Tool 5. Making a 2D Game 6. Building a Music Player 7. Analytics, Bug Tracking, and Licensing 8. Building a Group Chat Application with Firebase 9. Building an eBook Editor and Generator 10. Building a Digital Wallet for Desktops 11. Other Books You May Enjoy

Verifying real-time user statistics

In this section, we are going to verify that our real-time user statistics are getting updated on the fly. Follow these steps to do so:

  1. Shut down your Electron application and wait for about a minute. It may take some time for these changes to be propagated. Sometimes, you need to wait for a minute, but sometimes waiting a few seconds will be enough. Be patient and give the backend server time to organize the data.
  2. Switch back to the Analytics tab and reload the page. You should see the updated data. In our case, the Real-time users chart shows zero, as shown in the following screenshot:

This makes perfect sense as we have just unloaded the application. Note, however, that our session is still present in other charts:

  • 24h users: 1
  • 24h new users: 1
  • 24h sessions: 1

Now, you can track real-time usage of your Electron application. However,...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime