delacon-nuxt
v1.0.2
Published
Delacon script for Nuxt project
Downloads
31
Readme
delacon-nuxt
A wrapper of Delacon's call tracking script to swap number immediately when /?gclid=xx
is detected in the address bar.
Setup
- Add
delacon-nuxt
dependency to your project
npm install delacon-nuxt
or
yarn add delacon-nuxt
- Add
delacon-nuxt
to themodules
section ofnuxt.config.js
{
modules: [
['delacon-nuxt', {
mid: 598,
cid: ['xxxxx']
}]
]
}
Options
mid
(required)
The MID provided by Delacon
- Type:
Integer
cid
(required)
The CID provided by Delacon.
- Type:
[]
License
Copyright (c) Juno W.