Search...
url
Gets the full URL of the current page.
Description
Premium sites:
Free sites:
Type:
stringRead Only
Related Content:
Was this helpful?
Get the full URL of the current page
Copy Code
1import wixLocationFrontend from 'wix-location-frontend';23// ...45let url = wixLocationFrontend.url;6// Premium site: "https://www.domain.com/animals/elephant?species=african-elephant#desc"7// Free site: "https://user_name.wixsite.com/zoo/animals/elephant?species=african-elephant#desc"