Hi, Im attempting to make an extrasections to display the host, referring link if any or show it was a direct link if its a search engine search link id like to see that in full, hits from that host and time last visited.
I got as far as making the section and having the hits and last visit fields display.
Ive had a gazillion 500 errors so wont embaress myself by posting the code that works, since it really has no custom fields.
Ah well, here is my uber code …
ExtraSectionName1=”All URL Stuff”
ExtraSectionCodeFilter1=”200 304″
ExtraSectionCondition1=”URLWITHQUERY,(.*)”
ExtraSectionFirstColumnTitle1=”All URL Stuff”
ExtraSectionFirstColumnValues1=”URLWITHQUERY,(.*)”
ExtraSectionFirstColumnFormat1=”%s”
ExtraSectionStatTypes1=HL
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=20
MinHitExtra1=1
ExtraSectionName2=”Referrers”
ExtraSectionCodeFilter2=”200 304″
ExtraSectionCondition2=”REFERER,(.*)”
ExtraSectionFirstColumnTitle2=”Referred”
ExtraSectionFirstColumnValues2=”REFERER,(.*)”
ExtraSectionFirstColumnFormat2=”%s”
ExtraSectionStatTypes2=HL
ExtraSectionAddAverageRow2=0
ExtraSectionAddSumRow2=1
MaxNbOfExtra2=20
MinHitExtra2=1
In the referrers section, even if I cant merge the 2, Id like to exclude my own site from the results. They dont pop in the regular results but they do come up in the extra. I have excluded results in the config file, dunno how to do it with regex … which is something I need to get a tut on.
Any help would be appreciated.