, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > General Support Requests > Google Analytics Code

FlexCMS Support Forum


Google Analytics Code
Started August 16, 2010 @ 9:54pm by welby
Post Message 
welby


Posts: 34
 
Google Analytics CodeAugust 16, 2010 @ 9:54pm
Hi David.

Trying to install Google Analytics Code which is supposed be placed before </body> tag.

Should this be pasted in the template.php file near line 285?

It's java and I don't know how it react if I paste it in this file.

Thanks!

welby
 

Last Edit: August 16, 2010 @ 10:12pm by welby
DCSun
Administrator



Posts: 625
 
August 16, 2010 @ 10:03pm
Welby,

Yes, if you want it above the body tag, template.php is where you'll need to put it. I believe it has single and double quotes in it, so you'll want to escape (add a \ before it) any of the singles.

In my experience, though, it works just fine in a block as well. I have mine as bottom center without a title so you don't really notice it's there. You can also set the block to show for guests only if you want to have numbers that aren't impacted by admin work on the site.


Dave


FlexCMS v3.2 Has Been Released!
 

Last Edit: August 16, 2010 @ 10:03pm by DCSun
welby


Posts: 34
 
August 16, 2010 @ 10:21pm
Thanks David...

 

Last Edit: August 16, 2010 @ 10:22pm by welby

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07417 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS