📝 NOTE: It is assumed you know how to create custom Dashboards and Charts. If not, read this article before proceeding.
When building your own Dashboard Charts, you can pull data from various data sources to view different types of analytics events.
- In this article, we're going to focus on the Group data source, which tracks all Group activity across your Higher Logic Vanilla (Vanilla) community.
Overview
The Group data source tracks when:
- A Group is added
- A Group is updated
- A Group is deleted
- A user joins a Group
- A user leaves a Group
For each Group event logged, you can see:
- The type of Group activity that occurred (e.g., joined or left)
- Information about the Group associated to the activity:
- Group ID
- Group Name
- Group Privacy
- Information about the User who initiated the action:
- User ID
- User Name
- User UUID
- User Rank Name
- User Rank ID
- User Role ID
- User Role Name
- User Role Type
Filter Chart data
Controlling what data is shown in a Chart is accomplished via the Group By and Filter options.
- The Group By options (available for pie graphs, line graphs, bar graphs, and tables) enable you to view data by Group action (type), Group name, and more.
- You can add Filters to your query to drill into or exclude specific types of Group events (e.g., exclude specific users from traffic data or focus your Chart on traffic seen in a specific Group).
Let's learn about each of the available Group By and Filter options.
Type
Each Group activity logged has a type. The type parameter defines what happened:
- add: a new Group was created
- update: an existing Group's details were updated
- delete: a Group was deleted
- userJoin: a user joined a Group
- userLeave: a user left a Group
Group info
Each action logged in the Group data source is associated with a Group. You can Group and/or filter Chart data by:
- Group Name
- Group ID
- Group Privacy: i.e. Public, Private or Secret Groups
User Info
Each action logged in the Group data source is triggered by a user. These parameters will define the user who has added, edited, or deleted a Group, or the user who has joined or left a Group. You can Group and/or filter chart data by:
- User ID
- User Name
- User Rank Name
- User Rank ID
- User Role ID
- User Role Name
- User Role Type