Shopping cart

How to Configure Google Optimize on Magento 2

How to Configure Google Optimize

Google Optimize is a new Google site testing platform. It allows you to quickly and easily check the page design as well as to change the content. Besides that, it will monitor the performance of the test and will tell you which version is the best. This is a great free platform for customers.

Integrate this tool into your Magento 2 store to experience the great things that it brings.

To get the best results, in today’s article we will guide how to configure Google Optimize on Magento 2.

How to configure Google Optimize on Magento 2

To configure Google Optimize

Step 1: Install Mageplaza Google Tag Manager

Get Container ID for setting Magento


Setup in Magento

  • Log in to Magento Admin > Mageplaza > Google Tag Manager > Settings


  • Choose Yes to enable the module.
  • Enter Container ID from Google into Google Tag ID field.

Step 2: Create a new tag

  • Click on New Tag in the GTM account and change the name of the tag


  • Choose Tag Configuration > Google Optimize


  • Enter your Google Analytics Tracking ID and your Optimize container ID


  • Click on more settings and configure the fields to set and advanced configurations as your Google analytics tags
  • Select Save this tag without adding triggers.

Step 3: Configure Google Analytics Page

Open Google Analytics Page View tag, then edit Tag Configurations > Advanced Settings > Tag Sequencing. Next, click on Fire a Tag Before GA Pageview tag fires box and choose your Google Optimize tag as a Setup Tag.


Finally, choose Savethe Google Analytics Pageview tag. And remember repeating this process on any other tags as relevant. In this step, select Save to finish the process of the configuration this tag.

It comes to the end of tutorial: How to Configure Google Optimize on Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Configure Google Optimize on Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

111 reviews

Layered Navigation

59 reviews

Gift Card

6 reviews

Reward Points

4 reviews


12 reviews

Shop By Brand

16 reviews

People also searched for:

  • magento 2
  • google optimize