delacon-nuxt

Delacon script for Nuxt project
1,059 1
Install
npm install delacon-nuxt
Latest Version:1.0.2
License:MIT
Last Updated:Oct 15, 2021
Links: GitHub  ·  npm
Maintainer: juno0424

delacon-nuxt

A wrapper of Delacon's call tracking script to swap number immediately when /?gclid=xx is detected in the address bar.

Setup

  1. Add delacon-nuxt dependency to your project
npm install delacon-nuxt

or

yarn add delacon-nuxt
  1. Add delacon-nuxt to the modules section of nuxt.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

MIT License

Copyright (c) Juno W.

Version History

Version Released License
1.0.2 MIT
1.0.1 MIT
1.0.0 MIT