39

I have what might be a unique GA requirement.

I need to track Goal conversions in a SPA based on certain event criteria.

Here's the requirement:

  • User initiates new order
  • User fills out all required fields
  • User either:
    • Saves order for later
    • Completes order
  • --Goal complete--

Since this is a single page web-app, I think I need to do this via events (unless there is a better way).

The business wants to track the time it takes for the goal to be completed. Can I do this with a 'goal', or would I be better off just attaching timestamps to the individual events and deriving the duration on the back end?

Thanks!

daniel0mullins
  • 1,937
  • 5
  • 21
  • 45

2 Answers2

43

Google Analytics now offers an Events Flow Report, in which you can see how users "navigate" through the different events you have configured, but that's probably not what you are looking for.

If you want a "real" funnel report in Google Analytics, currently you can't use Events, they are only available for Destination/URL goals.

A workaround is using virtual pageviews instead of events and then configuring those virtual pages as the funnel steps. This is not ideal, because virtual pageviews impact your statistics (more pageviews, etc.) but maybe in your case this is not a great issue.

If they want to track the time to complete to final goal and they are registering orders (with a $ value), then ecommerce tracking is your best bet. It offers a lot of useful information about the orders and includes a "Time to purchase" report.

Stephen Ostermiller
  • 23,933
  • 14
  • 88
  • 109
migueltic
  • 671
  • 4
  • 11
  • I tried to add a page attribute to the event and that didn't work either. So it seems like you can only do it with the type of pageview. – Jonathan Nov 12 '15 at 13:07
  • Has anything changed in 2019? Would you say that Tag Manager events can now be inserted into Goal Flow/Funnel Visualization? This seems to suggest that yes: https://www.bounteous.com/insights/2018/01/16/using-events-goals-google-analytics/ – Baumr Oct 21 '19 at 16:31
  • 1
    @Baumr that article doesn't seem to suggest it to me – Daniel Kaplan Aug 06 '21 at 05:40
5

You have many options here (with PROs/CONs):

  1. Look at the Behaviour->Events->Events Flow. There you can see the "funnel" of how your users/guests interacts with your website and move around the events you programmed.

  2. If you have Google Analytics 360, you can create a Custom Report of type "funnel" and then you can specify your events as steps of the goal. Downside: only 5 events/steps per goal.

  3. You can define virtual pageviews instead of events, and then your Goal will be the basic type of simple URI paths. This allow you to define up to 20 URIs (or virtual pageviews). Downside: each pageview will count towards your visits (and it is just a virtual visit). This can be triggered in Javascript with this code:

    _gap.push(['_trackPageview', 'name-of-your-virtual-pageview-in-the-goal-funnel-definition'])

KGs
  • 913
  • 11
  • 19