SmarterStats 11.x Help

General Settings

This feature is only available to site administrators.

Site administrators can use this page to control how the website's log files are processed. For example, SmarterStats can be configured to ignore specific query strings variables, directories or host headers. Note: Some changes to these settings may require a reprocessing of your log files. Keep in mind that statistics are unavailable during reprocessing.

To access this section, click the settings icon. Then expand the Site Settings folder and click General Settings in the navigation pane. The general settings will load in the content pane and the following tabs will be available:

Options

Use this tab to specify the following options:

  • Site URL - The URL of the website in which you are gathering statistics for.
  • Time Zone - Select your time zone from the list.

Ignore Items

Use this tab to specify items that should be ignored:

  • Query string items to ignore - If you have query string variables in your site that have near random values such as page refresh randomizers or session IDs, add the names of the query variables to this text box, separated with commas. If you enable this option, the system will start ignoring the value of those variables when calculating page hits. The hits will still be registered, but without that variable. Please note that this option is a pre-filter, meaning that once you enable it, you cannot get the values of those variables back unless you keep the original logs.
  • Enable removal of URL items after semicolon - Check this box if the website passes session variables in the URL separated with a semicolon.

Log Processing Rules

Use this tab to add exclusions or inclusions to your stats data. These act as pre-filters and allow a sub-site to be created that ignores specific directories, host headers or hits from specific IP addresses. Unlike filter sets, exclusions and inclusions are processed before logs are analyzed, meaning that SmarterStats acts as if removed rows do not exist in the logs. (Whereas filter sets simply hide the data from specific reports.)

To create an exclusion or inclusion, click the Add menu in the content pane toolbar and click Log Processing Rule. The following options will be available:

  • Type - To specify the type of item to be included or excluded from log processing, select the appropriate option from the list. Depending on the item selected, you may be asked to provide the specific directory, IP address, path, filename or host header. Available rule types are: Exclude an IP Address, Exclude a Range of IP Addresses, Exclude a File, Exclude a Directory (and children), Include a Directory (others will be ignored), Exclude a Host Header, Include a Host Header or Exclude a Request URI.

Query Variables

Query variables can be used to differeniate multiple pages that would normally be processed and displayed as only one page. Use this tab to specify query variables that should be processed as separate pages based on the variables passed through the page. For example, imagine you're tracking the following URLs:

http://www.mydomain.com/dir1/page.php?src=test1
http://www.mydomain.com/dir1/page.php?src=test2
http://www.mydomain.com/dir1/page.php?src=test3

Without a query variable, reports would display these pages together as "/dir1/page.php". After adding a query variable and reprocessing the site stats, reports would then display the following:

/dir1/page.php?src=test1
/dir1/page.php?src=test2
/dir1/page.php?src=test3

To add a query variable to SmarterStats, click the Add menu in the content pane toolbar and click Query Variable. The following options will be available:

  • Match Type - To specify how the page information is used to determine which pages are query variables, select the appropriate option from the list.
  • Page - The page information used to determine which pages are query variables. From the example above, if the match type is set to Exact, you would enter "/dir1/page.php". If the match type is set to Ends With, you would enter "page.php".
  • Query String Variables - The variables used to determine which pages are query variables. From the example above, the query string variable would be "src". This denotes that if the variable has a value of 1, it would be treated as a separate page from a value of 3. Note: An equal sign (=) is not required in the list, and a warning will display when one is present.