kashish
kashish

Reputation: 159

Google analytics: Complete a goal when two events occur

There are two events.

  1. User visit /point1.
  2. User visit /point2.

If the events occur in this order, I want the goal to be hit.

I have created a funnel for this, but the problem is that even if the user does not visit /point1, and visit /point2, the goal is hit! (destination is point2..)

I want the goal to be hit only when the user visit /point1 and /point2 in that order.How can I accomplish this?

Upvotes: 1

Views: 55

Answers (1)

Eike Pierstorff
Eike Pierstorff

Reputation: 32760

Basically you can't (not via configuration, that is). Funnels only affect the visualisation, not goal completion.

You can either do a workaround in code - set a cookie on /point1, then fire an event on /point2 only when the cookie is set, and change your configuration to use an event based goal.

If you do not need to actual goal conversion, but just want to know how many users completed the steps in the correct order, you can create a segment of the "sequence" type (step1 page equals /point1 followed by step2 page equals /point2), which will limit the data displayed in the standard reports to sessions where users visited one point after the other.

Upvotes: 2

Related Questions