Hey,
I am just setting up my first analytics, and am wondering, can it gather how many times (overall, for all users) an event happens? So in my example, a player turns on the game, great! But this stat is irrelevant unless I can now how many times the game has been turned on, in total, by all users.
So, if Jim, Suzy and Tim are the only 3 people in the world who have the game, each time anyone of them turns on the game, where splash scene is opened, I would like to know that stat.
What I am wondering is, I am thinking analytics may be more of frequency of in game events. The problem with counting how any times âSplash Openedâ, it will always register value 1, per use. So there will be no variation between users.
What I am looking for is just an overall count.
So I would be submitting, a value of 1, each time. But with in analytics, is the number of times I submit that value, counted?
Yep! If you look in the Data Explorer, youâll see a (+) Custom Event button. By clicking that button you can track any custom event and/or its parameters. Select the third column (where it says âUnique Usersâ) and change the value to âCountâ. That shows you the overall count for that event on a day-to-day basis. Now, if you needed an all-time count, we donât really provide thatâŚitâs something weâve been asked for and weâre looking into it, but you can calculate it pretty easily just by switching the graph into âView as tableâ mode.
Ok, so thanks for that, as I am setting it up, let me show you my method⌠I just want to make sure that I am not being redundant.
A typical scenario for me is this, an event happens, like open gameplay. At that point, I send a message to my Analytics Manger, this function will look something like thisâŚ
public static void playerStarted_GamePlay(){
count_playerStarted_GamePlay++;
Analytics.CustomEvent ("playerStarted_GamePlay", new Dictionary<string, object> {
{"count", count_playerStarted_GamePlay}
});
}
Now, my question is, what is the relevance of count_playerStartedGamePlay?
This value, will increase on each play, but if player Jimmy, plays 3 times, what is analytics counting? Or do I just need to send a value of 1, as in yes a game play was started? As analytics will note that, in its own system.
Iâm not sure why youâd want to send that parameter at all. For the use youâre describing, you could just count the number of times the event was encountered, and that happens automatically without the parameter.
Also, for the use youâre describing, you might want to look at a feature weâve just released: Standard Events. These are designed to take a lot of the guesswork out of setting up your events.
Thanks.
So, what you are saying is, I should just forget about my own counts, and just fire to the Analytics?
So, my adjusted code would look like this.
public static void prize_collected(){
Analytics.CustomEvent ("prize_collected");
}
Would that work? And if it does, can I ignore your suggestion of using the Standard Events?
If all you care about are the raw counts, rather than, say, which prize was collected, you donât need parameters, and what youâve just shown me above is fine.
The main advantages of Standard Events are: (1) you donât need to put as much thought into figuring out what to track and howâŚweâve already done that for you, and (2) as we go forward, weâll start building features that leverage the language of Standard Events. There is no need for you to use Standard EventsâŚIâm just offering it as a way to improve your outcomes and speed things up. A lot of our early adopters tell us theyâve implemented them in about an hour or two, so the investment is low.
COOLIO!!!
I am going to stick with Custom tho, as I do want to get a bit trickier than just the raw counts of simple game events.
Thanks for your help!!! This stats world, and entering into your game like this, is so cool. Cant wait to geek out on the results.
ps. A couple of times, in the Analytics website, in my account, game profile, Custom Events Page, I created some events, but he disappeared on refresh page.
At the top of the page, I have a warning that it may take 10-12 hours to process this page initially. That said, must I wait for that process so that I can then be able to create custom events on the website, relating to my code?
Iâm not really sure what you mean by âcreated some eventsâ. You canât create an event on our dashboardâŚyou can only send them from your app. The dashboard reads eventsâŚit never writes them.
It used to take 10-12 hours. These days itâs usually more like 4âŚthough that can vary depending on the overall load on any given day.
But it depends on what you want to do with the data. Events show up pretty much instantly in the Validator and Livestream. But if you want to see them in the Data Explorer, that you have to wait for (thereâs a batch cycle that computes all the data for all the apps we see). We hope to speed this whole process up at some point.