My product is a web-based video game and use Firebase with Google Analytics for tracking purpose. I don’t know which Analytics version it is, becuase the Property ID
only contains number. AFAIK, GA4 will have G-XXXXXX and the older version Universal Analytics will have UA-XXXXXX.
I created a Custom Event
with parameters
for tracking purpose.
This is how I sent my Event
to GA:
firebase.analytics().setAnalyticsCollectionEnabled(true);
analytics = firebase.analytics();
.....
.....
.....
analytics.logEvent('start_game', {
level_name: levelName, //string
});
//Event Name = start_game
//Parameter Name = level_name (10 different values, such as: "Sky", "Water" , "Volcano")
When I check the result on the GA Reports->Engagement->Events
, the parameter with various values are shown correctly. This mean the event+parameter are recorded correctly.
When I created a Custom Audience and use the parameter level_name contains Volcano
, there are users detected:
But, when I use it as a Custom Dimension
in GA Explorer
, the value of level_name
is only (not set)
.
My purpose is to create a report to know how each level_name
perform on the players. So, i can rank which are the most used.
I have created Custom Definition
for both scope for level_name
: Custom Dimension as Event
and Custom Dimension as Users
And both doesn’t work. I have created those 1-2 days before I use it on the analysis.
Anyone know what went wrong here?
3