Adding google analytics code to dashboard

I have added the google analytics code to the code tracker box in the dashboard, then saved, closed out. Went out to a google, yahoo visited my site but did not see any results of visits or other data in google.

Any suggestions?

I'm using the Business theme.


This is the code i pasted in:

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-21765761-1']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);


View Replies: View Best Answer
myFullFlavour replied on at Permalink Best Answer Reply
Could be two things:

1) The theme doesn't for some reason include the code that is needed to input what you entered through the dashboard (likely)

2) The theme does include it, and it's in the footer, and Google has gotten nasty about wanting it's tracking code in the header.

Get into the theme folder and drop the code into the header of the theme. If you aren't comfortable doing this, post a job on the job board.