Closed refueledinc closed 10 years ago
I don't know if this is the appropriate solution, but I changed this line: https://github.com/fooman/googleanalyticsplus/blob/master/app/design/frontend/base/default/template/fooman/googleanalyticsplus/universal.phtml#L9 to:
ga('create', '<?php echo $this->getUniversalAccount(); ?>',<?php echo $this->getUniversalParams(); ?>);
Thanks for spotting this - fixed in the latest version.
Version 0.14.1 is giving the following error in console:
SyntaxError: missing ) after argument list
For this line:ga('create', 'UA-XXXXXXXX-X','{'cookieDomain': 'domain.com'}');