How to count sessions per Channel or Widget
In this guide we will show how to use the analytics export to count the session per channel. This works great if you would like to get more insights in the popularity or the different Web Widgets, Messenger channels or other integrations that you use.
A sessions is considered as a successful interaction between your app and a client, regardless the number of messages.
After creating a conversational experience you can integrate it with different channels. You could add your chatbot to multiple websites, Facebook Messenger pages or WhatsApp. We will now show you how to get insights in the popularity of each of these channels by counting the sessions in three steps:
- Export your Analytics
- Download our Template
- Copy data
Export analytics
Let's start by gathering data. Login to the Flow, and select Analytics from the menu. Click the export button and select a data range.
You will receive an e-mail that includes a download button when your download is ready. Download your files and unzip the folder. We will use the "sessions.csv" file.
Download Template
You can use the previous export to count the number of sessions per channel. To handle the data you can Download our Template in Spreadsheets or you can follow up with other software. In this guide we will continue with our template.
The template consists of three separate tabs: Instructions, Data and Dashboard. The Data tab is the only one that we'll be changing.
Copy data
We can now combine your export with our template.
- Open "sessions.csv" from your export and select all and copy the data.
- Open the "Data" tab from the downloaded template. Select all and paste your data
- Visit the "Dashboard" tab from the downloaded template and you will see the sessions per channelId
Which channelId is which channel or Widget?
The channelId can be retrieved from the Integration section within the Flow app . Select your integration and copy corresponding link/URL.
Find you URL
https://app.flow.ai/5b55dcaf-8f84-4f3c-bb6b-1b022bb78940/channels/ab86e27a-8901-4d77-8536-bf30f601acc4
channelId
ab86e27a-8901-4d77-8536-bf30f601acc4
Channel Name
Test Widget