I built a web app that leverages Facebook Prophet to create fast and robust time-series forecasts from your Google Analytics data, all wrapped up in a simple user interface.

I wanted a create a fast and simple way for marketers/analysts/data scientists to generate forecasts from their Google Analytics data using Facebook Prophet. When I was researching how to do this I came across Gareth Cull’s amazing open-source Forecastr app, which has been an amazing starting point for Prophecise.

What is Facebook Prophet?

Prophet is open source software released by Facebook’s Core Data Science team. It is a procedure for forecasting time series data and works best with time series that have strong seasonal effects and several seasons of historical data. It is available for download on CRAN and PyPI.

What is Prophecise?

Prophecise is web app that I built using Python and JavaScript to automatically forecast your GA data. It allows users to log in with their Analytics account and pull their data directly from GA into the guided UI to preview the data before generating a forecast.

Here’s a high-level overview of the data flow:

The first step is to select the account, property and view you’d like to pull data from, and which metric you’d like to forecast. There are also additional options to enter your own metric (if the one you need is not available on the dropdown) and to select a specific segment. To see a list of all available metrics see Google’s Dimensions and Metrics Explorer.

This data is then sent back to the server so we can do some forecasting with Facebook Prophet! In most cases you’ll find Facebook Prophet generates pretty good forecasts out of the box, but in addition to this there’s a set of tunable parameters.

For more information on hyper parameter tuning, I’d recommend reading the Facebook Prophet documentation and this great article on Towards Data Science by Ruan van der Merwe.

Start building your forecasts at prophecise.com

Als Johnstone