RedirectionUrl parameter for widgets

Created: 12/27/2016 | Updated: 8/24/2018 | Status: Published

some of the Tradesmarter widgets preform redirection after the user take an action, E.G registration widget will redirect the user to the trading platform main page by default.

if you want to redirect the user to your own custom URL once he perform any action with Tradesmarter widgets

you can use a parameter called "redirectUrl"

the url that you will enter as a value in this parameter will be the one user will get to.

 

lets say that we are using the Tradesmarter registration widget,

by default after user register he is redirected to the trading platform home page.

if we want to change that we can use the parameter like so:

 

http://widgets.tradesmarter.com/widget/registration?redirectUrl=www.tradesmarter.com/custom-welcome-page

 

if we want to add more parameters we ue the & sign before every parameter we want to use like so:

 

http://widgets.tradesmarter.com/widget/registration?redirectUrl=www.tradesmarter.com/custom-welcome-page&openPassword=1&small=1&noCountry=0