This feature will be available beginning with v7.1
This addon allows you to insert stats about listing count and user count into your site. There are several statistics provided by this addon and you can see the full list of tags and what they provide below. Each tag only returns one number and no text. If you want to identify the statistic you'll need to place that label in the html around the addon tag in your templates.
These tags are fixed and no additional information can be passed in to affect the data returned.
{addon author='geo_addons' addon='site_stats' tag='number_listings_all_types'} This returns the total number of live listings within the site at that moment. This includes classifieds, auctions,….etc.
{addon author='geo_addons' addon='site_stats' tag='number_classifieds'} This returns the total number of live classifieds within the site at that moment.
{addon author='geo_addons' addon='site_stats' tag='number_auctions'} This returns the total number of live auctions within the site at that moment.
{addon author='geo_addons' addon='site_stats' tag='number_listings_all_types_last_24hrs'} This returns the total number of currently live listings placed in the site within the last 24 hours.
{addon author='geo_addons' addon='site_stats' tag='number_classifieds_last_24hrs'} This returns the total number of currently live classifieds placed in the site within the last 24 hours.
{addon author='geo_addons' addon='site_stats' tag='number_auctions_last_24hrs'} This returns the total number of currently live auctions placed in the site within the last 24 hours.
{addon author='geo_addons' addon='site_stats' tag='number_listings_all_types_last_7days'} This returns the total number of currently live listings placed in the site within the last 7 days.
{addon author='geo_addons' addon='site_stats' tag='number_classifieds_last_7days'} This returns the total number of currently live classifieds placed in the site within the last 7 days.
{addon author='geo_addons' addon='site_stats' tag='number_auctions_last_7days'} This returns the total number of currently live auctions placed in the site within the last 7 days.
{addon author='geo_addons' addon='site_stats' tag='number_listings_all_types_last_30days'} This returns the total number of currently live listings placed in the site within the last 30 days.
{addon author='geo_addons' addon='site_stats' tag='number_classifieds_last_30days'} This returns the total number of currently live classifieds placed in the site within the last 7 days.
{addon author='geo_addons' addon='site_stats' tag='number_auctions_ending_next_24hrs'} This returns the total number of currently live auctions on the site that expire in the next 24 hours.
{addon author='geo_addons' addon='site_stats' tag='number_auctions_ending_next_7days'} This returns the total number of currently live auctions on the site that expire in the next 7 days.
{addon author='geo_addons' addon='site_stats' tag='number_auctions_last_30days'} This returns the total number of currently live auctions on the site that expire in the next 30 days.
{addon author='geo_addons' addon='site_stats' tag='number_of_registrants_24hrs'} This is the total number of new registrants in the last 24 hours.
{addon author='geo_addons' addon='site_stats' tag='number_of_registrants_7days'} This is the total number of new registrants in the last 7 days.
{addon author='geo_addons' addon='site_stats' tag='number_of_registrants_30days'} This is the total number of new registrants in the last 30 days.
These tags have one or more variables that can be passed in to affect the data returned.
{addon author='geo_addons' addon='site_stats' tag='total_views' listing_type='0,1,2'} This tag returns the total view count of currently live listings on your site. The variables you can pass in are:
{addon author='geo_addons' addon='site_stats' tag='number_of_registrants_last' days='#'} This tag returns the total number of registrants within the last number of 'days'. This measure registrants through the JIT registration and Social Connect features as well as those that complete the registration process. The variable you can pass in is:
{addon author='geo_addons' addon='site_stats' tag='number_of_logins_last' days='#'} This tag returns the total number of registrants logged into the site in the last number of 'days'. This does not count the number of multiple logins but whether there was a login within that time period. Anonymous users stats have no effect in this stat as they do not log into the site. If you have a lot of anonymously placed listings in your site this stat will not be too useful to gauge the site usage as a whole. The variable you can pass in is:
{addon author='geo_addons' addon='site_stats' tag='number_of_users_place_listing_in_last' days='#' listing_type='0,1,2'} This tag returns the total number of registrants placing listing in the last number of 'days'. Anonymous users stats count only as one in this stat no matter how many anonymously placed listings there have been in the time period. If you have a lot of anonymously placed listings in your site this stat will not be too useful to gauge the site as a whole. The variable you can pass in are:
{addon author='geo_addons' addon='site_stats' tag='number_listings_region_category' region='#' listing_type='0,1,2' category='#'} This tag returns the total number of listings of a specific listing type from within a category a region or a region and category. For this tag to return any results the geographic navigation addon must be installed and enabled. The variable(s) you can pass in are:
{addon author='geo_addons' addon='site_stats' tag='number_listings_category' listing_type='0,1,2' category='#'} This tag returns the total number of listings of a specific listing type from within a category . For this tag to return any results the geographic navigation addon must be installed and enabled. The variable(s) you can pass in are:
number of registrants in last 24 hours: {addon author='geo_addons' addon='site_stats' tag='number_of_registrants_24hrs'} <br> number of registrants who have placed classifieds in the last 5 days: {addon author='geo_addons' addon='site_stats' tag='number_of_users_place_listing_in_last' days='5' listing_type='1'}<br> number of unique logins the last 12 days: {addon author='geo_addons' addon='site_stats' tag='number_of_logins_last' days='12'}<br> number of registrants in the last 12 hours: {addon author='geo_addons' addon='site_stats' tag='number_of_registrants_last' days='.5'}<br> total views on the site: {addon author='geo_addons' addon='site_stats' tag='total_views'}