API Docs for: 1.13.1
Show:

game.Analytics Class

Extends game.Class
Module: analytics

Google Analytics tracking.

Constructor

game.Analytics

(
  • id
)

Parameters:

  • id String

Item Index

Methods

Properties

Attributes

Methods

send

(
  • category
  • action
  • [label]
  • [value]
)

Send event to analytics.

Parameters:

  • category String
  • action String
  • [label] String optional
  • [value] String optional

Properties

trackId

String

Current tracking id.

Attributes

id

String

Tracking id for analytics.