目录
此内容是否有帮助?

# Automatically Track Events

# 1. Enable Auto-Tracking

thinkingdata.enableAutoTrack([
  AutoTrackEventType.APP_END,
  AutoTrackEventType.APP_START,
  AutoTrackEventType.APP_INSTALL,
]);

# 2. Set Auto-tracking Event Public Properties

You can call setAutoTrackProperties to set or update custom properties

thinkingdata.setAutoTrackProperties([AutoTrackEventType.APP_START], {
  auto_name: "xxx",
  auto_age: "xxx",
});