Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@amplitude/plugin-page-view-tracking-browser

Latest version: v2.12.3

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: curtisbliu, daniel-graham-amplitude, eric_amplitude, jjwang123, kelson.warner, sdk.dev
181 Stars
70 Forks
28 Versions
14.7M Downloads
TypeScript Repo language

Scan summary

@amplitude/plugin-page-view-tracking-browser was last scanned on 23 Nov 2026 at version 2.12.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 28 versions; the latest 5 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 2.12.3.
  • Downloads: 14,724,194 downloads.

Versions

28 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.12.3 LATEST 23 Nov 2026 No rules fired
2.13.0-cursorvideo-click-cell-9eb2.0 20 Nov 2026 No rules fired
2.12.2 19 Nov 2026 No rules fired
2.13.0-cursorpage-x-y-plus-click-cell-9eb2.0 19 Nov 2026 Not shown
2.13.0-video-analytics-plus-page-x-y.0 18 Nov 2026 Not shown

No rules fired in 2.12.3

Findings

Findings for v2.12.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.12.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@amplitude/plugin-page-view-tracking-browser

Official Browser SDK plugin for page view tracking

Installation

This package is published on NPM registry and is available to be installed using npm and yarn.

# npm
npm install @amplitude/plugin-page-view-tracking-browser

# yarn
yarn add @amplitude/plugin-page-view-tracking-browser

Usage

This plugin works on top of Amplitude Browser SDK and adds page view tracking features to built-in features. To use this plugin, you need to install @amplitude/analytics-browser version v2.0.0 or later.

1. Import Amplitude packages
  • @amplitude/plugin-page-view-tracking-browser
import { pageViewTrackingPlugin } from '@amplitude/plugin-page-view-tracking-browser';
2. Instantiate page view plugin

The plugin accepts an optional parameter of type Object to configure the plugin based on your use case.

const pageViewTracking = pageViewTrackingPlugin({
  trackOn: undefined,
  trackHistoryChanges: undefined,
});
Options
Name Type Default Description
trackOn "attribution" or () => boolean undefined Use this option to control when to track a page view event. By default, a page view event is sent on each SDK initialization.Use () => boolean to control sending page view events using custom conditional logic.Use "attribution" to send page view events with attribution events. This option requires using @amplitude/plugin-web-attribution-browser.
trackHistoryChanges "all" or "pathOnly" undefined Use this option to subscribe to page view changes based on full URL or URL path in a single page application like React.js. By default, page view changes are based on full URL.Use "all" to compare the full url changes.Use "pathOnly" to compare only url path changes.
3. Install plugin to Amplitude SDK
amplitude.add(pageViewTracking);
4. Initialize Amplitude SDK
amplitude.init('API_KEY');

Resulting page view event

This plugin tracks page views based on your configuration. A page view event is composed of the following values:

Event type
  • "[Amplitude ]Page Viewed"
Event properties
Property Description
'[Amplitude] Page Domain' The website's hostname or location.hostname
'[Amplitude] Page Location' The website's full url or location.href
'[Amplitude] Page Path' The website's pathname or location.pathname
'[Amplitude] Page Title' The website's title or document.title
'[Amplitude] Page URL' The website's url excluding query parameters
'[Amplitude] Min Page Y' The vertical scroll offset (window.scrollY) when the page view event is created. This is the top of the viewport, not the offset plus viewport height. A non-zero value means the page view started below the top of the page.
'[Amplitude] Viewport Width' The viewport width (window.innerWidth) when the page view event is created.
'[Amplitude] SDK Initialization Offset' Milliseconds from the document navigation start until this SDK first initialized. The same value is kept for later page views in the document, including single-page navigations.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @amplitude/plugin-page-view-tracking-browser

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229