TinyPortal
Development => Resources => Topic started by: osquitar on July 17, 2007, 12:18:29 AM
Is there any mod to look which pages the users visit?
Not for TP. But there are 3rd party scripts and sites that will do this stuff for free.
for example, google analiytics. Do you know where I must paste the code? In the template?
I don't know anything about the google analytics. What does the code do? I'm thinking if you're going to put any code in your template to track things you should put it in the index.template.php file as it loads everytime.
google analytics ask me to paste the following code just before the </body> label:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2244069-1";
urchinTracker();
</script>
And did you try?
echo 'your code inbetween these apostrophes';
Be careful not to break any other echo statements. You can read more about echo in a little tutorial I did.
http://www.ichbin.us/index.php?topic=19.0
I did it. It seems to work. Thanks.