【無料】ShopifyにABテストツール「Google Optimize(オプティマイズ)」を導入する方法 Tsun Inc.

[Free] How to introduce AB testing tool "Google Optimize" to Shopify

Tsunライターチーム

※ Google Optimize ended service on September 30, 2023. If you'd like to run A/B tests on Shopify, please refer to the blog article below.


In this article, we'll explain the basic information about Google Optimize and how to introduce it to Shopify.

Setting up Google Optimize requires Google Tag Manager (hereafter, Tag Manager), so if you haven't set up Tag Manager yet, please refer to the article below.

What is Google Optimize?

It's a free web testing tool provided by Google.

Beyond A/B testing, it also supports multivariate testing, redirect testing, server-side testing, and more, and test setup can be done intuitively via a visual editor for editing designs and text. It also has a personalization feature that lets you serve different content to different users.

We recommend introducing it if you want to run A/B tests to improve your Shopify site's CVR.

If you want to run many tests simultaneously, you'll need to subscribe to the paid Optimize 360.

About the end of support for Google Optimize

※ Google Optimize ended service on September 30, 2023.

Main features of Google Optimize

A/B testing

You can test the same page with multiple patterns and identify which pattern is most effective for your goal.

Recommended when you want to test simple changes such as colors or text.

Multivariate testing

A more advanced test than A/B testing, this lets you test multiple elements on a page and identify which combination best achieves your goal.

Recommended when your site already has a certain amount of traffic and you have many elements you want to test.

Redirect testing

By using the same URL and redirecting a portion of traffic to a different page, you can run an A/B test using separate pages. This lets you identify which page is most effective for your goal.

Recommended when you want to test by changing an entire page.

Personalization

You can serve personalized pages and elements to each user, displaying designs and content tailored to them.

Visual editor

This feature lets you intuitively create new test patterns without rewriting your Shopify site's source code.

Filter feature

This feature lets you narrow down the target pages or users when running tests such as A/B tests or multivariate tests.

Reporting feature

This feature lets you check the actual test results.

By setting a goal, you can check each pattern's performance against that goal, and also check whether the test results show a statistically significant difference.

Reasons to choose Google Optimize (benefits)

  • Free to use
  • Can be operated without coding knowledge
  • No traffic limit per site

When to introduce Google Optimize

It's fine to introduce it from the very start, but web testing requires a certain sample size before you can determine whether there's a statistically significant difference in the results, so it's not too late to consider introducing it once you can expect a certain amount of traffic — for example, after implementing SEO measures or once you've secured an advertising budget.

The article below explains SEO measures in detail, so please check it out.

How to introduce Google Optimize

The setup process consists of the following 4 steps

  • ① Create and copy your Google Optimize ID
  • ② Create a Google Optimize tag in Google Tag Manager
  • ③ Test the tag
  • ④ Publish

We'll explain each one in detail

① Create and copy your Google Optimize ID

Here, we'll explain how to create a container in Google Optimize and copy its ID.

(1) Create an account

Creating an Optimize account

Go to Google Optimize and click "Create Account"

Next, enter the "account name" and other required fields, then click "Next"

Next, enter the "account name" and other required fields, then click "Next"

(2) Create a container

Once you reach the Add Container page, enter the "container name" and click "Create"

Once you reach the Add Container page, enter the "container name" and click "Create"

(3) Copy your Optimize ID

Click "Settings" in the top right

Once the container is created, you'll automatically be taken to the "Experience" page, so click "Settings" in the top right

Copy the "OPT-XXXXX" ID shown in the container details under container settings

Copy the "OPT-XXXXX" ID shown in the container details under container settings

② Create a Google Optimize tag in Google Tag Manager

Here, we'll explain how to use the ID from ① in Google Tag Manager to create a new Google Optimize tag.

(1) Go to Google Tag Manager and click "Add a new tag"

(2) Set the following values for the newly created tag, then save

Set the following values for the newly created tag, then save
  1. Tag type → "Google Optimize"
  2. Optimize container ID → "the ID (OPT-XXXXX) you copied in step ①"
  3. Trigger → "All Pages"

③ Test the tag

Here, we'll explain how to test whether the Google Optimize tag fires correctly.

(1) Go to your Tag Manager workspace and click "Preview"

Go to your Tag Manager workspace and click "Preview"

(2) Enter the URL of the Shopify page you want to test, then click "Connect"

Enter the URL of the Shopify page you want to test, then click "Connect"

(3) If the Google Optimize tag you created in ② appears under Tags Fired, it has fired correctly.

If the Google Optimize tag you created in ② appears under Tags Fired, it has fired correctly.

④ Publish

Here, we'll explain how to actually publish it to your Shopify site.

(1) Go to your Tag Manager workspace and click "Publish"

Go to your Tag Manager workspace and click "Publish"

(2) Fill in the "version name" and "version description", then click "Publish"

Fill in the "version name" and "version description", then click "Publish"
 

That completes the setup of Google Optimize.

We'll also put together a blog article on Google Optimize's detailed usage and how to make the most of it at a later date, so please look forward to its publication.

Frequently asked questions

What services can Google Optimize integrate with?

It can integrate with Google services such as Google Analytics, Google Ads, Google BigQuery, and Firebase.

👆️目次はShopifyアプリ「RuffRuff 目次作成」を利用

👆️Table of contents by the Shopify app RuffRuff Table of Contents

Back to blog
  • Shopify AI Toolkitとは?ストアオーナー向けにShopify Magic・Sidekick・MCPとの違いを解説

    What Is Shopify AI Toolkit? How It Differs from...

    Tsun ライターチーム

    What is Shopify AI Toolkit? We explain how it differs from Shopify Magic, Sidekick, and MCP, when to use it, and things to watch out for when adopting it, for...

    What Is Shopify AI Toolkit? How It Differs from...

    Tsun ライターチーム

    What is Shopify AI Toolkit? We explain how it differs from Shopify Magic, Sidekick, and MCP, when to use it, and things to watch out for when adopting it, for...

  • Shopifyで領収書を発行する方法|Order Printerの設定手順・サンプルコード・おすすめアプリを解説

    Shopifyで領収書を発行する方法|Order Printerの設定手順・サンプルコード・お...

    Tsun ライターチーム

    Shopifyで日本式の領収書を発行する3つの方法を紹介します。無料のShopify Order Printerで使えるサンプルコード、適格簡易請求書の前提条件、日本向け領収書アプリ5選と運用の注意点を解説します。

    Shopifyで領収書を発行する方法|Order Printerの設定手順・サンプルコード・お...

    Tsun ライターチーム

    Shopifyで日本式の領収書を発行する3つの方法を紹介します。無料のShopify Order Printerで使えるサンプルコード、適格簡易請求書の前提条件、日本向け領収書アプリ5選と運用の注意点を解説します。

  • Shopifyアプリ「日本インボイス領収書」とは|税率別の端数処理と軽減税率の注記に対応

    What is the Shopify app "JP Invoice Receipt"? |...

    Scanoria

    JP Invoice Receipt (日本インボイス領収書) is an app that issues receipts from Shopify orders. It supports rounding per tax rate, notes for the reduced tax rate, and issuance by buyers themselves.

    What is the Shopify app "JP Invoice Receipt"? |...

    Scanoria

    JP Invoice Receipt (日本インボイス領収書) is an app that issues receipts from Shopify orders. It supports rounding per tax rate, notes for the reduced tax rate, and issuance by buyers themselves.

  • 【決定版】Shopifyアプリ おすすめ一覧:売上アップ・効率化・無料アプリまで徹底解説!

    [2026 Latest] Recommended Shopify Apps: A Compl...

    Tsunライターチーム

    A detailed, purpose-by-purpose guide to recommended apps that streamline Shopify operations. Covers customer acquisition, CVR improvement, blog extensions, CRM, workload reduction, and AI-powered apps. Curated information useful for beginners and...

    [2026 Latest] Recommended Shopify Apps: A Compl...

    Tsunライターチーム

    A detailed, purpose-by-purpose guide to recommended apps that streamline Shopify operations. Covers customer acquisition, CVR improvement, blog extensions, CRM, workload reduction, and AI-powered apps. Curated information useful for beginners and...

  • Shopify Canvasとは?できること・使い方・注意点を解説

    What is Shopify Canvas? Capabilities, how to us...

    Tsun ライターチーム

    Shopify Canvas, announced on October 1, 2026, is a design screen where you can edit your theme together with Sidekick while viewing every page of your store side by side....

    What is Shopify Canvas? Capabilities, how to us...

    Tsun ライターチーム

    Shopify Canvas, announced on October 1, 2026, is a design screen where you can edit your theme together with Sidekick while viewing every page of your store side by side....

  • STORESからShopifyへのデータ移行手順|注意点も紹介

    [2026 Edition] How to Migrate Data from STORES ...

    Tsunライターチーム

    For merchants considering a move from STORES to Shopify, this guide explains the differences in pricing and features between the two services, which data can and cannot be migrated, the...

    [2026 Edition] How to Migrate Data from STORES ...

    Tsunライターチーム

    For merchants considering a move from STORES to Shopify, this guide explains the differences in pricing and features between the two services, which data can and cannot be migrated, the...

1 of 6
1 of 3
  • Our Editorial Process

    For readers new to e-commerce and Shopify, we write our articles with care to explain difficult commerce and marketing terms, along with how everything works from building a store through to selling, as “gently,” “clearly,” and “accurately” as we can.

    Learn more 
  • About the information on this site

    The information published here is based on Tsun Inc.’s own experience and research. While we make every effort to publish information that is as “current” and “accurate” as possible, we cannot fully guarantee its contents. Tsun Inc. accepts no liability whatsoever for any damages arising from this site. If you find an error in the information published here, we would be grateful if you would contact Tsun Inc.