Free beta: everything in Vinny for 14 days, no card, sign up by December 15. Join the beta

A/B testing guides · 5 minute read

Does A/B testing hurt SEO?

How to run A/B and split URL tests without hurting your Google rankings: what Google recommends about cloaking, redirects, canonical tags and test length.

No, if you follow what Google itself recommends. Google is fine with website testing and says so. The risks come from a few specific mistakes, all easy to avoid.

Don't show search engines something different

Showing Googlebot one page and people another is cloaking, which breaks Google's rules. A testing tool should treat search engine crawlers like any other visitor. Agility doesn't single out crawlers: they're handled like everyone else.

Use temporary redirects for split URL tests

A split URL test sends some visitors from the original page to another address. That redirect should be temporary (in HTTP terms, a 302, or a JavaScript redirect), so search engines keep the original in their index. A permanent (301) redirect tells them to replace it. Agility's split URL tests redirect in the browser and keep the query string, so ad and campaign tracking still work.

Point test pages back to the original

If your alternative page (say /landing-b/) can be reached directly, add a canonical tag on it pointing at the original, so search engines treat the two as one page. Agility can't add that tag for you; add it in your site's page settings or template when you build the alternative page.

End tests when they have an answer

A test left running for months starts to look like a permanent second version of your site. Run each test as long as it needs, then make the winning change for good and remove the test. Agility can finish a test by itself once there's a winner, and email you.

Speed

Testing scripts can slow pages and cause flicker, which hurts real visitors and Core Web Vitals. Keep the script small, load it early in the <head>, and limit how long the page is hidden while changes apply. Agility's script is about 5 KB compressed and hides the page for at most 0.8 seconds by default.

Checklist

  • Crawlers see what visitors see
  • Split URL tests use temporary redirects
  • Alternative pages carry a canonical tag to the original
  • Tests end when they have an answer
  • The testing script is small and loads early

Get Vinny updates

Release notes, new features and the occasional tip, about once a month. Unsubscribe any time.