Google Analystisc how does it work ?

master412160

Seasoned Veteran
Joined
Dec 5, 2009
Messages
3,718
Reaction score
4
FP$
1,428
I or we on CF have it but I only use it to see vistors don't know how to manage it. But the point is I want to add an other site on google analystisc, what do I do ?

Do I need to make any edits to a file or so ?

Thank you very much.
 
If you want to add another site, you'll have to go to your account and simply add another site in which you'll get another code I believe...If someone can verify that, it'd be great! 😎
 
I'm currently using MyBB as the forum software and there is a plugin for Google Analytics and it's really good. I'm sure there is a plugin on phpBB as well.
 
I will check this out tomorrow and see if it works, the css file of the style of the board ?
 
The code is in JavaScript, so you put it in a common template or use a forum modification/plugin to achieve that.

As for explanation, a visitor visits the site and the code detects the user, location, etc. Simple as that.
 
Saruman said:
I believe in your css file before the body tag.
That's incorrect.

First open overall_header.tpl in your templates folder.

Search for </head>

Before this copy your analytics code. So for example your code should look like:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-000000-1";
urchinTracker();
</script>

</head>

Next open simple_header.tpl and do the same

Save both files and overwrite them on your server.
 
Back
Top Bottom