Re: [phpOpenTracker-general] how to track referrers?
Andreas Israel <[email protected]> Thu, 14 Apr 2005 09:02:13 +0200
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Message-ID | <[email protected]> |
Good morning,
Sergio Bayona schrieb:
>hello everyone,
>
>I am new to PhpOpenTracker. Could some one tell which API call to use to track
>top URL referrers?
>
>
>
If I understood it right, you want to get the top referers for your site.
So you could try the following.
there is a similar example at:
http://phpopentracker.de/docs/en/api-reference.api-calls.top.html
I took this ex. an changed it to referer.
~~~schnipp~~~
|<?php
$referers = phpOpenTracker::get(
array(
'api_call' => 'top',
'what' => 'referer',
'range' => 'total', # change this to get less (http://phpopentracker.de/docs/en/api-reference.timeranges.html)
'limit' => 10 # change this to get more
)
);
print_r($referers);
?>
|
~~~~~schnapp~~~~~
Have fun with it
Andreas