Is it possible in Google Analytics to have events/visit goal? - google-analytics

My situation in Google Analytics is as follows:
Everytime, user clicks a particular element on my website, it is recorded as an event (call it EVENT1).
The problem is that my GA goal is to have at least three of those elements clicked per visit.
We can say that the goal is fulfilled when a user causes 3 EVENT1 events per one visit.
Is it possible to define this?
I know it is possible to track number of pages/visit. But it is not what I am looking for, as there are many pages that does not include the element which can be clicked.
I guess another way would be to use javascript and send "CLICKED 3 TIMES" event to GA. But I would like to avoid this.

Create an advanced segment of the "sequence" type. Make every step the same event. Apply the segment to see the number of visitors included in that segment.

Related

Google analytics: Complete a goal when two events occur

There are two events.
User visit /point1.
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?
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.

How to create a Google Analytics report of one metric as a function of another?

I want to set up a Google Analytics timeline report of one metric as a function of another. Example scenario:
The user does something on page #1. On that page there is dynamically generated content, e.g. an image banner with different text.
The user interacts with that content which generates event hits with different labels (A, B, C... dynamically generated based on the dynamic content on the page).
The event hits with their labels are sent via POST to Google Analytics using the measurement protocol.
The user does (or does not) visit page #2
I want to be able to measure the efficiency of each event label defined as:
Efficiency = (Number of users visited page #2) / (number of hits for event label)
Ideally this should be able to give me an idea which are the most efficient event labels for:
particular hour of the day
particular day of the week
particular months of the year
Looking at the goal funnels it seems possible to define only funnels based on a sequence of page views, not as a function of event labels (not talking about dynamic ones at all). It also seems not possible to set it up as a content experiment because the labels are dynamic and everything should be measured long term, new labels can be added, older ones can be removed/restored etc.
Is that possible to do what I am looking for with Google Analytics?
Adding a Custom Dimension should resolve the problem. Here are the steps using Google Tag manager (GTM):
Add a custom dimension say BannerName in Google Analytics (GA)
Define variables in GTM say BannerText and BannerClick (Depending on
your page markup, css selector rules may have to be applied)
Pass BannerText value in custom dimension BannerName, it will provide
you pageviews and all GA data as you have for any dimension.
To capture clicks:
Set up a trigger that filters clicks only on specific element in
question
Pass captured values (Click text) in dimension BannerClick
Basically you will have pageview (visit) data and event (click) data collected in GA and can process it the way you want.
BannerClick variable is optional if you are able to capture banner clicks using existing click variables {click element, click text, click url}. In that case, you can just filter in reports based.
You may use calculated metric directly to further simplify calculation if you want as suggested by Jacek.

How to build a funnel for events

There is a submission form with multiple URLs, but it has multiple forms on a single URL. Its not a problem to track successful submissions, but I would like to know where they abandon (on which of the forms what are located on a single URL). Is it possible to create a funnel for events to track it and how to do it?
To back up my comment, the documentation says explicitly
When you create a Destination Goal, you also have the option to create
Funnel for that Goal.
Since an event goal is not a destination goal there are no funnels for events.
However I don't quite see your problem; you can set different actions or labels with the event for ever form and set up multiple goals, one for each event action (up tp 20 obviously). A funnel would only help you with a multi-step process, I do not see how this applies here.

GA - Track when visitor completes 2 actions

Looking to trigger/flag when a visitor completes 2 actions (visits an article page & also makes an enquiry). The 2 actions may occur within a session but not be consecutive. Whats the best way to set this up? 
A simple answer to this problem. Within the advanced segments we can setup a sequence to see when a visitor views a certain page followed by another page within the same session or over a period of time.

Unique events are greater than total events

I'm having an issue with Unique Events and Total events. I don't really understand why unique events are greater than total events (image attached: https://analytics-a-googleproductforums-com.googlegroups.com/attach/584c3c65bd24cfec/Screenshot%20at%202013-05-14%2017:00:40.png?gda=9qkpgUYAAADqfLbDOUx1KZ9vP-6pB8mH0QevsNJBCwpb2zqmxh9R_FqJw8mf6kYUxitGhb4bDE5x40jamwa1UURqDcgHarKEE-Ea7GxYMt0t6nY0uV5FIQ&view=1&part=4).
Someone can explain how this is posible?
Santiago Vázquez
Found the thing: you will see that "Unique Events" are great than "Total Events" when you look at an event category or action, put "Event Label" as a secondary dimension and the event has been triggered some times with no label input. Google Analytics hasn't the option "(not set)" for this particular dimension, so it just doesn't show you those events in the Total Events Count, but still counts as "Unique Events" all the users that executed this particular event category / action.
I am seeing this same issue in my the first view of my Custom Report as well. I don't know WHY it is showing more, but there seems to be a more accurate Custom Report drilldown for you to use. In my reports, one page shows in my Page drilldown with 30 total events but 62 Unique Events. However, when I click into the next dimension drilldown view, in other words click to narrow in on just one page, it shows that same page with 30 total events and only 29 unique events. That seems more accurate.
My dimensions drilldowns for this custom report are "Page" and then "Event Label"
Hope this helps!
I think Google Analytics is simply buggy.
They have to work on event reporting a bit more.
We are tracking events and e-commerce data to our own database, and we realised that both Google Analitics and Universal Analitics misses some events and e-commerce data.
We are trying to find the reason for this, but no luck yet.
If you have a segment applied it's probably sampling. You can confirm or deny sampling is the cause by seeing if there is a yellow background note above the graph but below the date selection on the report page. There is also a grid of filled in and not filled in circles next to the new scholar cap (also below the date selection) sometimes.
Unique events are calculated by session, while total events are determined by the main dimension.
In the example report below, I wanted to look at how many events occurred on each page. The dimension drilldown is Page, with Total Events and Unique Events as metrics.
Users can visit a page, but not send an event by that page ( 0 total events ). However, if their session includes an event, then unique events will be 1 or more.
Custom reports allow data combinations that may not be clear (not sure if someone already posted this point or if I saw it in another thread). Basically, my report should not include Unique Events to prevent this problem from happening, though this was probably the wrong way to go about this altogether.
Template: https://www.google.com/analytics/web/template?uid=XafJ7KvSSf-n5KWWPyvn_g
Google has deprecated (renamed) Unique Events metric as it was seriously confusing. We are expecting to see a number of times event with unique combination of category / action and label happened per other dimensions in report. Instead GA calculated a unique combination of every dimension in the report!
Now, this metric is deprecated and renamed to legacy.
New one: Unique Events is giving expected results.
I written about why total events are higher than in my blog as too many questions.
Total Events are calculated as the total number of interactions with a tracked web page object. On the other hand, where a single user session (or visit) has one or more events, this is calculated as a single Visit w/Event, or Unique Event in the reports. For example, if one user clicks the same button on a video 5 times, the total number of events associated with the video is 5, and the number of unique events is 1.

Resources