Are there any best practices for sending Analytics about game to my server?
Options
kyubuns
✭
I have a game in development that has several mini-games.
I created a room in Photon, and in that room, I can play several mini-games.
I would like to count of how many times each mode has been played. Is there a good way to send this information to my server from PhotonCloud?
I read the documentation for Webhooks, but it doesn't look like it is intended for this kind of use.
I thought about sending it directly from the client, but I didn't want to create a new connection on the client. And we thought it would be more accurate to send it from the server.
I created a room in Photon, and in that room, I can play several mini-games.
I would like to count of how many times each mode has been played. Is there a good way to send this information to my server from PhotonCloud?
I read the documentation for Webhooks, but it doesn't look like it is intended for this kind of use.
I thought about sending it directly from the client, but I didn't want to create a new connection on the client. And we thought it would be more accurate to send it from the server.
0
Comments
-
Hi @kyubuns,
Thank you for choosing Photon!I read the documentation for Webhooks, but it doesn't look like it is intended for this kind of use.I created a room in Photon, and in that room, I can play several mini-games.
If you can't how do you play mini-games? do you use RPC? RaiseEvent or SetProperties to announce start of mini-game? ideally you use RaiseEvent and forward it as a webhook to count it.
There are also WebRPCs if you want to avoid another connection on the client.1 -
I see!
I think I can make this happen!
Thank you!1