Analytics

You've finally launched your bot. But how is it being used?

There are several tools you should know about to get this data and improve your bot's experience.

Facebook Analytics (beta)

Facebook Analytics is a powerful tool for developers on all of Facebook's platforms to understand their audience and optimize their apps. It now supports Messenger Bots!

Using it, you can view detailed demographic info about your users. You can also log your own custom events. For a complete list of default app events and information on custom events, see App Events with Bots for Messenger.



Try it NowLearn More

Page Insights

You can also view your bot's Facebook page and check the Messages tab under Insights.

This is a good spot to check your spam and block rates. Keep them low by focusing on a good user experience!

Messaging Insights API

With the Messaging Insights API, you can programatically retrieve the same information that appears in the Page Insights tab for their Facebook page.

We provide two Messenger specific metrics via the Pages Insights API:

  • page_messages_active_threads_unique: daily unique active thread counts.
  • page_messages_feedback_by_action_unique: daily unique conversation counts broken down by user feedback actions, including
    1. messaging turn-ons
    2. messaging turn-offs
    3. thread deletions
    4. report spams
    5. others

For more information, see the Messaging Insights API Reference.

Exporting Page Insights Data

You can export analytics data by navigating to App Analytics under Messenger. This is restricted to admins of the app.

Ratings and Reviews

People can leave a 5-star review and provide freeform feedback on your bot from Manage > Leave Feedback. Feedback sent here will be emailed to you daily and is also available via the review dashboard in App Settings under the developer console.

Integrating with a Third Party Analytics Service

You may also consider integrating your existing analytics provider into your Messenger Bot.

Most analytics providers allow you to create server side events, these can then be used to measure retention, engagement, errors and other metrics that are important to your experience.