]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Updated documentation
authoreldy <>
Wed, 10 Sep 2003 13:10:28 +0000 (13:10 +0000)
committereldy <>
Wed, 10 Sep 2003 13:10:28 +0000 (13:10 +0000)
docs/awstats_extra.html

index 5566df74165b6ab0290101dc31ffe78e9062a079..0f2e066b6aa872703f3c12061cb83ca0d6027f96 100644 (file)
@@ -68,6 +68,26 @@ user or agent, etc...<br>
 <b>You will find here examples of ExtraSection setup you can follow to build your own reports:</b>\r
 <br>\r
 \r
+<br>\r
+<br><a name="productorders"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>Tracking Product orders</u></H2></a>\r
+Image your web site is an e-store that sells 80 different products. Each of them has an id.\r
+Each time, someone make an order for product 49, the order.cgi script is called with in URL\r
+query parameter the id of the product, so you get in your log file a hit that looks like this:<br>\r
+<i>GET /cgi-bin/order.cgi?productid=49&session=A0B1C2</i>\r
+<br>\r
+So this is an example on how to setup your ExtraSection, to track your product orders:<br>\r
+<i>\r
+ExtraSectionName1="Product orders"<br>
+ExtraSectionCondition1="URL,/cgi-bin/order.cgi"<br>
+ExtraSectionFirstColumnTitle1="Product ID"<br>
+ExtraSectionFirstColumnValues1="QUERY_STRING,productid=([^&]+)"<br>
+ExtraSectionStatTypes1=PL<br>
+MaxNbOfExtra1=100<br>
+MinHitExtra1=1<br>
+</i>\r
+<br>\r
+\r
+\r
 <br>\r
 <br><a name="bugzilla"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>Tracking Bugzilla most frequently viewed bugs</u></H2></a>\r
 This is an example on how to setup your ExtraSection:<br>\r
@@ -81,7 +101,8 @@ MaxNbOfExtra1=10<br>
 MinHitExtra1=1<br>\r
 </i>\r
 <br>\r
-<br>\r
+\r
+\r
 \r
 <br>\r
 <hr>\r