Reference API Roblox

Engine API

Website

Related

Reference API Roblox

AnalyticsService

This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Tags: [NotCreatable, Service, NotReplicated]

Member index 13

HistoryMember
486ApiKey: string
619FireCustomEvent(player: Instance, eventCategory: string, customData: Variant): null
573FireEvent(category: string, value: Variant): null
619FireInGameEconomyEvent(player: Instance, itemName: string, economyAction: AnalyticsEconomyAction, itemCategory: string, amount: int, currency: string, location: Variant, customData: Variant): null
619FireLogEvent(player: Instance, logLevel: AnalyticsLogLevel, message: string, debugInfo: Variant, customData: Variant): null
619FirePlayerProgressionEvent(player: Instance, category: string, progressionStatus: AnalyticsProgressionStatus, location: Variant, statistics: Variant, customData: Variant): null
623LogEconomyEvent(player: Player, flowType: AnalyticsEconomyFlowType, currencyType: string, amount: float, endingBalance: float, transactionType: string, itemSku: string = , customFields: Dictionary = nil): null
632LogFunnelStepEvent(player: Player, funnelName: string, funnelSessionId: string = , step: int = 1, stepName: string = , customFields: Dictionary = nil): null
622LogOnboardingFunnelStepEvent(player: Player, step: int, stepName: string = , customFields: Dictionary = nil): null
622LogProgressionCompleteEvent(player: Player, progressionPathName: string, level: int, levelName: string = , customFields: Dictionary = nil): null
622LogProgressionEvent(player: Player, progressionPathName: string, status: AnalyticsProgressionType, level: int, levelName: string = , customFields: Dictionary = nil): null
622LogProgressionFailEvent(player: Player, progressionPathName: string, level: int, levelName: string = , customFields: Dictionary = nil): null
622LogProgressionStartEvent(player: Player, progressionPathName: string, level: int, levelName: string = , customFields: Dictionary = nil): null
inherited from Instance
553Archivable: bool
635Capabilities: SecurityCapabilities
553ClassName: string
553Name: string
553Parent: Instance
635Sandboxed: bool
616UniqueId: UniqueId
553className: string
576AddTag(tag: string): null
573ClearAllChildren(): null
462Clone(): Instance
573Destroy(): null
486FindFirstAncestor(name: string): Instance
486FindFirstAncestorOfClass(className: string): Instance
486FindFirstAncestorWhichIsA(className: string): Instance
486FindFirstChild(name: string, recursive: bool = false): Instance
486FindFirstChildOfClass(className: string): Instance
486FindFirstChildWhichIsA(className: string, recursive: bool = false): Instance
486FindFirstDescendant(name: string): Instance
563GetActor(): Actor
486GetAttribute(attribute: string): Variant
462GetAttributeChangedSignal(attribute: string): RBXScriptSignal
631GetAttributes(): Dictionary
486GetChildren(): Objects
462GetDebugId(scopeLength: int = 4): string
486GetDescendants(): Array
486GetFullName(): string
462GetPropertyChangedSignal(property: string): RBXScriptSignal
576GetTags(): Array
576HasTag(tag: string): bool
486IsA(className: string): bool
486IsAncestorOf(descendant: Instance): bool
486IsDescendantOf(ancestor: Instance): bool
580IsPropertyModified(name: string): bool
573Remove(): null
576RemoveTag(tag: string): null
580ResetPropertyToDefault(name: string): null
573SetAttribute(attribute: string, value: Variant): null
462WaitForChild(childName: string, timeOut: double): Instance
553children(): Objects
553clone(): Instance
573destroy(): null
553findFirstChild(name: string, recursive: bool = false): Instance
553getChildren(): Objects
462isA(className: string): bool
553isDescendantOf(ancestor: Instance): bool
573remove(): null
462AncestryChanged(child: Instance, parent: Instance)
462AttributeChanged(attribute: string)
462Changed(property: string)
462ChildAdded(child: Instance)
462ChildRemoved(child: Instance)
462DescendantAdded(descendant: Instance)
462DescendantRemoving(descendant: Instance)
500Destroying()
553childAdded(child: Instance)

Removed member index 13

HistoryMember
386GetClientId(): string
386GetSessionId(): string
386ReleaseRBXEventStream(target: string): void
386ReportCounter(counterName: string, amount: int = 1): void
386ReportInfluxSeries(seriesName: string, points: Dictionary, throttlingPercentage: int): void
386ReportStats(category: string, value: float): void
386SendEventDeferred(target: string, eventContext: string, eventName: string, additionalArgs: Dictionary): void
386SendEventImmediately(target: string, eventContext: string, eventName: string, additionalArgs: Dictionary): void
386SetRBXEvent(target: string, eventContext: string, eventName: string, additionalArgs: Dictionary): void
386SetRBXEventStream(target: string, eventContext: string, eventName: string, additionalArgs: Dictionary): void
386TrackEvent(category: string, action: string, label: string, value: int64 = 0): void
386TrackEventWithArgs(category: string, action: string, label: string, args: Dictionary, value: int64 = 0): void
386UpdateHeartbeatObject(args: Dictionary): void

History 62

Members 13

ApiKey

TypeDefault
string
This property is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

FireCustomEvent

Parameters (3)
playerInstance
eventCategorystring
customDataVariant
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

FireEvent

Parameters (2)
categorystring
valueVariant
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

FireInGameEconomyEvent

Parameters (8)
playerInstance
itemNamestring
economyActionAnalyticsEconomyAction
itemCategorystring
amountint
currencystring
locationVariant
customDataVariant
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

FireLogEvent

Parameters (5)
playerInstance
logLevelAnalyticsLogLevel
messagestring
debugInfoVariant
customDataVariant
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

FirePlayerProgressionEvent

Parameters (6)
playerInstance
categorystring
progressionStatusAnalyticsProgressionStatus
locationVariant
statisticsVariant
customDataVariant
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

LogEconomyEvent

Parameters (8)Default
playerPlayer
flowTypeAnalyticsEconomyFlowType
currencyTypestring
amountfloat
endingBalancefloat
transactionTypestring
itemSkustring
customFieldsDictionarynil
Returns (1)
null

History 3

LogFunnelStepEvent

Parameters (6)Default
playerPlayer
funnelNamestring
funnelSessionIdstring
stepint1
stepNamestring
customFieldsDictionarynil
Returns (1)
null

History 3

LogOnboardingFunnelStepEvent

Parameters (4)Default
playerPlayer
stepint
stepNamestring
customFieldsDictionarynil
Returns (1)
null

History 2

LogProgressionCompleteEvent

Parameters (5)Default
playerPlayer
progressionPathNamestring
levelint
levelNamestring
customFieldsDictionarynil
Returns (1)
null

History 2

LogProgressionEvent

Parameters (6)Default
playerPlayer
progressionPathNamestring
statusAnalyticsProgressionType
levelint
levelNamestring
customFieldsDictionarynil
Returns (1)
null

History 2

LogProgressionFailEvent

Parameters (5)Default
playerPlayer
progressionPathNamestring
levelint
levelNamestring
customFieldsDictionarynil
Returns (1)
null

History 2

LogProgressionStartEvent

Parameters (5)Default
playerPlayer
progressionPathNamestring
levelint
levelNamestring
customFieldsDictionarynil
Returns (1)
null

History 2

Removed members 13

GetClientId

Parameters (0)
No parameters.
Returns (1)
string

History 2

GetSessionId

Parameters (0)
No parameters.
Returns (1)
string

History 2

ReleaseRBXEventStream

Parameters (1)
targetstring
Returns (1)
void

History 2

ReportCounter

Parameters (2)Default
counterNamestring
amountint1
Returns (1)
void

History 2

ReportInfluxSeries

Parameters (3)
seriesNamestring
pointsDictionary
throttlingPercentageint
Returns (1)
void

History 2

ReportStats

Parameters (2)
categorystring
valuefloat
Returns (1)
void

History 2

SendEventDeferred

Parameters (4)
targetstring
eventContextstring
eventNamestring
additionalArgsDictionary
Returns (1)
void

History 2

SendEventImmediately

Parameters (4)
targetstring
eventContextstring
eventNamestring
additionalArgsDictionary
Returns (1)
void

History 2

SetRBXEvent

Parameters (4)
targetstring
eventContextstring
eventNamestring
additionalArgsDictionary
Returns (1)
void

History 3

SetRBXEventStream

Parameters (4)
targetstring
eventContextstring
eventNamestring
additionalArgsDictionary
Returns (1)
void

History 2

TrackEvent

Parameters (4)Default
categorystring
actionstring
labelstring
valueint640
Returns (1)
void

History 3

TrackEventWithArgs

Parameters (5)Default
categorystring
actionstring
labelstring
argsDictionary
valueint640
Returns (1)
void

History 2

UpdateHeartbeatObject

Parameters (1)
argsDictionary
Returns (1)
void

History 2

Settings