Google Analytics

(Dotan Naveh) #1

What is the best way to interface with Google Analytics? I’d like to analyze how many users I have, their behavior, etc.

According to Facebook (https://developers.facebook.com/docs/messenger-platform/product-overview/analytics):

Analytics

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.

Edit the answers in the question thread of the bot
(John Jackson) #2

You’ve need to use the webhook service to make a HTTP POST request with a Google Analytics event.

You should make the request to GA’s Measurement Protocol. It should be quite easy to get the data being sent, you just need to give some thought as to what you want/need to record.

Hope that’s helpful, good luck with it :slight_smile:

(Alejandro Pinzon) #3

Hey guys,

Dumb question here… Why do we have to use GA’s measurement protocol and not the regular event tracking here? https://support.google.com/analytics/answer/1033068#Anatomy

Regarding using the Measurement Protocol, do you have any examples of this? What might be the best way of setting it up?

Thanks,

Alejandro

(Sarah Palombo) #4

HI Alejandro

This is one option John suggested there but there could be a way to use the regular event tracking you could give that a go.

We don’t have an example of the measurement protocol but what we do have, is our next BIG launch which will provide many metrics, See our Road Map We’re releasing analytics early 2017 so keep an eye for a release date. This would give far more visibility than connecting back to GA. You’d see interactions with your Bot/Flows,Graphs & much more! … we’ll release more details early 2017.

(Артём Морозов) #5

Hello.

And there are examples of customization in flowxo?
For example, send information about browsing the pages, how to set it up correctly?

Thank you.

(Karen Barker) #6

Hi Artemy,

Unfortunately we don’t have any examples of how to set up the webhooks to Google Analytics. You’ll need to do a post request to the Google Analytics API using the Webhooks and HTTP service.

For specific guidance on how to use the Google Analytics API however you will need to contact their support team who should be able to assist with helping you to understand how their API works. :thumbsup: