SP.UsageInfo.visits Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies the cumulative number of requests for pages in the site collection, with no referring URL, or a referring URL outside of the current site collection during an implementation specific period.
var value = SP.UsageInfo.get_visits();
Property Value
Type: Int64