Goal conversion not registering when using event value condition equals 0 - google-analytics

I am tracking events with category of "Outbound" and value set to either 0 or positive integer. I am using the same code to track the event, regardless of the value, and have confirmed that when the value is set to 0, that is what the GA code is submitting, and that the value is not null.
When defining an Event type goal with Value "Greater than" 0, the goals are being properly measured. When defining an Event type goal with Value "Equals to" 0, no goals are being counted, both with the Verify command, real-time conversion data and after several days of confirmed events with Category of "Outbound" and Value of 0 (not null) that should meet this criteria.
Below is a link to a screenshot of the goal details. Can anyone shed some light on why this might be happening?
Goal Definition with Value Condition of Equals to 0

Not sure you are using Google Tag Manager. Are you ?
Eventually try 'label = {{Click URL}}' and leave value blank
The event should specify what the 'Click URL' conditions are (in your case -> greater than 0). But what do you want to measure ? If it's outbound link clicks, specify 'Click URL' does not contain 'your_site.com'

Related

count distinct of text field in data studio increased when using filter

I want to count the number of sessions with a certain event label in google data studio. I have created a new field in data studio on a google analytics source like this:
COUNT_DISTINCT(CASE WHEN Event Label = "Form Start" THEN Session ID ELSE "" END)
where Session ID is a custom dimension from GA (string).
The problem is that when I for example pull this new metric to a scorecard, I get a value of 6, if I then add a filter on this scorecard with Event Label = "Form Start" (the exact same event label as in the case statement of the new field) the metric is increased to 23! (which is the correct number).
Is there some data truncation going on in data studio behind the scenes or why does using the filter increase the distinct count?
The weird numbers you're seeing could be due to sampling. At the bottom of the report in "view" mode, it should indicate if the numbers are sampled or not.
Also, the Unique Events metric should tell you the number of times a specific event happened per session. You might not need to do all that custom work in data studio, just a filter for the label.
I might be missing something that requires the COUNT_DISTINCT function, but would a simpler, different formula work?
CASE
WHEN Event Label = "Form Start" THEN 1
ELSE 0
END
This would create a number field that that can be used in the metric element of a Scorecard with multiple aggregation options? The key option being SUM :)
I had a similar problem I think, where I was trying to tally all the pages with a certain category in the meta:
CASE
WHEN REGEXP_MATCH(idio:industry, '.*Agriculture.*') THEN "Agriculture"
else "Others"
END
In your case, I think you would use this:
CASE
WHEN REGEXP_MATCH(Event Label, '.*Form Start.*') THEN Session ID
else "Others"
END

MS Project task-level calculated custom field displaying incorrect value

I have a custom field defined on a task level that is calculated using the value of another task-level custom field.
The value of the calculated field, "Completed" is either 1 or 0, based on the value of the other field "Completed Date." If Completed Date has a value, Completed = 1, else Completed = 0. Completed Date is a Date type field.
I am currently having a problem where in a handful of cases, Completed is 1 when Completed Date has no value.
The formula for Completed is
IIf(IsDate([Completed Date]) = True, 1, 0)
99% of the values calculate correctly, but the 1% is causing problems. The only way to correct the value of Completed is to put a value in Completed Date and then remove the value from Completed Date.
Has anyone else experienced Project calculated fields calculating incorrectly like this? Are there any fixes?
The solution that worked for me, provided by Ismet Kocaman over at the MSDN forums, was:
Do not use IsDate for NA check. Instead, use iif( [Completed Date] = ProjDateValue("NA"), 0, 1 )

Can event value be a dimension?

I think I saw before below Event Category, Event Action and Event Label, there was Event Value. Now there is no. Can this be the case?
My events have category, action, label and value that is integer.
No. The event value is an integer. Generally when you can do mathematical operations on a data field (event values add up) it is a metric rather than a dimension. If you try to send a string as event value you'll see an error in the GA debugger and most likely your event tracking will fail.
Event value is in fact supposed to be a currency (which does not quite work out, since it does not accept decimal numbers). The idea is to express the value of events that are not transactions as monetary value.
You could store a (stringified) version of the event value in a custom dimension. It would not by default appear in standard reports, you'd have to select it as secondary dimension or use is as a custom report. Also the values would no longer be added up.

Google Analytics: UniqueEvents affected by different EventValues?

Does UniqueEvent also consider the EventValue field?
Let's make an example.
In the same user session, these two analytics are sent:
1)
EventCategory = "UI"
EventAction = "Click"
EventLabel = "Result"
EventValue = 5
2)
EventCategory = "UI"
EventAction = "Click"
EventLabel = "Result"
EventValue = 3
do they count for 1 or 2 UniqueEvent?
I have been assuming so far that EventValue is irrelevant for the UniqueEvent, and it could even be used for sending the current timestamp.
The Unique Event definition is:
Unique Events: The number of times during a date range that a session
contained the specific dimension or combination of dimensions.
One important thing to notice is that Unique Events has nothing to do with Events. If this sounds confusing is because it is, but stay with me.
Unique Events is a special metric in Google Analytics it is context dependent. The number of unique events will depend on the dimension, or combination of dimensions you use.
Want proof that unique events has nothing to do with events? Go to an account with a bunch of pageviews and 0 events, and try to create a report of any dimension by page, the number you see should be close to unique pageviews (but not quite).
Event Value is a metric not a dimension, so it can never influence unique events.
Now to your question on whether your example counts as 1 or 2 unique events, the answer is not defined unless you define the actual report you are trying to do.

Why would totals.visits be NULL on a row where totals.newVisits is 1

I'm running a query to pull source, medium, some custom dimensions, new sessions (totals.newVisits), sessions (totals.visits) and session duration (totals.timeOnSite).
I get some results where there is a value for totals.newVisits, but not totals.visits. How would that be possible - isn't a new visit supposed to be a subset of all visits?
You have to see these 2 variables ("totals.visits" and "totals.newVisits") as indicators (booleans).
Here, we want to know whether the user have already gone to the website before the visit or he is a returning visitor (totals.newVisits) and whether the user have done an interaction during the session or not (totals.visits).
In that case, it's 2 independent variables.
That is why Google specify these variables like :
The value is null if there are no interaction events in the session.
or
If this is the first visit, this value is 1, otherwise it is null.
You have to really stick into Google's variables definitions : BigQuery variable dictionary
From definition for totals.visits
The value is null if there are no interaction events in the session.
Added
Definition for totals.newVisits
If this is the first visit, this value is 1, otherwise it is null.
how can there be a value for newVisits if there are no interaction events?
I would interpret this as: New User visited page but there was no interaction
See more at BigQuery Export schema

Resources