Google Optimize offers A/B testing, website testing and personalization tools for small businesses to help deliver engaging customer experiences.


The integration of Google Optimize with your Spree Commerce store can be done quickly and easily following the guidelines mentioned below.

The benefits of using Google Optimize for your Ecommerce business


Integrated with Google Analytics


Optimize is natively integrated with Google Analytics, so you can quickly understand how your website can be improved.


Easy to use


Worried about having to hire someone to run A/B tests on your site, or frustrated about not knowing how to do it yourself? Don’t be. The Optimize visual editor allows for WYSIWYG (what-you-see-is-what-you-get) editing so you can change just about anything on your site with a drag and a drop. And more advanced users will enjoy the ability to edit raw HTML or add JavaScript or CSS rules directly in the editor.


Free for everyone


Like most Google’s tools, Optimize and Optimize 360 are available to everyone for free.

How to integrate Google Optimize with Spree




In order to integrate Google Optimize with Spree, there are some initial prerequisites that need to be completed beforehand:


  1. Google Analytics account integrated with your Spree commerce shop
  2. Set up Google Optimize account


Pick a method


There are two ways to do the integration. They are contingent on how you deployed the Google Analytics within your shop:


  1. Method 1 – If using the global site tag (gtag.js).
  2. Method 2 – If using Google Tag Manager (GTM)


Verifying your Optimize installation


After the integration is complete, you can tests if it works correctly. In order to do this, it will be necessary to create a test personalization, run installation diagnostics and examine the outcome of the test in the preview mode.


Google Optimize is a powerful tool which allows to test the performance of websites for different segments of users. Combined with Spree, it is possible to apply the scientific approach towards the development of anyone’s business. A/B testing of different variants of your store might help to increase the traffic and retention within your e-commerce system.  – Filip Nguyen Chuong, Project Manager, Spark Solutions

Example of Google Optimize and Spree integration


Mitchells is a luxury fashion store, family-owned and operated by a second and third generation of Mitchells. The company uses Spree for their exquisite online platform and Google Optimize 360 for tests and website optimization.


Read more: Mitchells Success Story

example of Spree Commerce and Google Optimize integration Mitchells

Interested? Got questions about Spree?

Please do contact us. We’ll reply shortly.

reactangularsymfonygraphqlnone of the above

continuous deploymentcontainer/dockercloud hostingdedicated serverother

By submitting you agree to our Terms and Privacy Policies.