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!

Mention the query string param

Blue Mouse5d4bbf923c91
diff --git a/packages/tracker-node/README.md b/packages/tracker-node/README.md
index ed6c62bcc..85c8743fb 100644
--- a/packages/tracker-node/README.md
+++ b/packages/tracker-node/README.md
@@ -123,6 +123,14 @@ export interface TrackPageViewOptions {
/** A campaign of the pageview (e.g. utm_campaign GET parameter) */
ca?: string
+ /**
+ * Raw URL query string of the landing page (without the leading `?`).
+ * Used server-side to recover the traffic source from ad/social click
+ * IDs (gclid, fbclid, msclkid, ttclid, etc.) when the browser stripped
+ * the referrer. UTM parameters always take precedence over click IDs.
+ */
+ qs?: string
+
/** If set to true, only unique visits will be saved */
unique?: boolean
@@ -214,6 +222,14 @@ export interface TrackEventOptions {
/** A campaign of the event (e.g. utm_campaign GET parameter) */
ca?: string
+ /**
+ * Raw URL query string of the landing page (without the leading `?`).
+ * Used server-side to recover the traffic source from ad/social click
+ * IDs (gclid, fbclid, msclkid, ttclid, etc.) when the browser stripped
+ * the referrer. UTM parameters always take precedence over click IDs.
+ */
+ qs?: string
+
/** Event-related metadata object with string values. */
meta?: {
[key: string]: string | number | boolean | null | undefined