I found out about it while exploring the experience page and it looked cool. I tried making this script to log joins as custom event on there. However, for some reason it does not show on the custom events list… How can I solve this issue??
local AS = game:GetService("AnalyticsService")
game.Players.PlayerAdded:Connect(function(plr: Player)
AS:LogCustomEvent(plr, "PlayerJoined", 1, {
message = plr.Name .. " has joined the game."
})
end)
local AS = game:GetService("AnalyticsService")
game.Players.PlayerAdded:Connect(function(plr: Player)
AS:LogCustomEvent(plr, "PlayerJoined", 1, {plr.Name .. " has joined the game."})
end)
You need Enum.AnalyticsCustomFieldKeys for it to work
local AS = game:GetService("AnalyticsService")
game.Players.PlayerAdded:Connect(function(plr: Player)
AS:LogCustomEvent(plr, "PlayerJoined", 1, {
[Enum.AnalyticsCustomFieldKeys.CustomField01] = plr.Name .. " has joined the game.",
})
end)
you would have to do something like this, although i have tested it and i cannot get roblox to display the custom event in my experience analytics
AnalyticsService:LogCustomEvent(player, "PlayerJoined", 1, {
[Enum.AnalyticsCustomFieldKeys.CustomField01] = player.Name .. " has joined the game.",
})