URL Query Strings
URL Query Strings
Why?
Pass information using the URL itself
Set information on the page e.g. Google Search results
Get information from other sources e.g. API endpoints
Track clicks, links, and browsing history
Manage in page content e.g. pagination navigation, language translation, or filtering of products
What?
A query string is a part of a uniform resource locator (URL) that assigns values to specified parameters. - WikiPedia
Also known as “URL Parameters” or “URL query parameters”
How?


URL base
key value pairs
?
start query=
assign value to key&
add more keys with values
Additional References
Last updated