Redirect Experiment to Hundreds of Pages
I want to setup a cross domain redirect experiment on a collection of landing pages without creating an experiment for each one. There could be hundreds.
So I want to target landing page URL.s which contain "g-cty" - easy/no problems
The format of the URL's between the 2 domains are identical :
I have hundreds of city-country combinations so i need to just change out the domain name from the site1 and substitue site2.
Is that possible via the standard redirect experiment type or do i need to create some custom code to make this work ?
Solved! Go to Solution.
com */ window.location.replace(window.location.href.repla ce("site1","site2"));
You could do something like this so that the whole URL is preserved, except for the site1 vs site2 piece.
Do you think that would do the trick?