Analytics: Track any custom event you want and use custom fields for segmentation

Can a boolean be an event value?

Analytics:LogCustomEvent(Player,
	v:GetAttribute("_settingName"),
	_has
)
1 Like

Seems like this feature might be a response to this news…

6 Likes

Sounds amazing! That’s definitely very helpful to get more infos about game statistics.

3 Likes

Just shipped 5 custom analytics events. :saluting_face: Too impatient to see what I get.

6 Likes

Unfortunately no. I’d store the setting’s string value (e.g., “true”/“false” for booleans) as a custom field with value = 1 and then you can use the custom field to track the number of users that have it set to true/false.

5 Likes

This was intentional to prevent sending events that can mess up your data during development. Although we do run through some checks so if your events are not set up correctly they can still trigger errors in the studio console.

6 Likes

I have a question about the Custom Fields still on Onboarding, so as far as I know it only listens to the First Step, right?

How comes I am going to separate players between Levels, Warriors, Rocket Launcher, and more if they haven’t done any of that, and I already did a First Step on joining?


I would assume the Custom Field would be useful here with Custom Events indeed, since they are all individual events right. (Kind of like saying they are all the First Step)

1 Like

These APIs are amazing as analytical data is really cool, I am going to address the privacy conerns though, will there be any options to opt-out of developer collection of user-specific analytics?

I also wonder what it would to take to get real-time analytics for plugins, if thats even possible.

1 Like

Yup for custom events you can attach custom fields on all custom events. For onboarding funnels I’d recommend setting up additional events to track that or even separate funnels where you can track those in the first step.

4 Likes

Privacy policies normally apply to data collection of “personal information”. In the EU and UK, this falls under GDPR. Personal data is information that can be used to identify a living person, either directly or indirectly.

The information being collected by these analytics are based on experience events and as such could not identify you, only the way you interact with experience.

It’s a bit like a website could track the number of hits. The difference here is that the information is being collected on Roblox, whereas on a website it’s tracking using cookies so requires consent to store on your computer (unless it uses server logs).

So in my view this is not a privacy issue.

9 Likes

Cool. However, I wish there was a way to better query through events, including easily customisable filters.

1 Like

I have been wanting custom analytics for years! Non-Roblox game studios like Bungie and Bioware actively track data like “Which weapon has the most precision kills?” or “Which multiplayer class is underperforming?” It’s crucial for balancing gameplay sandboxes. Knowing what’s overpowered makes it easier for targeted retuning. This also allows them to be transparent with their community in patch notes.

My only remaining question is “Can we retrieve data from analytics charts in-game as a GUI?” Like presenting graphs to investors at a board meeting via PowerPoint on a projector. Weird use case, I know. But my community is interested in that roleplay aspect for our weekly summits.

1 Like

Not directly in-game but you could export the charts’ data to a csv from the Analytics Dashboard and plot them using PowerPoint

image

4 Likes

Many games already do this with third party services long before today

2 Likes

refer to what i said earlier

2 Likes

It is great to see Roblox providing tools for developers that can help them grow their experiences. We’d love to see more of this!

Wooooooooooo! Thank you Roblox! :smile:

1 Like

Awesome feature as always from the analytics team. Keep shipping!

1 Like

Amazing! :star_struck:

It’s funny, I was just thinking earlier today about how I needed more info about when my players were leaving my game (i.e. gamemode, map, etc.), and I was going to add a warn() inside a PlayerRemoving connection so that I could view the number of people leaving during each map/gamemode from the error report. Then, I logged onto my PC and saw this post. Awesome job, Roblox! I just added my custom events to a PlayerRemoving connection. Can’t wait to see the data tomorrow :happy3:

No kidding. Well, Roblox still doesn’t have LiveOps, so that’s one more reason to use whatever GameBeast is.

1 Like