@thinkingai/ae-cli 6.0.57 → 6.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/README.md +10 -5
  2. package/README.zh.md +10 -5
  3. package/bin/ai-monitor.js +2 -0
  4. package/dist/ai-monitor-FCXSLHAP.js +32 -0
  5. package/dist/ai-monitor.js +135 -0
  6. package/dist/{auth-YEIJLBFY.js → auth-ATK2SLEV.js} +12 -11
  7. package/dist/{automation-NAR5DDGL.js → automation-FLCPFMN4.js} +5 -5
  8. package/dist/{capability-P7DD4Q73.js → capability-6KTSOI7L.js} +32 -36
  9. package/dist/{chunk-JCWM2TYP.js → chunk-2ETRY2CU.js} +16 -16
  10. package/dist/{chunk-IN7KKL6K.js → chunk-2F64AZYH.js} +1 -1
  11. package/dist/{chunk-JNVVJ273.js → chunk-4PSTYEG5.js} +5 -10
  12. package/dist/{chunk-QEMQKVHW.js → chunk-5E7MTTFN.js} +3 -3
  13. package/dist/{chunk-RJHGDWSC.js → chunk-5M5LBRR3.js} +2 -2
  14. package/dist/chunk-6M7ZEDT2.js +182 -0
  15. package/dist/{chunk-KPQY44JQ.js → chunk-AWW2T2WL.js} +3 -0
  16. package/dist/chunk-AXTO4FTM.js +1285 -0
  17. package/dist/{chunk-TKVVACEJ.js → chunk-BEYLCUZX.js} +17 -12
  18. package/dist/chunk-CF6JTT2U.js +64 -0
  19. package/dist/{chunk-N6XBLRB7.js → chunk-F2VFZUGG.js} +2 -2
  20. package/dist/{chunk-ZGIYG473.js → chunk-HSZAIPUX.js} +48 -13
  21. package/dist/{chunk-H3K5UGYC.js → chunk-HTZ2MLYA.js} +48 -22
  22. package/dist/{chunk-QZUVLFNR.js → chunk-HVMCPKOZ.js} +1 -1
  23. package/dist/{chunk-7JAVT5TK.js → chunk-KTJXD27G.js} +2 -2
  24. package/dist/{chunk-TULINOLS.js → chunk-LOR4IA26.js} +565 -315
  25. package/dist/{chunk-YVG6QD3V.js → chunk-P7QDCWJ6.js} +98 -7
  26. package/dist/{chunk-7ABK2PEJ.js → chunk-SDKW6LYE.js} +88 -36
  27. package/dist/{chunk-752BSLZC.js → chunk-VJUXKVRE.js} +1 -1
  28. package/dist/chunk-VRMGHQKE.js +556 -0
  29. package/dist/{compat-check-PMEGUPZU.js → compat-check-XD2U7PZ2.js} +3 -3
  30. package/dist/{config-VWVPR4WW.js → config-U3GDWU6E.js} +26 -13
  31. package/dist/{context-F6FCGTF3.js → context-YAQG6YQC.js} +3 -3
  32. package/dist/{data-integration-6UAZO4GG.js → data-integration-QE37EQ3A.js} +1 -1
  33. package/dist/{evaluation-4LO2O4AF.js → evaluation-2JSF4V47.js} +13 -158
  34. package/dist/index.js +87 -582
  35. package/dist/{memory-HHPX3NF2.js → memory-WEB27VI6.js} +8 -8
  36. package/dist/{metadata-HEQQEEG3.js → metadata-7FYE4234.js} +8 -8
  37. package/dist/{model-7UHGWYVR.js → model-T7H7Q6BG.js} +3 -3
  38. package/dist/{personal-semantic-preference-V4L6ZWR2.js → personal-semantic-preference-O6VXM74A.js} +7 -7
  39. package/dist/{project-semantic-NKHKJX6M.js → project-semantic-2GGFJWW6.js} +16 -14
  40. package/dist/{sync-ZJMXCRIN.js → sync-ULBB7WO5.js} +5 -5
  41. package/dist/{te-agent-WBKIFEQD.js → te-agent-6RMF7LUV.js} +6 -6
  42. package/dist/{te-analysis-ADX7RKO4.js → te-analysis-HSYC7GNV.js} +383 -194
  43. package/dist/{te-community-PREDRXG3.js → te-community-FLKZGQKB.js} +10 -10
  44. package/dist/{te-dataops-ITWJHO2U.js → te-dataops-OQQGTCUA.js} +5 -5
  45. package/dist/{te-engage-VE2NUH5V.js → te-engage-RIEBHL5T.js} +10 -10
  46. package/dist/{te-kb-WSMOW7WS.js → te-kb-4HG2FMHJ.js} +19 -10
  47. package/dist/{te-system-YM657FKO.js → te-system-AL4B4XZL.js} +3 -3
  48. package/dist/{te-team-T2WRLOOD.js → te-team-5O4UVUWE.js} +6 -6
  49. package/dist/{things-6QOMFXOG.js → things-TSJ64GBT.js} +6 -6
  50. package/dist/{update-I4MOUYOX.js → update-Q5LURAWV.js} +4 -4
  51. package/dist/{workspace-LYDAP647.js → workspace-FF2HXJGR.js} +5 -5
  52. package/package.json +8 -6
  53. package/skills/ae-ai-monitor/SKILL.md +179 -0
  54. package/skills/ae-ai-monitor/references/read-commands.md +866 -0
  55. package/skills/ae-analysis/SKILL.md +10 -4
  56. package/skills/ae-analysis/references/adhoc_export.md +3 -1
  57. package/skills/ae-analysis/references/ai_models.md +1 -0
  58. package/skills/ae-analysis/references/analysis_gateway_assets.md +2 -0
  59. package/skills/ae-analysis/references/asset_search.md +1 -1
  60. package/skills/ae-analysis/references/bad_case_begin.md +12 -0
  61. package/skills/ae-analysis/references/bad_case_get.md +12 -0
  62. package/skills/ae-analysis/references/bad_case_history.md +12 -0
  63. package/skills/ae-analysis/references/bad_case_list.md +12 -0
  64. package/skills/ae-analysis/references/bad_case_review.md +51 -0
  65. package/skills/ae-analysis/references/bad_case_run.md +12 -0
  66. package/skills/ae-analysis/references/bad_case_submit.md +12 -0
  67. package/skills/ae-analysis/references/bad_case_submit_to_page.md +12 -0
  68. package/skills/ae-analysis/references/bad_case_sync_evaluation.md +11 -0
  69. package/skills/ae-analysis/references/bi_panel_list.md +1 -1
  70. package/skills/ae-analysis/references/bi_panel_share.md +3 -1
  71. package/skills/ae-analysis/references/catalog_list.md +2 -0
  72. package/skills/ae-analysis/references/command_index.md +38 -29
  73. package/skills/ae-analysis/references/dashboard_daily_report_update.md +2 -0
  74. package/skills/ae-analysis/references/dashboard_handover.md +3 -1
  75. package/skills/ae-analysis/references/dashboard_list.md +3 -3
  76. package/skills/ae-analysis/references/dashboard_report_data_export.md +1 -1
  77. package/skills/ae-analysis/references/dashboard_share.md +3 -1
  78. package/skills/ae-analysis/references/dashboard_update.md +3 -2
  79. package/skills/ae-analysis/references/filter_value_list.md +2 -0
  80. package/skills/ae-analysis/references/folder_share.md +8 -2
  81. package/skills/ae-analysis/references/governance_recommendation_run_update.md +3 -1
  82. package/skills/ae-analysis/references/project_data_power_upsert.md +3 -1
  83. package/skills/ae-analysis/references/project_mark_time_create.md +2 -0
  84. package/skills/ae-analysis/references/project_mark_time_update.md +2 -0
  85. package/skills/ae-analysis/references/project_member_add.md +3 -1
  86. package/skills/ae-analysis/references/project_member_batch_update.md +3 -1
  87. package/skills/ae-analysis/references/project_member_handover_run.md +3 -1
  88. package/skills/ae-analysis/references/project_member_update.md +3 -1
  89. package/skills/ae-analysis/references/project_owner_update.md +3 -1
  90. package/skills/ae-analysis/references/project_role_upsert.md +5 -3
  91. package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +16 -1
  92. package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +14 -1
  93. package/skills/ae-analysis/references/project_space_share.md +8 -2
  94. package/skills/ae-analysis/references/property_get.md +2 -0
  95. package/skills/ae-analysis/references/public_link_list.md +3 -1
  96. package/skills/ae-analysis/references/query_cancel.md +4 -1
  97. package/skills/ae-analysis/references/report_data_run.md +1 -1
  98. package/skills/ae-analysis/references/report_list.md +3 -3
  99. package/skills/ae-analysis/references/scenario_append.md +2 -2
  100. package/skills/ae-analysis/references/scenario_collect.md +15 -4
  101. package/skills/ae-analysis/references/scenario_list.md +2 -1
  102. package/skills/ae-analysis/references/system_oauth2_update.md +3 -1
  103. package/skills/ae-analysis/references/system_third_party_login_upsert.md +4 -2
  104. package/skills/ae-analysis/references/user_tag_create.md +4 -1
  105. package/skills/ae-analysis/references/user_tag_get.md +2 -0
  106. package/skills/ae-analysis/references/user_tag_models.md +8 -2
  107. package/skills/ae-analysis/references/user_tag_update.md +5 -2
  108. package/skills/ae-analysis/references/virtual_property_create.md +12 -1
  109. package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +10 -0
  110. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +55 -13
  111. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +2 -2
  112. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +2 -2
  113. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-schema.md +7 -1
  114. package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/wait-compile-run.mjs +79 -0
  115. package/skills/ae-automation/SKILL.md +4 -2
  116. package/skills/ae-capability/SKILL.md +9 -5
  117. package/skills/ae-community/SKILL.md +1 -0
  118. package/skills/ae-dataops/SKILL.md +1 -0
  119. package/skills/ae-engage/SKILL.md +1 -0
  120. package/skills/ae-evaluation/SKILL.md +17 -2
  121. package/skills/ae-generate-tracking-plan/SKILL.md +5 -0
  122. package/skills/ae-kb/SKILL.md +9 -5
  123. package/skills/ae-kb/references/analysis-workflow.md +11 -2
  124. package/skills/ae-kb/references/query-workflow.md +9 -6
  125. package/skills/ae-kb/references/versions.md +1 -1
  126. package/skills/ae-kb-discovery/SKILL.md +15 -6
  127. package/skills/ae-metadata/SKILL.md +1 -0
  128. package/skills/ae-migrate-tracking-code/SKILL.md +2 -1
  129. package/skills/ae-team/SKILL.md +1 -1
  130. package/skills/ae-tracking-matrix/SKILL.md +170 -0
  131. package/skills/ae-tracking-matrix/assets//345/237/213/347/202/271/346/250/241/347/211/210.xlsx +0 -0
  132. package/skills/ae-tracking-matrix/i18n.yaml +12 -0
  133. package/skills/ae-tracking-matrix/references/ae-capabilities.md +93 -0
  134. package/skills/ae-tracking-matrix/references/business-semantic-checks.md +30 -0
  135. package/skills/ae-tracking-matrix/references/categories/acquaintance_social_tracking_plan_template.md +256 -0
  136. package/skills/ae-tracking-matrix/references/categories/blockchain_game_tracking_plan_template.md +213 -0
  137. package/skills/ae-tracking-matrix/references/categories/card_game_tracking_plan_template.md +407 -0
  138. package/skills/ae-tracking-matrix/references/categories/casual_game_tracking_plan_template.md +218 -0
  139. package/skills/ae-tracking-matrix/references/categories/casual_music.md +112 -0
  140. package/skills/ae-tracking-matrix/references/categories/chess_cards_tracking_plan_template.md +301 -0
  141. package/skills/ae-tracking-matrix/references/categories/ecommerce_tracking_plan_template.md +356 -0
  142. package/skills/ae-tracking-matrix/references/categories/fishing.md +775 -0
  143. package/skills/ae-tracking-matrix/references/categories/game_basic_module_tracking_plan.md +89 -0
  144. package/skills/ae-tracking-matrix/references/categories/idle_card.md +27 -0
  145. package/skills/ae-tracking-matrix/references/categories/idle_game_tracking_plan_template.md +415 -0
  146. package/skills/ae-tracking-matrix/references/categories/interactive_video.md +133 -0
  147. package/skills/ae-tracking-matrix/references/categories/merge.md +639 -0
  148. package/skills/ae-tracking-matrix/references/categories/mmo_mobile_tracking_plan_template.md +406 -0
  149. package/skills/ae-tracking-matrix/references/categories/mmo_web.md +230 -0
  150. package/skills/ae-tracking-matrix/references/categories/music.md +137 -0
  151. package/skills/ae-tracking-matrix/references/categories/online_education_tracking_plan_template.md +414 -0
  152. package/skills/ae-tracking-matrix/references/categories/qipai_mj.md +199 -0
  153. package/skills/ae-tracking-matrix/references/categories/reading_tracking_plan_template.md +158 -0
  154. package/skills/ae-tracking-matrix/references/categories/roguelike_tracking_plan_template.md +546 -0
  155. package/skills/ae-tracking-matrix/references/categories/rpg.md +195 -0
  156. package/skills/ae-tracking-matrix/references/categories/short_drama_tracking_plan_template.md +115 -0
  157. package/skills/ae-tracking-matrix/references/categories/simulation_business_tracking_plan_template.md +151 -0
  158. package/skills/ae-tracking-matrix/references/categories/slg_tracking_plan_template.md +260 -0
  159. package/skills/ae-tracking-matrix/references/categories/slots_tracking_plan_template.md +232 -0
  160. package/skills/ae-tracking-matrix/references/categories/stranger_social_tracking_plan_template.md +359 -0
  161. package/skills/ae-tracking-matrix/references/categories/tower_defense.md +365 -0
  162. package/skills/ae-tracking-matrix/references/categories/video_editor_tracking_plan_template.md +211 -0
  163. package/skills/ae-tracking-matrix/references/categories/wechat_minigame.md +132 -0
  164. package/skills/ae-tracking-matrix/references/category-registry.md +77 -0
  165. package/skills/ae-tracking-matrix/references/data-verification/diagnosis_kb.md +230 -0
  166. package/skills/ae-tracking-matrix/references/data-verification/sql_checks.md +406 -0
  167. package/skills/ae-tracking-matrix/references/data-verification/tracking_plan_comparison.md +128 -0
  168. package/skills/ae-tracking-matrix/references/eval-cases.md +74 -0
  169. package/skills/ae-tracking-matrix/references/naming-dict.md +238 -0
  170. package/skills/ae-tracking-matrix/references/optimization-checklist.md +85 -0
  171. package/skills/ae-tracking-matrix/references/plan-generation/export-schema.md +142 -0
  172. package/skills/ae-tracking-matrix/references/plan-generation/module-baseline.md +47 -0
  173. package/skills/ae-tracking-matrix/references/plan-generation/reference.md +794 -0
  174. package/skills/ae-tracking-matrix/references/plan-generation/template-catalog.md +94 -0
  175. package/skills/ae-tracking-matrix/references/scene-routing.md +80 -0
  176. package/skills/ae-tracking-matrix/references/sdk/client-sdk/android.md +3787 -0
  177. package/skills/ae-tracking-matrix/references/sdk/client-sdk/c.md +827 -0
  178. package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-lua.md +655 -0
  179. package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-x.md +953 -0
  180. package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocoscreator.md +1128 -0
  181. package/skills/ae-tracking-matrix/references/sdk/client-sdk/corona.md +714 -0
  182. package/skills/ae-tracking-matrix/references/sdk/client-sdk/egret.md +1268 -0
  183. package/skills/ae-tracking-matrix/references/sdk/client-sdk/flutter.md +776 -0
  184. package/skills/ae-tracking-matrix/references/sdk/client-sdk/h5-and-app-sdk-integration.md +182 -0
  185. package/skills/ae-tracking-matrix/references/sdk/client-sdk/ios.md +2755 -0
  186. package/skills/ae-tracking-matrix/references/sdk/client-sdk/javascript.md +1182 -0
  187. package/skills/ae-tracking-matrix/references/sdk/client-sdk/layaair.md +1300 -0
  188. package/skills/ae-tracking-matrix/references/sdk/client-sdk/macos.md +1369 -0
  189. package/skills/ae-tracking-matrix/references/sdk/client-sdk/mini-program-mini-game.md +1692 -0
  190. package/skills/ae-tracking-matrix/references/sdk/client-sdk/openharmony.md +902 -0
  191. package/skills/ae-tracking-matrix/references/sdk/client-sdk/react-native.md +763 -0
  192. package/skills/ae-tracking-matrix/references/sdk/client-sdk/uni-app.md +1107 -0
  193. package/skills/ae-tracking-matrix/references/sdk/client-sdk/unity.md +1532 -0
  194. package/skills/ae-tracking-matrix/references/sdk/client-sdk/unreal.md +845 -0
  195. package/skills/ae-tracking-matrix/references/sdk/faq/android_sdk_faq.md +228 -0
  196. package/skills/ae-tracking-matrix/references/sdk/faq/ios_sdk_faq.md +149 -0
  197. package/skills/ae-tracking-matrix/references/sdk/faq/java_sdk_faq.md +407 -0
  198. package/skills/ae-tracking-matrix/references/sdk/faq/javascript_sdk_faq.md +163 -0
  199. package/skills/ae-tracking-matrix/references/sdk/faq/minigame_sdk_faq.md +149 -0
  200. package/skills/ae-tracking-matrix/references/sdk/faq/miniprogram_sdk_faq.md +153 -0
  201. package/skills/ae-tracking-matrix/references/sdk/faq/python_sdk_faq.md +232 -0
  202. package/skills/ae-tracking-matrix/references/sdk/faq/sdk_log_guide.md +314 -0
  203. package/skills/ae-tracking-matrix/references/sdk/faq/sdk_usage_notes.md +117 -0
  204. package/skills/ae-tracking-matrix/references/sdk/faq/unity_sdk_faq.md +148 -0
  205. package/skills/ae-tracking-matrix/references/sdk/integration-tools/filebeat-logstash-guide.md +645 -0
  206. package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_guide.md +307 -0
  207. package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_parser_plugin.md +347 -0
  208. package/skills/ae-tracking-matrix/references/sdk/integration-tools/restful_api_notes.md +72 -0
  209. package/skills/ae-tracking-matrix/references/sdk/integration-tools/ta-datax-writer-guide.md +264 -0
  210. package/skills/ae-tracking-matrix/references/sdk/server-sdk/c.md +566 -0
  211. package/skills/ae-tracking-matrix/references/sdk/server-sdk/erlang.md +409 -0
  212. package/skills/ae-tracking-matrix/references/sdk/server-sdk/golang.md +446 -0
  213. package/skills/ae-tracking-matrix/references/sdk/server-sdk/java.md +557 -0
  214. package/skills/ae-tracking-matrix/references/sdk/server-sdk/lua.md +457 -0
  215. package/skills/ae-tracking-matrix/references/sdk/server-sdk/nodejs.md +490 -0
  216. package/skills/ae-tracking-matrix/references/sdk/server-sdk/php.md +523 -0
  217. package/skills/ae-tracking-matrix/references/sdk/server-sdk/python.md +484 -0
  218. package/skills/ae-tracking-matrix/references/sdk/server-sdk/ruby.md +442 -0
  219. package/skills/ae-tracking-matrix/references/sdk/te-data-rules/data-rules.md +391 -0
  220. package/skills/ae-tracking-matrix/references/sdk/te-data-rules/first-event-validation.md +91 -0
  221. package/skills/ae-tracking-matrix/references/sdk/te-data-rules/preset-properties-system-fields.md +635 -0
  222. package/skills/ae-tracking-matrix/references/sdk/te-data-rules/updatable-events.md +113 -0
  223. package/skills/ae-tracking-matrix/references/sdk/te-data-rules/user-identification-rules.md +466 -0
  224. package/skills/ae-tracking-matrix/references/standard-base/README.md +22 -0
  225. package/skills/ae-tracking-matrix/references/standard-base/basic_event_data.md +174 -0
  226. package/skills/ae-tracking-matrix/references/standard-base/common_event_properties.md +20 -0
  227. package/skills/ae-tracking-matrix/references/standard-base/common_event_properties_setup.md +7 -0
  228. package/skills/ae-tracking-matrix/references/standard-base/data_type_design_principles.md +14 -0
  229. package/skills/ae-tracking-matrix/references/standard-base/gameplay_event_data.md +370 -0
  230. package/skills/ae-tracking-matrix/references/standard-base/id_system_faq.md +47 -0
  231. package/skills/ae-tracking-matrix/references/standard-base/integration_must_know.md +37 -0
  232. package/skills/ae-tracking-matrix/references/standard-base/multi_platform_integration_notes.md +27 -0
  233. package/skills/ae-tracking-matrix/references/standard-base/multi_user_id_system_recommendations.md +23 -0
  234. package/skills/ae-tracking-matrix/references/standard-base/tracking_notes.md +14 -0
  235. package/skills/ae-tracking-matrix/references/standard-base/user_data.md +46 -0
  236. package/skills/ae-tracking-matrix/references/standard-base/user_id_system.md +13 -0
  237. package/skills/ae-tracking-matrix/references/system-fields.md +297 -0
  238. package/skills/ae-tracking-matrix/references/te-field-translations.md +1791 -0
  239. package/skills/ae-tracking-matrix/references/workflows/data-verification.md +232 -0
  240. package/skills/ae-tracking-matrix/references/workflows/feasibility-analysis.md +829 -0
  241. package/skills/ae-tracking-matrix/references/workflows/integration-qna.md +355 -0
  242. package/skills/ae-tracking-matrix/references/workflows/plan-generation.md +283 -0
  243. package/skills/ae-tracking-matrix/references/workflows/plan-lint.md +168 -0
  244. package/skills/ae-tracking-matrix/references/workflows/plan-review-optimize.md +205 -0
  245. package/skills/ae-tracking-matrix/references/workflows/prd-to-suggestions.md +75 -0
  246. package/skills/ae-tracking-matrix/references/workflows/troubleshooting.md +36 -0
  247. package/skills/ae-tracking-matrix/references/workflows/validated-upload.md +107 -0
  248. package/skills/ae-tracking-matrix/scripts/build_template_catalog.py +114 -0
  249. package/skills/ae-tracking-matrix/scripts/export_tracking_plan.py +53 -0
  250. package/skills/ae-tracking-matrix/scripts/finalize_plan.py +166 -0
  251. package/skills/ae-tracking-matrix/scripts/lint_tracking_plan.py +674 -0
  252. package/skills/ae-tracking-matrix/scripts/plan_contract.py +200 -0
  253. package/skills/ae-tracking-matrix/scripts/plan_types.py +60 -0
  254. package/skills/ae-tracking-matrix/scripts/prepare_delivery.py +169 -0
  255. package/skills/ae-tracking-matrix/scripts/sync_plan.py +296 -0
  256. package/skills/ae-tracking-matrix/scripts/upload_plan.py +340 -0
  257. package/dist/chunk-AMBFK2K3.js +0 -28
@@ -0,0 +1,794 @@
1
+ # Tracking Plan Knowledge Base
2
+
3
+ > **Three-file division quick reference**
4
+ >
5
+ > - Naming dictionary, property mapping matrix, forbidden synonyms -> `../naming-dict.md`
6
+ > - Generation workflow, template usage, self-check list -> `../workflows/plan-generation.md`; entry -> `../../SKILL.md`
7
+ > - Industry template index -> `template-catalog.md`
8
+ > - Game base module baseline -> `module-baseline.md`
9
+ > - Excel export JSON structure and commands -> `export-schema.md`
10
+ > - This file: template structure, category modules, object-group rules, revenue models, add/remove rules, dimension-table suggestions
11
+
12
+ ## 1. Template Excel Structure
13
+
14
+ ### Four Data Sheets Within the Complete 11-sheet Workbook
15
+
16
+ Use the repaired v2.0.1 Chinese template with seven unchanged instruction sheets. English table descriptions below explain semantics only; they are not sheet/header strings to write. This version deliberately upgrades the old eight-column event data layout to the official nine-column import schema. Conversation and business prose follow the user language; Chinese template labels stay unchanged. See `export-schema.md` for canonical JSON and finalizer commands.
17
+
18
+ #### Sheet 1: #用户ID体系
19
+
20
+
21
+ | Column | Meaning |
22
+ | ------ | ------------------------------- |
23
+ | A: Product Type | No account / Single account / Single account, multiple roles |
24
+ | B: Property Name | `#account_id`, `#distinct_id` |
25
+ | C: Property Display Name | Display name |
26
+ | D: Property Description | System property description |
27
+ | E: Assignment | How it is assigned |
28
+
29
+ Remarks are preserved in the existing assignment/description cells; there is no new remarks column.
30
+
31
+
32
+ **User ID scheme selection rules**:
33
+
34
+ - No account system: tool-type Apps that do not require login; `#account_id` is empty, and `#distinct_id` is auto-generated by the SDK or is a device-related ID
35
+ - Single account system: Apps with a login/registration flow; `#account_id` = registered account ID, and `#distinct_id` is auto-generated by the SDK or is a device-related ID
36
+ - Single account, multiple roles (games): `#account_id` = role ID, and the account ID is used as a custom property. Use the smallest indivisible business ID as `#account_id`; `#distinct_id` is auto-generated by the SDK or is a device-related ID
37
+ - Fill when available, leave empty otherwise: when there is no role ID at device activation, leave `#account_id` empty
38
+
39
+ #### Sheet 2: #公共事件属性
40
+
41
+ Properties automatically carried by all events, one property per row.
42
+
43
+
44
+ | Column | Meaning |
45
+ | ------ | ---------------------- |
46
+ | A: Property Name (Required) | snake_case English naming |
47
+ | B: Property Display Name | Display name |
48
+ | C: Property Type (Required) | Text / Number / Boolean / Datetime |
49
+ | D: Property Description | Detailed description and assignment logic |
50
+
51
+
52
+ #### Sheet 3: #事件数据 (core)
53
+
54
+ The main event table; supports one event mapping to multiple property rows (the event name is filled only on the first row, and subsequent rows only fill properties).
55
+
56
+
57
+ | Column | Meaning |
58
+ | ------ | -------------------------------------- |
59
+ | A: Event Name (Required) | snake_case English naming; only filled on the first row |
60
+ | B: Event Display Name | Display name; only filled on the first row |
61
+ | C: Event Description | Trigger timing description; only filled on the first row |
62
+ | D: Event Tag | Owning module/category; only filled on the first row |
63
+ | E: 采集端 | `client` / `server` / `client,server`; event-level field |
64
+ | F: 属性名(必填) | Event custom property, snake_case |
65
+ | G: 属性显示名 | Property display name in the user's language |
66
+ | H: 属性类型(必填) | 文本 / 数值 / 布尔 / 时间 / 列表 / 对象 / 对象组 |
67
+ | I: 属性说明 | Property meaning, enum definitions, object samples and remarks |
68
+
69
+
70
+ #### Sheet 4: #用户数据
71
+
72
+ User property table (user profile), one property per row.
73
+
74
+
75
+ | Column | Meaning |
76
+ | ------ | ---------------------------------------------------------- |
77
+ | A: Property Name (Required) | snake_case |
78
+ | B: Property Display Name | Display name |
79
+ | C: Property Type (Required) | Text / Number / Boolean / Datetime / List / Object / Object Group |
80
+ | D: Update Method | `user_setOnce` (first time only) / `user_set` (overwrite) / `user_add` (accumulate) |
81
+ | E: Property Description | When to set and how to update |
82
+
83
+
84
+ ---
85
+
86
+ ## 2. Base-event Candidates (confirm applicability)
87
+
88
+ These are candidate business patterns, not unconditional injections. No-account products do not gain a fictional registration/login flow; SDK auto-events require actual platform support and consent. C/S/S+C below are historical shorthand, normalized to current platform enums and reviewed for authoritative reporting.
89
+
90
+ ### SDK Preset Events [C]
91
+
92
+ > Auto-collected event names differ entirely by development carrier; see **§3 SDK Platform Grouping & Auto-Collected Event Mapping Table** and fill in per the confirmed platform.
93
+
94
+ ### User Lifecycle [S+C]
95
+
96
+ - `new_device` / Device Activation - first event reported
97
+ - `register` / User Registration - props: register_type
98
+ - `login` / User Login
99
+ - `logout` / User Logout
100
+
101
+ ---
102
+
103
+ ## 3. SDK Platform Grouping & Auto-Collected Event Mapping
104
+
105
+ > For SKILL.md step 4 lookup. First check the "Platform Quick Grouping Table" to determine the group, then check the event details of that group.
106
+
107
+ ### 3.0 Platform Quick Grouping Table
108
+
109
+
110
+ | Platform | Group |
111
+ | ------------------- | ------------ |
112
+ | Android | App |
113
+ | iOS | App |
114
+ | Unity (mobile build) | App |
115
+ | CocosCreator (mobile build) | App |
116
+ | Flutter (mobile) | App |
117
+ | WeChat Mini Game | Mini Game |
118
+ | Douyin Mini Game | Mini Game |
119
+ | QQ Mini Game | Mini Game |
120
+ | WeChat Mini Program | Mini Program |
121
+ | Alipay Mini Program | Mini Program |
122
+ | Baidu Mini Program | Mini Program |
123
+ | Web / H5 | Web |
124
+
125
+
126
+ ---
127
+
128
+ ### 3.1 App Group (Android / iOS / Unity / CocosCreator mobile build)
129
+
130
+
131
+ | Event | Description | Default On Recommended? |
132
+ | ---------------- | ------------------------------- | -------- |
133
+ | `ta_app_install` | App install; triggered once per install | ☑ Recommended on |
134
+ | `ta_app_start` | App start / brought to foreground | ☑ Recommended on |
135
+ | `ta_app_end` | App close / moved to background (auto-carries `#duration`) | ☑ Recommended on |
136
+ | `ta_app_crash` | App crash; enable if crash monitoring is needed | ○ On-demand |
137
+ | `ta_app_view` | Page view; the page name must be configured in code | ○ On-demand |
138
+
139
+
140
+ ---
141
+
142
+ ### 3.2 Mini Game Group (WeChat Mini Game / Douyin Mini Game / QQ Mini Game)
143
+
144
+
145
+ | Event | Description | Default On Recommended? |
146
+ | ------------------------- | ---------------------- | -------- |
147
+ | `ta_mini_game_initialize` | SDK initialization complete | ☑ Recommended on |
148
+ | `ta_mini_game_start` | Mini game start / brought to foreground | ☑ Recommended on |
149
+ | `ta_mini_game_end` | Moved to background (auto-carries `#duration`) | ☑ Recommended on |
150
+
151
+ **Note**: WeChat / Douyin / QQ mini game event names are identical; the init event `ta_mini_game_initialize` triggers automatically once when the SDK initializes.
152
+
153
+ ---
154
+
155
+ ### 3.3 Mini Program Group (WeChat Mini Program / Alipay Mini Program / Baidu Mini Program)
156
+
157
+
158
+ | Event | Description | Default On Recommended? |
159
+ | ------------------ | ---------------------- | -------- |
160
+ | `ta_mp_initialize` | SDK initialization complete | ☑ Recommended on |
161
+ | `ta_mp_start` | Mini program start / brought to foreground | ☑ Recommended on |
162
+ | `ta_mp_end` | Moved to background (auto-carries `#duration`) | ☑ Recommended on |
163
+ | `ta_mp_view` | Page view; the page path must be configured | ○ On-demand |
164
+
165
+ ---
166
+
167
+ ### 3.4 Web Group (Web / H5)
168
+
169
+
170
+ | Event | Description | Default On Recommended? |
171
+ | ------------- | ------------------------- | -------- |
172
+ | `ta_pageshow` | Page load/show | ☑ Recommended on |
173
+ | `ta_pagehide` | Page hide/leave (auto-carries `#duration`) | ☑ Recommended on |
174
+
175
+ ---
176
+
177
+ ## 4. Category-Specific Event Modules
178
+
179
+ **General module replacement rules**
180
+ - Adapt the naming of personalized characters accordingly. For example, `hero_*` should be replaced with `ship_*` in a warship theme, and `monster_*` in a monster theme; this rule mainly applies to the progression module, the gacha result information in the gacha module, and the lineup information in the battle module.
181
+ - For the battle module, personalize naming based on the actual module name to distinguish different battle modules. For example, main-line battles use `stage_battle_*`, and resource-related stage battles use `resource_battle_*`. Except for main-line content, prefer translating module names according to the game's in-game terminology.
182
+ - Paired events share a stable correlation key and relevant context, not necessarily every property or an identical object-group schema. Result-specific rewards/damage and start-specific lineup snapshots stay where business semantics require. Reuse a parent name only for genuinely identical meaning/schema; otherwise use different names, never filler fields.
183
+
184
+ ---
185
+
186
+ ### 4A. Card / RPG / Idle / Roguelike
187
+
188
+ | Module | Event | Description |
189
+ | --- | --- | --- |
190
+ | Character | `create_role`, `role_login`, `role_logout` | Mandatory for games |
191
+ | Tutorial | `guide_complete` | props: guide_id, guide_step |
192
+ | Level | `level_up`, `vip_levelup` | props: level, level_before |
193
+ | Recharge (IAP core) | `init_order`, `payment`, `payment_fail` | [S] with order_id/pay_amount/currency_type |
194
+ | Battle (core) | `battle_start`, `battle_finish`, `mopping_up` | with battle_type enum, hero_info/fleet_info object group, battle_result |
195
+ | Hero/Character Progression | `hero_levelup`, `hero_starup`, `hero_skill_levelup` | Replace name by category (hero/warship/general) |
196
+ | Gacha/Construction | `draw_card` / `build_ship` | [S] with pool_type/rarity/cost |
197
+ | Resource Economy | `shop_buy`, `item_get`, `item_consume`, `token_get`, `token_consume` | [S] with token_type enum |
198
+ | Quests & Activities | `activity_attend`, `task_complete`, `achievement_finish` | |
199
+ | Social | `guild_create/join/leave`, `chat`, `apply_friend`, `share` | |
200
+ | System | `get_email_reward`, `exchange_code`, `rank`, `current_online` | `rank`/`current_online` are [S] |
201
+
202
+ ---
203
+
204
+ ### 4B. SLG Strategy
205
+
206
+ | Module | Event | Description |
207
+ | --- | --- | --- |
208
+ | Character/Login | `create_role`, `login`, `logout` | Mandatory |
209
+ | Building System | `building_build`, `building_upgrade`, `building_speedup` | Core loop |
210
+ | Resource Gathering | `resource_gather_start`, `resource_gather_finish` | With resource-type enum |
211
+ | Troop Training | `troop_train`, `troop_heal` | With troop type/count |
212
+ | Battle | `battle_start`, `battle_result` | [S] with win/loss/casualties |
213
+ | Alliance | `alliance_create`, `alliance_join`, `alliance_leave`, `alliance_war_start` | |
214
+ | World Map | `map_explore`, `map_occupy` | |
215
+ | Recharge | `init_order`, `payment`, `payment_fail` | [S] |
216
+
217
+ ---
218
+
219
+ ### 4C. MMO
220
+
221
+ | Module | Event | Description |
222
+ | --- | --- | --- |
223
+ | Character | `create_role`, `role_login`, `role_logout` | Mandatory |
224
+ | Level/Progression | `level_up`, `vip_levelup` | |
225
+ | Dungeon | `dungeon_enter`, `dungeon_win`, `dungeon_fail` | With dungeon-type enum |
226
+ | Equipment | `equip_forge`, `equip_strengthen`, `equip_enchant` | [S] |
227
+ | Skill Tree | `skill_levelup`, `skill_learn` | |
228
+ | Trading Post | `trade_list`, `trade_buy`, `trade_cancel` | [S] |
229
+ | Resource Economy | `item_get`, `item_consume`, `token_get`, `token_consume` | [S] |
230
+ | Recharge | `init_order`, `payment`, `payment_fail` | [S] |
231
+
232
+ ---
233
+
234
+ ### 4D. Simulation & Management
235
+
236
+ | Module | Event | Description |
237
+ | --- | --- | --- |
238
+ | Login | `register`, `login`, `logout` | |
239
+ | Building/Placement | `building_place`, `building_upgrade`, `building_move` | Core loop |
240
+ | NPC/Orders | `order_receive`, `order_complete`, `npc_interact` | |
241
+ | Decoration System | `decor_buy`, `decor_place` | |
242
+ | Resources | `resource_get`, `resource_consume` | [S] |
243
+ | Recharge | `init_order`, `payment`, `payment_fail` | [S] |
244
+
245
+ ---
246
+
247
+ ### 4E. Casual / Hyper-casual / Slots
248
+
249
+ | Module | Event | Description |
250
+ | --- | --- | --- |
251
+ | Stage (casual) | `level_start`, `level_win`, `level_fail`, `level_restart` | With stage ID, item usage |
252
+ | Revive | `revive_show`, `revive_use` | Ad-triggered must include ad_type |
253
+ | Items | `item_use` | |
254
+ | Slot Spin (Slots) | `spin_start`, `spin_result` | With bet_amount / win_amount / is_big_win / is_jackpot |
255
+ | Ads (IAA) | `ad_request`, `ad_show`, `ad_click`, `ad_reward_complete` | [C] |
256
+ | Ad Revenue | `ad_revenue` | [S] with ecpm |
257
+
258
+ ---
259
+
260
+ ### 4F. Blockchain Game
261
+
262
+ | Module | Event | Description |
263
+ | --- | --- | --- |
264
+ | Wallet/Account | `wallet_connect`, `wallet_disconnect`, `register`, `login`, `role_login` | Wallet account and role ID recorded separately |
265
+ | Resources/Tokens | `resource_change`, `item_increase`, `item_decrease`, `coin_get` | With change_reason enum |
266
+ | Token Recharge/Withdrawal | `coin_buy`, `coin_withdraw` | [S] |
267
+ | Stage/Dungeon | `enter_dungeon`, `dungeon_completed`, `dungeon_fail` | |
268
+ | PVP | `battle_match_begin`, `contest_league` | With win/loss/score change |
269
+ | NFT/Market | `nft_mint`, `nft_list`, `nft_buy`, `nft_sell`, `nft_transfer` | [S] with token_id / price |
270
+ | Leaderboard | `rank_event` | [S] snapshot type |
271
+ | Quests | `task_complete` | |
272
+
273
+ ---
274
+
275
+ ### 4G. Short Drama / Content Products
276
+
277
+ | Module | Event | Description |
278
+ | --- | --- | --- |
279
+ | Login | `cold_start`, `loginpage_show/click/login_success`, `loadingpage_end` | |
280
+ | Content Playback (core) | `playlet_start`, `playlet_end`, `playlet_actual_end` | With short drama name/episode count/duration |
281
+ | Content Discovery | `discovery_page_show/exchange/apply` | |
282
+ | Ad System (IAA core) | `rewardad_chance/show/click/reward`, `interstitialad_`*, `splashad_`* | With ecpm |
283
+ | Rewards/Currency | `coin_receive`, `exp_receive`, `new_user_reward_*` | |
284
+ | Lottery | `lottery_show`, `lottery_draw` | |
285
+ | Withdrawal | `withdraw_page_show`, `withdraw_apply` | |
286
+ | Quests | `task_page_show`, `task_reward` | |
287
+ | Attribution | `acbads_get_mediasource_once` | |
288
+
289
+ ---
290
+
291
+ ### 4H. Social (Acquaintance / Stranger)
292
+
293
+ | Module | Event | Description |
294
+ | --- | --- | --- |
295
+ | Login | `register`, `login`, `logout` | |
296
+ | Content Publishing | `post_publish`, `video_publish` | With content type |
297
+ | Interaction | `post_like`, `post_comment`, `post_share` | |
298
+ | Relationship Chain | `follow`, `unfollow`, `apply_friend`, `accept_friend` | |
299
+ | Direct Messages | `message_send`, `message_read` | |
300
+ | Livestream | `live_start`, `live_end`, `live_gift_send` | |
301
+ | Payment/Membership | `vip_subscribe`, `init_order`, `payment`, `payment_fail` | [S] |
302
+
303
+ ---
304
+
305
+ ### 4I. E-commerce
306
+
307
+ | Module | Event | Description |
308
+ | --- | --- | --- |
309
+ | Discovery/Search | `home_feed_expose`, `search_open`, `search_submit`, `search_result_click` | |
310
+ | Products | `commodity_detail`, `add_cart`, `buy_now` | With product ID/category/price |
311
+ | Orders | `submit_order`, `pay_order`, `cancel_order` | [S] with order_id / coupon |
312
+ | After-sales | `apply_return`, `return_result` | [S] |
313
+ | Campaigns/Promotions | `sale_page`, `coupon_receive`, `coupon_use` | |
314
+
315
+ ---
316
+
317
+ ### 4J. Online Education
318
+
319
+ | Module | Event | Description |
320
+ | --- | --- | --- |
321
+ | Onboarding | `consent_privacy_accept`, `onboarding_goal_select`, `onboarding_subject_select` | Mandatory for new users |
322
+ | Placement Test | `onboarding_placement_test_start`, `onboarding_placement_test_result` | |
323
+ | Course Discovery | `course_detail_view`, `course_syllabus_expand`, `search_submit` | |
324
+ | Enrollment/Payment | `enroll_course_free`, `add_to_cart`, `payment_success`, `payment_fail` | [S] |
325
+ | Subscription | `subscribe_pro_start`, `subscribe_pro_success`, `subscribe_cancel` | [S] see §7.4 |
326
+ | Learning (core) | `course_start`, `lesson_enter`, `video_play_start`, `video_play_pause`, `video_play_complete` | With progress %/lesson ID |
327
+ | Quizzes/Assignments | `quiz_start`, `quiz_submit`, `assignment_submit` | With score/pass or fail |
328
+ | Completion | `course_complete` | With completion duration/score |
329
+
330
+ ---
331
+
332
+ ### 4K. Tools (Editing / Video)
333
+
334
+ | Module | Event | Description |
335
+ | --- | --- | --- |
336
+ | Account | `create_account`, `app_login`, `quit_account` | |
337
+ | Pages | `ta_app_view`, `leave_page` | With page name/stay duration |
338
+ | Creation Core | `project_create`, `use_function`, `camera_active` | `use_function` includes is_first_use |
339
+ | Assets/Import | `watch_video`, `quit_watch_video` | With watch duration |
340
+ | Export/Share | `project_export`, `page_share`, `works_share` | Core conversion |
341
+ | Community Interaction | `follow`, `new_post`, `like`, `comment` | |
342
+ | Ads (IAA) | `ad_show`, `ad_click`, `ad_reward_complete`, `ad_revenue` | With ecpm / ad placement |
343
+
344
+ ---
345
+
346
+ ### 4L. Reading / Content Subscription
347
+
348
+ | Module | Event | Description |
349
+ | --- | --- | --- |
350
+ | Login/Preference | `register`, `account_login`, `interest_choose`, `guide_complete` | |
351
+ | Content Discovery | `book_enter`, `topic_enter`, `search_click`, `book_classify` | With book ID/entry position |
352
+ | Reading/Playback (core) | `book_download`, `download_complete`, `play_speed`, `timing_off` | |
353
+ | Interaction | `book_collection`, `book_share`, `create_poster` | |
354
+ | Subscription/Payment | `subscribe_start`, `subscribe_success`, `subscribe_cancel` | [S] see §7.4 |
355
+ | Snapshot | `lately_list`, `collection_list`, `subscribe_list` | Reported at logout for user-asset snapshots |
356
+
357
+
358
+ ---
359
+
360
+ ## 5. User Property Generation
361
+
362
+ > Provided for SKILL.md step 6 lookup. Based on the already-generated event data, extract user properties according to the rules below, from the generated event data and the user-provided functional modules.
363
+ > User properties are the foundation of the user profile and should cover the user's device info, account info, asset status, progress status, key time points, and cumulative behavior as completely as possible.
364
+ > The categories and samples below apply to all kinds of games and App products, and may be added or removed per the actual business.
365
+ > Object-group generation rules follow Section 6.
366
+
367
+ ### 5A. Device & Account Basic Properties
368
+
369
+ First-touch `first_media_source` / `first_campaign` use user_setOnce. Per-event `media_source` / `campaign` and latest `current_*` user_set snapshots are separate semantics; do not substitute them or promote attribution globally. SDK preset device properties are not automatically custom user properties: confirm actual need/source.
370
+
371
+ **Update method: user_setOnce (set once, unchanged afterwards)**
372
+
373
+ | User Property Meaning | User Property Name | Type | Description |
374
+ | --- | --- | --- | --- |
375
+ | Device ID | device_id | Text | Unique device identifier; recorded at first activation |
376
+ | Device Type | device_type | Text | e.g. iPhone 15 / Samsung S24, etc.; for device-distribution analysis |
377
+ | OS Version | os_version | Text | e.g. iOS 17.4 / Android 14, etc. |
378
+ | Client Version | client_version | Text | Game/App client version at user registration |
379
+ | Registration Channel | channel | Text | Source channel at registration, e.g. taptap/appstore/googleplay |
380
+ | First Media Source | first_media_source | Text | First confirmed AF/Adjust attribution; user_setOnce, not global common property |
381
+ | First Campaign | first_campaign | Text | First confirmed campaign; user_setOnce, required in E2 |
382
+ | Server ID | server_id | Text | Server ID when the user first creates a character (recorded in multi-server setups) |
383
+ | Account ID | account_id | Text | Player account ID (not role ID); recorded after login (recorded for single-account-multiple-role) |
384
+ | Role ID | role_id | Text | Player role ID (e.g. master ID/player ID in-game) |
385
+ | Nickname | nick_name | Text | Nickname set by the player |
386
+ | Is Server-Hopping Character | is_roll | Boolean | Whether it is a server-hopping character; determined at character creation (recorded in multi-server setups) |
387
+ | Registration Time | register_time | Datetime | Account registration time, format yyyy-MM-dd HH:mm:ss (recorded for single-account-multiple-role) |
388
+ | Character Creation Time | role_create_time | Datetime | Character creation time |
389
+
390
+ ---
391
+
392
+ ### 5B. Content Progress & Asset Status Properties
393
+
394
+ **Update method: user_set (overwrite on status change)**
395
+
396
+ #### 5B.1 Growth & Level
397
+ | User Property Meaning | User Property Name | Type | Description |
398
+ | --- | --- | --- | --- |
399
+ | Current Level | current_level | Number | User's current level; updated on level-up |
400
+ | VIP Level | vip_level | Number | VIP level; updated on level-up/down |
401
+ | Monthly Card Status | month_pass | Boolean | Whether the monthly card is active |
402
+ | Monthly Card Expiry | month_pass_expire_time | Datetime | Monthly card expiry time |
403
+ | Battle Pass Status | battle_pass | Boolean | Whether the battle pass is active |
404
+ | Battle Pass Level | battle_pass_level | Number | Battle pass current level |
405
+
406
+ #### 5B.2 Currency & Resources
407
+ | User Property Meaning | User Property Name | Type | Description |
408
+ | --- | --- | --- | --- |
409
+ | Diamond/Paid-Currency Balance | current_diamond | Number | Current paid-currency balance |
410
+ | Gold/Soft-Currency Balance | current_gold | Number | Current soft-currency balance |
411
+ | Free Currency Balance | current_free_currency | Number | Current balance of free items (counterpart to paid items) |
412
+
413
+ #### 5B.3 Character / Hero / Card (games)
414
+ | User Property Meaning | User Property Name | Type | Description |
415
+ | --- | --- | --- | --- |
416
+ | Character Detail | hero_detail | Object Group | Owned character detail; fully replaced when the object group is updated |
417
+ | Character Count | hero_count | Number | Total number of owned characters |
418
+ | Character Collection Rate | hero_collection_rate | Number | Collected characters / total characters, percentage |
419
+ | Character Detail | character_detail | Object Group | Detailed character info, incl. level/star/equipment |
420
+ | Character List | character_list | List | List of character IDs |
421
+
422
+ #### 5B.4 Equipment / Items / Inventory
423
+ | User Property Meaning | User Property Name | Type | Description |
424
+ | --- | --- | --- | --- |
425
+ | Inventory Detail | bag_detail | Object Group | Inventory item detail; fully replaced when the object group is updated |
426
+ | Inventory Capacity | bag_capacity | Number | Current inventory capacity limit |
427
+ | Equipment Detail | equipment_detail | Object Group | Currently equipped item detail |
428
+ | Warehouse Detail | warehouse_detail | Object Group | Warehouse item detail |
429
+
430
+ #### 5B.5 Progress
431
+ | User Property Meaning | User Property Name | Type | Description |
432
+ | --- | --- | --- | --- |
433
+ | Main Story Progress | main_story_progress | Text | Current main story chapter marker, e.g. chapter_7 |
434
+ | Total Chapter Stars | total_star | Number | Total chapter stars earned |
435
+ | Full-Star Chapters | full_star_chapter | Number | Number of chapters completed with full stars |
436
+ | Tower Floor | tower_floor | Number | Highest floor cleared in the hard tower |
437
+ | Max Battle Power | max_battle_power | Number | Highest battle power ever reached |
438
+
439
+ ---
440
+
441
+ ### 5C. Key Time Point Properties
442
+
443
+ **Update method: user_setOnce (recorded at first occurrence, unchanged afterwards) or user_set (updated at each occurrence)**
444
+
445
+ #### 5C.1 First-Action Time Points (user_setOnce)
446
+ | User Property Meaning | User Property Name | Type | Description |
447
+ | --- | --- | --- | --- |
448
+ | First Login Time | first_login_time | Datetime | Time of the user's first login to the game/App |
449
+ | First Payment Time | first_pay_time | Datetime | Recorded on the user's first successful recharge |
450
+ | First Gacha Time | first_draw_time | Datetime | Recorded on the user's first gacha draw |
451
+ | First SSR Time | first_ssr_time | Datetime | Recorded when the user first obtains a top-rarity character |
452
+ | First Stage Clear Time | first_stage_clear_time | Datetime | Recorded on the user's first main-line stage clear |
453
+ | First Share Time | first_share_time | Datetime | Recorded on the user's first share |
454
+ | First Ad Watch Time | first_ad_time | Datetime | Recorded on the user's first ad watch (IAA products) |
455
+
456
+ #### 5C.2 Last-Action Time Points (user_set)
457
+ | User Property Meaning | User Property Name | Type | Description |
458
+ | --- | --- | --- | --- |
459
+ | Last Login Time | last_login_time | Datetime | Updated at each login |
460
+ | Last Payment Time | last_pay_time | Datetime | Updated at each successful recharge |
461
+ | Last Activity Time | last_activity_time | Datetime | Time of the user's last meaningful active behavior (stage/gacha/recharge, etc.) |
462
+ | Last Offline Time | last_offline_time | Datetime | User's last offline time |
463
+
464
+ ---
465
+
466
+ ### 5D. Cumulative Statistics Properties
467
+
468
+ **Update method: user_add (accumulate) or user_set (direct overwrite)**
469
+
470
+ #### 5D.1 Payment-related cumulative (user_add)
471
+ | User Property Meaning | User Property Name | Type | Description |
472
+ | --- | --- | --- | --- |
473
+ | Total Revenue | total_revenue | Number | Accumulated on each successful recharge, unit: fen |
474
+ | Monthly Revenue | monthly_revenue | Number | Cumulative payment this month; resets on the 1st of each month |
475
+ | Total Pay Count | total_pay_count | Number | Cumulative recharge count; +1 after each successful recharge |
476
+ | Total Pay Days | total_pay_days | Number | Cumulative days with recharge behavior |
477
+
478
+ #### 5D.2 Login & activity cumulative (user_add)
479
+ | User Property Meaning | User Property Name | Type | Description |
480
+ | --- | --- | --- | --- |
481
+ | Total Login Days | total_login_day | Number | +1 at each login |
482
+ | Consecutive Login Days | continuous_login_day | Number | Current consecutive login days; reset to 1 on interruption |
483
+ | Total Active Days | total_active_day | Number | Days with meaningful behavior (stage/quest, etc.) |
484
+
485
+ #### 5D.3 Resource-consumption cumulative (user_add)
486
+ | User Property Meaning | User Property Name | Type | Description |
487
+ | --- | --- | --- | --- |
488
+ | Total Draw Count | total_draw_count | Number | + draw count after each draw |
489
+ | Total Saint Quartz Consumed | total_saint_quartz_consume | Number | Cumulative Saint Quartz consumed |
490
+ | Total Gold Consumed | total_gold_consume | Number | Cumulative soft currency consumed |
491
+
492
+ #### 5D.4 Battle-related cumulative (user_add)
493
+ | User Property Meaning | User Property Name | Type | Description |
494
+ | --- | --- | --- | --- |
495
+ | Total Stage Wins | total_stage_win | Number | +1 at each successful clear |
496
+ | Total Battle Wins | total_battle_win | Number | +1 at each battle win |
497
+ | Total Battle Fails | total_battle_fail | Number | +1 at each battle loss |
498
+ | Total Mopping-up Count | total_mop_count | Number | Number of times the mopping-up feature is used |
499
+ | Max Combo | max_combo | Number | Highest combo ever reached |
500
+
501
+ #### 5D.5 Progression-related cumulative (user_add)
502
+ | User Property Meaning | User Property Name | Type | Description |
503
+ | --- | --- | --- | --- |
504
+ | Total Level-ups | total_levelup_count | Number | Cumulative level-up count |
505
+ | Total Star-ups | total_starup_count | Number | Cumulative star-up count |
506
+ | Total Skill Enhancements | total_skillup_count | Number | Cumulative skill-enhancement count |
507
+
508
+ #### 5D.6 Social-related cumulative (user_add)
509
+ | User Property Meaning | User Property Name | Type | Description |
510
+ | --- | --- | --- | --- |
511
+ | Total Shares | total_share_count | Number | Cumulative share count |
512
+ | Total Friends | total_friend_count | Number | Cumulative friends added |
513
+ | Total Messages | total_message_count | Number | Cumulative direct messages sent |
514
+
515
+ #### 5D.7 IAA ad-related cumulative (user_add)
516
+ | User Property Meaning | User Property Name | Type | Description |
517
+ | --- | --- | --- | --- |
518
+ | Total Ad Views | total_ad_view_count | Number | Cumulative ad views |
519
+ | Total Ad Revenue | total_ad_revenue | Number | Cumulative ad revenue, unit: fen |
520
+ | Total Ad Clicks | total_ad_click_count | Number | Cumulative ad clicks |
521
+
522
+ ---
523
+
524
+ ### 5E. Boolean Status Properties
525
+
526
+ **Update method: user_set (overwrite)**
527
+
528
+ | User Property Meaning | User Property Name | Type | Description |
529
+ | --- | --- | --- | --- |
530
+ | Is Tutorial Complete | is_guide_complete | Boolean | Whether the tutorial is complete |
531
+ | Is Verified | is_verified | Boolean | Whether real-name verification is complete |
532
+ | Is Phone Bound | is_phone_bound | Boolean | Whether a phone number is bound |
533
+ | Is Third-party Bound | is_third_bound | Boolean | Whether a third-party account is bound |
534
+
535
+ ---
536
+
537
+ ## 5. Property Type Rules (TE System 7 Types)
538
+
539
+ | Type | JSON Type | Value Sample | Applicable Scenarios |
540
+ | --- | --- | --- | --- |
541
+ | Text | String | `"ABC"`, `"Shanghai"` | Names, channels, IDs (when not purely numeric). Default limit 2KB |
542
+ | Number | Number | `123`, `1.23` | Amounts, levels, durations, purely numeric IDs (when ordering matters). Range -9E15 to 9E15, up to 3 decimal places |
543
+ | Boolean | Boolean | `true`, `false` | Is first, is paid, is bot |
544
+ | Datetime | String | `"2024-01-01 00:00:00"` | Registration time, first-payment time. Format `yyyy-MM-dd HH:mm:ss` or `yyyy-MM-dd HH:mm:ss.SSS` |
545
+ | List | Array | `["a","1","true"]` | Tag lists, skill lists, equipment lists. Elements are uniformly converted to strings |
546
+ | Object | Object | `{"item_name":"Shard","item_num":5}` | A single composite entity. See "Object Group Rules" |
547
+ | Object Group | Array(Object) | `[{"id":"001","num":5},{"id":"002","num":2}]` | Multiple composite entities of the same kind. See "Object Group Rules" |
548
+
549
+
550
+ **ID Property Type Selection Rules**:
551
+
552
+ - When ID ordering is positively correlated with numeric magnitude (e.g. stage ID `1,2,3...`) -> Number
553
+ - When the ID contains non-numeric characters or is unordered -> Text
554
+ - When unsure -> Text (safer; the type cannot be changed once determined)
555
+
556
+ **The type is immutable once first ingested**: the TE system property type is determined by the first ingested record and cannot be changed afterwards. The tracking plan must strictly label types.
557
+
558
+ ---
559
+
560
+ ## 6. Object Group Rules (TE Platform Constraints)
561
+
562
+ ### 6.1 Definition
563
+
564
+ An Object Group = an array composed of multiple objects; the data format is `Array(Row)`.
565
+ Equivalent to an **n-row x m-column table** (n = number of array elements, m = number of key-value pairs per object).
566
+
567
+ ```
568
+ Object: {card_type:"Warrior", card_name:"Zhang Fei", card_id:123}
569
+ Object Group: [{card_type:"Warrior", card_name:"Zhang Fei", card_id:123},
570
+ {card_type:"Mage", card_name:"Liu Bei", card_id:456}]
571
+ ```
572
+
573
+ ### 6.2 Sub-property Rules
574
+
575
+ - Each key is called a "sub-property" and has its own data type
576
+ - **Supports 5 basic types**: Text, Number, Datetime, Boolean, List
577
+ - **Nesting is not supported**: a sub-property cannot be of Object or Object Group type. If reported as either, it will be forcibly converted to "Text" or "List"
578
+
579
+ ### 6.3 TE System Limits
580
+
581
+
582
+ | Limit Item | Upper Bound |
583
+ | ---------- | ------- |
584
+ | Number of objects in an object group | <= 500 |
585
+ | Number of sub-properties per object | <= 100 |
586
+
587
+
588
+ Exceeding this can be adjusted by contacting operations, but setting it too large is not recommended.
589
+
590
+ ### 6.4 Reporting Format Requirements
591
+
592
+ - **Empty-value handling**: when an object/object group is empty, do not report the property (do not send an empty array `[]`), to avoid type anomalies caused by the first ingested record
593
+ - **Sub-property reporting**: in the actual reported JSON, sub-properties do **not carry the parent property name prefix**
594
+ ```json
595
+ ✅ Correct: {"fleet_info": [{"ship_id":"001", "ship_level":80}]}
596
+ ❌ Wrong: {"fleet_info": [{"fleet_info.ship_id":"001"}]}
597
+ ```
598
+ - **Distinguish Key and Value**: data with peer structures is reported via object groups; ID-type data (hero ID, card ID) must be Values, not Keys
599
+ ```json
600
+ ✅ Correct: [{"card_id":"123", "card_level":10}, {"card_id":"456", "card_level":20}]
601
+ ❌ Wrong: {"123": {"level":10}, "456": {"level":20}} // IDs cannot be Keys
602
+ ```
603
+
604
+ ### 6.5 Writing Rules in the Tracking Plan
605
+
606
+ In the tracking-plan Excel, object groups are written as:
607
+
608
+ 1. **Parent property row**: property name is `xxx_info`, type is `Object Group`, and a JSON value sample is given in the property description
609
+ 2. **Child property row**: property name is `xxx_info.child_name` (dot-separated), type is the actual sub-property type; leave the event name/display name/description/tag columns empty
610
+ 3. A value sample must be provided:
611
+ ```
612
+ Value sample: [{"ship_id":"001","ship_level":80,"ship_power":5000}]
613
+ ```
614
+
615
+ ### 6.6 When to Use an Object Group (all three conditions met)
616
+
617
+
618
+ | Condition | Description |
619
+ | ---------- | ------------------------------ |
620
+ | A group of same-kind entities | An event needs to record multiple same-kind objects (e.g. multiple warships deployed, multiple items obtained) |
621
+ | Each entity has >= 2 properties | Each object needs to record 2 or more properties (otherwise a list suffices) |
622
+ | Variable count | The number of entities varies by scenario (when fixed at 1, use a plain property) |
623
+
624
+
625
+ ### 6.7 Common Object Group Patterns
626
+
627
+
628
+ | Object Group Name | Scenario | Typical Sub-properties |
629
+ | ---------------------------------------- | --------- | -------------------------------------- |
630
+ | `hero_info` / `ship_info` / `fleet_info` | Battle lineup, character detail | id, level, star, power, equipment_list |
631
+ | `get_item_info` | Items gained detail | item_id, item_num |
632
+ | `cost_info` | Items consumed detail | item_id, item_num |
633
+ | `rank_info` | Leaderboard info | id, rank, score |
634
+ | `bag_info` | Inventory snapshot | item_id, item_num |
635
+
636
+ ---
637
+
638
+ ## 7. Revenue Model -> Mandatory Event Mapping
639
+
640
+ ### 7.1 IAA (Ad Monetization)
641
+
642
+ Applies to: casual games, short drama, tools apps. Ads are the core revenue source.
643
+
644
+ **Mandatory events**:
645
+
646
+
647
+ | Event | Display Name | Core Properties | Collection Side |
648
+ | -------------------- | ------ | ----------------------------------------------------- | --- |
649
+ | `ad_show` | Ad Impression | ad_type(rewarded/interstitial/banner/native/splash), ad_placement, ad_network | [C] |
650
+ | `ad_click` | Ad Click | ad_type, ad_placement, ad_network | [C] |
651
+ | `ad_reward_complete` | Rewarded Video Complete | ad_placement, reward_type, reward_amount | [C] |
652
+ | `ad_revenue` | Ad Revenue | ad_type, ad_network, revenue_value, currency, ecpm | [S] |
653
+ | `ad_request` | Ad Request | ad_type, ad_placement, is_filled(Boolean) | [C] |
654
+ | `ad_fail` | Ad Failure | ad_type, ad_placement, fail_reason; define failure trigger | [C] |
655
+
656
+
657
+ **Notes**:
658
+
659
+ - Short-drama products may keep the finer-grained naming (`rewardad_show`, `interstitialad_show`, etc.)
660
+ - `ad_revenue` requires a confirmed ad-platform/MMP callback or authoritative revenue source. If unavailable, mark the amount and integration “requires ad-platform callback / TBC” (explanation in user language), including E1; do not invent server support or callback data.
661
+ - The `ecpm` field unit is uniformly "fen" or "cents"; note it in the property description
662
+
663
+ ### 7.2 IAP (In-app Purchase)
664
+
665
+ Applies to: mid/hardcore games, social, paid-content apps.
666
+
667
+ **Mandatory events**:
668
+
669
+
670
+ | Event | Display Name | Core Properties | Collection Side |
671
+ | -------------- | ---- | --------------------------------------------------------------- | --- |
672
+ | `init_order` | Initiate Recharge | order_id, pay_amount, currency_type, payment_name, payment_type | [C] |
673
+ | `payment` | Recharge Success | order_id, pay_amount, currency_type, payment_name, is_first | [S] |
674
+ | `payment_fail` | Recharge Failed | order_id, pay_amount, fail_reason | [S] |
675
+
676
+
677
+ **Extend by subtype**:
678
+
679
+ - Monthly card / subscription: + `subscription_start`, `subscription_renew`, `subscription_expire`
680
+ - Battle Pass: + `battle_pass_buy`, `battle_pass_level_up`, `battle_pass_claim`
681
+
682
+ ### 7.3 Hybrid (IAA + IAP)
683
+
684
+ Both event sets are required. Additionally watch:
685
+
686
+ - The conversion path from ad users to paying users
687
+ - LTV cluster comparison of the two revenue sources
688
+
689
+ ### 7.4 Subscription Model
690
+
691
+ Mandatory: `subscription_start`, `subscription_trial_start`, `subscription_trial_convert`, `subscription_renew`, `subscription_cancel`, `subscription_expire`
692
+
693
+ ---
694
+
695
+ ## 8. Collection-Side Labeling Rules
696
+
697
+ Use canonical JSON `platform`, retained in the repaired template's Chinese `采集端` column E: `server`, `client`, `client,server`. Normalize old S/C/S+C aliases; do not add an English Collection Platform column or silently lose the collection-side semantics. Preserve remarks in existing description/assignment fields.
698
+
699
+ ### Server-side mandatory (high data accuracy required)
700
+
701
+ - All recharge events: `payment`, `payment_fail`
702
+ - Resource-economy events: `token_get`, `token_consume`, `item_get`, `item_consume`
703
+ - Gacha/construction/lottery events: `draw_card`, `build_ship`
704
+ - Leaderboard/online count: `rank`, `current_online`
705
+ - Battle settlement: `battle_win`, `battle_fail` (result judged server-side)
706
+ - Ad revenue: `ad_revenue` (reconciliation)
707
+
708
+ ### Client-side mandatory (device/behavior context required)
709
+
710
+ - SDK preset events: `ta_app_install`, `ta_app_start`, `ta_app_end`, `ta_app_crash`
711
+ - Device activation: `new_device`
712
+ - UI interaction: page impressions, button clicks, ad show/click
713
+
714
+ ### Dual-side collection is exceptional, not the default
715
+
716
+ Choose one authoritative report point per business fact. If both ends must report the same fact, confirm dedup key/window and retry rules. Client initiation and server settlement may be different facts linked by a correlation key; do not call them duplicate copies of one event.
717
+
718
+ ---
719
+
720
+ ## 9. Template Event Add/Remove Rules
721
+
722
+ ### Removal conditions (remove if any is met)
723
+
724
+ 1. The product confirms it has no such feature module (e.g. Azur Lane has no tower-climbing system)
725
+ 2. The feature exists but has no analytical value for business metrics (state the reason in the plan)
726
+
727
+ ### Retention conditions (only when business and SDK support apply)
728
+
729
+ - Retain confirmed, supported SDK auto-events; never force app events into a mini-game or server-only project.
730
+ - Retain recharge flow events only for confirmed IAP/payment flows; IAA/no-payment products do not get fictional payments.
731
+ - Retain resource-economy events for real resource flows required by the analysis scope.
732
+
733
+ ### Addition conditions (must add if any is met)
734
+
735
+ 1. **Feature-entry principle**: a feature module with an independent entry on the main interface that the template does not cover -> must add the corresponding event
736
+ 2. **Revenue-model principle**: events required by the revenue model that the template does not cover -> must add (see Section 7)
737
+ 3. **High-frequency principle**: high-frequency user behaviors found in product research that the template does not cover -> recommended to add
738
+
739
+ ### Minimum requirements for new events
740
+
741
+ - Carry the properties required by the actual analysis/implementation, not an arbitrary minimum; a legitimate property-less event must not acquire invented fields
742
+ - Must label the event tag (module ownership) and collection side
743
+ - Naming conforms to snake_case + the standard verb table
744
+
745
+ ---
746
+
747
+ ## 10. Property Enum Values & Dimension Table Management
748
+
749
+ ### 10.1 TE Dimension Table Capability
750
+
751
+ The TE system supports **dimension tables** for managing and maintaining enum values:
752
+
753
+ - Storage location: `hive.ta_dim.dim_<Project ID>_<0|1>_`
754
+ - Creation path: Data Management > Asset Center > Cross-source Asset Configuration
755
+ - Enum value sources:
756
+ - **Fixed enum**: configured via CSV file upload; displayed directly as analysis-module drop-down options
757
+ - **Dynamic enum**: the system auto-queries property values and caches them to support analysis-model drop-down selection
758
+ - Dimension tables can be linked to event properties and user properties to implement ID -> name mapping
759
+
760
+ ### 10.2 Enum Value Strategy in the Tracking Plan
761
+
762
+ **Principle: the tracking plan only defines the reporting format of properties; the display and management of enum values are delegated to dimension tables.**
763
+
764
+ #### Scenarios to enumerate in the tracking plan (for development alignment only)
765
+
766
+ 1. The property value directly affects the reporting logic, and developers need to know the enums (e.g. `battle_type`, `token_type`)
767
+ 2. The value range is fixed and small (<= 10), writable in one line
768
+ 3. Label format: briefly list in the property description column
769
+ ```
770
+ Values: main / event / daily
771
+ ```
772
+
773
+ #### Scenarios recommended for dimension-table management
774
+
775
+ 1. Many enum values (> 10), e.g. item ID to item name, stage ID to stage name
776
+ 2. Enum values that change frequently across version iterations (e.g. activity ID, product ID)
777
+ 3. Analysis scenarios needing ID -> display-name mapping (e.g. `ship_id` -> ship name + rarity + faction)
778
+ 4. Mark in the property description: `"Recommend dimension-table management; fields: xxx_id, xxx_name, xxx_type"`
779
+
780
+ #### Scenarios needing neither enumeration nor a dimension table
781
+
782
+ - Free text (`nick_name`, `fail_reason`)
783
+ - System auto-increment IDs (sequence numbers with no business meaning)
784
+
785
+ ### 10.3 Dimension Table Design Suggestions (output in the plan appendix)
786
+
787
+ When the tracking plan has properties needing dimension tables, append a dimension-table suggestion list in the plan:
788
+
789
+
790
+ | Dimension Table Name | Linked Property | Primary Key | Fields | Maintenance |
791
+ | --------- | -------- | -------- | ----------------------------------------------- | -------------- |
792
+ | dim_ship | ship_id | ship_id | ship_name, ship_rarity, ship_faction, ship_type | CSV upload / server-side sync |
793
+ | dim_item | item_id | item_id | item_name, item_type, item_rarity | CSV upload / server-side sync |
794
+ | dim_stage | stage_id | stage_id | chapter_name, stage_name, difficulty | CSV upload |