Hi, I am redirecting traffic to another site via .htaccess or php code: <?php header('Location: http://www.example.com/'); ?> Code (markup): So I wondering to know how could I count traffic which was already sent?
Your best option would be to setup/install a click tracking script. There are many of these sort of scripts available.
But there aren't any clicks, so I couldn't track it. People just write address and go straight to url where I send them, they don't click anything. Or maybe I didn't understand "click tracking scripts" principles?
You can forward the visitors to a URL that makes a count then forwards them to the actual URL where you want them to end up. If you know a little PHP this would be fairly easy to script together yourself.
When using a click tracking script, it doesn't need to be an acutal click - in this case, the forced forward will be counted as a "click". For example: "yoursite.com/click-tracking-script?id=1" (when someone is redirected through that url it will count it and then forward them to the real url.)
But it takes many time to redirect to one address, to another after that... Maybe there is something like awstats? It should be free and simple to use install when you aren't server admin, only user. Awstats don't tracking traffic when there are only redirection, not index file with any content.
It's usually instant to redirect the address. Do you mean something else? If you want something that is easy to install and tracks just the clicks (without needing a re-direct or otherwise) GoStats does have this feature.