Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 14 days 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T15:11:21.000Z (over 2 years ago)
- Last Synced: 2024-11-15T21:34:20.244Z (about 1 month 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
![Size](https://img.shields.io/bundlephobia/minzip/@norvikit/nuxt-utm-adder)
![Version](https://img.shields.io/npm/v/@norvikit/nuxt-utm-adder)
![Downloads](https://img.shields.io/npm/dt/@norvikit/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,
}]
]
```