I'm developing hotels websites here in Brazil. When the site is done, we do an A/B test with the old version to measure conversion and show to the hotel owner how good our site is.Due to the fact that I cannot put the old site inside the new one as a sub-resource (newone.com/old), currently I'm doing those A/B tests as follows:I create 2 Google Analytics accounts, one for each site (old and new);I put the GA tags in the old website pages (changing its possibly existent GA ID to the just created one);I put an JavaScript code that redirects the user to the old website (in a different URL and different domain) with 50% of probability.So I compare all the metrics, events and goals between those two GA accounts.How bad is this approach? How Google can interpret the fact of being sometimes redirected, sometimes not?The experiment usually runs for 2 weeks.Is there any other alternative for doing this in a better way?
Is doing A/B tests using site redirection a bad practice?
seo;redirects;javascript;a b testing