@orama/plugin-analytics
v3.0.1
Published
Orama plugin for providing analytics data on your searches
Downloads
2,848
Readme
Orama Analytics Plugin
Official plugin to provide analytics data on your searches.
Usage
For the complete usage guide, please refer to the official plugin documentation.
To use the Orama Analytics Plugin, you will need to sign up for a free account at https://cloud.orama.com
import { create, insert, search } from '@orama/orama'
import { pluginAnalytics} from '@orama/plugin-analytics'
const db = await create({
schema: {
title: 'string',
description: 'string'
},
plugins: [
pluginAnalytics({
apiKey: '<API-KEY>',
endpoint: '<ENDPOINT>'
})
]
})
For the full configuration guide of this plugin, please follow the official plugin documentation.