š NOTE: It is assumed you know how to create custom Dashboards and Charts, and have an understanding of chart Types, Presets, and Metrics. 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Ā QnA data source, which tracks how many answers to questions have been marked as Accepted (i.e., Solved). Use the filters and grouping options to dig deeper into this data.
Overview
An event is logged in Analytics for each answered question logged, and for each event you can see:
- Information about the discussion the question was posted to:
- Category ID
- Category Name
- Country
- Country Code
- Discussion Comment Count
- Date Added
- Discussion ID
- Discussion Type
- Discussion Name
- First Comment?
- Time
- Type
- Information about the user who asked the question:
- Discussion Author Name
- Discussion Author ID
- Discussion Author Rank Name
- Discussion Author Role Type
- Discussion Author Role Name
- Discussion Author Role ID
- Information about the user who marked the answer as accepted:
- User Name
- User Rank Name
- User Role Type
- User Role Name
- User Role ID
- User Session ID
- User ID
- User UUID
Examples
- Group data by Insert User Name or Insert User ID to see whose answers are being accepted.
- Group data by User Name, User ID, User UUID, or Role Type to see who is marking answers as accepted.
Filter Chart data
Controlling what data is shown in a Chart is accomplished via theĀ Group ByĀ andĀ FilterĀ options. Each of the available options is listed in the Overview section above, and each can be used as a grouping option and filter.
- TheĀ Group ByĀ options (available for pie graphs, line graphs, bar graphs, and tables) enable you to view specific discussion, author, and user data.
- You can addĀ FiltersĀ to your query toĀ drill intoĀ orĀ excludeĀ specific details of this data.
āļøĀ TIP: You can add one or multiple Group By and Filter options to dissect the data how you see fit. Generally speaking, you'll select Group By options to view a specific slice of data, and, if needed, use Filters to dig deeper.
Let's learn about each of the available Group By and Filter options.
šĀ NOTE: These options can be used both to group and filter data.
Discussion data
You can group and/or filterĀ Discussion dataĀ based on the following event parameters:
- Category ID: The ID of the category the solved question was posted to.
- Category Name: The name of the category the solved question was posted to.
- Country: The country of the user whose answer was accepted.
- Country Code: The country code of the user whose answer was accepted.
- Discussion Comment Count: The number of comments (replies) by discussion.
- Date Added: The number of discussions added over time.
- Discussion ID: The ID of the question that was solved.
- Discussion Type: The type of discussion that was started (Discussion, Idea, Question, Poll).
- Discussion Name: The name of the question that was solved.
- First Comment?: Indicates whether the post is the first comment (true or false).
- Time: The number of discussions added over time.
- Type: The type of post (discussion or comment)
Discussion author data
You can group and/or filterĀ author dataĀ based on the following event parameters:
- Discussion Author Name: The name of the user who asked the question.
- Discussion Author ID: The ID of the user who asked the question.
- Discussion Author Rank Name: The Rank assigned to the user who asked the question.
- Discussion Author Role Type: The Role type assigned to the user who asked the question.
- Discussion Author Role Name: The name of the Role assigned to the user who asked the question.
- Discussion Author Role ID: The ID of the Role assigned to the user who asked the question.
User data
You can group and/or filterĀ user dataĀ based on the following event parameters:
- User Name: The name of the user who marked the answer as accepted.
- User Rank Name: The Rank name of the user who marked the answer as accepted.
- User Role Type: The Role type of the user who marked the answer as accepted (e.g., Admin, Member, Guest).
- User Role Name: The name of the Role assigned to the user who marked the answer as accepted.
- User Role ID: The ID of the Role assigned to the user who marked the answer as accepted.
- User Session ID: The Session ID of the Role assigned to the user who marked the answer as accepted.
- User ID: The ID of the user who marked the answer as accepted.
- User UUID: The UUID of the user who marked the answer as accepted.