I had never seen this before, but it looks like a promising feature! I’ll add it soon!
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 but the Google Analytics Dashboard plugin code there is quite different from mine. Any suggestions?
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. 🙂
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’,’ga’);
ga(‘create’, ‘UA-XXXXXXXX-X’, ‘auto’);
ga(‘require’, ‘GTM-XXXXXXX’);
ga(‘send’, ‘pageview’);
</script>
https://schecteracademicservices.com/
love this plugin btw!!
More info here:
https://support.google.com/360suite/optimize/answer/6262084
Hi, you can implement Google Optimize using GA Analytics plugin by Jeff Starr https://ww.wp.xz.cn/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.