# Setting up Goals and Funnels - Google Analytics

DevFeed: [Setting up Goals and Funnels - Google Analytics](<https://devfeed.tech/articles/setting-up-goals-and-funnels-google-analytics-41096.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2011/02/28/Setting-up-Goals-and-Funnels-Google-Analytics/>)

Author: Map

Published: 2011-03-01T03:55:56Z

Content type: tutorial

Language: en

Sources: [Craig Kerstiens](<https://devfeed.tech/sources/craig-kerstiens.md>)

Topics: [Google Analytics](<https://devfeed.tech/topics/google-analytics.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [flow](<https://devfeed.tech/tags/flow.md>), [funnel](<https://devfeed.tech/tags/funnel.md>), [google-analytics](<https://devfeed.tech/tags/google-analytics.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [startup](<https://devfeed.tech/tags/startup.md>), [tracking](<https://devfeed.tech/tags/tracking.md>), [websites](<https://devfeed.tech/tags/websites.md>)

## AI overview

A tutorial on configuring goals and funnels in Google Analytics for websites with JavaScript-driven workflows. It explains how funnels require ordered successive steps, how goals differ from funnels, and how to track event-based workflows by creating simulated page views.

## Source excerpt

I had a recent request on how to setup a funnel in Google Analytics. If you've missed by first post on some tips for Google Analytics first check that out. With most websites today there is some portion of the site that is event and not page based, meaning you have some workflow on the page based on Javascript. If this is the case you'll want to fake a page view instead of an event in order to entirely use it in funnels and goals. A personal recommendation is actually to use both, goals and funnels. The key a funnel is that you need to have successive steps that occur in some order. With regards to metrics tracking this is absolutely needed, but typically you may have 1-2 total funnels with many steps in your site versus goals where you could have 10-15 single goals. For Registry Stop we've structured our site so that our earlier stage goals become the same as steps in later stage funnels. For us in almost all cases the first part of the funnel is the visit, the second is registering for an account. We do have independent goals for visits and registrations as well, but we do not have funnels on those goals. A key to getting the most use out of your funnels is to know that there is a workflow to follow to getting to that end goal. To highlight this slightly more visually let me walk through an example: The parts of your funnel will be: Once here it becomes a bit more intuitive. You can begin by simply adding a goal. Your goal types should seem mostly intuitive, as mentioned in an earlier post you cannot use an Event in a goal. For this reason you can fake a pageview as if it actually occurred and then create your goal against that non-existent page view. If you want a few more details of how to do this check out the previous post . So for an example, we have a goal on Registry Stop that detects when a page view occurs as a result of a registry being synced. Because this workflow is heavily javascript and flow based we fake the page view and track it as if the page wa