Error in console is (index):211 Uncaught SyntaxError: missing ) after argument list
I was able to patch this issue in file class-wc-google-analytics.php in your plugin by changing the line to include the protocol in the url, like:
$ga_snippet_head = "(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','" . self::tracker_var() . "');";
If your site uses the woocommerce_google_analytics_script_src
filter then I suggest that you patch /includes/class-wc-google-analytics-js.php
with the following:
$ga_snippet_head = "(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', '$src', '" . self::tracker_var() . "');";
(starting at line 243)
We’re not using that filter, we’re just using WooCommerce Analytics and the popular Monster Insights analytics plugin. It looks like there was a patch released recently (1.4.14) and lists the missing quotation mark as the only update, so I imagine this is fixed. I will test soon.
Upgraded to 1.4.14 and tested. I can verify this issue is fixed for me. Closing this ticket.