ember-cli-google-analytics
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -1,2 +0,2 @@ | ||
import Ember from "ember"; | ||
import Ember from 'ember'; | ||
import ENV from '../config/environment'; | ||
@@ -13,4 +13,4 @@ | ||
window[globalVariable]('send', 'pageview', { | ||
'page': this.get('url'), | ||
'title': this.get('url') | ||
page: this.get('url'), | ||
title: this.get('url') | ||
}); | ||
@@ -17,0 +17,0 @@ } else if (trackerType === 'ga.js') { |
# ember-cli-google-analytics Changelog | ||
### v1.3.2 | ||
* [BUGFIX] Cordova doesn't support protocol relative URL's, analytics.js will now always be included with the `https` protocol | ||
### v1.3.1 | ||
@@ -4,0 +8,0 @@ |
@@ -39,3 +39,3 @@ 'use strict'; | ||
"m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)", | ||
"})(window,document,'script','//www.google-analytics.com/analytics.js','" + config.globalVariable + "');", | ||
"})(window,document,'script','https://www.google-analytics.com/analytics.js','" + config.globalVariable + "');", | ||
"", | ||
@@ -42,0 +42,0 @@ "" + config.globalVariable + "('create', '" + config.webPropertyId + "', " + gaConfig + ");", |
{ | ||
"name": "ember-cli-google-analytics", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Ember CLI addon that adds the Google Analytics tracking code", | ||
"directories": { | ||
"doc": "doc", | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "ember server", | ||
"build": "ember build", | ||
"test": "ember test" | ||
}, | ||
@@ -20,3 +27,20 @@ "repository": { | ||
"license": "MIT", | ||
"devDependencies": {}, | ||
"devDependencies": { | ||
"broccoli-asset-rev": "^2.0.0", | ||
"broccoli-ember-hbs-template-compiler": "^1.6.1", | ||
"broccoli-jscs": "0.0.14", | ||
"ember-cli": "0.1.12", | ||
"ember-cli-6to5": "^3.0.0", | ||
"ember-cli-app-version": "0.3.1", | ||
"ember-cli-content-security-policy": "0.3.0", | ||
"ember-cli-dependency-checker": "0.0.7", | ||
"ember-cli-ic-ajax": "0.1.1", | ||
"ember-cli-inject-live-reload": "^1.3.0", | ||
"ember-cli-qunit": "0.3.1", | ||
"ember-cli-uglify": "1.0.1", | ||
"ember-data": "1.0.0-beta.12", | ||
"ember-export-application-global": "^1.0.0", | ||
"express": "^4.8.5", | ||
"glob": "^4.0.5" | ||
}, | ||
"keywords": [ | ||
@@ -28,3 +52,5 @@ "ember-addon", | ||
], | ||
"ember-addon": {}, | ||
"ember-addon": { | ||
"configPath": "tests/dummy/config" | ||
}, | ||
"dependencies": { | ||
@@ -31,0 +57,0 @@ "lodash-node": "^2.4.1" |
@@ -71,1 +71,15 @@ # ember-cli-google-analytics | ||
If none of the cookie settings are set (they are left nullish) then `'auto'` will be used for the cookie settings. Otherwise the JSON of only the settings set will be passed to the `ga()` function. | ||
## Running Tests | ||
* `git clone git@github.com:pgrippi/ember-cli-google-analytics.git` | ||
* `npm install` | ||
* `ember test` | ||
* `ember test --server` | ||
## Building | ||
* `ember build` | ||
For more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/). | ||
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
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
5624356
25
66178
0
85
16
1
1