Skip to main content
All CollectionsFor WebBuildAdvanced Editor
Create a Redirect Test in the Advanced Editor
Create a Redirect Test in the Advanced Editor
Updated over 10 months ago

There are times when you want to redirect a URL to another URL and test the results.

Create a new location by selecting location from the main Menu

Click on the link “+NEW LOCATION” from the top right of the screen

Create a new location with the initial URL.

Give your location a name followed by a description (optional)

Choose the site you wish to use

Define a URL or Regular Expression

Create and use the location created above and include the LibraryAB TestOBF

Find the appropriate variation. For example variation 2.

Insert the following code

Config.showPage = false;
Test.event.bind('pageview', function()
{
var keepQueryStrings = true;
Test.nav.redirect('http://bank.webtrends-optimize.com/personal-banking/student-banking', keepQueryStrings);
});

Save the Test

Did this answer your question?