How to create custom dashboards using the Twitter API?

twitter-logo

 

You want your Twitter analytics data in a custom dashboard? It’s possible! We integrated Twitter’s Search API in DashThis, which has added a lot of possibilities for a social media dashboard.

The following standard KPIs are available from the Preset Widgets drop-down menu:

  • • Followers Engagement
  • • Followers
  • • Listed Count
  • • Mentions
  • • Retweets
  • • Top Mentions By Followers Count
  • • Top Retweeted Posts

 

The available metrics are:

Name Description
Listed Count* The number of public lists in which your Twitter page is linked. However, when this metric is combined with the “User” dimension (with which the # hashtag filter is obligatory), this will show the number of tweets in which a user used the particular # hashtag.
Followers Count* The number of followers your page has. However, when this metric is combined with the “User” dimension (which which the # hashtag filter is obligatory), this will show the number of followers for each user who used the particular # hashtag. On the other hand, when this metric is combined with the “Post” dimension, this will show the number of followers for each user who mentioned your page.
Mentions Count The number of tweets that mention your page (the number provided by Twitter’s Search API corresponds to the number of monthly mentions shown in the “Notifications” section of your Twitter account, instead of the number shown in the Analytics section).  However, when this metric is combined with the “User” dimension (with which the # hashtag filter is obligatory), this will show the number of tweets containing the particular # hashtag in which users also mentioned your page.
Retweet Count The total number of retweets for tweets that your page published over the course of the selected period (this number will most likely be higher than what is seen in the Analytics section of your Twitter account, since Twitter’s Search API also takes into account retweets that occurred after the selected period). However, when this metric is combined with the “User” dimension (with which the # hashtag filter is obligatory), this will show the number of your posts’ retweets containing the particular # hashtag.
Tweets This metric can only be used with the # hashtag filter, in which case it shows the total number of tweets (for all of Twitter, not just your page), in which the particular # hashtag was used. When this metric is combined with the “User” dimension, this will show the number of tweets by user in which the particular # hashtag was used. On the other hand, when this metric is combined with the “Post” dimension, this will show the number of times a post containing the particular # hashtag was tweeted.
Follower Engagement Rate The rate of follower engagement, calculated with the following formula: (Retweet Count + Mentions Count + Listed Count) / Followers Count. This metric cannot be used with any dimension.
Users* This metric can only be used with the # hashtag filter, in which case it shows the total number of unique users that used the particular # hashtag. When this metric is combined with the “User” dimension, this will show the number of tweets by user in which the particular # hashtag was used. On the other hand, when this metric is combined with the “Post” dimension, this will show the number of times a post containing the particular # hashtag was tweeted.
Twitter Impressions* This metric can only be used with the # hashtag filter, in which case it shows the sum of the total number of followers for each user that tweeted a post in which they used the particular # hashtag. However, when this metric is combined with the “User” dimension, this will show the number of tweets in which users used the particular # hashtag. On the other hand, when this metric is combined with the “Post” dimension, this will show the number of times each post containing this particular # hashtag was tweeted.

Note: Metrics accompanied by an asterisk (*) will not contain historic data when you first create a widget in DashThis, since Twitter’s Search API provides a maximum of 7 days of historic data. However, DashThis will store your data for each Twitter widget you create. As such, over time, you will be able to see your historic information within your DashThis dashboards.

 

The available dimensions are:

Name Description
Post This dimension allows you to isolate your data based on post/tweet.
User This dimension allows you to isolate your data based on user.

 

Since the Twitter API doesn’t allow us to provide many metrics and dimensions, you can use a CSV file to complete your dashboard!

If you’re not familiar with CSV files, we got your back covered! Learn about CSV files in this article.

 

Note: Learn about the #hashtag filter in our article here.