# # Author: Sean Carlos # Date: 2005-08-21 # Purpose: Provide sample AWStats ExtraSection configurations for Referral campaigns, merit based search engine optimization. # # For more information see: http://www.antezeta.com/awstats.html # Vedi http://www.antezeta.com/awstats.html per maggior informazioni. # # You will need to: # 1) modify the section number on each line, i.e. "5=" etc to insure # your sections are in sequential order. They are NOT in order in this file! # 2) change references to www.mysite.com below to your domain. # # Updated 2006-Apr-06 (Improved Navigation to and from Home Page syntax) # Updated 2006-Apr-25 (Added links to search engines on search key phrases. Updated Ask query parameter recognition.) # -- Who's sending traffic? (aggregate look) ExtraSectionName1="Referring Sites by domain - Top 25" ExtraSectionCodeFilter1="200 304" # Filter on ANY REFERER except "mysite". Change mysite to your domain name. ExtraSectionCondition1="REFERER,^(?!http:\/\/www\.mysite\.com)" ExtraSectionFirstColumnTitle1="Site" ExtraSectionFirstColumnValues1="REFERER,^[hH][tT][tT][pP]:\/\/([^\/]+)\/" ExtraSectionFirstColumnFormat1="%s" #ExtraSectionFirstColumnFormat1="%s" ExtraSectionStatTypes1=PHL ExtraSectionAddAverageRow1=1 ExtraSectionAddSumRow1=1 MaxNbOfExtra1=25 MinHitExtra1=1 # ----------------- # -- RSS Traffic -- # ----------------- # -- Modified version of this posting: http://www.chedong.com/blog/archives/001078.html ExtraSectionName2="Top RSS Readers/Spiders" ExtraSectionCodeFilter2="200 304" ExtraSectionCondition2="URL,\.xml|\.rdf|\.rss" ExtraSectionFirstColumnTitle2="RSS Reader/Spider" ExtraSectionFirstColumnValues2="UA,(.*)" ExtraSectionStatTypes2=HBL ExtraSectionAddAverageRow2=1 ExtraSectionAddSumRow2=1 MaxNbOfExtra2=30 MinHitExtra2=1 # -------------------------------- # -- Search Engine Optimization -- # -------------------------------- # -- Top Searches by specific search Engines -- ExtraSectionName5="Google Searches - Top 50" ExtraSectionCodeFilter5="200 304" # -- This should look like this to avoid mail, translate but && is not supported? # ExtraSectionCondition5="REFERER,(.*\.google.*)&&REFERER,^http:\/\/([^mail\.google\.])" ExtraSectionCondition5="REFERER,(.*www\.google\..*)" ExtraSectionFirstColumnTitle5="Search" ExtraSectionFirstColumnValues5="REFERER,p=([^&]+)||REFERER,q=([^&]+)||REFERER,as_p=([^&]+)||REFERER,as_q=([^&]+)" ExtraSectionFirstColumnFormat5="%s" ExtraSectionStatTypes5=PHBL ExtraSectionAddAverageRow5=0 ExtraSectionAddSumRow5=1 MaxNbOfExtra5=50 MinHitExtra5=1 ExtraSectionName6="Yahoo Searches - Top 50" ExtraSectionCodeFilter6="200 304" ExtraSectionCondition6="REFERER,(.*\.yahoo\..*)" ExtraSectionFirstColumnTitle6="Search" ExtraSectionFirstColumnValues6="REFERER,p=([^&]+)" ExtraSectionFirstColumnFormat6="%s" ExtraSectionStatTypes6=PHBL ExtraSectionAddAverageRow6=0 ExtraSectionAddSumRow6=1 MaxNbOfExtra6=50 MinHitExtra6=1 ExtraSectionName7="MSN Searches - Top 50" ExtraSectionCodeFilter7="200 304" ExtraSectionCondition7="REFERER,(.*\.msn\..*)" ExtraSectionFirstColumnTitle7="Search" ExtraSectionFirstColumnValues7="REFERER,q=([^&]+)" ExtraSectionFirstColumnFormat7="%s" ExtraSectionStatTypes7=PHBL ExtraSectionAddAverageRow7=0 ExtraSectionAddSumRow7=1 MaxNbOfExtra7=50 MinHitExtra7=1 ExtraSectionName9="Ask Searches - Top 50" ExtraSectionCodeFilter9="200 304" ExtraSectionCondition9="REFERER,(.*\.ask\..*\/web.*)" ExtraSectionFirstColumnTitle9="Search" ExtraSectionFirstColumnValues9="REFERER,q=([^&]+)||REFERER,ask=([^&]+)" ExtraSectionFirstColumnFormat9="%s" ExtraSectionStatTypes9=PHBL ExtraSectionAddAverageRow9=0 ExtraSectionAddSumRow9=1 MaxNbOfExtra9=50 MinHitExtra9=1 ExtraSectionName8="Altavista Searches - Top 50" ExtraSectionCodeFilter8="200 304" ExtraSectionCondition8="REFERER,(.*\.altavista\..*)" ExtraSectionFirstColumnTitle8="Search" ExtraSectionFirstColumnValues8="REFERER,q=([^&]+)" ExtraSectionStatTypes8=PHBL ExtraSectionAddAverageRow8=0 ExtraSectionAddSumRow8=1 MaxNbOfExtra8=50 MinHitExtra8=1 # -- When does bot visit and what does it find? -- EExtraSectionName9="Google crawls - Top 50" ExtraSectionCodeFilter9="200 304" ExtraSectionCondition9="UA,(.*Googlebot.*)" ExtraSectionFirstColumnValues9="URL,(.*)" ExtraSectionFirstColumnFormat9="%s" ExtraSectionStatTypes9=PHBL ExtraSectionAddAverageRow9=0 ExtraSectionAddSumRow9=1 MaxNbOfExtra9=50 MinHitExtra9=1 ExtraSectionName10="Yahoo crawls - Top 50" ExtraSectionCodeFilter10="200 304" ExtraSectionCondition10="UA,(.*Yahoo\! Slurp.*)" ExtraSectionFirstColumnValues10="URL,(.*)" ExtraSectionFirstColumnFormat10="%s" ExtraSectionStatTypes10=PHBL ExtraSectionAddAverageRow10=0 ExtraSectionAddSumRow10=1 MaxNbOfExtra10=50 MinHitExtra10=1 ExtraSectionName11="MSNbot crawls - Top 50" ExtraSectionCodeFilter11="200 304" ExtraSectionCondition11="UA,(.*msnbot.*)" ExtraSectionFirstColumnValues11="URL,(.*)" ExtraSectionFirstColumnFormat11="%s" ExtraSectionStatTypes11=PHBL ExtraSectionAddAverageRow11=0 ExtraSectionAddSumRow11=1 MaxNbOfExtra11=50 MinHitExtra11=1 ExtraSectionName17="Ask crawls - Top 50" ExtraSectionCodeFilter17="200 304" ExtraSectionCondition17="UA,(.*jeeves.*)" ExtraSectionFirstColumnValues17="URL,(.*)" ExtraSectionFirstColumnFormat17="%s" ExtraSectionStatTypes17=PHBL ExtraSectionAddAverageRow17=0 ExtraSectionAddSumRow17=1 MaxNbOfExtra17=50 MinHitExtra17=1 ExtraSectionName12="Altavista crawls - Top 50" ExtraSectionCodeFilter12="200 304" ExtraSectionCondition12="UA,(.*scooter.*)" ExtraSectionFirstColumnValues12="URL,(.*)" ExtraSectionFirstColumnFormat12="%s" ExtraSectionStatTypes12=PHBL ExtraSectionAddAverageRow12=0 ExtraSectionAddSumRow12=1 MaxNbOfExtra12=50 MinHitExtra12=1 # -- Are bots crawling your site map? ExtraSectionName13="sitemap.xml.gz downloads by Useragent" ExtraSectionCodeFilter13="200 304" ExtraSectionCondition13="URL,(^\/sitemap\.xml\.gz)" ExtraSectionFirstColumnTitle13="UA" ExtraSectionFirstColumnValues13="UA,(.*)" ExtraSectionStatTypes13=HBL ExtraSectionAddAverageRow13=0 ExtraSectionAddSumRow13=1 MaxNbOfExtra13=10 MinHitExtra13=1 # ---------------------------- # -- Monitor specific pages # ---------------------------- ExtraSectionName14="Pages with javascript in name" ExtraSectionCodeFilter14="200 304" # Filter on specific URL, including possible sessionid ExtraSectionCondition14="URL,(^\/.*javascript.*\.html)" ExtraSectionFirstColumnTitle14="URL" ExtraSectionFirstColumnValues14="URL,(.*)" ExtraSectionStatTypes14=PBL ExtraSectionAddAverageRow14=0 ExtraSectionAddSumRow14=0 MaxNbOfExtra14=1 MinHitExtra14=1 # ---------------------------- # -- Monitor Top downloads. # ---------------------------- # To do: Ideally parameterize from not page list. ExtraSectionName15="Downloads (diff,doc,pdf,rtf,sh,tgz,zip) - Top 10" ExtraSectionCodeFilter15="200 304" ExtraSectionCondition15="URL,(.*((\.diff)|(\.doc)|(\.pdf)|(\.rtf)|(\.sh)|(\.tgz)|(\.zip)))" ExtraSectionFirstColumnTitle15="Download" ExtraSectionFirstColumnValues15="URL,(.*)" ExtraSectionFirstColumnFormat15="%s" ExtraSectionStatTypes15=HBL ExtraSectionAddAverageRow15=0 ExtraSectionAddSumRow15=1 MaxNbOfExtra15=10 MinHitExtra15=1 # Assumes default page is "/" and is always referenced as /, not index.html etc. # Assumes default page extension is html. This will thus exclude directory pages which appear as \ # Change html to your page suffix if different, i.e. htm. ExtraSectionName25="Navigation from Home Page - Top 25" ExtraSectionCodeFilter25="200 304" ExtraSectionCondition25="REFERER,http:\/\/www\.mysite\.com\/" ExtraSectionFirstColumnTitle25="URL" ExtraSectionFirstColumnValues25="URL,(.*html$)" ExtraSectionFirstColumnFormat25="%s" ExtraSectionStatTypes25=PHBL ExtraSectionAddAverageRow25=0 ExtraSectionAddSumRow25=1 MaxNbOfExtra25=25 MinHitExtra25=1 # Assumes default page is always linked to as "/". Some sites need to add index.html or default.asp as the case may be. ExtraSectionName26="Navigation to Home Page from within site - Top 25" ExtraSectionCodeFilter26="200 304" ExtraSectionCondition26="URL,(^\/$)" ExtraSectionFirstColumnTitle26="REFERER" ExtraSectionFirstColumnValues26="REFERER,^http:\/\/www\.mysite\.com\/(.*)" ExtraSectionFirstColumnFormat26="%s" ExtraSectionStatTypes26=PHBL ExtraSectionAddAverageRow26=0 ExtraSectionAddSumRow26=1 MaxNbOfExtra26=25 MinHitExtra26=1