How to do ROI Analysis in Google Analytics

You can do ROI analysis in Google Analytics by using the ROI Analysis’ and ‘Cost Analysis’ reports. 

Through these reports you can calculate the ROAS of various marketing campaigns under different attribution models.

In Google Analytics, the ROI analysis is done via ROAS (i.e. Return on Advertising Spend). So while the name of the GA report is ‘ROI Analysis’ report, it is actually computing and reporting on ROAS.

How ROAS is calculated in Google Analytics?

Google Analytics calculate ROAS as:

Conversion Value / Channel Spend

Here, Conversion value is the ecommerce revenue and/or goal value.

For example, let us suppose:

Your ad spend for Google Adwords in the last one month was $100

Your ecommerce sales from Google Adwords in the last one month was $1000

Now Google Analytics will calculate ROAS for Google Adwords as: $1000 / $100 = 1000%

You should consider investing more in those marketing channels/campaigns which have higher ROAS.

Note: Google Analytics can calculate ROAS retroactively for your marketing campaigns.

Get the E-Book (37 Pages)

Learn to read e-commerce reports book banner

Get the E-Book (104 Pages)

The ‘Cost Analysis’ report

Through the ‘Cost Analysis’ report you can determine the ‘Cost Per Click’ and ‘ROAS’ of all those marketing channels for which you imported the cost data in Google Analytics.

What that means you can determine the ROAS for marketing campaigns like:

  • Bing ads
  • Facebook ad campaigns
  • Affiliate campaigns
  • Display campaigns
  • Email campaigns etc.

In order to view the ‘Cost Analysis’ report, navigate to Acquisition > Campaigns > Cost Analysis in your GA view:

If you have imported cost data in Google Analytics then you will see the cost and ROAS data in this report, like the one below:


If you have not imported cost data in Google Analytics then your report will look like the one below:

The downside of the ‘cost analysis’ report is that all of the ‘ROAS’ data is calculated using only one attribution model called‘ Last Non-Direct Click’.

So if you want to do ROI Analysis under different attribution models (esp. Data Driven Attribution model) then you would need to use the ‘ROI Analysis’ report.

Get the Free E-Book (52 Pages)

The ‘ROI Analysis’ report

Through this report you can determine ‘Cost Per Acquisition’ (CPA) and ‘Return on Advertising Spend’ (ROAS) for each marketing channel under different attribution models.

So instead of just the regular CPA, you can determine:

  1. Last Interaction CPA
  2. Last non-direct click CPA
  3. Last Adwords click CPA
  4. First Interaction CPA
  5. Linear CPA
  6. Time Decay CPA
  7. Position Based CPA
  8. Data Driven CPA
  9. or CPA based on any custom attribution model


Similarly, instead of just the regular ROAS, you can determine:

  1. Last Interaction ROAS
  2. Last non-direct click ROAS
  3. Last Adwords click ROAS
  4. First Interaction ROAS
  5. Linear ROAS
  6. Time Decay ROAS
  7. Position Based ROAS
  8. Data Driven ROAS
  9. or ROAS based on any custom attribution model

To access the ‘ROI Analysis’ report, navigate to Conversions > Attribution > ROI Analysis in your GA premium view:

If you have got cost data then only you will see data in this report like the one below:


Note: The default attribution model for the ‘ROI Analysis’ report is ‘Data Driven Attribution Model’ (provide this model is available to you) and ROI analysis report is available only in Google Analytics 360/premium enabled property. 

In the context of attribution modelling in Google Analytics, we do not measure the generic conversions generated by a particular marketing channel.  What we actually measure is the conversions generated by a particular marketing channel under a particular attribution model (like ‘Last click conversions’, ‘Data driven conversions’ etc for say ‘paid search’).

Similarly, in the context of attribution modelling in GA, we do not measure the generic ROAS for a particular marketing channel. What we actually measure is the ROAS for a particular marketing channel under a particular attribution model (like ‘Last click ROAS’, ‘Data driven ROAS’ etc say for ‘paid search’).

As such, a traditional MMM model is not suitable for carrying out digital marketing mix modelling aka attribution modelling.

Requirements for doing ROI Analysis in Google Analytics

There are four main requirements for correctly doing ROI analysis in Google Analytics:

#1 Ecommerce tracking setup

#2 Goal Conversion tracking setup

#3 Availability of cost data in your GA reports. The cost data is simply the cost of running your marketing campaigns.

#4 At least 60 days of historical data in Google Analytics (in order to make the data statistically significant). This data include: ecommerce data, goal conversion data, cost data and website usage data.

Unless you do not meet all of these requirements, your ROI analysis is most likely to be inaccurate.

However without ‘cost data’, GA won’t be able to calculate ROAS. So importing cost data into GA is critical. To get the cost data in your GA reports you need to carry out following two tasks:

Task-1: Link your Google Analytics account to your Google Adwords account. Once the two accounts are linked, Google Analytics will automatically start getting cost data (‘campaign cost’, ‘cost per click’, ‘return on advertising spend’ etc) from Adwords.

Task-2: Import cost data from all non-Google paid marketing campaigns via Google Analytics ‘Data Import’ feature (available under ‘Admin‘ > ‘Property‘ > ‘Data Import‘). You can also use GA management API to automate this process.


I generally upload one month of cost data for non-Google paid marketing campaigns in the first week of every month.

If you are using some third party tool to automate the cost data import process then you can import cost data every week or even every single day into GA.

Once you have imported cost data into GA, it will automatically get integrated with your website usage data, goals data and ecommerce data. Thus allowing you to do detailed ROI analysis for your marketing campaigns via ‘Cost Analysis’ and ‘ROI Analysis’ reports.

Google Analytics already provide website usage data (like sessions, bounce rate etc) so you do not need to set it up separately.  To get ecommerce data (like revenue) in your GA reports, you would need to set up ecommerce tracking or enhanced ecommerce tracking.

Similarly, to get goal conversions data in your reports, you would need to setup Conversion tracking.

Make sure that each Goal you set up is assigned correct ‘Goal value’. Otherwise your ROAS calculations may not be accurate.

Other Articles on ROI:

Other articles on Attribution Modelling in Google Analytics

  1. Touch Point Analysis in Google Analytics Attribution Modelling
  2. 8 Google Analytics Conversions Segments You Must Use
  3. Default and Custom Attribution Models in Google Analytics
  4. Attribution Model Comparison Tool in Google Analytics
  5. Which Attribution Model to use in Google Analytics?
  6. How to create Custom Attribution Model in Google Analytics

  1. Google Analytics Attribution Modelling – Complete Guide
  2. Data-Driven Attribution Model Explorer in Google Analytics
  3. Guide to Data Driven Attribution Model in Google Analytics
  4. Conversion Credit distribution for Attribution Models in Google Analytics
  5. You are doing Google Analytics all wrong. Here is why

  1. Marketing Mix Modelling or Attribution Modelling. Which one is for you?
  2. Introduction to Nonline Analytics – True Multi Channel Analytics
  3. How to set up Data driven attribution model in Google Analytics
  4. How to valuate Display Advertising through Attribution Modelling
  5. Understanding Shopping Carts for Analytics and Conversion Optimization

  1. View-through conversion tracking in Google Analytics
  2. Understanding Missing Touch Points in Attribution Modelling
  3. Guide to Offline Conversion Tracking in Google Analytics
  4. How to explain attribution modelling to your clients
  5. 6 Keys to Digital Success in Attribution Modelling

  1. How to use ZMOT to increase Conversions and Sales exponentially
  2. How to Measure and Improve the Quality of SEO Traffic through Google Analytics
  3. How to analyse and report the true value of your SEO Campaign
  4. How to allocate Budgets in Multi Channel Marketing
  5. What You Should Know about Historical Data in Web Analytics

  1. Google Analytics Not Provided Keywords and how to unlock and analyze them
  2. Selecting the Best Attribution Model for Inbound Marketing
  3. Introduction to TV attribution in Google Analytics Attribution 360
  4. Cross Device Reports in Google Analytics via Google Signals

Learn about the Google Analytics Usage Trends Tool

The Google Analytics usage trend is a new tool which is used to visualise trends in your Google Analytics data and to perform trend analysis.

Do you want to Learn Web Analytics in 4 Weeks?

  • Learn and Master Web Analytics, Conversion Optimization & Google Analytics from Industry Expert in 4 weeks.
  • Lifetime access to the course + Lifelong FREE course updates.
  • New study material added every few months (lifelong learning).
  • Up to date training material.
  • Most exhaustive course on Google Analytics on the internet.
  • Hundreds of Assessments to test your learning.
  • Your 24/7, 365 days a year reference source.
  • Learn at your own pace and from any place.
  • Risk Free with 30 days 100% Money Back Guarantee.

Take your Analytics knowledge to the next level. Checkout my Best Selling Books on Amazon

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Himanshu Sharma

Certified web analyst and founder of

My name is Himanshu Sharma and I help businesses find and fix their Google Analytics and conversion issues. If you have any questions or comments please contact me.

  • Over eleven years' experience in SEO, PPC and web analytics
  • Google Analytics certified
  • Google AdWords certified
  • Nominated for Digital Analytics Association Award for Excellence
  • Bachelors degree in Internet Science
  • Founder of and

I am also the author of three books:

error: Alert: Content is protected !!