Is there some plugins to activate Google Analytics?
Best Regards
Paweł
Google Analytics and CMS Made Simple
-
- New Member
- Posts: 4
- Joined: Sat Feb 20, 2016 10:20 am
Re: Google Analytics and CMS Made Simple
No. You get the code from google and paste it into your template...
At least that is what I've always seen...
At least that is what I've always seen...
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Google Analytics and CMS Made Simple
It's as simple as 1-2-3
1: Create a new template in Design Manager.
Though not absolutely necessary it should be of type 'Core::Generic'. just so it'll help you find it later.
2: Paste in your google analytics code and give the new template a name. like 'google_analytics'.
3: Open your page template and in the 'head' section or wherever you want the analytics code to be output insert {include file='cms_template:google_analytics'}
1: Create a new template in Design Manager.
Though not absolutely necessary it should be of type 'Core::Generic'. just so it'll help you find it later.
2: Paste in your google analytics code and give the new template a name. like 'google_analytics'.
3: Open your page template and in the 'head' section or wherever you want the analytics code to be output insert {include file='cms_template:google_analytics'}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Google Analytics and CMS Made Simple
Or you can paste it into the Global Metadata box in Setting-Global Settings, then use {metadata} in all your templates (which most people do anyway).
-
- New Member
- Posts: 4
- Joined: Sat Feb 20, 2016 10:20 am
Re: Google Analytics and CMS Made Simple
thanks for response but now I have this problem:
"(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){" - Unexpected "[", expected one of: "}"
"(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){" - Unexpected "[", expected one of: "}"
Re: Google Analytics and CMS Made Simple
Please use the search functionality of the forum... this has been asked and answered times and times again...
Again: Just make sure the opening and closing brackets have spaces after and before respectively... so just add a space after every { and one before every }
Again: Just make sure the opening and closing brackets have spaces after and before respectively... so just add a space after every { and one before every }
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
-
- New Member
- Posts: 4
- Joined: Sat Feb 20, 2016 10:20 am
Re: Google Analytics and CMS Made Simple
Thanks All! work now 
