On June 28th, 2011 wrote on the subject of Web Analytics.

How to set up goals and funnels in Google Analytics to track conversions.

Goals in web analytics allow you to measure conversions on your website.  So before you can start setting up goals, you need to know what actions (KPIs) are important for your business.

The most commonly used goals for ecommerce stores are:

  • Sale completed
  • Email sign up
  • Help page visited
  • About us page visited
  • Return & delivery page visited
  • Visitors who placed their order over the phone

NOTE: to be able to track revenue, average order value and what products you sold in Google Analytics, you will need a developer. See our Google analytics set up and audit prices.

Non-ecommerce websites goals could be:

  • Contact us form completed
  • About us page visited
  • Contact us page visited
  • Support page visited
  • White paper download
  • Pages/visit (useful for non-profit or news sites)
  • Phone call tracking

Setting up goals for ecommerce stores – checkout:

Let’s say, your goal url is www.mysite.com /pages/checkout_thankyou.aspx. Below are screenshots illustrating how exactly to set up the goal in Google Analytics so you can track your sales.


URL – don’t use the full url. Instead of www.mysite.com /pages/checkout_thankyou.aspx, use /pages/checkout_thankyou.aspx

Goal value – leave it as 0.0 (for goals directly tracking ecommerce transactions), as additional ecommerce tracking codes installed on an order confirmation page will give us the exact value of each order.

Any other goals should have a value assigned to them. If you can’t calculate an exact value of each goal, then you can use value of 10.


Always set up a funnel, as this feature allows you to visualize each step and where your visitors are bailing out. Name it so you can easily associate with actual pages.

After we saved the goal, we need to install ecommerce tracking code on your order confirmation page (job for a developer). See our Google analytics set up and audit prices.


For more instruction regarding the code above go to http://code.google.com/apis/analytics/docs/tracking/gaTrackingEcommerce.html.

If any sales were made, then usually after 4-12 hours you should be able to see your transactions being tracked. If you made some sales within 24 hour period, but still can’t see any conversions being tracked in your analytics, then your goal isn’t set up properly.


With the goal and the funnel being tracked, you can see at which step your visitors are leaving and then with A/B testing you can try to fix it.

The process to set up goals for non-ecommerce sites is very similar, but with the following differences:

– No ecommerce tracking code required on your confirmation page

– Goal value – Very important. Either calculate your actual value per lead if you are able to monetize it, or try to use a goal value of 10, 50 or 100 (never leave at zero on non-ecommerce sites). This way you will be able to see in the analytics how valuable each page is in terms of contributing towards a goal. This will also help during conversion optimisation to find the lowest & highest performing pages.

6 comments on How to set up goals and funnels in Google Analytics to track conversions

  1. ricelin(undirect) says:


    How can you write such amazing article?I think we’ve learnt a lot from this!Cheers!

  2. Julia says:

    Thank you for the detailed post. I wonder how I can use this goal function to track my facebook ppc camapign. I’ve got URLs built via Google URL Builder, should I set it as a step in funnel now? Thank you in advance!

  3. Jan says:

    Hi Julia,

    OK, so you are tracking your Facebook campaign using Google URL Builder. Then you should be able to see your Facebook campaign performance under traffic sources – campaigns (in Google Analytics).

    However, if you also would like to visualize your campaign in order to see at which step your Facebook visitors abandoned, then you should set up a goal with funnel. Hope this helped. Jan

  4. Julia says:

    Thank you for your reply, Jan! As I undertsand, I can set a destionation URL as a thank you page and a funnel step – index page with parameters: /index.php?utm_source=facebook&utm_medium=cpc&utm_term=general&utm_content=content&utm_campaign=campaigname. Will this kind of link work in this case? Basically I’m looking for the way to go further and track conversion of those facebook ads, not only traffic tracking.

  5. Jan says:

    Hi Julia, use urls without parameters (just plain urls) for your goals, as even if you use parameters when setting up goals, you won’t be able to separate different traffic sources coming to your index.php from your Facebook traffic.
    Then to track your Facebook campaign performance go to ‘traffic sources – campaigns’ report. Hope this helped. Jan

  6. Christina says:


    Thanks for your advice. I have a question about setting up goals to get the ecommerce order value as the goal value – we’ve tried it the way you suggest, with the confirmation page as goal url, head match and leaving the value as 0 (whenever I try to save it as 0.0 it reverts to 0, can’t imagine that’s really a problem though), but while it is showing goal completions, it still has no goal value. We have ecommerce tracking installed, so why isn’t the goal pulling the value from that? What else do we need to do?

    Thanks for your help.

Leave a comment