delacon-nuxt
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-nuxtdependency to your project
npm install delacon-nuxt
or
yarn add delacon-nuxt
- Add
delacon-nuxtto themodulessection 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.
Version History
| Version | Released | License |
|---|---|---|
| 1.0.2 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT |