queryParams


queryParamsQueryParamsRead-only

Gets an object used to manage the query segment of the current page's URL.

JavaScript
import wixLocationFrontend from "wix-location-frontend"; // ... wixLocationFrontend.queryParams.add({ key2: "value2new", key3: "value3", }); // URL before addition: // www.mysite.com/page?key1=value1&key2=value2 // URL will look like: // www.mysite.com/page?key1=value1&key2=value2new&key3=value3
Did this help?