I wanted a quick and easy way to display the referral information found in the ~/app_data/log folder. This information is compiled on a weekly basis and tells you how many people have visited your site by clicking on a trackback link. I decided on creating a UserControl that can display the information in an unorganized list. This was complicated a little because of the need to gather information from multiple XML files, while combining the count value of duplicate referral entries.
The following image shows the UserControl results with a little style added.

The UserControl has several options that can be used to customize the look and feel for your specific needs. Here are the list of options that are available:
- showQty – [true]/false – Show the total number of referrals from the referrer?
- showSpam – [true]/false – Include referrals marked as “isSpam” in the XML Log file?
- maxItems – Determines how many referrals to display. Default is 10.
- maxLength – Determines the maximum length of the referrals displayed. Default is 40
Let me know if you have any questions or comments regaring this UserControl.
UPDATE (Sept 11th): Fixed a bug in the logic and cleaned up how the content was rendered.
ReferralList.zip