WEBStatsPageViews

Purpose

This is a read/write property.  It will return the number of times your web site has displayed a complete page.  To reset the statistics, set this property to 0.

Parameters

Parameter: =value
Type:
string
Note: Set to 0 when clearing the stats.

Returns

Return value: page statistics
Type: integer
Description: The number of page views from the HomeSeer web site as an integer.

Example

' get the page view stats and set to a virtual device for display

sub main()

dim s

s = hs.WEBStatsPageViews
hs.SetDeviceString "z1","Page Views: "&cstr(s)

end sub

 

' reset the stats

sub main()

hs.WEBStatsPageViews = 0

end sub