GA Checkout Behavior - data difference between two properties - google-analytics

I have setup two different properties namely V1 and V2 for GA for same ecommerce website. The ecommerce is built in AngularJS 1.5.11 and it is been running different events in different properties. Over time due to data being scattered in different properties V1 and V2, we have created new property V3 to migrate all the events in 1 place. I have done all the events migration in new property V3 last month.
Over last month, I have checked the ecommerce data and compare against V2 and V3 properties for checkout behaviour and I see different data for same steps.
E.g step 1 is showing 9522 sessions for V2 and 9200 sessions for V3
enter image description here
V3 data for Checkout Behaviour
enter image description here
V2 data for Checkout Behaviour
Is there anyway I can find why there are more sessions in V2 than V3?

Related

Difference between Google Analytics API v4 (no result) and dashboard

I'm trying to retrieve separately ga:userAgeBracket and ga:userGender using Google Analytics Report API v4 using a filter on eventCategory and eventAction.
From GA Dashboard, i'm able to retrieve the data even if there is only ~ 2.4k users and ~5.6k sessions. The repartition is 178 Males and 142 Females.
I'm trying to get the same result with the API but it's return nothing. I'm testing with https://ga-dev-tools.appspot.com/query-explorer with the same filters ect.
Is there any limit on the API ONLY when there is a small amount of data ? or another reason ?
EDIT: With another account with more data, and i still have the issue. Here are some screenshots
You created a segment in GA webUI and is comparing the results to "filters" in the explorer. You should be applying the same segment instead for consistency. Once you save the segment in webUI, it should be available in the "segment" field as a selection.
Your filtering also uses the "=~" regex match operator instead of the "=#" contains operator. Try this and you should have results.

Fullcalendar groupId Event Object in v3

In Fullcalendar v4 there is a new groupId event object for moving multiple grouped events together. We have quite a complex customised v3 installation of Fullcalendar and Scheduler and don't want to have to upgrade just to get the groupId functionality.
Is there a way to port this functionality to v3 (eg. a section of code which can be added to fullcalendar.js)?

Date of first session segment using Analytics V4

Does anyone know how to build a dynamic segment, using Google Core Reporting API V4, that gets only users that had a given event action, and for which the first session was recorded on DD/MM/YYY.
Ex: looking for all users who "installed" (first session) the (mobile) app on Dec 14, and have generate at least one event "clicked xxxx".
No way to find this in docs.
On google analytics dashboard, this can be achieved by creating a segment with a "Date of first session" value.
Thanks a lot,
You cant do this with a segment but i'll give you another option:
You can take advantage of the 'ga:sessionCount' parameter. Just make a query for all sessions en X day and another one of all N events in Y day. Finally, cross the data of X and Y day and you will end up with every user that had his first session on X day and made N events on Y day.
(Use ClientID as KEY when crossing the data)

Query multiple Google Analytics view ids using googleAnalyticsR v4 API package

I want to use the new googleAnalyticsR package to extract Google Analytics data using the v4 API.
The documentation (http://code.markedmondson.me/googleAnalyticsR/v4.html) demonstrates the execution of a query using one ga_id, but not using multiple view ids. There is another R package called GAR which permits the execution of multiple view id in a single Google Analytics query, but the googleAnalyticsR package includes v4 API features. I attempted to query multiple view ids using ga_id <- c('viewId','viewId'), but the query returns an error. Is there a way to query multiple view ids using googleAnalyticsR v4 API?
This probably isn't supported in API directly, but given you are using R, this could be very easily achieved using FOR loops. Below is an example where I am querying multiple GA views (1 view = 1 language version of the site):
viewId <- c(6006393, 79777098, 79781440, 79981805, 75315234, 78174757, 76630182, 79447058)
ga_data_final <- data.frame()
for (i in viewId) {
ga_data_temp <-
google_analytics_4(i, #=This is a (dynamic) ViewID parameter
date_range = c("2014-01-01",
"2016-08-15"),
metrics = c("sessions"),
dimensions = c("yearMonth",
"source",
"medium"),
max = -1)
ga_data_temp$viewId <- i
ga_data_final <- rbind(ga_data_final, ga_data_temp)
}
The code above retrieves:
1 metric: number of sessions
3 dimensions: yearMonth, Source, Medium
It's using 2 dataframes - the master one is created as empty before FOR loop starts. Every FOR cycle pulls rows for 1 view (temporarily stored in ga_data_temp) and once finished, appends them to the master dataframe (ga_data_final).
Hope this helps.

Can't see custom metrics after sending with Google Tag Manager

I want to add a custom metric in Google Analytics throw Google Tag Manager inside the events Category.
1 - Create custom metric some days ago in the admin area
2 - Create the following tag in GTM
3 - Test values in preview mode
As you can see, metric with index 1 is set.
Event has being created in category called Categoria metrica
4 - Publish the changes
I've not forgotten to publish the changes. I've checked data is being sent:
5 - Metrics are missing in Events in Google Analytics
In Events, Categoria metrica is missing
Should I have to add some code?
I think this should work now with a constant value written directly in GTM...
Custom Metrics are not visible in your standard reports. You can only see them through Custom Reports. So create a new flat report with your event parameter (category, action, label) and then select your CM as the metric.

Resources