Drupal Social Stats Screenshot

This is a statistics module. It provides data from various social media sites. The data which is saved per node. It includes data from:

  1. Facebook : likes count, shares count, comments count & total count.
  2. Twitter : tweets count.
  3. LinkedIn : share count.
  4. Google Plus : plus one count
  5. Total Share Count : total across all available social networks


  1. social_stats : This module is responsible to collect data from the social sites and store it in the database.
  2. social_stats_views : Views integration of the data collected by social_stats module.
  3. social_stats_panels : Panels integration of social_stats module.


  1. Download the module and place it with other contributed modules (e.g. sites/all/modules/).
  2. Enable the Social Stats module on the Modules list page. The database tables will be created automatically for you at this point.
  3. Modify permissions on the People >> Permissions page.
  4. Go to admin/config/social-stats/settings, set the date after which you want your data to be fetched. Select the social sites to be tracked per content type.
  5. Run cron. This will fetch the statistics per node and store it in database.
  6. Enable the Social Stats Views module and/or Social Stats Panels(can do it at step 2 itself).


The administrative interface is at: Administer >> Configuration >> Social Stats >> Social Stats settings.
Social Stats Views module will enable you to have the following additional features to views.

  1. Field : Add social statictics of node as field. Under "Add field", click on the category "Social Stats", and select the data.
  2. Filter : Filter the content on the stats. For example, you can have a filter like "only show nodes which have Facebook likes > 200".
  3. Sort : Sort the content on the basis of the stats, ascending or descending.

Social Stats Panels module will enable you to have the following additional
content types to panels panels.

  1. Total Shares : Facebook total + Twitter + LinkedIn + Google Plus.

This content types will be visible under "Social Stats" category under
"Add content" area on the node view by default. If you wish to add this
content types in mini panels you have to set the required context of node.


The development of this module is sponsored by QED42.

Special thanks to jcamposanok, for reviewing the module at its initial stage, and keeping me from giving up from developing it further.

Project Information