Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stackql/docusaurus-plugin-smartlook

A plugin which adds your Smartlook tracking code to your docusaurus site.
https://github.com/stackql/docusaurus-plugin-smartlook

docusaurus docusaurus-v2 javascript plugin react smartlook

Last synced: 2 months ago
JSON representation

A plugin which adds your Smartlook tracking code to your docusaurus site.

Awesome Lists containing this project

README

        

# docusaurus-plugin-smartlook
> Plugin to enable Smartlook with Docusaurus

## Installation

NPM

```bash
npm i docusaurus-plugin-smartlook
```

YARN

```bash
yarn add docusaurus-plugin-smartlook
```

## Setup

Add to `plugins` in `docusaurus.config.js`:

```js
{
plugins: [
'docusaurus-plugin-smartlook',
...
]
}
```

Add your Smartlook `projectKey` to `themeConfig` in the `docusaurus.config.js` file:

```js
{
themeConfig: {
smartlook: {
projectKey: SMARTLOOK_PROJECT_KEY,
},
...
}
}
```