Badge Data Source for Analytics - HL Vanilla Community
<main> <article class="userContent"> <p><strong>📝 NOTE</strong>: It is assumed you know how to create custom Dashboards and Charts. If not, <a href="https://success.vanillaforums.com/kb/articles/433#building-custom-charts-dashboards" rel="nofollow noreferrer ugc">read this article</a> before proceeding.</p><p>When building your own Dashboard Charts, you can pull data from various <strong>data sources</strong> to view different types of analytics events. </p><ul><li>In this article, we're going to focus on the <strong>Badge </strong>data source, which tracks when users receive Badges across your <strong>Higher Logic Vanilla (Vanilla)</strong> community.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/K9NO38SNV71T/badge-ds.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/K9NO38SNV71T/badge-ds.png" alt="badge_DS.png" height="808" width="1109" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="overview">Overview</h2><p>An event is logged in Analytics for each badge received, and for each event you can see:</p><ul><li>Information about the Badge received:<ul><li>Badge Name</li><li>Badge ID</li><li>Badge Class</li></ul></li><li>Information about the user who received the badge:<ul><li>User Name</li><li>User ID</li></ul></li></ul><h2 data-id="filter-chart-data">Filter Chart data</h2><p>Controlling what data is shown in a Chart is accomplished via the <strong>Group By</strong> and <strong>Filter </strong>options.</p><ul><li>The <strong>Group By</strong> options (available for pie graphs, line graphs, bar graphs, and tables) enable you to view data by Badge class/name/ID and user name/ID.</li><li>You can add <strong>Filters </strong>to your query to <em>drill into</em> or <em>exclude</em> specific types of Badges or users.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/TDOX01ZN1ZQF/groupby-filters.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/TDOX01ZN1ZQF/groupby-filters.png" alt="GroupBy_Filters.png" height="812" width="1109" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <p>Let's learn about each of the available Group By and Filter options</p><h2 data-id="badge-info">Badge info</h2><p>You can group and/or filter <strong>Badge data </strong>based on the following event parameters:</p><ul><li><strong>Badge Class: </strong>The Badge Class is a customizable, optional setting for Badges that defines the Badge type. For example, Vanilla's out of the box Badges are classified as:<ul><li><strong>Commentor</strong> - for all badges awarded for participating in discussions by commenting</li><li><strong>Anniversary - </strong>for all badges awarded for community membership anniversaries</li><li><strong>Answerer - </strong>for all badges awarded for answering questions</li><li><strong>Like - </strong>for all badges awarded based on the number of "Likes" a user's content has received</li></ul></li><li><strong>Badge Name: </strong>The name of the Badge.</li><li><strong>Badge ID:</strong> The ID of the Badge.</li></ul><p><strong>📝 NOTE</strong>: If Badge Class is listed as "Other" in your Analytics Charts, this means some of your badges have not been configured to use a Class.</p><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/Z9KV4RG7PVBC/badge-info.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/Z9KV4RG7PVBC/badge-info.png" alt="badge_info.png" height="813" width="1109" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> <h2 data-id="user-info">User info</h2><p>You can group and/or filter <strong>user data </strong>based on the following event parameters:</p><ul><li><strong>User Name: </strong>The name of the user.</li><li><strong>User ID: </strong>The ID of the user.</li></ul><div class="embedExternal embedImage display-large float-none"> <div class="embedExternal-content"> <a class="embedImage-link" href="https://us.v-cdn.net/6030677/uploads/6YIG616AG9P0/user-info.png" rel="nofollow noreferrer noopener ugc" target="_blank"> <img class="embedImage-img" src="https://us.v-cdn.net/6030677/uploads/6YIG616AG9P0/user-info.png" alt="user_info.png" height="815" width="1109" loading="lazy" data-display-size="large" data-float="none"></img></a> </div> </div> </article> </main>