How can i display custom events into a chart? - firebase

I'm trying to use custom log event to have some statistics of the use of my app.
Events are properly configured and can be seen in the "Stream view" of firebase analytics.
my problem is that i want to display statistics no for only the last 30min.
for exemple if i log an event "car" which contain the property model, which can have the value 'tesla', 'ford' etc... as this :
this.defaultAnalytics.logEvent("car", {model: "tesla"});
I'm able to see in the last 30min like 75% of car.model are tesla in the stream view, but i'm not able to see this for the last week for exemple.
I can only see that the event 'car' has been emit 100 times in the last week but i can't see anything about the value of the property.
I'm i obliged to use a tool as bigquery ?

It depends which charts you want to get, but in general - you don't have to use BigQuery. You can see all your custom event parameters in Firebase console, but you have to register them first:
You can also identify up to 100 custom event parameters per project (50 numeric and 50 text) to include in reporting by registering those parameters with their corresponding events. Once you register your custom parameters, Google Analytics for Firebase displays a corresponding data card in each related event-detail report.

Related

GA4 Custom Dimensions (not set)

I added a custom parameter to my transactions. I am receiving data as when I go to Reports> Realtime>View user snapshot and click on an event I can see the parameter name and a value which is good. I can also see the value when I go to Reports>Engagement>Events and chose and event and select my parameter in the 'Events in last 30 minutes tab'. The issue comes when I go to Explore and make a Free Form with my parameter as a row or column as the column would simply show '(not set)' even though I know it is set from the before views that I mentioned
Thank you
You will see a value of “not set” for a custom dimension during the first 48 hours after you create the custom dimension.

Google Analytics 4 Event Parameters

We have GA4 Enhanced Ecommerce working via GTM on our website. We are tracking all events mentioned in Google's documentation (e.g add_to_cart, begin_checkout, view_item_list).
With events such as 'view_item_list', 'begin_checkout' and 'purchase', we can see them in both 'Realtime' and the GA DebugView (they even show the 'Items' tab with all items within these events), and our dataLayer has no issues:
But when we try to view any of this data in Engagement > Events > 'view_item_list' (for example), the only data displayed is the standard Event Count:
As you can see from the screenshot, there are no parameters for 'view_item_list'. We are not sure how to get the actual data such as 'item_name' or 'item_list_name' to display.
Any help is much appreciated.
Thanks!
Edit:
We have now added these item-scoped parameters as custom dimensions:
However, it's been over 36 hours since we added these, some of these dimensions/parameters have generated cards but nothing is being generated by the 'Items' parameter.
Any help is still much appreciated. Thanks.
Item Names should be available in the "Ecommerce purchases" Report. You do not need to register the parameter as a custom definition for the "item_name" parameter. For example if you upload the "purchase" event in this example, then the item_name of 'jeggings' will be available in the Ecommerce purchases report:
What do you see in the Ecommerce purchases report?

Google Analytics - Show Users With 'X' Event But Without 'Y' Event

I've just started using google analytics, and except of a quick beginners tutorial I don't know very much :-).
I have a website with few steps in the sign-up page. In the first step the user verifies his phone number. I want to have a list of all the users phones that completed the verification step but didn't finish the registration. In order to do this I send the following events in each step:
{eventAction: 'registration phase1', 'eventLabel': userPhoneNumber}.
{eventAction: 'registration phase2', 'eventLabel': userPhoneNumber}.
{eventAction: 'registration phase3', 'eventLabel': userPhoneNumber}.
I want to create a report that shows me all the phone numbers of the users who fired the first event but didn't fire the third event. I tried to achieve this by using event advanced filters with include and exclude condition but it seems that data being shown is not correct. I also tried to do this using the Query Explorer but I couldn't find out how to do this.
You can do this by first using the Google Analytics web UI to create a segment. You can learn more about segments here.
You'd want to use "include" and "exclude" sessions or users depending on your need. The setup will look something like this, adjust the events action/category/label as you wish to match the events you want.
Save your segment and head over to the Query Explorer.
Select the appropriate property and view which you created the segment. Under the "segment" field type in the name of the segment you just created like so:
Fill in the rest of the form with the dates, dimensions/metrics that you want and you should get results according to that segment. No additional filtering needed.

What happens when pushing variable to dataLayer multiple times

Lets say for instance I have a web game on a page and the code is set so that every time the player completes a level it pushes the current level to the dataLayer:
dataLayer.push({'level': currentLevelNumber});
Does this then mean I will be able to create segment in GA to see how many people made it to each level? i.e. segment1(level = 1), segment2(level = 2) etc..
Also, what are limits of this? GA has a 500 event limit per session. Is pushing a variable part of this limit or does it have its own limit?
I tried to find this information in documentation but couldn't see it.
Essentially, you're trying to report on the levels that your users are on for a particular game.
To do this, you will need to create a user-scoped custom dimension within GA.
Then you would want to push to the datalayer whenever the user moves to another level something like:
dataLayer.push({
'level': currentLevelNumber,
'event': 'user-lvl-update',
});
Then in GTM, create datalayer variable to capture "level" and create a custom event trigger for the "user-lvl-update" event.
Then in GTM, create a GA tag for the event "Level Update" and configure it normally, but this time, check the "Enable overriding settings" checkbox, under "More settings > Custom Dimensions" click on "Add custom dimension", enter in the index number of the custom dimension you created earlier and for dimension value, put in the variable where you captured level. Trigger this tag using the "user-lvl-update" trigger.
There is a limit of 500 hits per session. A hit is a pageview, event, etc. whenever you're sending data to GA. Pushing to the datalayer doesn't count towards that

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