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.4 to 0.2.5

18

lib/integrations/google-analytics.js

@@ -106,2 +106,3 @@ // Generated by CoffeeScript 1.9.3

GoogleAnalytics.prototype.page = function(category, name, props, opts, cb) {
var payload;
if (props == null) {

@@ -120,7 +121,14 @@ props = {};

}
ga('send', 'pageview', {
page: opts.page,
title: opts.title,
location: opts.location
});
payload = {};
if (opts.page != null) {
payload.page = opts.page;
}
if (opts.title != null) {
payload.title = opts.title;
}
ga('set', payload);
if (opts.location != null) {
payload.location = opts.location;
}
ga('send', 'pageview', payload);
return cb(null);

@@ -127,0 +135,0 @@ };

{
"name": "crowdstart-analytics",
"version": "0.2.4",
"version": "0.2.5",
"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