-
Notifications
You must be signed in to change notification settings - Fork 466
Open
Description
I want track events in Electron app. Events must be tracked in both - main process and in renderer.
I have API for that on main process side that have node environment.
The docs says about @rybbit/node:
The Rybbit constructor will throw an error if required configuration options (analyticsHost, siteId, apiKey) are missing or invalid.
Why I should pass a secret API key for @rybbit/node?
In case i would do that, user could find and use this secret API key. Because it is client side desktop app.
Meanwhile @rybbit/js do not require API key and still can send requests. But this package is expects a Browser environment as i understood, so it would not work in main process.
Is there problem with docs or a logical bug?
Metadata
Metadata
Assignees
Labels
No labels