# Google Analytics/Segment - Tracking events With every event, a userId is also passed. ### Category: Account #### Action: `changeTag` * When a user changes his account name (not username, linked account name). * When an admin/CM changes the account name of a user (not username, linked account name). Label: `undefined` Value: `undefined` props: { accountName, accountId } #### Action: `link` * When a user links a new game to his {{platform}} account. Label: `gameId` or `serviceId` Value: `undefined` props: { gameId/serviceId, accountName, accountId, serviceName/gameName } #### Action: `refresh` * When a user triggers an account refresh for refreshable accounts. Label: `serviceId` Value: `undefined` ### Category: Article #### Action: `loaded` * When an ad campaign is loaded (social feed / looking for match). Label: `brandId` Value: `undefined` props: { location, platform, adId, adLink, adType, adLocation, brandId, brandName, brandLink } ### Category: Chat #### Action: ObjectClass (the object the chat is sent to) * When a chat is inserted Label: `ObjectId` (the id of the object the chat is sent to) Value: `undefined` props: { text } ### Category: Comment #### Action: `edit` * When a comment is edited Label: `ObjectType` (the type of the object the comment is linked to) Value: `undefined` props: { text, commentId, objectId } #### Action: `remove` * When a comment is removed Label: `ObjectType` (the type of the object the comment is linked to) Value: `undefined` props: { commentId, objectId } #### Action: `upvote` * When a comment is upvoted Label: `ObjectType` (the type of the object the comment is linked to) Value: `undefined` props: { commentId } ### Category: Follow #### Action: `follow` * When a user follows another user Label: `userId` (of the user they started following) Value: `undefined` #### Action: `unFollow` * When a user unfollows another user Label: `userId` (of the user they stopped following) Value: `undefined` ### Category: Match #### Action: `chat` * When a user sends a chat in a match chat Label: `tournamentId` OR `scrimFinderId` Value: `undefined` props: { message, type } #### Action: `file` * When a user sends a file in a match chat ✔️ Label: `tournamentId` OR `scrimFinderId` Value: `undefined` props: { message, type } #### Action: `forfeitMatch` * When a registration forfeits a match Label: `tournamentId` OR `scrimFinderId` Value: `undefined` props: { reason, registrationId, matchId, type } #### Action: `ticketCreated` * When a match ticket is created Label: `tournamentId` or `scrimFinderId` Value: `undefined` props: { matchId, type, message, platform } #### Action: `ticketType` * When a match ticket is created Label: `ticketType` Value: `undefined` props: { matchId, type, message, platform } #### Action: `reputation` * When reputation is given after a match Label: `matchId` Value: `undefined` props: { value, matchId, skipped } ### Category: Notification #### Action: `open` * When a notification is opened (and thus, marked as read) Label: `notificationType` Value: `undefined` props: { message, url, appurl, app, web, type, notificationId} #### Action: `send` * When a push notification is sent out Label: `notificationType` Value: `undefined` props: { topic, title, message, name, url, appurl, app, web, type, notificationId} ### Category: Order #### Action: `create` * When a user orders a product * When a user is rewarded a product (raffle, tournament prizepool) Label: `productId` Value: `undefined` props: { amount, price, shopDiscount, paid, name, stock, productBrand, currencyId, type} ### Category: Product #### Action: `addToWishList` * When a user wishlists a product Label: `productId` Value: `undefined` ### Category: Referral #### Action: `referred` * When a user registers through a referral user Label: `undefined` Value: `undefined` props: { referredId } #### Action: `newReferral` * When a user has a new referral Label: `undefined` Value: `undefined` props: { referralId } #### Action: `refer` * When a user sends an invite Label: `undefined` Value: `undefined` props: { email } ### Category: ScrimFinder #### Action: `chat` * When a chat is sent in a general league chat Label: `scrimFinderId` Value: `undefined` props: { text } #### Action: `chatBan` * When a user is chatbanned Label: `scrimFinderId` Value: `undefined` props: { minutes } #### Action: `chatBanRevoke` * When a chat ban is revoked Label: `scrimFinderId` Value: `undefined` #### Action: `chatClear` * When a user's chats are removed from a general league chat Label: `scrimFinderId` Value: `undefined` #### Action: `chatMute` * When a general league chat is muted Label: `scrimFinderId` Value: `undefined` #### Action: `chatUnMute` * When a general league chat is unmuted Label: `scrimFinderId` Value: `undefined` #### Action: `checkOut` * When a user checks out for a league Label: `scrimFinderId` Value: `undefined` #### Action: `checkoutKick` * When a user is kicked from a registration in a league Label: `scrimFinderId` Value: `undefined` #### Action: `checkinSolo` * When a user checks in for a solo league Label: `scrimFinderId` Value: `undefined` props: { gameName, gameId, serviceId, serviceName, accountId, accountName, challenge } #### Action: `checkinTeam` * When a user checks in for a team league Label: `scrimFinderId` Value: `undefined` props: { gameName, gameId, serviceId, serviceName, accountId, accountName, challenge, teamId, teamName } #### Action: `disableNotification` * When a user turns off a league notification Label: `scrimFinderId` Value: `undefined` #### Action: `enableNotification` * When a user turns on a league notification Label: `scrimFinderId` Value: `undefined` #### Action: `challenge` * When a user challenges a user or receives a challange Label: `scrimFinderId` Value: `undefined` props: { challengingUserId, userId, scrimFinderId, accountId, moment } #### Action: `challengeTeam` * When a user challenges a team Label: `scrimFinderId` Value: `undefined` props: { challengingUser_id, userTeamId, teamId, scrimFinderId, accountId, moment } #### Action: `acceptChallenge` * When a user accepts a challenge Label: `scrimFinderId` Value: `undefined` props: { challengeId, accountId } #### Action: `declineChallenge` * When a user declines a challenge Label: `scrimFinderId` Value: `undefined` props: { challengeId } #### Action: `ranking` * When a users rank gets updated Label: `scrimFinderId` Value: `undefined` props: { leaderboard, rankingGain, matchsGain, winsGain } ### Category: Service #### Action: `link` ✔️ * When a user links a service * Twitch * Discord * Facebook * Google Label: `serviceId` Value: `undefined` props: { serviceName, accountName, accountId } ### Category: Story #### Action: `upvote` * When a story is upvoted Label: `storyId` Value: `undefined` #### Action: `downvote` * When a story is downvoted Label: `storyId` Value: `undefined` #### Action: `share` * When a story is shared Label: `storyId` Value: `undefined` props: { description } #### Action: `create` * When a story is posted Label: `storyType` Value: `undefined` props: { text, brandPost, communityPost } #### Action: `edit`. * When a story is edited Label: `storyId` Value: `undefined` props: { text } #### Action: `remove` * When a story is removed (either by the author, or by a staff member) Label: `storyId` Value: `undefined` #### Action: `enableComments` * When comments are enabled on a story Label: `storyId` Value: `undefined` #### Action: `disableComments` * When comments are disabled on a story Label: `storyId` Value: `undefined` #### Action: `pinStory` * When a story is pinned Label: `storyId` Value: `undefined` #### Action: `unpinStory` * When a story is unpinned Label: `storyId` Value: `undefined` ### Category: Team #### Action: `kickMember` * When a team member is kicked Label: `teamId` Value: `undefined` props: { kickedMemberId } #### Action: `inviteCancel` * When a team invite is cancelled Label: `teamId` Value: `undefined` props: { cancelledMemberId } #### Action: `leave` * When a user leaves a team Label: `teamId` Value: `undefined` #### Action: `delete` * When a team is deleted Label: `teamId` Value: `undefined` #### Action: `create` * When a team is created Label: `teamId` Value: `undefined` props: { name, description, url } #### Action: `edit` * When a team is editted Label: `teamId` Value: `undefined` props: { name, description, url } #### Action: `inviteMember` * When a user is invited to a team Label: `teamId` Value: `undefined` props: { invitedUserId, teamame } #### Action: `inviteAccepted` * When an invited user accepts a team invite Label: `teamId` Value: `undefined` #### Action: `inviteDeclined` * When an invited user declines a team invite Label: `teamId` Value: `undefined` #### Action: `memberPromoted` * When a team member is promoted from regular member to captain Label: `teamId` Value: `undefined` props: { promotedUserId } #### Action: `memberDemoted` * When a team member is demoted from captain to regular member Label: `teamId` Value: `undefined` props: { demotedUserId } #### Action: `changeOwner` * When a team owner transfers ownership to another user Label: `teamId` Value: `undefined` props: { newOwnerId } #### Action: `profilePictureChanged` * When a team owner changes the team profile picture Label: `teamId` Value: `undefined` #### Action: `bannerPictureChanged` * When a team owner changes the team banner picture Label: `teamId` Value: `undefined` ### Category: Tournament #### Action: `chat` * When a chat is sent in a general tournament chat Label: `tournamentId` Value: `undefined` #### Action: `chatClear` * When a user's chats in a general tournament chat are removed Label: `tournamentId` Value: `undefined` #### Action: `chatMute` * When a general tournament chat is muted Label: `tournamentId` Value: `undefined` #### Action: `chatUnMute` * When a general tournament chat is unmuted Label: `tournamentId` Value: `undefined` #### Action: `checkout` * When a user checks out for a tournament Label: `tournamentId` Value: `undefined` #### Action: `checkoutKick` * When a user is kicked from a registration in a tournament Label: `tournamentId` Value: `undefined` #### Action: `checkinSolo` * When a user checks in for a solo tournament Label: `tournamentId` Value: `undefined` props: { gameName, gameId, serviceId, serviceName, accountId, accountName } #### Action: `checkinTeam` * When a user checks in with a team in a team tournament Label: `tournamentId` Value: `undefined` props: { gameName, gameId, serviceId, serviceName, accountId, accountName, teamId, teamName } #### Action: `enableNotification` * When a user enables a tournament notification Label: `tournamentId` Value: `undefined` #### Action: `disableNotification` * When a user disables a tournament notification Label: `tournamentId` Value: `undefined` #### Action: `solosignupRemove` * When a user removes his solo signup registration Label: `tournamentId` Value: `undefined` #### Action: `solosignup` * When a signs up for the solo signup in a team tournament Label: `tournamentId` Value: `undefined` #### Action: `forfeitTournament` * When a captain forfeits for the entire tournament Label: `tournamentId` Value: `undefined` #### Action: `forfeitTournamentByAdmin` * When an admin forfeits a registration for the entire tournament Label: `tournamentId` Value: `undefined` Props: { registrationId } #### Action: `disqualifyTournamentByAdmin` * When an admin disqualifies a registration in a tournament Label: `tournamentId` Value: `undefined` props: { registrationId } #### Action: `finish` * When a user finished a tournament Label: `tournamentId` Value: `undefined` props: { registrationName, accountId, registrationId, status, result, rankingGain } ### Category: Transaction #### Action: `given` * When a deposit transaction is added Label: `currencyId` Value: `transactionAmount` props: { type, text, url, objectType, objectId, currencyId, ?currencyName } #### Action: `used` * When a withdrawal transaction is added Label: `currencyId` Value: `transactionAmount` props: { type, text, url, objectType, objectId, currencyId, ?currencyName } ### Category: User #### Action: `registerStep_` * On every register step. #### Action: `OpenedSite` * On every page navigation. Label: `userId` Value: `undefined` props { ipAddress, latLong, countryCode, city, region, browser, platform } #### Action: `ban` * On user ban. Label: `userId` Value: `undefined` props { reason, proof, dateUntil, staffId } #### Action: `login` * When a user tries log in in with a social account, but that user doesn't exist. Label: `no user found` Value: `undefined` * When a user tries log in in with a social account, the user already exist, but a linked social account doesn't exist. Label: `Link social` Value: `undefined` * When a user tries log in in with a social account, the user already exist, and the linked social account exists. Label: `provider` ('facebook', 'google', 'twitch', 'discord', ...) Value: `undefined` * When a user tries log in, but the user doesn't exist. Label: `incorrect user` Value: `undefined` * When a user tries log in, but the password is incorrect. Label: `incorrect password` Value: `undefined` * When a user tries log in, but the password is incorrect. Label: `incorrect password` Value: `undefined` * When a user tries log in, but the user account was deleted. Label: `deleted` Value: `undefined` * When a user logs in, without issues. * When a user is authenticated through an embedded iFrame (plugin cases) Label: `success` Value: `undefined` props: { provider } #### Action: `register` * When a user succesfully registers Label: `undefined` Value: `undefined` props --> same props as user identification #### Action: `profilePictureChanged` * When a user changes his profile picture Label: `undefined` Value: `undefined` props: { profilePicture } ### Category: {Premium} #### Action: `create` * When a user starts a premium plan Label: `packageId` Value: `undefined` props: { packageId, userId, isUpgrade, amount, currency, subscriptionType } #### Action: `edit` * When a user edits a premium plan Label: `packageId` Value: `undefined` props: { oldPackageId, newPackageId, userId, amount, currency, subscriptionType } #### Action: `delete` * When a user stops a premium plan Label: `packageId` Value: `undefined` props: { packageId, userId } ### Category: {raffle} #### Action: `createBid` * When a user creates a bid Label: `raffleId` Value: `undefined` props: { amount } ### Category: {gamble} #### Action: `createBet` * When a user creates a bet Label: `gambleOptionId` Value: `undefined` props: { amount } ### props on every event: props: { platform(web/app), campaign(info from utm tags) } ## Register + profileUpdate props: { email, country, street, number, bus, postalCode, city, firstName, lastName, birthDate, gender, language, name, phone, photo, bannerPicture, createdAt, linkedGames, -- array of the linked games settingsVals, (property for every setting) roleVals, (property for every role) lastTournament, } # Analytics - PageView ## on pageview props{ path, userLanguage }