Tracking banner ads on the site

Tendenci does not provide a way to keep track of banner ad click through.


But with Google Analytics there is an easy way to track which of your banner ads are getting clicks and going to your advertiser's sites.

You will need to have Google Analytics set up on your site. 

Here are the steps from Google on how to track your banner ads if they're provided by Google.

To track outbound clicks on an animated GIF or other type of static banner ad, add the following code within the <a> tag:

<a href="http://www.advertisersite.com" onClick="javascript: pageTracker._trackPageview
('/bannerads/advertisername/bannername');
">

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:

on(release) {
getURL("javascript: pageTracker._trackPageview
('/bannerads/advertisername/bannername');");
getURL("http://www.advertisersite.com");
}

 

 

If your banner ads are not provided by Google you will need to tag your links by creating a new URL, to do this follow the steps here:

http://www.google.com/support/googleanalytics/bin/answer.py?answer=55578&hl=en


This tool will automatically create a tagged URL based on the information you provide. 

After you have tagged your ads and tracking begins, the data will appear under Traffic Sources in the Top Traffic Sources.

You can contact our support team for help with this.
support@schipul.com