Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crowdstart-analytics

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crowdstart-analytics - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

23

lib/integrations/google-analytics.js

@@ -32,13 +32,10 @@ // Generated by CoffeeScript 1.9.3

GoogleAnalytics.prototype.init = function() {
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments);
};
return i[r].l = 1 * new Date;
})(window, document, '', '', 'ga');
window.GoogleAnalyticsObject = 'ga';
if (window.ga == null) {
window.ga = function() {
var base;
if ((base = window.ga).q == null) {
base.q = [];
}
window.ga.q.push(arguments);
};
}
ga.l = 1 * new Date();
return ga('create', this.opts.id, 'auto');

@@ -194,3 +191,3 @@ };

GoogleAnalytics.prototype.completedOrder = function(event, props, opts, cb) {
var i, len, product, ref, ref1;
var j, len, product, ref, ref1;
if (cb == null) {

@@ -205,4 +202,4 @@ cb = function() {};

ref = props.products;
for (i = 0, len = ref.length; i < len; i++) {
product = ref[i];
for (j = 0, len = ref.length; j < len; j++) {
product = ref[j];
this.addProduct(product);

@@ -209,0 +206,0 @@ }

{
"name": "crowdstart-analytics",
"version": "0.2.2",
"version": "0.2.3",
"description": "Analytics support for Crowdstart.",

@@ -5,0 +5,0 @@ "main": "lib",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc