From bd4ed7f8b6867d851e9af7ce10de7b7c1a514612 Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Wed, 18 Feb 2026 12:48:31 -0600 Subject: [PATCH] feat: created example section for parsing params --- .../remove-tracking-params-from-links.md | 313 ++++++++++++++++++ 1 file changed, 313 insertions(+) diff --git a/posts/drafts/remove-tracking-params-from-links.md b/posts/drafts/remove-tracking-params-from-links.md index 3a7c6f6..b91ea11 100644 --- a/posts/drafts/remove-tracking-params-from-links.md +++ b/posts/drafts/remove-tracking-params-from-links.md @@ -206,6 +206,319 @@ parts of a url: })(); +## Understanding Query Parameters + +Query parameters are the part of a URL that comes after the `?`. They consist of key-value pairs that pass data to the page. Let's break down how they work: + + + +
+
+ ?size=medium&color=light%20blue&utm_source=facebook&fbclid=abc123xyz +
+ +
+
Structure
+
+ + ? Delimiter + Marks the start of query parameters in a URL +
+
+ + Key + The name of the data being passed +
+
+ + = Assignment + Connects each key to its value +
+
+ + Value + The actual data being passed +
+
+ + & Separator + Separates multiple key-value pairs +
+ +
+
Parameters in this example
+
+
+ size=medium + Useful parameter — tells the page which size to select +
+
+ color=light%20blue + Useful parameter — tells the page which color variant to show +
+
+ utm_source=facebook + ⚠️ Tracking parameter — tells the site you came from Facebook +
+
+ fbclid=abc123xyz + ⚠️ Tracking parameter — Facebook's click ID to track your activity +
+
+
+ + + explain what each part does explain why a website would want to use query parameters