Solved

Store analytics data offline while using Browser SDK in an electron app

  • 16 February 2023
  • 2 replies
  • 265 views

Hi all. I have a use case where we have an electron based application running in Ubuntu. Electron app has a frontend on Angular and we want to track UI/UX analytics. 

We are thinking of integrating the TypeScript Browser SDK and wanted to ask how to store the info locally since the device is mostly never connected to the Internet but when it does we want to send the data. Any help would be highly appreciated in this matter. Thanks 

icon

Best answer by Saish Redkar 17 February 2023, 18:30

View original

2 replies

Userlevel 6
Badge +9

Thanks for posting here @RahulRaj97. I was able to find this related post that might help along with the relevant section of our developer docs. Keep us posted as you work towards a solution or if you need more help.

 

Userlevel 7
Badge +10

Hey @RahulRaj97 

You can refer to this post for a discussion on offline data

Quoting from this - “If a user is not connected to the internet, the SDKs will queue them locally and try resending them until they are reconnected to the internet. I believe the SDK will store up to 1000 events during offline mode. “

Reply