Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Remove prev parameter

Blue Mouseb8decfa66616
diff --git a/README.md b/README.md
index 9348c8b1b..85086b518 100644
--- a/README.md
+++ b/README.md
@@ -82,9 +82,6 @@ export interface TrackPageViewOptions {
/** A page to record the pageview event for (e.g. /home). All our scripts send the pg string with a slash (/) at the beginning, it's not a requirement but it's best to do the same so the data would be consistent when used together with our official scripts */
pg?: string
- /** Previous page user was on */
- prev?: string
-
/** A locale of the user (e.g. en-US or uk-UA) */
lc?: string
diff --git a/src/index.ts b/src/index.ts
index 429ec493f..9f180b3be 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -96,9 +96,6 @@ export interface TrackPageViewOptions {
/** A page to record the pageview event for (e.g. /home). All our scripts send the pg string with a slash (/) at the beginning, it's not a requirement but it's best to do the same so the data would be consistent when used together with our official scripts */
pg?: string
- /** Previous page user was on */
- prev?: string
-
/** A locale of the user (e.g. en-US or uk-UA) */
lc?: string