Note: This module is universal. Functions in this module can run on both the backend and frontend, unless specified otherwise.
The Activity Counters module allows you to keep track of site members' activity. See "Integrations" below for Wix App activities that are already counted.
The service allows public and private counters:
The Activity Counters API gives you access to the counters on a site at a per-member, per-app level.
Counters are only activated when a site member actually performs the activity the counter tracks.
This means that the query and list endpoints for this API may return a large number of results, for sites with many members.
Activity Counters is currently integrated with these Wix apps and features:
Wix Blog counts blog posts, comments, and likes.
Wix Forum counts forum posts, comments, likes, and views.
Wix Members Area counts followers in both directions (followed by / following).
Third-party developers can
To create a new counter for an app, use the Set Activity Counters function.
Most active writer widget. You want to add a "most active writer" widget to your home page, based on the number of posts each member creates.
Most influential member widget. You wants to add a "most influential members" widget to your community, based on how many likes and comments each member's posts gets.
To use Wix Marketing Tags,
import { activityCounters }
from the wix-activity-counters.v2
module: