@norvikit/nuxt-utm-adder

1.1.4 • Public • Published

Nuxt UTM Adder

Size Version Downloads

📃 Description

Plugin to add utm tags to all links on a page

📦 Installation

NPM

npm install --save @norvikit/nuxt-utm-adder

Yarn

yarn add @norvikit/nuxt-utm-adder

🚀 Usage

// nuxt.config.js

buildModules: [
  '@norvikit/nuxt-utm-adder'
]
// or

buildModules: [
  ['@norvikit/nuxt-utm-adder', {
    // Your options
  }]
]

🔧 Options

// nuxt.config.js
// Default options

buildModules: [
  ['@norvikit/nuxt-utm-adder', {
    // Utm tags to track
    utmTags: [
      'utm_source',
      'utm_medium',
      'utm_campaign',
      'utm_term',
      'utm_content',
    ],
    // Save utm tags to cookies
    saveCookies: true,
  }]
]

Readme

Keywords

Package Sidebar

Install

npm i @norvikit/nuxt-utm-adder

Weekly Downloads

327

Version

1.1.4

License

MIT

Unpacked Size

5.88 kB

Total Files

5

Last publish

Collaborators

  • webzlodimir
  • norvikdev