# Remove url check on page redirect url so only variable can be used

**URL:** <https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834>\
**Category:** Feature Requests & Ideas\
**Created:** [November 8, 2021, 10:18am UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834 "2021-11-08T10:18:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludvig\_Hestvik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.surveysparrow.com/ludvig_hestvik/32/129_2.png) [@Ludvig\_Hestvik](https://community.surveysparrow.com/u/Ludvig_Hestvik)\
**Post date:** [November 8, 2021, 10:18am UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834/1 "2021-11-08T10:18:10Z")

</div>

Depending on where the user comes from they might have different return urls. Therefore, it’s crucial for the complete flow that you can send in the return url as a variable and then use that variable as url in both buttons and page redirect url in the Thank You page.

In our case the sub domain is different for different users, for example [app.xyz.com](http://app.xyz.com) or [portal.xyz.com](http://portal.xyz.com)

An easy fix to remove and would have great value.

 ![Screenshot 2021-11-02 at 13.55.09](https://europe1.discourse-cdn.com/flex013/uploads/surveysparrow1/original/1X/6e02a5a0a44c59b606d367253a33739eb448eec4.png)

---

<div class="post-metadata">

**Author:** ![Jayesh\_Urath](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jayesh\_Urath](https://community.surveysparrow.com/u/Jayesh_Urath)\
**Post date:** [November 9, 2021, 1:29pm UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834/2 "2021-11-09T13:29:53Z")

</div>

Hi Ludvig,

Thank you for sharing the use case, let me discuss it internally with the product management and get back to you.

Cheers

Jay

---

<div class="post-metadata">

**Author:** ![Jayesh\_Urath](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jayesh\_Urath](https://community.surveysparrow.com/u/Jayesh_Urath)\
**Post date:** [November 9, 2021, 1:56pm UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834/3 "2021-11-09T13:56:34Z")

</div>

Hi Ludvig,

Are you free to discuss this over a Zoom session?

Cheers  
Jay

---

<div class="post-metadata">

**Author:** ![Jayesh\_Urath](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@Jayesh\_Urath](https://community.surveysparrow.com/u/Jayesh_Urath)\
**Post date:** [December 1, 2021, 10:35am UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834/4 "2021-12-01T10:35:21Z")

</div>

Hi Ludvig,

Trust you are keeping well.

We are working on bringing a placeholder that can be used in the thank you page, will keep you posted as soon as it’s released.

Cheers  
Jay

---

<div class="post-metadata">

**Author:** ![SurveySparrow\_Support](https://dub1.discourse-cdn.com/flex013/user_avatar/community.surveysparrow.com/surveysparrow_support/32/322_2.png) [@SurveySparrow\_Support](https://community.surveysparrow.com/u/SurveySparrow_Support)\
**Post date:** [January 20, 2022, 7:56am UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834/5 "2022-01-20T07:56:12Z")

</div>

Hi Ludvig,

Trust the new year is treating you well.  
Reaching out to inform you that we have fixed the issue,

You can use custom variables, and use that return value to redirect the user to any URL  
For example, I am trying to redirect the users to Amazon

> **[test](https://jayeshurath.surveysparrow.com/s/test/tt-9e15da?referer_url=amazon)**
>
> Built with love by SurveySparrow, a FREE online survey software which lets you collect feedback naturally, gain insights and make better decisions.

 ![Screenshot 2022-01-20 at 1.24.58 PM](https://europe1.discourse-cdn.com/flex013/uploads/surveysparrow1/original/1X/71fb30a7aa4fafd60ed7c6bcf7adb5cf8422ee54.png)  
 ![Screenshot 2022-01-20 at 1.25.07 PM](https://europe1.discourse-cdn.com/flex013/uploads/surveysparrow1/original/1X/5c4f6fe1dd042312c97c0166de6d639610cca654.png)

Hope this helps.  
As always, if you run into any other questions moving forward feel free to reach out and we’d be happy to help! Have a great rest of your day!

Cheers  
Jay

---

<div class="post-metadata">

**Author:** ![Ludvig\_Hestvik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.surveysparrow.com/ludvig_hestvik/32/129_2.png) [@Ludvig\_Hestvik](https://community.surveysparrow.com/u/Ludvig_Hestvik)\
**Post date:** [June 10, 2022, 1:13pm UTC](https://community.surveysparrow.com/t/remove-url-check-on-page-redirect-url-so-only-variable-can-be-used/1834/6 "2022-06-10T13:13:43Z")

</div>

This is amazing! Thank you!
