Now that Google can crawl/index content from JavaScript, how are page variants treated by Google by serving a slightly different versions when A/B testing?

Is it advisable to add references to the JavaScript files that are generated by Obtimizely or Visual Website Optimizer in Robots.txt?


closed as off-topic by dhmstark, JonW Sep 14 '13 at 8:48

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about Implementation are off-topic because this site is for User Experience design questions, not questions around how to implement these designs. Therefore, questions around the use of programs like Photoshop or languages such as CSS or JavaScript are off topic." – JonW
If this question can be reworded to fit the rules in the help center, please edit the question.


I think this article has some helpful information:


  • Use rel=”canonical” to tell Google which of the test pages is the main page that should be indexed.

  • Once the test is complete, use 301 redirects to redirect users and Google to the main/final page. (There could be links or bookmarks
    pointing to one of the variations.)

Not the answer you're looking for? Browse other questions tagged or ask your own question.