Can we keep track of number of user using chatbot?

How to get the count of the number of users who had conversed with the bot?

thanks in advance!

If you have a tracker_store you can get the information from the database:

select count(distinct sender_id) from events;

That instruction is for mysql, it’s probably is different for another databases.

Hi @Gehova Thanks for your response I will try this :slight_smile:

I think this query retrieves the number of users that have used the chatbot so far. What if we want to know the number of users that are using the chatbot right now?

You can add a where clause that compares the timestamp to a time you define to know, for example, the number of users within the last ten minutes.