Socket
Socket
Sign inDemoInstall

ember-cli-google-analytics

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.1 to 1.3.2

.jscsrc

6

app/mixins/google-pageview.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc