StatsTotal Property

Syntax:

 totalOverallHits = chStatsObj.StatsTotal

Returns:

Returns the total number of hits for all countries combined.

Example:

<%

set chStatsObj = Server.CreateObject("cyScape.CountryStats ")

totalHits = chStatsObj.Total("DE")

totalOverallHits = chStatsObj.StatsTotal

if totalOverallhits = 0 then

response.write "No hits from any countries yet."

else

response.write "Hits from Germany: " & totalHits

response.write "Percentage of overall: " & totalHits / totalOverallHits

end if %>

Note: Use of this property requires the Enterprise Edition of CountryHawk.

Note: This property is read-only.

See Also:

CountryHawk Object Properties and Methods

RegionStats Object Properties and Methods