Title: Google Optimize
Last modified: February 5, 2017

---

# Google Optimize

 *  [Jakobi](https://wordpress.org/support/users/jakobi/)
 * (@jakobi)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/google-optimize/)
 * Hello,
 * Do you have plans for us to integrate Google Optimize? Is there a way to do it?
 * Add Optimize to your website
    Optimize is installed on your site by adding a 
   single line of code (shown in bold) to your existing Universal Analytics (analytics.
   js) tracking code. If you don’t have Google Analytics or if you’re using Google
   Tag Manager, please refer to the Optimize help center. To install Optimize, do
   the following on each page you want to test: Ensure that your Analytics tracking
   code is as high as possible in the <HEAD> of every page. Add the line in bold
   below to your tracking code.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/google-optimize/#post-8741194)
 * I had never seen this before, but it looks like a promising feature! I’ll add
   it soon!
 *  [Wisley](https://wordpress.org/support/users/wisleyv/)
 * (@wisleyv)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/google-optimize/#post-8745815)
 * I just received an e-mail from Google about Google Optimizer, but I’m not sure
   about how to make it work on my website.
    I’ve seen some instructions on [Github](https://github.com/deconf/Google-Analytics-Dashboard-for-WP/blob/master/front/tracking/code-universal.php#L128)
   but the Google Analytics Dashboard plugin code there is quite different from 
   mine. Any suggestions?
 *  Plugin Author [Daan van den Bergh](https://wordpress.org/support/users/daanvandenbergh/)
 * (@daanvandenbergh)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/google-optimize/#post-8798218)
 * I still have some reading to do, when it comes to Google Optimize. So I can’t
   tell you how to implement it on your website. As soon as I have some time, I’ll
   implement it in this plugin. So, that should help you. 🙂
 *  [schecteracademicservices](https://wordpress.org/support/users/schecteracademicservices/)
 * (@schecteracademicservices)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/google-optimize/#post-8980090)
 * I am also interested in this. The instructions from google are as follows:
 * Step 1: Update your Google Analytics Tracking code
 * Do the following on every page where you want to use Optimize:
    Move your Analytics
   snippet as high as possible in the <HEAD> of the page. Copy this line of code(
   the Optimize plugin):
 * ga(‘require’, ‘GTM-XXXXXXX’);
 * Paste into your existing Analytics snippet as shown below:
    <script> (function(
   i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){ (i[r].q=i[
   r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(
   o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,’script’,’
   [https://www.google-analytics.com/analytics.js&#8217](https://www.google-analytics.com/analytics.js&#8217);,’
   ga’); ga(‘create’, ‘UA-XXXXXXXX-X’, ‘auto’); ga(‘require’, ‘GTM-XXXXXXX’); ga(‘
   send’, ‘pageview’); </script>
 * [https://schecteracademicservices.com/](https://schecteracademicservices.com/)
   
   love this plugin btw!!
 * More info here:
    [https://support.google.com/360suite/optimize/answer/6262084](https://support.google.com/360suite/optimize/answer/6262084)
    -  This reply was modified 9 years, 2 months ago by [schecteracademicservices](https://wordpress.org/support/users/schecteracademicservices/).
    -  This reply was modified 9 years, 2 months ago by [schecteracademicservices](https://wordpress.org/support/users/schecteracademicservices/).
 *  [imartin83](https://wordpress.org/support/users/imartin83/)
 * (@imartin83)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/google-optimize/#post-9233721)
 * Hi, you can implement Google Optimize using GA Analytics plugin by Jeff Starr
   [https://wordpress.org/plugins/ga-google-analytics/](https://wordpress.org/plugins/ga-google-analytics/)
 * In the Custom GA Code add the ga require parameter. In the Custom <head> Code
   add the style script that Google provides.
 * Preview in Optimize, should work.
    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Google Optimize’ is closed to new replies.

 * ![](https://ps.w.org/host-analyticsjs-local/assets/icon-256x256.png?rev=3307068)
 * [CAOS | Host Google Analytics Locally](https://wordpress.org/plugins/host-analyticsjs-local/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/host-analyticsjs-local/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/host-analyticsjs-local/)
 * [Active Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/host-analyticsjs-local/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/host-analyticsjs-local/reviews/)

## Tags

 * [google optimize](https://wordpress.org/support/topic-tag/google-optimize/)

 * 5 replies
 * 5 participants
 * Last reply from: [imartin83](https://wordpress.org/support/users/imartin83/)
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/google-optimize/#post-9233721)
 * Status: not a support question