https://github.com/swiftxru/nuxt-utm-adder
Plugin to add utm tags to all links on a page
https://github.com/swiftxru/nuxt-utm-adder
nuxt nuxt-module nuxtjs seo utm vue
Last synced: 3 months ago
JSON representation
Plugin to add utm tags to all links on a page
- Host: GitHub
- URL: https://github.com/swiftxru/nuxt-utm-adder
- Owner: swiftxru
- License: mit
- Created: 2022-03-09T14:24:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T15:11:21.000Z (about 3 years ago)
- Last Synced: 2025-03-25T17:07:21.843Z (3 months ago)
- Topics: nuxt, nuxt-module, nuxtjs, seo, utm, vue
- Language: JavaScript
- Homepage:
- Size: 99.6 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE.MD
- Security: SECURITY.md
Awesome Lists containing this project
README
# Nuxt UTM Adder


## 📃 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.jsbuildModules: [
'@norvikit/nuxt-utm-adder'
]
// orbuildModules: [
['@norvikit/nuxt-utm-adder', {
// Your options
}]
]
```## 🔧 Options
```
// nuxt.config.js
// Default optionsbuildModules: [
['@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,
}]
]
```