Gets an object that represents the query segment of the current page's URL.
Premium sites:
Free sites:
import wixLocationFrontend from "wix-location-frontend";
// Premium site URL: "https://www.domain.com/animals/elephant?species=african-elephant#desc"
// Free site URL: "https://user_name.wixsite.com/zoo/animals/elephant?species=african-elephant#desc"
let query = wixLocationFrontend.query; // {"species": "african-elephant"}