Plugin Analytics
This plugin relies on Orama Cloud (free plan).
Installation
First of all, install it via npm (or any other package manager of your choice):
Then, add it to your Orama configuration:
Disabling Analytics
By default, Orama is shipped without analytics plugin. If you want to enable it, you need to explicitly add it to your configuration as described above.
Anyway, you can disable it by passing enabled: false
to the pluginAnalytics
function in your configuration, like this:
This flag is useful when you want to disable analytics in development environment, for example.