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

zmp-ga4

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zmp-ga4 - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

2

package.json
{
"name": "zmp-ga4",
"version": "1.9.0",
"version": "1.9.1",
"author": {

@@ -5,0 +5,0 @@ "name": "Nguyễn Hồng Phát",

@@ -59,2 +59,3 @@ "use strict";

var _this = this;
var _a;
this.propertyId = propertyId;

@@ -86,3 +87,4 @@ this.apiSecretKey = apiSecretKey;

window.addEventListener("beforeunload", this.collect);
this.referer = new URLSearchParams(location.search).get("utm_source");
this.referer =
(_a = new URLSearchParams(location.search).get("utm_source")) !== null && _a !== void 0 ? _a : "";
this.screenResolution = "".concat(screen.width, "x").concat(screen.height);

@@ -89,0 +91,0 @@ this.viewportSize = "".concat(window.innerWidth, "x").concat(window.innerHeight);

@@ -30,3 +30,4 @@ export class AdaptiveAnalytics {

window.addEventListener("beforeunload", this.collect);
this.referer = new URLSearchParams(location.search).get("utm_source");
this.referer =
new URLSearchParams(location.search).get("utm_source") ?? "";
this.screenResolution = `${screen.width}x${screen.height}`;

@@ -33,0 +34,0 @@ this.viewportSize = `${window.innerWidth}x${window.innerHeight}`;

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