How to identify potential buyers using analytics

Blog Posts 02 Oct, 2018

Combine Analytics, BigQuery and machine learning to improve your online audience targeting.

How can I optimize my marketing efforts by identifying people with a high propensity to buy?

This is a question many marketing teams have. At the end of the day, there is only a limited amount of money, time and effort you can put into your remarketing activities. Wouldn’t it be great to do a large-scale analysis that will identify users with a high propensity to buy upon returning to your website? The good news is that this can be achieved with Google Analytics (GA) and Google Cloud.

“Business/data analytics and data storage/data management (both 43%) are projected to lead cloud adoption in 2017 and beyond.”

For most marketers, Google Cloud is a complicated platform that only highly tech-savvy individuals or teams can use. With features like Machine Learning, automation, virtual machines and Big Data, most people think they need a PhD in Computer Science just to operate it. The truth is that the Cloud is easy to access and use, and can help identify potential buyers amongst all your website’s users.

Cloud Computing is not just something your IT team should be getting excited about. Discover how using the cloud can make your marketing efforts work harder and smarter.

users to audience segment graphic

By combining Google Analytics and Google Cloud, you can automate a process that will use Machine Learning to classify users into groups of buyers and non-buyers based on their website behavior. These results can be fed back into Google Analytics where they can be used in your remarketing activities within the Google Marketing Platform.

What do you need to build a machine learning process?

To classify users, you will need to create a predictive machine learning model using Google Analytics, and Google Cloud. The actual process is easier than most people think. There are only four technologies that you need to make it work;

  • Google Analytics

  • Google Cloud’s BigQuery

  • Google Cloud’s Compute Engine

  • Python / R

Data from Google Analytics is fed into BigQuery. Once in BigQuery, you prepare the data and move it to Compute Engine and execute your machine learning model. Finally, you send the data back to Google Analytics.

Once the data is in GA you can use any remarketing method you want./p>

How do BigQuery and Compute Engine help build the machine learning model?

BigQuery is Google’s data warehouse for analytics that you can use with SQL. Once you collect your data via Google Analytics, BigQuery will be responsible for preparing the data for your machine learning model. Because BigQuery can scan 1TB of data in seconds, you can use a whole year’s worth of data or more to build your dataset for machine learning. This is an extremely useful tool for high-speed data manipulation and analysis.

Compute Engine, a Google Cloud tool, will run the predictive model, putting the results back into Google Analytics. Compute Engine is a service Google provides that lets you create virtual machines. With a virtual machine (VM), you can automate the entire process and not have to worry about running the entire process by hand.

In the virtual machine, you can grab the dataset from BigQuery which has prepared the data, and execute that data within your model. The VM in Compute Engine and can be scaled to run faster if more power is required. The VM then sends the data back into Google Analytics via data import.

With these three technologies, the entire predictive model can be automated and tell you which of your users will likely buy upon their return to the website.

Sounds good, but how did we put it into practice?

Case Study:, a holiday comparison site and Jellyfish 360 client, allowed us to implement a predictive machine learning model which classified users based on online behavior into buyer and non-buyer categories. The model used a set of indicators that would predict future buying behavior. The goal was to use the predictive results to retarget the users who are classified as buyers using advertising technologies like Google Marketing Platform.

There were two campaigns; one predictive model campaign and one controlled campaign.

The predictive campaign would target users the model identified as potential buyers.

The other would use a random segment of users.

Both campaigns had the same ad spend and creatives, so we could compare the two results fairly.

The results from the predictive model campaign had a higher conversion rate by 45% compared to the controlled campaign.

The overall engagement was also higher in the predictive campaign than the controlled campaign.

Results like these can be expanded upon by further breaking down users into more groups; from highly likely to buy, likely to buy, likely not to buy and non-buyer. Retargeting becomes much more efficient and can save resources when targeting the right users.

Using Google Cloud:

The first thing to do is link your Analytics 360 data to BigQuery.

Fortunately, Google has a native connector for Analytics 360 accounts which hastens the process of the data extraction significantly and provides an unsampled, raw data feed.

At the Property level, there is an option to link your data to BigQuery.

how to actively link bigquery to analytics

Alternatively, for those that aren’t currently leveraging Analytics 360, we’d recommend linking the Core Reporting API with BigQuery directly.

Tutorials for App Engine or Compute Engine are available, as well as more information on the rest of Google Cloud. It’s time to use your marketing to its full potential - start embracing the Cloud.

If you're interested in learning more about the techniques discussed here then check out our dedicated BiqQuery or Google Analytics Advanced training courses.


Francisco Quintana

Digital Analytics Manager

Hi there, I'm Francisco, Digital Analytics Manager here at Jellyfish. Read more

Read these next

How to prioritize your marketing activity
Blog Posts 07 Nov, 2018
Work smarter, not harder with your digital campaigns
Blog Posts 31 Oct, 2018
Receive regular updates on news, views and offers from Jellyfish and our Training Blog.
Your data will be handled in accordance with our Privacy Policy

Inspiring and knowledgeable trainer

Gained very practical advice that I could immediately put into practice.

Great environment for learning

The training was relevant, insightful and presented in a fun but professional manner.

They certainly know the digital world

Very useful insights that have paid off time and time again since the course.