@thinkingai/ae-cli 6.1.29 → 6.1.32
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.
- package/README.md +11 -5
- package/README.zh.md +11 -5
- package/bin/ai-monitor.js +2 -0
- package/dist/ai-monitor-MKMHSSNI.js +32 -0
- package/dist/ai-monitor.js +135 -0
- package/dist/{auth-OBQ5KVQM.js → auth-CZHHPZOQ.js} +12 -11
- package/dist/{automation-NAR5DDGL.js → automation-FLCPFMN4.js} +5 -5
- package/dist/{capability-LFSVNI5B.js → capability-64KVJFIA.js} +28 -32
- package/dist/{chunk-IN7KKL6K.js → chunk-2F64AZYH.js} +1 -1
- package/dist/{chunk-QZLRHGVH.js → chunk-3ULDJJTZ.js} +1 -1
- package/dist/{chunk-JNVVJ273.js → chunk-4PSTYEG5.js} +5 -10
- package/dist/{chunk-3SDHJOCR.js → chunk-4XKTRCRK.js} +16 -16
- package/dist/{chunk-RJHGDWSC.js → chunk-5M5LBRR3.js} +2 -2
- package/dist/chunk-6M7ZEDT2.js +182 -0
- package/dist/{chunk-KPQY44JQ.js → chunk-AWW2T2WL.js} +3 -0
- package/dist/chunk-BNBCMCYN.js +563 -0
- package/dist/chunk-CF6JTT2U.js +64 -0
- package/dist/{chunk-2UW3Y463.js → chunk-DWBYNGSR.js} +565 -315
- package/dist/{chunk-N6XBLRB7.js → chunk-F2VFZUGG.js} +2 -2
- package/dist/{chunk-CVCTFLSO.js → chunk-FCAA7I2D.js} +3 -3
- package/dist/{chunk-H3K5UGYC.js → chunk-HTZ2MLYA.js} +48 -22
- package/dist/{chunk-QZUVLFNR.js → chunk-HVMCPKOZ.js} +1 -1
- package/dist/chunk-IDDWEZ7F.js +1285 -0
- package/dist/{chunk-7JAVT5TK.js → chunk-KTJXD27G.js} +2 -2
- package/dist/{chunk-6HAUVWOQ.js → chunk-NLEXY2TM.js} +48 -13
- package/dist/{chunk-YVG6QD3V.js → chunk-P7QDCWJ6.js} +98 -7
- package/dist/{chunk-PWXDWMCW.js → chunk-T7WF4HYW.js} +84 -32
- package/dist/{chunk-VCZE3IWO.js → chunk-TMQGS4TO.js} +15 -10
- package/dist/{compat-check-CII6B74E.js → compat-check-ZJNCMNQV.js} +3 -3
- package/dist/{config-YZ6O2UQ2.js → config-FSH2NMNZ.js} +26 -13
- package/dist/{context-F6FCGTF3.js → context-YAQG6YQC.js} +3 -3
- package/dist/{data-integration-6UAZO4GG.js → data-integration-QE37EQ3A.js} +1 -1
- package/dist/{evaluation-4LO2O4AF.js → evaluation-2JSF4V47.js} +13 -158
- package/dist/index.js +84 -586
- package/dist/{memory-HHPX3NF2.js → memory-VEZZVAAP.js} +5 -5
- package/dist/{metadata-TIFY24LW.js → metadata-3IWHX3V4.js} +8 -8
- package/dist/{model-7UHGWYVR.js → model-T7H7Q6BG.js} +3 -3
- package/dist/{personal-semantic-preference-WKJEGPTM.js → personal-semantic-preference-YITU23SA.js} +7 -7
- package/dist/{project-semantic-EIQVZNHW.js → project-semantic-MHEXJF3C.js} +16 -14
- package/dist/{sync-RV3OPCTI.js → sync-AQHVCSPI.js} +5 -5
- package/dist/{te-agent-5ENVZJUH.js → te-agent-RXI7WOH4.js} +6 -6
- package/dist/{te-analysis-USIK6ZZG.js → te-analysis-CZY74HVF.js} +381 -192
- package/dist/{te-community-WE2UU4XV.js → te-community-DKCYUBCM.js} +7 -7
- package/dist/{te-dataops-XNMO7MBF.js → te-dataops-QEH6VE56.js} +5 -5
- package/dist/{te-engage-6C3HCFQR.js → te-engage-WK7WKDKF.js} +7 -7
- package/dist/{te-experiment-LVTRI3QK.js → te-experiment-LH3RPIOE.js} +275 -30
- package/dist/{te-kb-TUPGMVBY.js → te-kb-UPORIOVN.js} +17 -8
- package/dist/{te-system-YM657FKO.js → te-system-AL4B4XZL.js} +3 -3
- package/dist/{te-team-G4VEJJNL.js → te-team-LLVTO2G4.js} +6 -6
- package/dist/{things-22KQWC23.js → things-XLMLBYQR.js} +6 -6
- package/dist/{update-XX4ILU7X.js → update-7J5UQHSK.js} +4 -4
- package/dist/{workspace-LYDAP647.js → workspace-FF2HXJGR.js} +5 -5
- package/package.json +9 -7
- package/skills/ae-ai-monitor/SKILL.md +179 -0
- package/skills/ae-ai-monitor/references/read-commands.md +866 -0
- package/skills/ae-analysis/SKILL.md +10 -4
- package/skills/ae-analysis/references/adhoc_export.md +3 -1
- package/skills/ae-analysis/references/ai_models/path.md +5 -6
- package/skills/ae-analysis/references/ai_models.md +1 -0
- package/skills/ae-analysis/references/analysis_gateway_assets.md +2 -0
- package/skills/ae-analysis/references/asset_search.md +1 -1
- package/skills/ae-analysis/references/bad_case_begin.md +12 -0
- package/skills/ae-analysis/references/bad_case_get.md +12 -0
- package/skills/ae-analysis/references/bad_case_history.md +12 -0
- package/skills/ae-analysis/references/bad_case_list.md +12 -0
- package/skills/ae-analysis/references/bad_case_review.md +51 -0
- package/skills/ae-analysis/references/bad_case_run.md +12 -0
- package/skills/ae-analysis/references/bad_case_submit.md +12 -0
- package/skills/ae-analysis/references/bad_case_submit_to_page.md +12 -0
- package/skills/ae-analysis/references/bad_case_sync_evaluation.md +11 -0
- package/skills/ae-analysis/references/bi_panel_list.md +1 -1
- package/skills/ae-analysis/references/bi_panel_share.md +3 -1
- package/skills/ae-analysis/references/catalog_list.md +2 -0
- package/skills/ae-analysis/references/command_index.md +38 -29
- package/skills/ae-analysis/references/dashboard_daily_report_update.md +2 -0
- package/skills/ae-analysis/references/dashboard_handover.md +3 -1
- package/skills/ae-analysis/references/dashboard_list.md +3 -3
- package/skills/ae-analysis/references/dashboard_report_data_export.md +1 -1
- package/skills/ae-analysis/references/dashboard_share.md +3 -1
- package/skills/ae-analysis/references/dashboard_update.md +3 -2
- package/skills/ae-analysis/references/filter_value_list.md +2 -0
- package/skills/ae-analysis/references/folder_share.md +8 -2
- package/skills/ae-analysis/references/governance_recommendation_run_update.md +3 -1
- package/skills/ae-analysis/references/project_data_power_upsert.md +3 -1
- package/skills/ae-analysis/references/project_mark_time_create.md +2 -0
- package/skills/ae-analysis/references/project_mark_time_update.md +2 -0
- package/skills/ae-analysis/references/project_member_add.md +3 -1
- package/skills/ae-analysis/references/project_member_batch_update.md +3 -1
- package/skills/ae-analysis/references/project_member_handover_run.md +3 -1
- package/skills/ae-analysis/references/project_member_update.md +3 -1
- package/skills/ae-analysis/references/project_owner_update.md +3 -1
- package/skills/ae-analysis/references/project_role_upsert.md +5 -3
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki.md +16 -1
- package/skills/ae-analysis/references/project_semantic_knowledge_wiki_plan_schema.md +14 -1
- package/skills/ae-analysis/references/project_space_share.md +8 -2
- package/skills/ae-analysis/references/property_get.md +2 -0
- package/skills/ae-analysis/references/public_link_list.md +3 -1
- package/skills/ae-analysis/references/query_cancel.md +4 -1
- package/skills/ae-analysis/references/report_data_run.md +1 -1
- package/skills/ae-analysis/references/report_list.md +3 -3
- package/skills/ae-analysis/references/scenario_append.md +2 -2
- package/skills/ae-analysis/references/scenario_collect.md +15 -4
- package/skills/ae-analysis/references/scenario_list.md +2 -1
- package/skills/ae-analysis/references/system_oauth2_update.md +3 -1
- package/skills/ae-analysis/references/system_third_party_login_upsert.md +4 -2
- package/skills/ae-analysis/references/user_tag_create.md +4 -1
- package/skills/ae-analysis/references/user_tag_get.md +2 -0
- package/skills/ae-analysis/references/user_tag_models.md +8 -2
- package/skills/ae-analysis/references/user_tag_update.md +5 -2
- package/skills/ae-analysis/references/virtual_property_create.md +12 -1
- package/skills/ae-analysis/references/virtual_property_sql_rule_update.md +10 -0
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/build-project-semantic-wiki.mjs +55 -13
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/company-kb.mjs +2 -2
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-rules.md +2 -2
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/default-compile-schema.md +7 -1
- package/skills/ae-analysis/scripts/project-semantic-knowledge-wiki/wait-compile-run.mjs +79 -0
- package/skills/ae-automation/SKILL.md +4 -2
- package/skills/ae-capability/SKILL.md +9 -5
- package/skills/ae-community/SKILL.md +1 -0
- package/skills/ae-dataops/SKILL.md +1 -0
- package/skills/ae-engage/SKILL.md +1 -0
- package/skills/ae-evaluation/SKILL.md +17 -2
- package/skills/ae-experiment/SKILL.md +38 -11
- package/skills/ae-experiment/references/experiment_approval.md +171 -0
- package/skills/ae-experiment/references/manage_experiment.md +11 -2
- package/skills/ae-experiment/references/save_experiment.md +28 -8
- package/skills/ae-experiment/references/save_submit_experiment.md +18 -3
- package/skills/ae-experiment/references/save_submit_external_experiment.md +57 -3
- package/skills/ae-generate-tracking-plan/SKILL.md +5 -0
- package/skills/ae-kb/SKILL.md +9 -5
- package/skills/ae-kb/references/analysis-workflow.md +11 -2
- package/skills/ae-kb/references/query-workflow.md +9 -6
- package/skills/ae-kb/references/versions.md +1 -1
- package/skills/ae-kb-discovery/SKILL.md +15 -6
- package/skills/ae-metadata/SKILL.md +1 -0
- package/skills/ae-migrate-tracking-code/SKILL.md +2 -1
- package/skills/ae-team/SKILL.md +1 -1
- package/skills/ae-tracking-matrix/SKILL.md +170 -0
- package/skills/ae-tracking-matrix/assets//345/237/213/347/202/271/346/250/241/347/211/210.xlsx +0 -0
- package/skills/ae-tracking-matrix/i18n.yaml +12 -0
- package/skills/ae-tracking-matrix/references/ae-capabilities.md +93 -0
- package/skills/ae-tracking-matrix/references/business-semantic-checks.md +30 -0
- package/skills/ae-tracking-matrix/references/categories/acquaintance_social_tracking_plan_template.md +256 -0
- package/skills/ae-tracking-matrix/references/categories/blockchain_game_tracking_plan_template.md +213 -0
- package/skills/ae-tracking-matrix/references/categories/card_game_tracking_plan_template.md +407 -0
- package/skills/ae-tracking-matrix/references/categories/casual_game_tracking_plan_template.md +218 -0
- package/skills/ae-tracking-matrix/references/categories/casual_music.md +112 -0
- package/skills/ae-tracking-matrix/references/categories/chess_cards_tracking_plan_template.md +301 -0
- package/skills/ae-tracking-matrix/references/categories/ecommerce_tracking_plan_template.md +356 -0
- package/skills/ae-tracking-matrix/references/categories/fishing.md +775 -0
- package/skills/ae-tracking-matrix/references/categories/game_basic_module_tracking_plan.md +89 -0
- package/skills/ae-tracking-matrix/references/categories/idle_card.md +27 -0
- package/skills/ae-tracking-matrix/references/categories/idle_game_tracking_plan_template.md +415 -0
- package/skills/ae-tracking-matrix/references/categories/interactive_video.md +133 -0
- package/skills/ae-tracking-matrix/references/categories/merge.md +639 -0
- package/skills/ae-tracking-matrix/references/categories/mmo_mobile_tracking_plan_template.md +406 -0
- package/skills/ae-tracking-matrix/references/categories/mmo_web.md +230 -0
- package/skills/ae-tracking-matrix/references/categories/music.md +137 -0
- package/skills/ae-tracking-matrix/references/categories/online_education_tracking_plan_template.md +414 -0
- package/skills/ae-tracking-matrix/references/categories/qipai_mj.md +199 -0
- package/skills/ae-tracking-matrix/references/categories/reading_tracking_plan_template.md +158 -0
- package/skills/ae-tracking-matrix/references/categories/roguelike_tracking_plan_template.md +546 -0
- package/skills/ae-tracking-matrix/references/categories/rpg.md +195 -0
- package/skills/ae-tracking-matrix/references/categories/short_drama_tracking_plan_template.md +115 -0
- package/skills/ae-tracking-matrix/references/categories/simulation_business_tracking_plan_template.md +151 -0
- package/skills/ae-tracking-matrix/references/categories/slg_tracking_plan_template.md +260 -0
- package/skills/ae-tracking-matrix/references/categories/slots_tracking_plan_template.md +232 -0
- package/skills/ae-tracking-matrix/references/categories/stranger_social_tracking_plan_template.md +359 -0
- package/skills/ae-tracking-matrix/references/categories/tower_defense.md +365 -0
- package/skills/ae-tracking-matrix/references/categories/video_editor_tracking_plan_template.md +211 -0
- package/skills/ae-tracking-matrix/references/categories/wechat_minigame.md +132 -0
- package/skills/ae-tracking-matrix/references/category-registry.md +77 -0
- package/skills/ae-tracking-matrix/references/data-verification/diagnosis_kb.md +230 -0
- package/skills/ae-tracking-matrix/references/data-verification/sql_checks.md +406 -0
- package/skills/ae-tracking-matrix/references/data-verification/tracking_plan_comparison.md +128 -0
- package/skills/ae-tracking-matrix/references/eval-cases.md +74 -0
- package/skills/ae-tracking-matrix/references/naming-dict.md +238 -0
- package/skills/ae-tracking-matrix/references/optimization-checklist.md +85 -0
- package/skills/ae-tracking-matrix/references/plan-generation/export-schema.md +142 -0
- package/skills/ae-tracking-matrix/references/plan-generation/module-baseline.md +47 -0
- package/skills/ae-tracking-matrix/references/plan-generation/reference.md +794 -0
- package/skills/ae-tracking-matrix/references/plan-generation/template-catalog.md +94 -0
- package/skills/ae-tracking-matrix/references/scene-routing.md +80 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/android.md +3787 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/c.md +827 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-lua.md +655 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocos2d-x.md +953 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/cocoscreator.md +1128 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/corona.md +714 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/egret.md +1268 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/flutter.md +776 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/h5-and-app-sdk-integration.md +182 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/ios.md +2755 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/javascript.md +1182 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/layaair.md +1300 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/macos.md +1369 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/mini-program-mini-game.md +1692 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/openharmony.md +902 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/react-native.md +763 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/uni-app.md +1107 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/unity.md +1532 -0
- package/skills/ae-tracking-matrix/references/sdk/client-sdk/unreal.md +845 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/android_sdk_faq.md +228 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/ios_sdk_faq.md +149 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/java_sdk_faq.md +407 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/javascript_sdk_faq.md +163 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/minigame_sdk_faq.md +149 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/miniprogram_sdk_faq.md +153 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/python_sdk_faq.md +232 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/sdk_log_guide.md +314 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/sdk_usage_notes.md +117 -0
- package/skills/ae-tracking-matrix/references/sdk/faq/unity_sdk_faq.md +148 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/filebeat-logstash-guide.md +645 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_guide.md +307 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/logbus2_parser_plugin.md +347 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/restful_api_notes.md +72 -0
- package/skills/ae-tracking-matrix/references/sdk/integration-tools/ta-datax-writer-guide.md +264 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/c.md +566 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/erlang.md +409 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/golang.md +446 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/java.md +557 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/lua.md +457 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/nodejs.md +490 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/php.md +523 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/python.md +484 -0
- package/skills/ae-tracking-matrix/references/sdk/server-sdk/ruby.md +442 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/data-rules.md +391 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/first-event-validation.md +91 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/preset-properties-system-fields.md +635 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/updatable-events.md +113 -0
- package/skills/ae-tracking-matrix/references/sdk/te-data-rules/user-identification-rules.md +466 -0
- package/skills/ae-tracking-matrix/references/standard-base/README.md +22 -0
- package/skills/ae-tracking-matrix/references/standard-base/basic_event_data.md +174 -0
- package/skills/ae-tracking-matrix/references/standard-base/common_event_properties.md +20 -0
- package/skills/ae-tracking-matrix/references/standard-base/common_event_properties_setup.md +7 -0
- package/skills/ae-tracking-matrix/references/standard-base/data_type_design_principles.md +14 -0
- package/skills/ae-tracking-matrix/references/standard-base/gameplay_event_data.md +370 -0
- package/skills/ae-tracking-matrix/references/standard-base/id_system_faq.md +47 -0
- package/skills/ae-tracking-matrix/references/standard-base/integration_must_know.md +37 -0
- package/skills/ae-tracking-matrix/references/standard-base/multi_platform_integration_notes.md +27 -0
- package/skills/ae-tracking-matrix/references/standard-base/multi_user_id_system_recommendations.md +23 -0
- package/skills/ae-tracking-matrix/references/standard-base/tracking_notes.md +14 -0
- package/skills/ae-tracking-matrix/references/standard-base/user_data.md +46 -0
- package/skills/ae-tracking-matrix/references/standard-base/user_id_system.md +13 -0
- package/skills/ae-tracking-matrix/references/system-fields.md +297 -0
- package/skills/ae-tracking-matrix/references/te-field-translations.md +1791 -0
- package/skills/ae-tracking-matrix/references/workflows/data-verification.md +232 -0
- package/skills/ae-tracking-matrix/references/workflows/feasibility-analysis.md +829 -0
- package/skills/ae-tracking-matrix/references/workflows/integration-qna.md +355 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-generation.md +283 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-lint.md +168 -0
- package/skills/ae-tracking-matrix/references/workflows/plan-review-optimize.md +205 -0
- package/skills/ae-tracking-matrix/references/workflows/prd-to-suggestions.md +75 -0
- package/skills/ae-tracking-matrix/references/workflows/troubleshooting.md +36 -0
- package/skills/ae-tracking-matrix/references/workflows/validated-upload.md +107 -0
- package/skills/ae-tracking-matrix/scripts/build_template_catalog.py +114 -0
- package/skills/ae-tracking-matrix/scripts/export_tracking_plan.py +53 -0
- package/skills/ae-tracking-matrix/scripts/finalize_plan.py +166 -0
- package/skills/ae-tracking-matrix/scripts/lint_tracking_plan.py +674 -0
- package/skills/ae-tracking-matrix/scripts/plan_contract.py +200 -0
- package/skills/ae-tracking-matrix/scripts/plan_types.py +60 -0
- package/skills/ae-tracking-matrix/scripts/prepare_delivery.py +169 -0
- package/skills/ae-tracking-matrix/scripts/sync_plan.py +296 -0
- package/skills/ae-tracking-matrix/scripts/upload_plan.py +340 -0
- package/dist/chunk-AMBFK2K3.js +0 -28
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# WeChat Mini Game Tracking Plan (Local Cache)
|
|
2
|
+
|
|
3
|
+
> Source: Feishu wiki "Sub-category Tracking Templates" / WeChat Mini Game, cached 2026-09-28. Cloud version is authoritative.
|
|
4
|
+
|
|
5
|
+
## Event Data (#Event Data)
|
|
6
|
+
|
|
7
|
+
| Event Module | Event Name | Event Display Name | Event Description | Property Name | Property Display Name | Property Type | Property Description |
|
|
8
|
+
|---|---|---|---|---|---|---|---|
|
|
9
|
+
| Basic Data | ta_mp_launch | Mini Program Initialization | Collected when client auto-collection is enabled | | | | |
|
|
10
|
+
| | ta_mp_show | Mini Program Launch | Triggered when the game starts, timing begins (collected when client auto-collection is enabled) | | | | |
|
|
11
|
+
| | ta_mp_hide | Mini Program Exit | Recorded on game logout, ending the timer (collected when client auto-collection is enabled) | #duration | Online Duration | number | Collected when client auto-collection is enabled |
|
|
12
|
+
| | ta_mp_share | Mini Program Share | Collected when client auto-collection is enabled | | | | |
|
|
13
|
+
| Add Mini Program & Redirect | tap_addapp | Click Add to Mini Program | Recorded on clicking Add to My Mini Programs | button_id | Button ID | string | |
|
|
14
|
+
| | tap_otherapp | Click Other Game | Recorded on clicking another game icon | button_id | Button ID | string | |
|
|
15
|
+
| | | | | other_appid | Other Game ID | string | |
|
|
16
|
+
| | | | | other_appname | Other Game Name | string | |
|
|
17
|
+
| Tutorial | guide_complete | Complete Tutorial | Recorded upon completion of each tutorial step | guide_step | Current Tutorial Step | number | |
|
|
18
|
+
| Tasks & Benefits | task_completed | Complete Daily Task | Recorded on clicking to claim daily task | task_ID | Task ID | string | |
|
|
19
|
+
| | | | | task_name | Task Name | string | |
|
|
20
|
+
| | sign | Complete Check-in | Recorded on clicking check-in | sign_day | Check-in Days | number | |
|
|
21
|
+
| | reward | Claim Daily Benefit | Recorded on clicking to claim | reward_name | Reward Name | string | First time |
|
|
22
|
+
| | lucky_draw | Lucky Draw | Recorded upon completing a lucky draw | reward_name | Reward Name | string | |
|
|
23
|
+
| | change | Galaxy Exchange | Recorded upon completing galaxy exchange | resource_name | Exchanged Resource Name | string | Exchange 1000 gold, etc. |
|
|
24
|
+
| | qa_sign | Customer Service Check-in | Recorded upon completing customer service check-in | | | | |
|
|
25
|
+
| Hero Development | equip_level_up | Equipment Level Up | Recorded on equipment level up | hero_id | Hero ID | string | |
|
|
26
|
+
| | | | | hero_name | Hero Name | string | |
|
|
27
|
+
| | | | | equip_name | Equipment Name | string | |
|
|
28
|
+
| | | | | new_level | Level After Upgrade | number | |
|
|
29
|
+
| | | | | new_fight | Combat Power After Upgrade | number | |
|
|
30
|
+
| | unlock_hero | Hero Unlock | Recorded on unlocking a hero | hero_id | Hero ID | string | |
|
|
31
|
+
| | | | | hero_name | Hero Name | string | |
|
|
32
|
+
| | unlock_equip | Equipment Unlock | Recorded on unlocking equipment | hero_id | Hero ID | string | |
|
|
33
|
+
| | | | | hero_name | Hero Name | string | |
|
|
34
|
+
| | | | | equip_name | Equipment Name | string | |
|
|
35
|
+
| | unlock_skill | Skill Unlock | Recorded on unlocking a skill | hero_id | Hero ID | string | |
|
|
36
|
+
| | | | | hero_name | Hero Name | string | |
|
|
37
|
+
| | | | | skill_name | Skill Name | string | |
|
|
38
|
+
| | | | | skill_type | Skill Type | string | Normal, melee, ranged, etc. |
|
|
39
|
+
| Battle Module | game_start | Start Battle | Recorded on starting a battle | enemy_id | Opponent ID | string | |
|
|
40
|
+
| | | | | enemy_fight | Opponent Combat Power | number | |
|
|
41
|
+
| | | | | game_type | Battle Type | string | |
|
|
42
|
+
| | game_end | Battle End | Recorded on natural battle end | enemy_id | Opponent ID | string | |
|
|
43
|
+
| | | | | enemy_fight | Opponent Combat Power | number | |
|
|
44
|
+
| | | | | game_type | Battle Type | string | |
|
|
45
|
+
| | | | | game_result | Battle Result | string | |
|
|
46
|
+
| | | | | resource_name | Resource Type Obtained | string | Diamond, gold |
|
|
47
|
+
| | | | | resource_num | Resource Quantity Obtained | number | |
|
|
48
|
+
| | game_quit | Quit Battle | Recorded on exiting battle midway | enemy_id | Opponent ID | string | |
|
|
49
|
+
| | | | | enemy_fight | Opponent Combat Power | string | |
|
|
50
|
+
| | | | | game_type | Battle Type | string | |
|
|
51
|
+
| Other Gameplay | get_gift | Claim Gift Pack | Recorded after claiming gift pack | | | | |
|
|
52
|
+
| | get_play_reward | Claim Trial Play Reward | Recorded after claiming trial play reward | game_name | Trial Play Game Name | string | |
|
|
53
|
+
| | complete_friend | Friend Boost | On completion of gifting to friend | | | | |
|
|
54
|
+
| | rank_event | Leaderboard Event | Scheduled report every day at midnight for the previous day's leaderboard snapshot, as a single json record | server_id | Server | string | |
|
|
55
|
+
| | | | | rank_type_one | Leaderboard Main Category | string | Personal, alliance |
|
|
56
|
+
| | | | | rank_type_two | Leaderboard Sub Category | string | Lord level, military merit, etc. |
|
|
57
|
+
| | | | | rank1 | Rank 1 | string | |
|
|
58
|
+
| | | | | rank2 | Rank 2 | string | |
|
|
59
|
+
| | | | | rank3 | Rank 3 | string | |
|
|
60
|
+
| | | | | rank4 | Rank 4 | string | |
|
|
61
|
+
| | | | | rank5 | Rank 5 | string | |
|
|
62
|
+
| | | | | rank6 | Rank 6 | string | |
|
|
63
|
+
| | | | | rank7 | Rank 7 | string | |
|
|
64
|
+
| | | | | rank8 | Rank 8 | string | |
|
|
65
|
+
| | | | | rank9 | Rank 9 | string | |
|
|
66
|
+
| | | | | rank10 | Rank 10 | string | |
|
|
67
|
+
| | | | | rank_list | Rank List | list | |
|
|
68
|
+
| Ad Module | show_button | Ad Button Display | Recorded on ad play button pop-up | ad_id | Ad ID | string | |
|
|
69
|
+
| | | | | ad_time | Ad Duration | number | Total duration of this ad |
|
|
70
|
+
| | | | | view_reason | Viewing Entry | string | Double revenue, lucky wheel, etc. |
|
|
71
|
+
| | click_button | Click Play Button | Recorded on clicking the ad's play button | ad_id | Ad ID | string | |
|
|
72
|
+
| | | | | ad_time | Ad Duration | number | Total duration of this ad |
|
|
73
|
+
| | | | | view_reason | Viewing Entry | string | Double revenue, lucky wheel, etc. |
|
|
74
|
+
| | ad_start | Ad Start | Ad starts playing, and timer starts | ad_id | Ad ID | string | |
|
|
75
|
+
| | | | | ad_time | Ad Duration | number | Total duration of this ad |
|
|
76
|
+
| | | | | view_reason | Viewing Entry | string | Double revenue, lucky wheel, etc. |
|
|
77
|
+
| | ad_end | Ad End | Ad stops playing, timer ends, upload duration field ad_duration | ad_id | Ad ID | string | |
|
|
78
|
+
| | | | | ad_time | Ad Duration | number | Total duration of this ad |
|
|
79
|
+
| | | | | ad_duration | Ad Watch Duration | number | Actual watch duration of this ad |
|
|
80
|
+
| | | | | view_reason | Viewing Entry | string | Double revenue, lucky wheel, etc. |
|
|
81
|
+
| | | | | view_complete | Is Fully Watched | bool | Whether the user fully watched this ad |
|
|
82
|
+
| | tap_ad | Click Ad | Recorded on clicking ad page button | ad_id | Ad ID | string | Whether "Download Now" was clicked |
|
|
83
|
+
| Cost Event | cost_event | Cost Event | Upload cost as an event with a custom unchanging ID | channel | Channel | string | |
|
|
84
|
+
| | | | | cost_money | Cost Spend | number | |
|
|
85
|
+
|
|
86
|
+
## Common Event Properties (#Common Event Properties)
|
|
87
|
+
|
|
88
|
+
| Property Category | Property Name | Property Display Name | Property Type | Property Description |
|
|
89
|
+
|---|---|---|---|---|
|
|
90
|
+
| System Preset | #device_id | Device ID | string | Device ID or device-related ID, such as uuid |
|
|
91
|
+
| | #os | Operating System | string | ios, android |
|
|
92
|
+
| | #os_version | OS Version | string | e.g., Android OS 9 |
|
|
93
|
+
| | #app_version | App Version | string | |
|
|
94
|
+
| | Properties automatically collected by the Mini Game SDK; see the SDK integration documentation for details. | | | |
|
|
95
|
+
| Resource | fight | Combat Power | number | Player's combat power at the time of the event |
|
|
96
|
+
| | gold | Gold Quantity | number | Player's gold quantity at the time of the event |
|
|
97
|
+
| | diamond | Diamond Quantity | number | Player's star quantity at the time of the event |
|
|
98
|
+
| | | | | |
|
|
99
|
+
| | | | | |
|
|
100
|
+
| | | | | |
|
|
101
|
+
| | | | | |
|
|
102
|
+
| | | | | |
|
|
103
|
+
| | | | | |
|
|
104
|
+
| | | | | |
|
|
105
|
+
| | | | | |
|
|
106
|
+
| | | | | |
|
|
107
|
+
| | | | | |
|
|
108
|
+
| | | | | |
|
|
109
|
+
|
|
110
|
+
## User Properties (#User ID System)
|
|
111
|
+
|
|
112
|
+
| Property Name | Property Display Name | Property Description | Assignment Description |
|
|
113
|
+
|---|---|---|---|
|
|
114
|
+
| #account_id | Account ID | System Property | Set as the WeChat openID |
|
|
115
|
+
| #distinct_id | Visitor ID | System Property | Do not configure |
|
|
116
|
+
| | | | |
|
|
117
|
+
| | | | |
|
|
118
|
+
| | | | |
|
|
119
|
+
| | | | |
|
|
120
|
+
| | | | |
|
|
121
|
+
| | | | |
|
|
122
|
+
| | | | |
|
|
123
|
+
| | | | |
|
|
124
|
+
| | | | |
|
|
125
|
+
| | | | |
|
|
126
|
+
| | | | |
|
|
127
|
+
| | | | |
|
|
128
|
+
| | | | |
|
|
129
|
+
| | | | |
|
|
130
|
+
| | | | |
|
|
131
|
+
| | | | |
|
|
132
|
+
| | | | |
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Category Registry
|
|
2
|
+
|
|
3
|
+
> Category answers "what to track". When a category is hit → inject that template's business semantics; fuzzy → list 2–3 candidates and let the user confirm; missing → use the general spec + standard-base foundation, and hint "this category can be deposited as a new template".
|
|
4
|
+
>
|
|
5
|
+
> **Category Template Loading Rules (performance-critical, must follow)**:
|
|
6
|
+
> 1. **Prefer local cache**: see the "Local Cache" column below. For categories with a filename, read `references/categories/<filename>.md` directly with the Read tool. **Do not use Feishu lark-cli.**
|
|
7
|
+
> 2. **Only "Feishu-fallback" categories may need Feishu**, and only when remote access is authorized. Discover the installed CLI contract with targeted `--help` if it has not been verified; resolve workbook metadata, then fetch the needed ranges once. Do not guess flags/token kinds, repeat identical reads, or fetch cell-by-cell. In local-only work, disclose the missing cache and use confirmed local material instead.
|
|
8
|
+
> 3. After a Feishu-fallback read, deposit the result as a local-cache markdown following the existing format in `references/categories/`, so future reads can skip Feishu.
|
|
9
|
+
|
|
10
|
+
## Game Categories (18)
|
|
11
|
+
|
|
12
|
+
| Category ID | Category | Local Cache | Template Token | Version | Status | Typical Business Dimensions (examples) |
|
|
13
|
+
|-|-|-|-|-|-|-|
|
|
14
|
+
| mmo_mobile | MMO Mobile | `mmo_mobile_tracking_plan_template.md` | shtcnL7MKQP7hSPql0raqJGfLOi | v1 | Template available | Class/Guild/Dungeon/Equipment |
|
|
15
|
+
| mmo_web | MMO Web | `mmo_web.md` | shtcn40qts4wwyao8jROAM95jDe | v2 | Template available | Class/Guild/Dungeon/Equipment |
|
|
16
|
+
| rpg | RPG | `rpg.md` | shtcnfJGGi2aDghD8jQjZ72zFKf | v1 | Template available | Character/Storyline/Equipment/Gacha |
|
|
17
|
+
| slg | SLG | `slg_tracking_plan_template.md` | shtcnEvxf6dlhPFo20Njttdq8If | v1 | Template available | City Building/Alliance/Season/Battle/Resource Flow/Hero & Troop |
|
|
18
|
+
| slots | Slots | `slots_tracking_plan_template.md` | shtcnKiOf8cpxvmnoTkRKvkcfac | v1 | Template available | Spins/Jackpot/Multiplier |
|
|
19
|
+
| fishing | Fishing | `fishing.md` | AISTsSZ0rhOYt2tMcxAcMrd3nec | v2 | Upgraded cache: 235 events, 638 property rows | Cannon/Fish Type/Multiplier/Room/Quest/Guild/Monetization |
|
|
20
|
+
| idle | Idle | `idle_game_tracking_plan_template.md` | shtcnehZWPBJBkRU9sWjwCJzzDc | v1 | Template available | Offline Rewards/AFK/Speed-up |
|
|
21
|
+
| card | Card | `card_game_tracking_plan_template.md` | shtcnbJ1tXy2xhaUQ7NeoVv6Jec | v1 | Template available | Deck/Gacha/Battle |
|
|
22
|
+
| qipai_ddz | Chess & Cards (DDZ) | `chess_cards_tracking_plan_template.md` | shtcnZCNixHGbGppcaj7w3aEO7b | v1 | Template available | Round/Room/Base Score |
|
|
23
|
+
| qipai_mj | Chess & Cards (Mahjong) | `qipai_mj.md` | shtcnoE3yd6Ko5nmQzpnwlOkdfc | v2 | Template available | Round/Hand Type/Room |
|
|
24
|
+
| social_chat | Social Chat | `acquaintance_social_tracking_plan_template.md` / `stranger_social_tracking_plan_template.md` | shtcnRq5M63TM2yw1RwzZcYLXEh / shtcn6d3s0I6VbkemeWAzF5Uvtv | v1/v2 | Template available | Matching/Session/Gift |
|
|
25
|
+
| tower_defense | Tower Defense | `tower_defense.md` | shtcnejjuD4q3QrYhRBYpwEAuLh | v1 | Template available | Stage/Tower Slot/Wave |
|
|
26
|
+
| wechat_minigame | WeChat Mini Game | `wechat_minigame.md` | shtcnpnBvLaJ3B5iKQXq5tCHblf | v1 | Template available | Share Viral/Ad Monetization |
|
|
27
|
+
| casual_nurture | Casual Nurture | `casual_game_tracking_plan_template.md` | shtcn4RhM0jQtDoqXuWXun5X9ae / shtcnc9JSJFQsaLmL5r2idfovFh | v1/v2 | Template available | Collection/Nurture Lines/Orders |
|
|
28
|
+
| casual_music | Casual Music | `casual_music.md` | shtcnHHPLwMAevc9F4tLE38ibvb | v1 | Template available | Track/Judgment/Combo |
|
|
29
|
+
| blockchain | Blockchain Game | `blockchain_game_tracking_plan_template.md` | shtcnxeFlTQGbozXYFvVLLyDu6f | v1 | Template available | Wallet/On-chain Txn/NFT |
|
|
30
|
+
| idle_card | Idle Card | `idle_card.md`; compose `idle_game_tracking_plan_template.md` + `card_game_tracking_plan_template.md` | shtcncGxJY0SZQSOl99TgDuEyqh | v1 | Incomplete cache: no event list; use Idle + Card with confirmation | Idle rewards + Card collection are candidates, not confirmed requirements |
|
|
31
|
+
| merge | Merge | `merge.md` | GHkEsxdxQhJRCYtIVQtcbcl3nkh | - | Template available | Merge chain/Order/Grid |
|
|
32
|
+
|
|
33
|
+
## Non-Game Categories (6)
|
|
34
|
+
|
|
35
|
+
| Category ID | Category | Local Cache | Template Token | Version | Status | Typical Business Dimensions (examples) |
|
|
36
|
+
|-|-|-|-|-|-|-|
|
|
37
|
+
| reading | Reading | `reading_tracking_plan_template.md` | shtcnbLlokkcbiolqnmUSy0euZ1 | v1 | Template available | Book/Chapter/Paid Unlock |
|
|
38
|
+
| video_edit | Video Editor | `video_editor_tracking_plan_template.md` | shtcnbF6XE1PfXOFJmUD7V1pf9d | v1 | Template available | Project/Material/Export |
|
|
39
|
+
| ecommerce | E-commerce | `ecommerce_tracking_plan_template.md` | PVsQsvCavhsv9GtlBoTcWsfcn6d | v1 | Template available | Product/Cart/Order/Payment |
|
|
40
|
+
| short_drama | Short Drama | `short_drama_tracking_plan_template.md` | EnhosYliXhUhqftnoH5cXpP0nqd | v1 | Template available | Series/Unlock/Paid Node |
|
|
41
|
+
| music | Music | `music.md` | WF9DsTwSxhvXD7tnga3ceSlanOi | - | Template available | Song/Playlist/VIP |
|
|
42
|
+
| smart_cockpit | Smart Cockpit | Feishu-fallback | H4lOd4dFzoVMYXxU5QkcamL9n7d | - | Template available | Vehicle Control/Voice/Navigation |
|
|
43
|
+
|
|
44
|
+
## Supplemented Category (1)
|
|
45
|
+
|
|
46
|
+
| Category ID | Category | Status |
|
|
47
|
+
|-|-|-|
|
|
48
|
+
| interactive_video | Interactive Film Game | ✅ Supplemented (2026-09-19; template at `references/categories/interactive_video.md`: storyline chain / choice impression & click / QTE / multiple endings / mail reward object group / attribution / confirmation question set / pitfall checklist) |
|
|
49
|
+
|
|
50
|
+
## Casual Match-3 (nearest-neighbor mapping note)
|
|
51
|
+
|
|
52
|
+
"Match-3 / Candy Crush" has no exact match among the 24 categories. Nearest neighbors: `casual_nurture` (Casual Nurture), `merge` (Merge), `wechat_minigame` (if it's a WeChat Mini Game form) → treat as "fuzzy" and list candidates for user confirmation.
|
|
53
|
+
|
|
54
|
+
## Standard-Base Foundation
|
|
55
|
+
|
|
56
|
+
**Local cache (preferred, cached from cloud on 2026-09-20)**: 12 markdown files under `references/standard-base/`, each one-to-one with a cloud sheet:
|
|
57
|
+
|
|
58
|
+
| Cache File | Corresponding Sheet | Content Position |
|
|
59
|
+
|-|-|-|
|
|
60
|
+
| `integration_must_know.md` | 接入必知 (Integration Must-Know) | User definition / data spec / integration tooling overview |
|
|
61
|
+
| `tracking_notes.md` | 埋点注意事项 (Tracking Notes) | Alignment source for the "Notes" section in output (A7) |
|
|
62
|
+
| `user_id_system.md` | #用户ID体系 (User ID System) | User identification rules |
|
|
63
|
+
| `gameplay_event_data.md` | #玩法事件数据 (Gameplay Event Data) | Standard gameplay events + property universe (364 lines; primary design baseline when a category template is missing) |
|
|
64
|
+
| `basic_event_data.md` | #基础事件数据 (Basic Event Data) | Full set of basic events: registration/login/payment, etc. |
|
|
65
|
+
| `common_event_properties.md` | #公共事件属性 (Common Event Properties) | Standard common properties (channel/account/tmp_*, etc.) |
|
|
66
|
+
| `user_data.md` | #用户数据 (User Data) | User properties (user_set, etc.) |
|
|
67
|
+
| `data_type_design_principles.md` | 数据类型设计原则 (Data Type Design Principles) | Principles for property type selection |
|
|
68
|
+
| `common_event_properties_setup.md` | 公共事件属性设置方式 (Common Event Property Setup) | SDK dynamic common property setup |
|
|
69
|
+
| `multi_platform_integration_notes.md` | 多端接入注意点 (Multi-Platform Integration Notes) | Multi-platform data unification considerations |
|
|
70
|
+
| `multi_user_id_system_recommendations.md` | 多用户ID体系的埋点建议 (Multi User ID System Tracking Advice) | ID system plan |
|
|
71
|
+
| `id_system_faq.md` | ID体系常见疑问 (ID System FAQ) | ID system Q&A |
|
|
72
|
+
|
|
73
|
+
Loading order: **read local cache first**; only use `lark-cli` to fall back to the cloud (Feishu sheets `M71zsVFKihDEKXtZJjZcOkAvn5b`) when the user explicitly asks for "the latest cloud version" or the cached notes clearly conflict with current business reality.
|
|
74
|
+
|
|
75
|
+
Purpose: design baseline when a category template is missing; alignment baseline for the "Notes / Timezone" section in output (A7).
|
|
76
|
+
|
|
77
|
+
> Each category's Feishu sheet `obj_token` has been filled in the "Template Token" column above (as of 2026-09-20). To add a new category: append a row (Category ID + Local Cache + Template Token + Status). For a template-less category, mark "To be supplemented", design generically against the standard-base foundation, and later deposit a formal template.
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# Diagnosis Knowledge Base
|
|
2
|
+
|
|
3
|
+
Each validation anomaly → possible cause → fix plan. Sourced from the Feishu document "Validation Result Interpretation" and actual validation experience.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Large-scale missing account_id
|
|
8
|
+
|
|
9
|
+
**Prerequisite**: confirm the identity design and which events require a logged-in account. No-account/guest-only products may legitimately have 100% empty `#account_id` when `#distinct_id` is valid (E1); this alone is not High. Unknown identity requirements are TBC. Both IDs absent is a separate identification defect.
|
|
10
|
+
|
|
11
|
+
**Conditional anomaly**: high account-ID null rates on events confirmed to require an account; report the eligible population, not every event indiscriminately.
|
|
12
|
+
|
|
13
|
+
**Possible causes**:
|
|
14
|
+
- Server-side reported events do not carry account_id
|
|
15
|
+
- The client did not call `login()` / `identify()` after login
|
|
16
|
+
- The account_id field name is mapped incorrectly
|
|
17
|
+
- **Online / device_active snapshot events not containing account_id is normal design** — these events aggregate by heartbeat/device dimension and are not associated with a user account
|
|
18
|
+
|
|
19
|
+
**Suggested fixes**:
|
|
20
|
+
- First confirm the event type: snapshot events (online, device_active) may be empty
|
|
21
|
+
- Require account_id only where the confirmed product identity and event contract require it; event names alone do not prove an account exists.
|
|
22
|
+
- The server passes through the client's account_id after login
|
|
23
|
+
- Check whether the SDK called `login(account_id)` after a successful login
|
|
24
|
+
- Confirm the account_id field name is spelled correctly in the event properties
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## distinct_id missing (server-side)
|
|
29
|
+
|
|
30
|
+
**Anomaly**: `#distinct_id` is empty in server-side reported events (Server_SDK / Import_Tools).
|
|
31
|
+
|
|
32
|
+
**Possible causes**:
|
|
33
|
+
- The server did not pass through the client-generated distinct_id when reporting
|
|
34
|
+
- Server-generated events do not carry a device identifier
|
|
35
|
+
|
|
36
|
+
**Suggested fixes**:
|
|
37
|
+
- The client reports the SDK-generated distinct_id to the server
|
|
38
|
+
- The server includes distinct_id when reporting events, ensuring events from the same device before and after login can be associated with the same user
|
|
39
|
+
- The only case where distinct_id is not passed: aggregate events produced by purely server-side offline computation
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Large-scale missing zone_offset
|
|
44
|
+
|
|
45
|
+
**Anomaly**: The `#zone_offset` null rate is high for non-client data sources (Restful_API, Server_SDK).
|
|
46
|
+
|
|
47
|
+
**Possible causes**:
|
|
48
|
+
- Server-side reporting does not carry the timezone offset
|
|
49
|
+
- The import tool did not map the timezone field
|
|
50
|
+
|
|
51
|
+
**Suggested fixes** (choose one):
|
|
52
|
+
1. **Conventional approach**: The server assigns the server's local time to `#time`, and the server's timezone to `#zone_offset`
|
|
53
|
+
2. **When local time analysis is needed**: Pass through the client's `#event_time` and `#zone_offset` (preserving the user's original timezone)
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## IP entirely null
|
|
58
|
+
|
|
59
|
+
**Anomaly**: The `#ip` field is NULL for all events, and all geo information is empty.
|
|
60
|
+
|
|
61
|
+
**Possible causes**:
|
|
62
|
+
- Restful_API / Server_SDK did not pass IP
|
|
63
|
+
- Third-party data (ad attribution) does not carry IP (expected)
|
|
64
|
+
- Deliberately not passed for privacy compliance reasons
|
|
65
|
+
|
|
66
|
+
**Suggested fixes**:
|
|
67
|
+
- If geo analysis is needed: the server records the client IP and assigns it to `#ip`
|
|
68
|
+
- If geo analysis is not needed: an empty IP is acceptable; just note it in the report
|
|
69
|
+
- Note: about 10% of IPs in the third-party IP database cannot be fully resolved, which is within the normal range
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Event latency anomaly
|
|
74
|
+
|
|
75
|
+
**Anomaly**: Median latency > 1 hour, or maximum > 24 hours, or the minimum is negative with a large absolute value.
|
|
76
|
+
|
|
77
|
+
**Possible causes**:
|
|
78
|
+
- **Negative latency**: the client clock is ahead of the server clock; the user modified the local time and time calibration is not enabled → enable time calibration in the SDK
|
|
79
|
+
- **Large positive latency**: data pipeline backlog, overly long batch interval, ETL latency
|
|
80
|
+
- **Large positive/negative fluctuation**: mixed multi-timezone data, inaccurate zone_offset correction
|
|
81
|
+
|
|
82
|
+
**Suggested fixes**:
|
|
83
|
+
- Enable `enable_time_calibration` (time calibration) on the SDK side
|
|
84
|
+
- Check whether the data pipeline has a backlog (check ingestion latency in the reporting statistics)
|
|
85
|
+
- Ensure `#zone_offset` is assigned correctly in all events
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## ta_app_start/end not paired
|
|
90
|
+
|
|
91
|
+
**Anomaly**: The gap percentage between start_cnt and end_cnt > 20%.
|
|
92
|
+
|
|
93
|
+
**Possible causes**:
|
|
94
|
+
- The user force-killed the process, causing the end event to be lost
|
|
95
|
+
- The SDK version is too old, and end event collection is unstable
|
|
96
|
+
- Some platforms (such as mini-games) do not support the end event
|
|
97
|
+
|
|
98
|
+
**Suggested fixes**:
|
|
99
|
+
- Upgrade the SDK to the latest version
|
|
100
|
+
- If the gap < 30% and on mobile, it is within a reasonable range (process kills are unavoidable)
|
|
101
|
+
- Contact ThinkingData SDK technical support for further investigation
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## ta_app_install anomaly
|
|
106
|
+
|
|
107
|
+
**Anomaly**: ta_app_install and ta_app_start did not trigger in sequence within 5 seconds.
|
|
108
|
+
|
|
109
|
+
**Possible causes**:
|
|
110
|
+
- SDK initialization timing is too late (e.g., only initialized after the user agrees to the privacy policy)
|
|
111
|
+
- Network anomaly on first launch causes delayed reporting of the install event
|
|
112
|
+
- The SDK's auto-collection behavior was customized
|
|
113
|
+
|
|
114
|
+
**Suggested fixes**:
|
|
115
|
+
- Ensure the SDK initializes as early as possible in Application.onCreate()
|
|
116
|
+
- When the problem percentage > 1%, contact ThinkingData SDK technical support
|
|
117
|
+
- Check whether special logic delayed SDK initialization
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Abnormal uid (one aid/did mapping to many)
|
|
122
|
+
|
|
123
|
+
**Anomaly**: The same `#account_id` or `#distinct_id` maps to multiple `#user_id` values.
|
|
124
|
+
|
|
125
|
+
**Possible causes**:
|
|
126
|
+
- After a user_del operation, the ID mapping in MySQL is deleted, and the user record in Kudu is deleted
|
|
127
|
+
- The stale ID mapping in the ETL cache is not invalidated, and the cached mapping generates a deleted `#user_id`
|
|
128
|
+
- After the cache expires, the same user is ingested again, the mapping is not found in MySQL, and a new `#user_id` is generated
|
|
129
|
+
|
|
130
|
+
**Suggested fixes**:
|
|
131
|
+
- This issue usually requires TE technical support intervention
|
|
132
|
+
- Check whether a user_del operation is concurrent with normal data ingestion
|
|
133
|
+
- Avoid user_del + re-ingestion of the same user within the ETL cache TTL
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Events have no SDK data at all
|
|
138
|
+
|
|
139
|
+
**Anomaly**: All events come from Restful_API, and SDK preset events such as ta_app_start/end are 0 within the date range.
|
|
140
|
+
|
|
141
|
+
**Diagnosis**: The project is purely server-side integrated; the client SDK is not installed or data is not flowing in.
|
|
142
|
+
|
|
143
|
+
**Suggestions**:
|
|
144
|
+
- Confirm whether client SDK data is needed
|
|
145
|
+
- If yes → install the SDK and confirm the app_id is configured correctly
|
|
146
|
+
- If no → note it in the report, and the following checks can be skipped: S5, S6
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## ID identification fragmentation
|
|
151
|
+
|
|
152
|
+
**Anomaly**: `#distinct_id` and `#account_id` appear independently (a did first reports several events alone, then the same aid also reports alone), causing the same user to be assigned multiple `#user_id` values.
|
|
153
|
+
|
|
154
|
+
**Scenario 1**: The client first reports events carrying only did → user_1; then the server reports the first event carrying account_id (without did) → user_2.
|
|
155
|
+
|
|
156
|
+
**Scenario 2**: The server first reports an event carrying only account_id → user_3; then the client reports an event carrying only did → user_4; after the same device logs in with account_id it should be user_3 but may actually differ.
|
|
157
|
+
|
|
158
|
+
**Fix directions**:
|
|
159
|
+
1. The client reports distinct_id to the server, and the server includes distinct_id when reporting
|
|
160
|
+
2. The first event carrying account_id is reported from the client (not the server)
|
|
161
|
+
3. Ensure key events such as login/register carry both did and account_id
|
|
162
|
+
|
|
163
|
+
**Deep investigation**: 🚩 Guide the user to call the `te-user-id-debug` skill for event-sequence-level fragmentation analysis.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## Large-scale missing event properties
|
|
168
|
+
|
|
169
|
+
**Anomaly**: Multiple custom properties of an event have a null rate > 70%, especially key business properties (such as `card_type`, `diamond_num`, `duration`, etc.) are largely empty.
|
|
170
|
+
|
|
171
|
+
**Possible causes**:
|
|
172
|
+
- The property value was not filled when the event was reported (code omission)
|
|
173
|
+
- The property name is misspelled (the reported name differs from the name registered in TE)
|
|
174
|
+
- The property only has a value under specific conditions (e.g., `card_type` is only filled for card-related actions)
|
|
175
|
+
- Server-side events do not carry client-side properties (such as `device_id`, `client_type`) — this is normal design
|
|
176
|
+
|
|
177
|
+
**Judgment method**:
|
|
178
|
+
1. First check the event's data source (S1/S12): a purely server-side event missing `device_id`/`client_type`/`device_model` is normal
|
|
179
|
+
2. The same property is null across multiple events → likely an overall integration problem
|
|
180
|
+
3. Only a specific event's property is null → likely an omission in that event's reporting logic
|
|
181
|
+
|
|
182
|
+
**Suggested fixes**:
|
|
183
|
+
- Confirm whether the property is a required property for that event
|
|
184
|
+
- Check whether the reporting code correctly fills the property value
|
|
185
|
+
- If the property only has a value under specific conditions, confirm whether the null rate matches business expectations
|
|
186
|
+
- A server-side event not carrying client-side properties is acceptable; just note it in the report
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Uneven cross-event property coverage
|
|
191
|
+
|
|
192
|
+
**Anomaly**: The same property (such as `ip`, `device_id`) is 100% present in some events but 100% null in others.
|
|
193
|
+
|
|
194
|
+
**Possible causes**:
|
|
195
|
+
- Different events have **different reporting sources** (client SDK has `device_id`, server SDK does not)
|
|
196
|
+
- Different events have **different reporting timing** (properties only available after login cannot be carried by pre-login events)
|
|
197
|
+
- Different events have **different business meaning** (transaction events have amount properties, social events do not)
|
|
198
|
+
|
|
199
|
+
**Suggested fixes**:
|
|
200
|
+
1. First confirm each event's `#data_source` to distinguish client-side and server-side reporting
|
|
201
|
+
2. Server-side events should pass through client-side properties (`device_id`, `ip`, etc.) as much as possible
|
|
202
|
+
3. Business-differentiated properties (such as `diamond_num` only for transaction events) are normal
|
|
203
|
+
4. In the report, show property coverage grouped by data source to make anomaly patterns easier to identify
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
|
|
207
|
+
## data_source entirely null
|
|
208
|
+
|
|
209
|
+
**Anomaly**: The `#data_source` field is null for all events, unable to distinguish client/server data.
|
|
210
|
+
|
|
211
|
+
**Possible causes**:
|
|
212
|
+
- The `#data_source` field was not set when reporting
|
|
213
|
+
- An old SDK version or a custom reporting method is used
|
|
214
|
+
|
|
215
|
+
**Suggested fixes**:
|
|
216
|
+
- Correctly set the `#data_source` field when reporting events (such as `Native_SDK`, `Server_SDK`, `Restful_API`, `Import_Tools`, etc.)
|
|
217
|
+
- This not only facilitates data quality monitoring, but is also the basis for subsequent per-data-source troubleshooting
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## Event property null rate threshold reference
|
|
222
|
+
|
|
223
|
+
| Property type | Property examples | Reasonable null rate | Description |
|
|
224
|
+
|---------|---------|-----------|------|
|
|
225
|
+
| Device property | `device_id`, `device_model`, `device_carrier` | Client 0%, server 100% | Purely server-side events having no client properties is normal |
|
|
226
|
+
| Geo location | `ip`, `geo_country`, `reg_country` | < 10% | Should not be null if the server passed through IP |
|
|
227
|
+
| User identifier | `uid`, `login_session_id` | Pre-login events 100%, post-login 0% | Distinguish pre-login vs post-login |
|
|
228
|
+
| Business property | `diamond_num`, `card_type`, `duration` | Depends on the business scenario | Confirm one by one: whether it only has a value in specific scenarios |
|
|
229
|
+
| Time property | `event_time`, `dt` | 0% | All events should carry it |
|
|
230
|
+
| Source property | `traffic_source`, `install_source`, `campaign_source` | Depends on the attribution plan | The server may be unable to obtain attribution parameters |
|