https://github.com/netsells/nuxt-vwo
Nuxt VWO Module
https://github.com/netsells/nuxt-vwo
Last synced: about 1 month ago
JSON representation
Nuxt VWO Module
- Host: GitHub
- URL: https://github.com/netsells/nuxt-vwo
- Owner: netsells
- License: mit
- Created: 2021-06-09T18:36:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T10:35:07.000Z (almost 4 years ago)
- Last Synced: 2024-04-25T22:21:11.454Z (about 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt VWO [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url]
> Add VWO to your nuxt.js application.**Note:** VWO is not enabled in dev mode.
You can set environment variable `NODE_ENV` to `production` for testing in dev mode.
## Setup
- Add `@netsells/nuxt-vwo` dependency using yarn or npm to your project
- Add `@netsells/nuxt-vwo` to `modules` section of `nuxt.config.js````js
modules: [
['@netsells/nuxt-vwo', {
accountId: 1234,
settingsTolerance: 1234, // Optional
libraryTolerance: 1234, // Optional
}],
]
```## Options
### `accountId`
- Required
- VWO Account ID### `settingsTolerance`
- VWO `settings_tolerance` value
- Default: `2000`### `libraryTolerance`
- VWO `library_tolerance` value
- Default: `5000`## License
MIT © [Netsells](https://netsells.co.uk)
[npm-image]: https://badge.fury.io/js/%40netsells%2Fnuxt-vwo.svg
[npm-url]: https://npmjs.org/package/@netsells/nuxt-vwo
[travis-image]: https://travis-ci.org/netsells/nuxt-vwo.svg?branch=master
[travis-url]: https://travis-ci.org/netsells/nuxt-vwo
[daviddm-image]: https://david-dm.org/netsells/nuxt-vwo.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/netsells/nuxt-vwo
[coveralls-image]: https://coveralls.io/repos/netsells/nuxt-vwo/badge.svg
[coveralls-url]: https://coveralls.io/r/netsells/nuxt-vwo