# How to get the current url of a web

**URL:** <https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709>\
**Category:** Questions about Thunkable X\
**Created:** [May 20, 2021, 1:05am UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709 "2021-05-20T01:05:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [May 20, 2021, 1:05am UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709/1 "2021-05-20T01:05:26Z")

</div>

nowadays it is possible to see the current URL of the web view  
Or is there a way to get the current URL of a website?

---

<div class="post-metadata">

**Author:** ![anush\_bh20910](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/anush_bh20910/32/103923_2.png) [@anush\_bh20910](https://community.thunkable.com/u/anush_bh20910)\
**Post date:** [May 20, 2021, 3:00am UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709/2 "2021-05-20T03:00:00Z")

</div>

Well, if you are using web Viewer, You should know the url, or how can you do it ?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 20, 2021, 3:05am UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709/3 "2021-05-20T03:05:25Z")

</div>

Well @anush_bh20910  
What if within the web viewer you pressed a link which took you to another website, then it would not be the same one you started in your code in the web viewer.

Having said that, I tested this condition and the web viewer URL block will return the current URL correctly in the mobile Live Test but will incorrectly in the Web Live Test.

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [May 20, 2021, 3:23am UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709/4 "2021-05-20T03:23:11Z")

</div>

hi muneer, of course i tried to do that to get current web url but it didn’t work, because website need to retrieve url, iframe not working  
what I am trying to do is integrate a payment method, and through the url and thus be able to verify if the payment was approved

---

<div class="post-metadata">

**Author:** ![Vaiper\_watafai](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Vaiper\_watafai](https://community.thunkable.com/u/Vaiper_watafai)\
**Post date:** [May 20, 2021, 5:11am UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709/5 "2021-05-20T05:11:17Z")

</div>

muneer muneer that simple is how I solve my problem 😁 👍 👏 😀  
 ![Casssptura](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/0/508766d47a068ae33a217d6219cfe9b272c47c4a.jpeg)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/how-to-get-the-current-url-of-a-web/1294709/6 "2024-11-08T13:22:23Z")

</div>


