目录
此内容是否有帮助?

# Automatic Event Tracking

Corona SDK Automatic Event Tracking events including installation, open, close.

  • appInstall: behavior of APP installation
  • appStart: Open APP, including activiting APP and resuming APP from the background
  • appEnd: Close APP, including disabling the APP and calling in the background while tracking the duration of the enabling process

You can enable auto-tracking during initialization

-- enable auto-tracking
local params = {
    appId = "YOUR_APP_ID",
    serverUrl = "YOUR_SERVER_URL",
    autoTrack = {
        "appStart", "appEnd", "appInstall"
    }
}
ThinkingAnalyticsAPI.shareInstance( params )

Note: If you need to set distinct ID, please call identify before enabling auto-tracking.