Skip to main content

Social Events

Track social interactions — invitations, groups, chat, and voice calls.


friend_invite

GameRebellion.TrackFriendInvite(new GrFriendInviteEvent
{
InviteMethod = "share_link",
InviteCount = 1
});
FieldTypeRequiredDescription
InviteMethodstringNoshare_link, email, in_game, sms
InviteCountintNoNumber of invitations sent

group_join

GameRebellion.TrackGroupJoin(new GrGroupJoinEvent
{
GroupId = "guild-42",
GroupName = "Dragon Slayers",
GroupType = "guild",
GroupSize = 25
});
FieldTypeRequiredDescription
GroupIdstringNoGroup identifier
GroupNamestringNoDisplay name
GroupTypestringNoguild, clan, party, team
GroupSizeintNoCurrent member count

chat_message

GameRebellion.TrackChatMessage(new GrChatMessageEvent
{
ChatType = "guild",
MessageLength = 42,
MessageType = "text"
});
FieldTypeRequiredDescription
ChatTypestringNoglobal, guild, party, whisper
MessageLengthintNoCharacter count
MessageTypestringNotext, emoji, sticker, image

voice_call_start

GameRebellion.TrackVoiceCallStart(new GrVoiceCallStartEvent
{
Type = "group",
CallId = "call-uuid",
ParticipantCount = 4
});
FieldTypeRequiredDescription
TypestringYesgroup, one_on_one
CallIdstringNoCall identifier for pairing with stop event
ParticipantCountintNoNumber of participants

voice_call_stop

GameRebellion.TrackVoiceCallStop(new GrVoiceCallStopEvent
{
CallId = "call-uuid",
StopReason = "ended"
});
FieldTypeRequiredDescription
CallIdstringNoMatches the start event
StopReasonstringNoended, dropped, timeout