š 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 posted question:
- Category ID
- Category Name
- Country
- Country Code
- Post Comment Count
- Date Added
- Post ID
- Post Type
- Post Name
- First Comment?
- Time
- Type
- Information about the user who asked the question:
- Post Author Name
- Post Author ID
- Post Author Rank Name
- Post Author Role Type
- Post Author Role Name
- Post 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 post, 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.
Post data
You can group and/or filterĀ post 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.
- Post Comment Count: The number of comments (replies) by post.
- Date Added: The number of posts added over time.
- Post ID: The ID of the question that was solved.
- Post Type: The type of post that was started (discussion, idea, question, poll).
- Post 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 posts added over time.
- Type: The type of post (post or comment)
Post author data
You can group and/or filterĀ author dataĀ based on the following event parameters:
- Post Author Name: The name of the user who asked the question.
- Post Author ID: The ID of the user who asked the question.
- Post Author Rank Name: The Rank assigned to the user who asked the question.
- Post Author Role Type: The Role type assigned to the user who asked the question.
- Post Author Role Name: The name of the Role assigned to the user who asked the question.
- Post 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.