Hi, I want to kick-start my new arcade, splatzgames.co.uk (i am redesigning it right now!) and notice a lot of arcades now have a pre game page that when you click on the thumbnail it takes you to another site. (a good example is gamehopper.net) I want to know how you can track the traffic that leaves Site A to go to Site B so I know how much traffic Site B should send me back.
Instead of Site A goes to Site B, use this: Site A goes to redirection page Redirection page go to Site B You control the redirection page. At least, you know where your visitor wanted to go. As far as I know, you can't tell for sure if he arrived or not at destination.
Let's say the redirection page is called redirect.php. You can use the following code, which will write in the file log.txt the number of visitors <?php // We log the number of visitors $handle = fopen ('log.txt', "a"); fwrite ($handle, "New visitor\r\n"); fclose ($handle); // We redirect header ('Location: http://www.destinationsite.com/new_page.html'); ?> Code (markup): If you want more details, you can insert the Google Analitycs' code on that page, instead of the log.
Is it a wordpress blog? If so, you can install this plugin to track outbound clicks. If its not a wordpress blog, you can tag outbound links with the javascript onclick function.