Back to Blog
Tutorial

How to Migrate from Google Optimize in 10 Minutes

January 12, 2025
8 min read

Google Optimize is gone, but your experimentation program doesn't have to die with it. This guide will walk you through migrating to ExperimentHQ in under 10 minutes — with zero downtime and no engineering resources required.

Estimated time: 10 minutes

No coding required. Works with any website platform.

Before You Start

If you had active experiments in Google Optimize, document them first:

  • Screenshot your experiment configurations
  • Export any results data you need
  • Note the CSS/JS changes you made in variants
1

Remove the Google Optimize Snippet

Find and remove the Google Optimize code from your website. It typically looks like this:

<!-- Google Optimize -->
<style>.async-hide { opacity: 0 !important}</style>
<script>(function(a,s,y,n,c,h,i,d,e)...

Check your <head> section. Remove both the anti-flicker snippet and the main Optimize script.

2

Create Your ExperimentHQ Account

Sign up at experimenthq.io/signup. It's free — no credit card required.

Free tier includes: 1,000 visitors/month, 3 active experiments, visual editor, real-time analytics.

3

Add the ExperimentHQ Snippet

After creating a project, you'll get a snippet. Add it to your <head> section:

<head>
  ...
  <script async
    src="https://cdn.experimenthq.io/snippet.min.js"
    data-site="your-project-id"></script>
</head>

That's it. One script tag. No anti-flicker snippet needed — we handle that automatically.

4

Recreate Your Experiments

Use the visual editor to recreate your experiments. If you had custom code in Google Optimize, you can add it directly:

Visual Changes

Point and click to edit text, images, colors — just like in Optimize.

Custom Code

Add custom CSS/JS directly in the experiment editor.

5

Launch and Verify

Before launching, verify everything works:

  • Preview each variant to confirm changes look correct
  • Test on mobile and desktop
  • Verify your goal tracking is working

Hit launch, and you're live. Results will start appearing in real-time.

Google Optimize vs ExperimentHQ

FeatureGoogle OptimizeExperimentHQ
StatusDiscontinuedActive
Free Tier
Visual Editor
Setup Time~30 min~2 min
Script Size~50KB<5KB
Anti-FlickerManual setupBuilt-in

You're Done

That's it. You've migrated from Google Optimize in under 10 minutes. Your experimentation program is back online, and you're ready to start testing again.

The best part? ExperimentHQ is built to be the tool Google Optimize should have evolved into — simpler, faster, and still accessible to everyone.

Share this article

Ready to start A/B testing?

Free forever plan available. No credit card required.