# How to get the application URL?

Suppose you want to extract the URL of the application. Below is the method to extract it.

\_eval("window.location.href")

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/eMFjBQ48JqgZklup-0bd77185970e.png)<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>