Scan your whole stack
Are you using @amplitude/plugin-page-view-tracking-browser?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.12.3
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
Official Browser SDK plugin for page view tracking
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
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.
@amplitude/plugin-page-view-tracking-browserimport { pageViewTrackingPlugin } from '@amplitude/plugin-page-view-tracking-browser';
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,
});
| 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. |
amplitude.add(pageViewTracking);
amplitude.init('API_KEY');
This plugin tracks page views based on your configuration. A page view event is composed of the following values:
"[Amplitude ]Page Viewed"| 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. |
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.