vgwb / Flatten_Island

Flatten Island game

Home Page:https://vgwb.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Analytics] Integrate Analytics to track player behaviour

FrancyCavallari opened this issue · comments

First of all we should define the list of events we want to track

Let's track the number of games and their results:

  • Start New Game (+ number of games played by this player)
  • Quit Game (+ number of games played by this player + current day when quitting)
  • Win Game (+ number of games played by this player + current day)
  • Lose Game Money (+ number of games played by this player + current day)
  • Lose Game PubOp (+ number of games played by this player + current day)
  • Lose Game Patients (+ number of games played by this player + current day)

And we also save the results (except the current day) in the savegame

Hi Francesco,
I've integrated the analytics. I can't still see them in the Unity dashboard but according to the documentation it requires up to 24 hours to see them.
Let's check tomorrow :-)

Ok cool!
I reopen the issue for:

Everything has been done and tested in Editor/WebGL...
... in the future we may want to follow tis recommendation from Unity:

Note: The Data Privacy plug-in includes an icon in the Packages/Analytics Library/DataPrivacy folder. Unity encourages you to use this icon on your data privacy button (or similar control) to provide a consistent graphical cue to players encountering data privacy controls in Unity games.