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

analytics.js-loader

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

analytics.js-loader - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

HISTORY.md

@@ -0,1 +1,5 @@

# 1.1.0 (2015-04-24)
* add skipPageCall param
# 1.0.1 (2015-02-10)

@@ -2,0 +6,0 @@

4

index.js

@@ -86,3 +86,5 @@ module.exports = load;

// move this call however you'd like.
analytics.page();
if (!opts.skipPageCall) {
analytics.page();
}
}
{
"name": "analytics.js-loader",
"version": "1.0.1",
"version": "1.1.0",
"description": "Asynchronously load segment.com analytics.js with an npm module",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,3 +17,5 @@ # analytics.js-loader

require('analytics.js-loader')({
writeKey: 'YOUR_WRITE_KEY'
writeKey: 'YOUR_WRITE_KEY',
// you can skip the first analytics.page() call if needed, #1
skipPageCall: false
});

@@ -31,3 +33,1 @@

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