Topic: PunBB and Google Analytics

Hello,

I want to test the Google Analytics, and I wondered for PunBB, where I can paste the tracking code.
They says :

Enter the code below into all of your web pages, between the <head> and </head> tags, and after any <meta> tags in that section. If you use a common include or template, you can enter it there.

The code is like that :

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

Thanks

2 (edited by pogenwurst 2005-11-20 21:24)

Re: PunBB and Google Analytics

Try putting it in include/template/main.tpl

Looking for a certain modification for your forum? Please take a look here before posting.

Re: PunBB and Google Analytics

It supposed to be in each page of the website.
If i do like you say pogenwurst, will it works ?

Re: PunBB and Google Analytics

Yes smile

Re: PunBB and Google Analytics

Thanks. It works fine