News: Welcome to the TinyPortal Support site.

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

December 12, 2019, 10:54:27 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189280
  • Total Topics: 20775
  • Online Today: 70
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 61
Total: 62

Author Topic: stats for visited pages  (Read 4348 times)

0 Members and 1 Guest are viewing this topic.

osquitar

  • Guest
stats for visited pages
« on: July 16, 2007, 05:18:29 PM »
Is there any mod to look which pages the users visit?

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: stats for visited pages
« Reply #1 on: July 16, 2007, 05:21:15 PM »
Not for TP. But there are 3rd party scripts and sites that will do this stuff for free.

osquitar

  • Guest
Re: stats for visited pages
« Reply #2 on: July 16, 2007, 05:25:53 PM »
for example, google analiytics. Do you know where I must paste the code? In the template?

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: stats for visited pages
« Reply #3 on: July 16, 2007, 05:30:56 PM »
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.

osquitar

  • Guest
Re: stats for visited pages
« Reply #4 on: July 16, 2007, 05:34:31 PM »
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>

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: stats for visited pages
« Reply #5 on: July 16, 2007, 05:45:47 PM »
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

osquitar

  • Guest
Re: stats for visited pages
« Reply #6 on: July 17, 2007, 10:21:20 AM »
I did it. It seems to work. Thanks.