analytics-plugin-google-tag-manager
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -45,2 +45,3 @@ var analyticsGtagManager = (function () { | ||
* Google tag manager plugin | ||
* @link https://getanalytics.io/plugins/google-tag-manager/ | ||
* @link https://developers.google.com/tag-manager/ | ||
@@ -47,0 +48,0 @@ * @param {object} pluginConfig - Plugin settings |
@@ -44,2 +44,3 @@ 'use strict'; | ||
* Google tag manager plugin | ||
* @link https://getanalytics.io/plugins/google-tag-manager/ | ||
* @link https://developers.google.com/tag-manager/ | ||
@@ -46,0 +47,0 @@ * @param {object} pluginConfig - Plugin settings |
@@ -42,2 +42,3 @@ function _defineProperty(obj, key, value) { | ||
* Google tag manager plugin | ||
* @link https://getanalytics.io/plugins/google-tag-manager/ | ||
* @link https://developers.google.com/tag-manager/ | ||
@@ -44,0 +45,0 @@ * @param {object} pluginConfig - Plugin settings |
{ | ||
"name": "analytics-plugin-google-tag-manager", | ||
"version": "0.1.4", | ||
"description": "Google tag manager plugin for 'analytics' pkg", | ||
"version": "0.1.5", | ||
"description": "Google tag manager plugin for 'analytics' module", | ||
"keywords": [ | ||
"analytics", | ||
"analytics-plugin" | ||
"analytics-project", | ||
"analytics-plugin", | ||
"Gtm", | ||
"Google tag manager", | ||
"google-tag-manager" | ||
], | ||
@@ -13,3 +17,2 @@ "author": "David Wells", | ||
"docs": "node ../analytics-cli/bin/run docs", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "node ../../scripts/build/index.js", | ||
@@ -44,3 +47,3 @@ "watch": "node ../../scripts/build/_watch.js", | ||
}, | ||
"gitHead": "ca8d3e90a971381b64a3e6e8f20b77806b8bf0a8" | ||
"gitHead": "a9864cef14b9e1cfb73577b5a771024f34616f0b" | ||
} |
@@ -1,5 +0,9 @@ | ||
# Google analytics plugin for `analytics` | ||
# Google Tag Manager plugin for `analytics` | ||
> Note: This package has moved to [@analytics/google-tag-manager](https://www.npmjs.com/package/@analytics/google-tag-manager) | ||
Integration with google tag manager for [analytics](https://www.npmjs.com/package/analytics) | ||
For more information [see the docs](https://getanalytics.io/plugins/google-tag-manager/). | ||
<!-- ANALYTICS_DOCS:START (TOC) --> | ||
@@ -14,6 +18,6 @@ - [Usage](#usage) | ||
Install `analytics` and `analytics-plugin-google-tag-manager` packages | ||
Install `analytics` and `@analytics/google-tag-manager` packages | ||
```bash | ||
npm install analytics analytics-plugin-google-tag-manager | ||
npm install analytics @analytics/google-tag-manager | ||
``` | ||
@@ -25,3 +29,3 @@ | ||
import Analytics from 'analytics' | ||
import googleTagManager from 'analytics-plugin-google-tag-manager' | ||
import googleTagManager from '@analytics/google-tag-manager' | ||
@@ -32,4 +36,5 @@ const analytics = Analytics({ | ||
googleTagManager({ | ||
containerId: 'GTM-123xyz' | ||
containerId: 'GTM-123xyz', | ||
}) | ||
// ... other plugins | ||
] | ||
@@ -49,3 +54,2 @@ }) | ||
}) | ||
``` | ||
@@ -79,2 +83,2 @@ <!-- ANALYTICS_DOCS:END --> | ||
See the [full list of analytics provider plugins](https://github.com/DavidWells/analytics#current-plugins) in the main repo. | ||
See the [full list of analytics provider plugins](https://getanalytics.io/plugins/) in the main repo. |
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
23006
9
522
1
80