Page 2 of 2

Re: Google Analytics

Posted: Mon Jun 07, 2010 5:09 am
by ridelikeaturtle
cacharopnet wrote: Thanks a lot! I have created the tag, but how can I know the id of the tag? like you have mentioned:id="UA-555555-55", does that mean I can use any id?
No, you should insert your id for your site here.  You can find this in your Google Analytics settings page for the site you're tracking.

Re: Google Analytics

Posted: Tue Oct 04, 2011 10:10 am
by emilyshimell
Hi!

With the previous code that you put as a UDT, whats the reason for the beginning return' and the ending '; ? My initial google analytics code doesn't have this in it... do I need to add this?

Thanks

Re: Google Analytics

Posted: Thu Dec 15, 2011 6:14 pm
by Zafazo
Alright right remember KISS

In Google Analytic's it explicitly states that the code is to go right before the </head>

It works fine in CMSMS 1.10.1 to just put the code in the template

as such

Code: Select all

<head>
{stuff}
{styles}
{literal}
GOOGLE CODE
{/literal}
</head>


This works just fine for me and should clear up any confusion.

I tryed using some 3rd party addons/modules but it's just added to much extra stuff when it's this easy to add to the template.