Problem adding Google Analytics

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
monnolyth
New Member
New Member
Posts: 3
Joined: Tue Apr 14, 2009 4:50 pm

Problem adding Google Analytics

Post by monnolyth »

I am running Version 1.5.3 on a Linux Server

I am having a problem adding Google Analytic codes to my templates.  CMSMS is stripping out part of the code when it publishes the pages. 

Is there a work around for this.  Like a tag or something like that that I can wrap around the code that will tell CMSMS not to change or removed the code.  If not, is there another way?
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Problem adding Google Analytics

Post by Jeff »

Where are you triing to put the code for GA? In the pages, the template, a GCB, or in a UDT?

Jeff
vigor
Forum Members
Forum Members
Posts: 92
Joined: Sat Apr 25, 2009 2:32 pm

Re: Problem adding Google Analytics

Post by vigor »

Use the format below and put the code in the normal place just below . Should work.

Code: Select all

{literal} 
Analytics code here
{/literal}
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Problem adding Google Analytics

Post by RonnyK »

Or create a GCB where you put the logic.... First set the GlobalSettings to NOT allow a wysiwyg on GCBs.

Ronny
Post Reply

Return to “CMSMS Core”