Joined: 03 Jun 10
03 Jun 10 12:03 pm
Here is an easy way for you to track which banners visitors click on to leave your site and which advertisers they visit.
To track outbound clicks on an animated GIF or other type of static banner ad, add the following code within the <a> tag:
This code uses the _trackPageviewfunction to log each click on the banner as though it were a pageview named /bannerads/advertisername/bannername. You may use any folder/filename structure that you desire, though it's a good idea to log all of your advertising banners into a logical directory structure as shown in the example. This helps to easily identify the number of referrals to each advertiser.
The equivalent code for a Flash banner is provided below:
Register yourself at various online focus group collectives and start the ball rolling straight away.