New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

better-attribution

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-attribution - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

dist/index.js

@@ -62,2 +62,4 @@ "use strict";

const lastTouchKey = `${vendor}_last_touch`;
const gcIdKey = `${vendor}_gc_id`;
const fbclidKey = `${vendor}_fbclid`;
const queryParams = opts?.queryParams || DefaultQueryParams;

@@ -111,2 +113,8 @@ const cookieOpts = {

import_js_cookie.default.set(lastTouchKey, JSON.stringify(val), cookieOpts);
if (val.fbclid) {
import_js_cookie.default.set(fbclidKey, val.fbclid, cookieOpts);
}
if (val.gclid) {
import_js_cookie.default.set(gcIdKey, val.gclid, cookieOpts);
}
};

@@ -113,0 +121,0 @@ return {

6

package.json
{
"name": "better-attribution",
"version": "1.0.3",
"version": "1.0.4",
"description": "Allows you to easily tracks & store first/last touch attribution in cookies to enable multi-touch attribution. Tracks UTMs, Facebook, Google Ads, and more automatically.",

@@ -44,3 +44,3 @@ "publishConfig": {

"typescript": "5.2.2",
"vitest": "0.34.4"
"vitest": "0.34.6"
},

@@ -50,2 +50,2 @@ "dependencies": {

}
}
}

Sorry, the diff of this file is not supported yet

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