@thinkingai/ae-cli 6.0.58 → 6.0.61
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 +14 -6
- package/README.zh.md +16 -6
- package/bin/ai-monitor.js +2 -0
- package/bin/runtime-capabilities.json +1 -1
- package/dist/ai-monitor-NUKSJPLE.js +33 -0
- package/dist/ai-monitor.js +136 -0
- package/dist/{auth-A5OO4VS4.js → auth-MVAEBGBP.js} +24 -15
- package/dist/{automation-FD2QZUP6.js → automation-6L6IAYRK.js} +6 -7
- package/dist/{capability-SKI4GHF4.js → capability-74N7AN5X.js} +35 -38
- package/dist/{chunk-OAWPT7VP.js → chunk-2I5SZ5DS.js} +2 -2
- package/dist/{chunk-QWSA3EOD.js → chunk-7WBCSJL6.js} +23 -9
- package/dist/{chunk-4PSTYEG5.js → chunk-AMURHMS3.js} +11 -7
- package/dist/{chunk-KPQY44JQ.js → chunk-AWW2T2WL.js} +3 -0
- package/dist/chunk-BQFLABJQ.js +186 -0
- package/dist/{chunk-E25OSZLJ.js → chunk-COOMXFUG.js} +3 -3
- package/dist/chunk-EFGUBGA6.js +64 -0
- package/dist/{chunk-HQCY3QCA.js → chunk-H35VDOAE.js} +18 -13
- package/dist/{chunk-VDICGXCY.js → chunk-HIMOBNEY.js} +2 -2
- package/dist/{chunk-JEUXDY3B.js → chunk-HQED4YB4.js} +1 -1
- package/dist/chunk-HRFYYEXR.js +1285 -0
- package/dist/{chunk-UYJMEHAF.js → chunk-JZY6WWAP.js} +22 -21
- package/dist/{chunk-2F64AZYH.js → chunk-KA5WKR5P.js} +2 -2
- package/dist/{chunk-YVG6QD3V.js → chunk-LFJ7N36I.js} +103 -8
- package/dist/{chunk-EEARZNHE.js → chunk-LPKIMGIU.js} +89 -37
- package/dist/chunk-NNK3JBH4.js +60 -0
- package/dist/{chunk-WMDO53YK.js → chunk-OTZ4JQDU.js} +2 -2
- package/dist/{chunk-SOSFRU3O.js → chunk-PLNS5J33.js} +58 -26
- package/dist/chunk-PUSFEC6B.js +29 -0
- package/dist/{chunk-Z3Q2AEIN.js → chunk-R2SVAO4G.js} +14 -2
- package/dist/{chunk-K2Z7QHDR.js → chunk-RB26WNLM.js} +52 -15
- package/dist/chunk-SVNED423.js +556 -0
- package/dist/{chunk-AWVZTN2B.js → chunk-THTROEGD.js} +1 -1
- package/dist/{chunk-QVRIDN42.js → chunk-UCMO4LKL.js} +2 -2
- package/dist/{chunk-JSBLCLFE.js → chunk-VLOGOM7N.js} +13 -7
- package/dist/{chunk-GBSACKFB.js → chunk-XPARQSYS.js} +528 -299
- package/dist/{chunk-72NJKS7O.js → chunk-XZDKAR4N.js} +4 -4
- package/dist/{community-report-client-TJVCLZ3K.js → community-report-client-ULRNXLQV.js} +1 -1
- package/dist/{compat-check-WFEKVLTH.js → compat-check-W4XC27RG.js} +5 -4
- package/dist/{config-U4I7X25P.js → config-264GB6C7.js} +28 -14
- package/dist/{context-CDB5H5PD.js → context-SOQDFZIB.js} +8 -6
- package/dist/{data-integration-QE37EQ3A.js → data-integration-UNJ7EPW2.js} +6 -6
- package/dist/{evaluation-LR4YDYWL.js → evaluation-Q3AIGFOG.js} +14 -159
- package/dist/index.js +98 -589
- package/dist/{local-data-upload-client-KCMG6J62.js → local-data-upload-client-YTWMAAGE.js} +1 -1
- package/dist/{memory-SNFR5M23.js → memory-ZLTTULZK.js} +9 -10
- package/dist/{metadata-6QM6EED5.js → metadata-EN2IWCDI.js} +11 -10
- package/dist/{model-KEVCEXWD.js → model-NAKQWK4W.js} +4 -5
- package/dist/{personal-semantic-preference-7VXQPP2N.js → personal-semantic-preference-UGN67KTN.js} +46 -15
- package/dist/{project-semantic-PSEPYH2L.js → project-semantic-5OP3YPZD.js} +19 -16
- package/dist/{sync-22ACDK5Z.js → sync-LDJQZRQH.js} +9 -9
- package/dist/{te-agent-BJ36B4QI.js → te-agent-WNNAD4AJ.js} +303 -17
- package/dist/{te-analysis-WQ6D6YG4.js → te-analysis-KIMH6AGU.js} +399 -205
- package/dist/{te-community-VRWMFGI6.js → te-community-P7NNBVCS.js} +17 -15
- package/dist/{te-dataops-YTLFTTW7.js → te-dataops-ZRKSG4R7.js} +13 -11
- package/dist/{te-engage-V2QW7TIC.js → te-engage-PVBVNRSU.js} +13 -12
- package/dist/{te-kb-4AQLISDR.js → te-kb-W7PRC7QN.js} +80 -20
- package/dist/{te-system-CYWSK3UN.js → te-system-F4ZU2HRQ.js} +6 -7
- package/dist/{te-team-6ELNGBWT.js → te-team-5ONMRGKF.js} +9 -8
- package/dist/{things-HFWLGCUH.js → things-PFENSIF4.js} +9 -8
- package/dist/{update-3CRVVHV5.js → update-EUZ4GNND.js} +8 -6
- package/dist/{workspace-2CKQX2XL.js → workspace-Z7L33OBQ.js} +6 -7
- package/package.json +12 -7
- package/skills/ae-agent/SKILL.md +19 -5
- package/skills/ae-agent/references/a2a.md +103 -0
- package/skills/ae-agent/references/command_index.md +11 -0
- 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 +43 -25
- package/skills/ae-analysis/references/adhoc_export.md +3 -1
- package/skills/ae-analysis/references/ai_models.md +1 -0
- package/skills/ae-analysis/references/analysis_data_retrieval.md +1 -1
- package/skills/ae-analysis/references/analysis_gateway_assets.md +2 -0
- package/skills/ae-analysis/references/asset_authentication_export.md +1 -1
- package/skills/ae-analysis/references/asset_authentication_update.md +6 -2
- 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 +44 -35
- 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_export.md +2 -2
- package/skills/ae-analysis/references/governance_recommendation_run_update.md +3 -1
- package/skills/ae-analysis/references/personal_semantic_preference_add.md +9 -1
- package/skills/ae-analysis/references/personal_semantic_preference_delete.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_get.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_list.md +10 -2
- package/skills/ae-analysis/references/personal_semantic_preference_update.md +8 -0
- 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 +8 -2
- 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_evaluation.md +17 -1
- package/skills/ae-analysis/references/scenario_list.md +7 -7
- 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 +16 -8
- 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-generate-tracking-plan/SKILL.md +5 -0
- package/skills/ae-kb/SKILL.md +8 -4
- package/skills/ae-kb/references/analysis-workflow.md +11 -2
- package/skills/ae-kb/references/publication.md +45 -0
- package/skills/ae-kb/references/query-workflow.md +3 -1
- package/skills/ae-kb/references/versions.md +1 -1
- 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
- package/dist/chunk-Y74WTIKJ.js +0 -10
|
@@ -0,0 +1,829 @@
|
|
|
1
|
+
# TE Tracking Feasibility Analyzer
|
|
2
|
+
|
|
3
|
+
Systematically evaluate how well a customer's tracking plan matches their analysis requirements, determine the feasibility of each analysis requirement in the TE system, and generate a feasibility assessment report in Excel format.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 🎯 Core Workflow
|
|
8
|
+
|
|
9
|
+
### Phase 1: Data Preparation and Parsing
|
|
10
|
+
|
|
11
|
+
#### 1.1 Receive Customer Data
|
|
12
|
+
|
|
13
|
+
The customer must provide the following data (format can be Excel spreadsheet, CSV, Markdown table, or structured text):
|
|
14
|
+
|
|
15
|
+
**Tracking plan data**:
|
|
16
|
+
- Event data table
|
|
17
|
+
- User property table
|
|
18
|
+
- Common event property table (if available)
|
|
19
|
+
|
|
20
|
+
**Analysis requirement list**:
|
|
21
|
+
The customer must provide an analysis requirement list, which can be in the following formats:
|
|
22
|
+
- Numbered list (e.g., 1. View daily new users)
|
|
23
|
+
- Categorized list (e.g., I. New user category: 1. Daily new users 2. New users by channel)
|
|
24
|
+
- Free-form description (e.g., I want to see retention, payment conversion, etc.)
|
|
25
|
+
|
|
26
|
+
#### 1.2 Data Structuring and Standardization
|
|
27
|
+
|
|
28
|
+
**Step 1: Parse the customer's tracking plan**
|
|
29
|
+
|
|
30
|
+
Convert the customer's tracking plan into an internal structure:
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"events": [
|
|
35
|
+
{
|
|
36
|
+
"name_en": "app_start_up",
|
|
37
|
+
"name_display": "Game Launch",
|
|
38
|
+
"properties": [
|
|
39
|
+
{"name_en": "start_time", "name_display": "Start Time", "type": "datetime"}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"user_properties": [
|
|
44
|
+
{"name_en": "total_payment_amount", "name_display": "Total Payment Amount", "type": "number"}
|
|
45
|
+
],
|
|
46
|
+
"common_properties": [
|
|
47
|
+
{"name_en": "device_id", "name_display": "Device ID", "type": "string"}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Step 2: Field name translation and standardization**
|
|
53
|
+
|
|
54
|
+
For tracking that only has English field names, automatically translate them into display names.
|
|
55
|
+
|
|
56
|
+
**Translation rules**:
|
|
57
|
+
- Exact match first: look up exact matches in the translation table
|
|
58
|
+
- Inference rules as supplement: infer by keyword when no match is found (e.g., contains "amount" → "Amount")
|
|
59
|
+
- Keep original: field names that cannot be inferred keep their original English names
|
|
60
|
+
|
|
61
|
+
> 📖 **Translation reference table**: see `references/te-field-translations.md`, which contains bilingual mappings for 300+ common event names and property names in the gaming industry.
|
|
62
|
+
|
|
63
|
+
**Step 3: Generate standard tracking format tables**
|
|
64
|
+
|
|
65
|
+
Convert the customer's tracking plan into the standard TE tracking format:
|
|
66
|
+
|
|
67
|
+
| Table name | Required columns | Optional columns |
|
|
68
|
+
|:-----|:-------|:-------|
|
|
69
|
+
| #Event Data | Event Name, Property Name, Property Type | Event Display Name, Property Display Name, Description |
|
|
70
|
+
| #User Data | Property Name, Property Type | Property Display Name, Description |
|
|
71
|
+
| #Common Event Properties | Property Name, Property Type | Property Display Name, Description |
|
|
72
|
+
|
|
73
|
+
> ⚠️ **Important: complete output requirement**
|
|
74
|
+
> - **You must completely convert all tracking data provided by the customer into standard format output, without omitting any event or property**
|
|
75
|
+
> - Each property of each event gets its own row; the event name can repeat
|
|
76
|
+
> - Events without properties also need one row, with the property columns left blank
|
|
77
|
+
> - User properties and common event properties also require complete output
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
### Phase 2: Per-requirement Feasibility Assessment
|
|
82
|
+
|
|
83
|
+
#### 2.0 Requirement Decomposition Rules (important)
|
|
84
|
+
|
|
85
|
+
Before starting feasibility assessment, you must first decompose the customer's analysis requirements to ensure each requirement is atomic and independently assessable.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
**✅ Cases that need decomposition**:
|
|
90
|
+
|
|
91
|
+
| Decomposition type | Description | Example |
|
|
92
|
+
|:---------|:-----|:-----|
|
|
93
|
+
| **Multiple resources/currency types** | Different resources need different events to support | "View daily diamonds and coins produced" → split into ① View daily diamonds produced ② View daily coins produced |
|
|
94
|
+
| **Multiple metric types** | Different metrics need different configurations | "View payment amount and payment count" → split into ① View payment amount ② View payment count |
|
|
95
|
+
| **Multiple analysis scenarios** | Different scenarios need different models | "View paying user LTV and retention" → split into ① View paying user LTV ② View paying user retention |
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
**❌ Cases that do NOT need decomposition**:
|
|
100
|
+
|
|
101
|
+
| Non-decomposition type | Description | Example |
|
|
102
|
+
|:-----------|:-----|:-----|
|
|
103
|
+
| **Multiple time granularities** | Same metric at different time granularities | "View new users by day, week, and month" → treat as one requirement |
|
|
104
|
+
| **Multiple time periods** | D1/D3/D7/D14/D30 etc. periods | "Per-user rewarded ad count at D1, D3, D7 after registration" → treat as one requirement |
|
|
105
|
+
| **Multiple value ranges** | Different ranges of the same metric | "Proportion of users with payment amounts in ranges $[1-5), $[5-10), $[10-20)" → treat as one requirement |
|
|
106
|
+
| **Multiple grouping dimensions** | Same metric grouped by multiple dimensions | "View new users by channel and country" → treat as one requirement |
|
|
107
|
+
| **Multiple same-type objects** | Multiple levels/products etc. | "Entry count per level" → treat as one requirement (group by level_id) |
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
**Decomposition checklist**:
|
|
112
|
+
|
|
113
|
+
1. ✅ **Multiple resource types?** (diamonds, coins, stamina, etc. → decompose)
|
|
114
|
+
2. ✅ **Multiple metric types?** (amount, count, number of users, etc. → decompose)
|
|
115
|
+
3. ✅ **Multiple analysis scenarios?** (LTV, retention, distribution, etc. → decompose)
|
|
116
|
+
4. ❌ **Multiple time granularities/periods?** (D1/D3/D7, day/week/month → do not decompose)
|
|
117
|
+
5. ❌ **Multiple value ranges?** ($[1-5), $[5-10), etc. → do not decompose)
|
|
118
|
+
6. ❌ **Multiple grouping dimensions?** (channel, country, etc. → do not decompose)
|
|
119
|
+
|
|
120
|
+
#### 2.1 Model Determination (using decision tree)
|
|
121
|
+
|
|
122
|
+
Based on the requirement description, determine the TE model to use according to the following decision tree:
|
|
123
|
+
|
|
124
|
+
**Model determination decision tree (from highest to lowest priority)**:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
Step 1: Does the user explicitly mention a model name?
|
|
128
|
+
→ User says "funnel analysis" → FUNNEL
|
|
129
|
+
→ User says "retention analysis" → RETENTION
|
|
130
|
+
→ User says "interval analysis" → INTERVAL
|
|
131
|
+
→ User says "distribution analysis" → DISTRIBUTION
|
|
132
|
+
→ User says "path analysis" → PATH
|
|
133
|
+
→ User says "composition analysis" → COMPOSITION
|
|
134
|
+
→ User says "attribution analysis" → ATTRIBUTION
|
|
135
|
+
(Explicit model names have the highest priority and are used directly)
|
|
136
|
+
|
|
137
|
+
Step 2: Contains the "interval" (time interval) keyword?
|
|
138
|
+
→ YES → INTERVAL
|
|
139
|
+
|
|
140
|
+
Step 3: Contains the "funnel" keyword, or an explicit multi-step conversion description?
|
|
141
|
+
Determine: contains "funnel", "conversion of A then B then C", or "A→B→C"
|
|
142
|
+
→ YES → If it also contains "retention" → RETENTION
|
|
143
|
+
→ Otherwise → FUNNEL
|
|
144
|
+
|
|
145
|
+
Step 4: Contains "retention" / "LTV" / "churn"?
|
|
146
|
+
→ YES → RETENTION
|
|
147
|
+
|
|
148
|
+
Step 5: Contains "ROI"?
|
|
149
|
+
→ YES → RETENTION (ROI is a derived metric of the retention model in TE)
|
|
150
|
+
|
|
151
|
+
Step 6: Contains "distribution"?
|
|
152
|
+
→ YES → Is the analysis object a static user property (level, region, age, and other inherent properties)?
|
|
153
|
+
→ YES → COMPOSITION (composition analysis)
|
|
154
|
+
→ NO → DISTRIBUTION (distribution analysis)
|
|
155
|
+
|
|
156
|
+
Step 7: Contains "TOP" / "ranking" / "which is the highest"?
|
|
157
|
+
→ YES → Is the ranking object an analysis dimension (game/channel/product, etc.)?
|
|
158
|
+
→ YES → RANK
|
|
159
|
+
→ Is the ranking object about finding specific users?
|
|
160
|
+
→ YES → OTHER
|
|
161
|
+
|
|
162
|
+
Step 8: Contains "path" / "behavior trace" / "Sankey diagram" / "what did they do"?
|
|
163
|
+
→ YES → PATH
|
|
164
|
+
|
|
165
|
+
Step 9: Contains "attribution" / "touchpoint contribution" / "channel contribution"?
|
|
166
|
+
→ YES → ATTRIBUTION
|
|
167
|
+
|
|
168
|
+
Step 10: Contains "heatmap" / "hot spot area" / "coordinate distribution"?
|
|
169
|
+
→ YES → HEATMAP
|
|
170
|
+
|
|
171
|
+
Step 11: User filtering/export/list requirement? Or prediction type? Or unclassifiable?
|
|
172
|
+
→ YES → OTHER / SQL
|
|
173
|
+
|
|
174
|
+
Step 12: None of the above matches?
|
|
175
|
+
→ EVENT (event analysis is the default model)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
**Edge cases and ambiguity resolution rules (must be strictly followed)**:
|
|
181
|
+
|
|
182
|
+
| # | Scenario | Correct determination | Reason |
|
|
183
|
+
|:---|:------|:----------|:------|
|
|
184
|
+
| 1 | "Payment rate" appears alone | event | A single calculated metric, not a multi-step conversion |
|
|
185
|
+
| 2 | "First-day payment rate" | event | Although "rate" implies conversion, it is a single metric |
|
|
186
|
+
| 3 | "Penetration rate" | funnel | Implies an A-to-B conversion process |
|
|
187
|
+
| 4 | "Payment amount trend" | event | Time-series aggregation |
|
|
188
|
+
| 5 | "Payment amount distribution" | distribution | User-level distribution |
|
|
189
|
+
| 6 | "Daily XX distribution" | distribution | "distribution" has priority over "daily" |
|
|
190
|
+
| 7 | "Users with the highest recharge" | other | Finding specific users, not a leaderboard |
|
|
191
|
+
| 8 | "Game with the highest recharge" | rank | Game is an analysis dimension |
|
|
192
|
+
| 9 | "First A then B" + no model keyword | funnel | Sequential actions imply conversion |
|
|
193
|
+
| 10 | "First A then B" + "retention" | retention | Explicit model keyword takes priority |
|
|
194
|
+
| 11 | LTV (any form) | retention | 100% rule, no exceptions |
|
|
195
|
+
| 12 | Churn (any form) | retention | Churn is the opposite of retention |
|
|
196
|
+
| 13 | ROI (any form) | retention | TE calculates ROI through the retention model |
|
|
197
|
+
| 14 | User list/filter/cluster requirement | other | Not within the scope of analysis models |
|
|
198
|
+
| 15 | Prediction-type requirement | other | TE does not support predictive analysis |
|
|
199
|
+
| 16 | "Count distribution" / "user count distribution" | distribution | Determined by the "distribution" keyword |
|
|
200
|
+
| 17 | "Daily distribution of login user count" | distribution | "distribution" > "daily" |
|
|
201
|
+
| 18 | Simply asking the user count/count of a certain event | event | The most basic event analysis |
|
|
202
|
+
|
|
203
|
+
**Core determination rules (must be followed)**:
|
|
204
|
+
- "Payment rate" alone → EVENT (single calculated metric)
|
|
205
|
+
- "Penetration rate" → FUNNEL (implies a conversion process)
|
|
206
|
+
- "Payment amount trend" → EVENT (time series)
|
|
207
|
+
- "Payment amount distribution" → DISTRIBUTION (user-level distribution)
|
|
208
|
+
- LTV/churn/ROI (any form) → RETENTION (100% rule)
|
|
209
|
+
- Need to find specific users → SQL (not a leaderboard)
|
|
210
|
+
- Prediction-type requirement → SQL (TE does not support prediction)
|
|
211
|
+
|
|
212
|
+
#### 2.2 Field Mapping and Coverage Check
|
|
213
|
+
|
|
214
|
+
**Step A: Extract the events and properties required by the requirement**
|
|
215
|
+
|
|
216
|
+
Based on the requirement semantics and the selected model, extract the required:
|
|
217
|
+
- Events (e.g., a "new users" requirement needs a register event)
|
|
218
|
+
- Event properties (e.g., a "payment amount" requirement needs a pay_amount property)
|
|
219
|
+
- User properties (e.g., a "user profile" requirement needs user properties such as VIP level)
|
|
220
|
+
- Common event properties (e.g., grouping by channel needs #channel)
|
|
221
|
+
|
|
222
|
+
**Step B: Match against the customer's tracking plan**
|
|
223
|
+
|
|
224
|
+
Match the extracted required fields against the customer's tracking plan:
|
|
225
|
+
|
|
226
|
+
1. **✅ Existing fields**: fields explicitly defined in the customer's tracking plan
|
|
227
|
+
2. **❌ Missing fields**: fields that do not exist in the customer's tracking plan
|
|
228
|
+
|
|
229
|
+
> ⚠️ **Important: field existence check**
|
|
230
|
+
> - You must verify one by one whether the required events and properties exist in the customer's tracking plan
|
|
231
|
+
> - Pay attention to distinguishing events from user properties: fields in the user property table cannot substitute for events
|
|
232
|
+
> - Example: the user property table has golden_coin (held coins), but there is no spend_coin or obtain_coin event, so the "view coin consumption/production" requirement should be determined as cannot be implemented
|
|
233
|
+
> - Common mistakes: mistaking a user property for an event, or misusing an event with a similar name (e.g., mistaking view_coin_ad for a coin production event)
|
|
234
|
+
|
|
235
|
+
#### 2.3 Feasibility Determination Rules
|
|
236
|
+
|
|
237
|
+
**Determined as "can be implemented"**:
|
|
238
|
+
- All required fields already exist in the customer's tracking plan
|
|
239
|
+
- Although the requirement logic is complex and standard models cannot support it, it can be implemented via SQL
|
|
240
|
+
|
|
241
|
+
**Determined as "partially implementable"**:
|
|
242
|
+
- Some required fields are missing, but can be implemented through alternative solutions
|
|
243
|
+
- Or the requirement can be approximately implemented by modifying the statistical basis
|
|
244
|
+
|
|
245
|
+
**Determined as "cannot be implemented"**:
|
|
246
|
+
- Core required fields are completely missing with no alternative solution
|
|
247
|
+
- The requirement exceeds the capability boundary of the selected TE model
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
### Phase 3: Generate the Excel Report
|
|
252
|
+
|
|
253
|
+
> ⚠️ **Important: must generate all 5 sheets**
|
|
254
|
+
> The Excel report must contain all of the following 5 sheets, none may be omitted:
|
|
255
|
+
> 1. TE Model Feasibility Assessment
|
|
256
|
+
> 2. Summary Statistics
|
|
257
|
+
> 3. #Event Data
|
|
258
|
+
> 4. #User Data
|
|
259
|
+
> 5. #Common Event Properties
|
|
260
|
+
|
|
261
|
+
#### 3.1 Excel File Structure
|
|
262
|
+
|
|
263
|
+
Generate an Excel file containing 5 sheets:
|
|
264
|
+
|
|
265
|
+
**Sheet 1: TE Model Feasibility Assessment**
|
|
266
|
+
|
|
267
|
+
| Column name | Description |
|
|
268
|
+
|:-----|:-----|
|
|
269
|
+
| No. | Requirement number |
|
|
270
|
+
| Requirement category | Category the requirement belongs to |
|
|
271
|
+
| Specific analysis requirement | Detailed description of the requirement |
|
|
272
|
+
| Recommended TE model | Recommended TE model |
|
|
273
|
+
| Implementable | Yes/Partially/No |
|
|
274
|
+
| ✅ Events/properties already in xlsx | Fields already in the customer's plan |
|
|
275
|
+
| ❌ Completely missing events/properties | Completely missing fields |
|
|
276
|
+
| Reason for No/Partial | Reason explanation |
|
|
277
|
+
| Alternative solution/suggestion | Specific suggestions, e.g., add XX tracking |
|
|
278
|
+
|
|
279
|
+
**Sheet 2: Summary Statistics**
|
|
280
|
+
|
|
281
|
+
Contains:
|
|
282
|
+
- I. Assessment result summary (count and proportion of Yes/Partially/No)
|
|
283
|
+
- II. Events/properties completely missing from the xlsx tracking plan
|
|
284
|
+
|
|
285
|
+
**Sheet 3: #Event Data**
|
|
286
|
+
|
|
287
|
+
Standard tracking format, including:
|
|
288
|
+
- Event Name (required)
|
|
289
|
+
- Event Display Name
|
|
290
|
+
- Event Description
|
|
291
|
+
- Property Name (required)
|
|
292
|
+
- Property Display Name
|
|
293
|
+
- Property Type (required)
|
|
294
|
+
- Property Description
|
|
295
|
+
|
|
296
|
+
**Sheet 4: #User Data**
|
|
297
|
+
|
|
298
|
+
Standard user property format, including:
|
|
299
|
+
- Property Name (required)
|
|
300
|
+
- Property Display Name
|
|
301
|
+
- Property Type (required)
|
|
302
|
+
- Property Description
|
|
303
|
+
|
|
304
|
+
**Sheet 5: #Common Event Properties**
|
|
305
|
+
|
|
306
|
+
Standard common property format, including:
|
|
307
|
+
- Property Name (required)
|
|
308
|
+
- Property Display Name
|
|
309
|
+
- Property Type (required)
|
|
310
|
+
- Property Description
|
|
311
|
+
|
|
312
|
+
#### 3.2 Implementation for Generating the Excel File
|
|
313
|
+
|
|
314
|
+
Use a Python script to generate the Excel file:
|
|
315
|
+
|
|
316
|
+
```python
|
|
317
|
+
import pandas as pd
|
|
318
|
+
from openpyxl import Workbook
|
|
319
|
+
from openpyxl.styles import Font, Alignment, PatternFill, Border, Side
|
|
320
|
+
from openpyxl.utils.dataframe import dataframe_to_rows
|
|
321
|
+
|
|
322
|
+
def generate_excel_report(results, summary, standard_tracking):
|
|
323
|
+
"""Generate the feasibility assessment report in Excel format"""
|
|
324
|
+
|
|
325
|
+
# Create the Excel writer
|
|
326
|
+
with pd.ExcelWriter('TE_Model_Feasibility_Assessment.xlsx', engine='openpyxl') as writer:
|
|
327
|
+
|
|
328
|
+
# Sheet 1: TE Model Feasibility Assessment
|
|
329
|
+
df_evaluation = pd.DataFrame(results)
|
|
330
|
+
df_evaluation.to_excel(writer, sheet_name='TE Model Feasibility Assessment', index=False)
|
|
331
|
+
|
|
332
|
+
# Sheet 2: Summary Statistics
|
|
333
|
+
wb = writer.book
|
|
334
|
+
ws_summary = wb.create_sheet('Summary Statistics')
|
|
335
|
+
# Write the summary statistics data...
|
|
336
|
+
|
|
337
|
+
# Sheet 3: #Event Data
|
|
338
|
+
df_events = pd.DataFrame(standard_tracking['events'])
|
|
339
|
+
df_events.to_excel(writer, sheet_name='#Event Data', index=False)
|
|
340
|
+
|
|
341
|
+
# Sheet 4: #User Data
|
|
342
|
+
df_users = pd.DataFrame(standard_tracking['user_properties'])
|
|
343
|
+
df_users.to_excel(writer, sheet_name='#User Data', index=False)
|
|
344
|
+
|
|
345
|
+
# Sheet 5: #Common Event Properties
|
|
346
|
+
df_common = pd.DataFrame(standard_tracking['common_properties'])
|
|
347
|
+
df_common.to_excel(writer, sheet_name='#Common Event Properties', index=False)
|
|
348
|
+
|
|
349
|
+
return 'TE_Model_Feasibility_Assessment.xlsx'
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
#### 3.3 Output Checklist
|
|
353
|
+
|
|
354
|
+
After generating the Excel report, check the following items one by one:
|
|
355
|
+
|
|
356
|
+
**Sheet completeness check**:
|
|
357
|
+
- [ ] Sheet 1: TE Model Feasibility Assessment (contains all decomposed requirements)
|
|
358
|
+
- [ ] Sheet 2: Summary Statistics (assessment result summary + missing field list)
|
|
359
|
+
- [ ] Sheet 3: #Event Data (complete standard format of all customer events)
|
|
360
|
+
- [ ] Sheet 4: #User Data (complete standard format of all customer user properties)
|
|
361
|
+
- [ ] Sheet 5: #Common Event Properties (complete standard format of all customer common properties)
|
|
362
|
+
|
|
363
|
+
**Data completeness check**:
|
|
364
|
+
- [ ] Does #Event Data include all events provided by the customer?
|
|
365
|
+
- [ ] Does #Event Data include all properties of each event?
|
|
366
|
+
- [ ] Does #User Data include all user properties provided by the customer?
|
|
367
|
+
- [ ] Does #Common Event Properties include all common properties provided by the customer?
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
## 📊 TE Analysis Model System Quick Reference
|
|
372
|
+
|
|
373
|
+
The following quick-reference table helps quickly identify the TE model a requirement should use, including each model's strong-signal keywords and typical questions.
|
|
374
|
+
|
|
375
|
+
### 1. Event Analysis (event) — default / most commonly used model
|
|
376
|
+
|
|
377
|
+
| Item | Content |
|
|
378
|
+
|:-----|:-----|
|
|
379
|
+
| **Core positioning** | Performs metric statistics and trend observation on a single behavior event; the most basic and core analysis model. When no clear signal points to another model, event analysis is used by default. |
|
|
380
|
+
| **Supported aggregation metrics** | Total count, triggering user count (DAU/MAU), per-user count, cumulative value (e.g., total revenue), maximum/minimum, distinct count, average per user, average, formula metrics |
|
|
381
|
+
| **Strong-signal keywords** | DAU, MAU, user count, count, amount, revenue, quantity, sum, total, statistics, query, calculation, trend, report, analysis board, payment rate (when appearing alone), first-day payment rate, active, new, registration, login, recharge, revenue, ARPU, ARPPU, per-user |
|
|
382
|
+
| **Typical questions** | DAU in the last 7 days / query revenue in the last 30 days / paying user count by channel / ARPU analysis / generate an analysis board of registrations, logins, and payment amount in the last 7 days |
|
|
383
|
+
|
|
384
|
+
---
|
|
385
|
+
|
|
386
|
+
### 2. Retention Analysis (retention) — second most commonly used model
|
|
387
|
+
|
|
388
|
+
| Item | Content |
|
|
389
|
+
|:-----|:-----|
|
|
390
|
+
| **Core positioning** | Analyzes the return behavior of users who completed an initial event within a subsequent time period. Quantifies user retention and churn and measures product health. Also the calculation carrier for LTV and ROI. |
|
|
391
|
+
| **Core concepts** | Initial event (the user's "starting point" behavior), return event (the user's "return" behavior), retention rate (proportion of initial users who return on day/week/month N) |
|
|
392
|
+
| **Strong-signal keywords** | retention, retention rate, LTV, lifetime value, ROI (N-day ROI / calculate ROI), churn, churn rate, churned users, churned user count, next-day retention, N-day retention, return, decay, day-2 retention, day-3 retention, day-7 retention |
|
|
393
|
+
| **⚠️ Core rule** | **LTV is always retention, churn is always retention, ROI defaults to retention (100% rule, no exceptions)** |
|
|
394
|
+
| **Typical questions** | Query this month's user retention / LTV in the last 7 days / 7-day ROI in the last 10 days / 7-day churned users / 30-day retention of paying users |
|
|
395
|
+
|
|
396
|
+
---
|
|
397
|
+
|
|
398
|
+
### 3. Funnel Analysis (funnel)
|
|
399
|
+
|
|
400
|
+
| Item | Content |
|
|
401
|
+
|:-----|:-----|
|
|
402
|
+
| **Core positioning** | Analyzes the conversion and churn at each step of a multi-step process and finds optimization directions. |
|
|
403
|
+
| **Core configuration** | Supports up to 30 steps, window period from 1 minute to 180 days, supports ordered/unordered funnels. |
|
|
404
|
+
| **Strong-signal keywords** | funnel, funnel analysis, conversion (multi-step context), first...then.../and then..., A→B→C, penetration rate, conversion rate (multi-step) |
|
|
405
|
+
| **⚠️ Key distinction** | "Payment rate" alone → event (single metric); "first-day payment rate" → event (single calculated metric); "penetration rate" → funnel (implies an A-to-B conversion process); "first A then B" + no other model keyword → funnel; "first A then B" + "retention" → retention (explicit model keyword takes priority) |
|
|
406
|
+
| **Typical questions** | Funnel conversion of login → card draw → payment / generate the registration → login → payment conversion by channel / first-day payment penetration rate of new users |
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
### 4. Interval Analysis (interval)
|
|
411
|
+
|
|
412
|
+
| Item | Content |
|
|
413
|
+
|:-----|:-----|
|
|
414
|
+
| **Core positioning** | Analyzes the time-interval distribution between two causally related events completed by users. Answers "how long it takes users to complete two things". |
|
|
415
|
+
| **Core metrics** | Median, average, percentiles (P75/P90), duration distribution |
|
|
416
|
+
| **Strong-signal keywords** | interval, interval analysis, interval time, interval distribution ("interval" is the strongest signal, nearly 100% hit) |
|
|
417
|
+
| **⚠️ Distinction from funnel** | Funnel focuses on "how many people converted"; interval analysis focuses on "how long the conversion took". |
|
|
418
|
+
| **Typical questions** | First-payment interval distribution / interval from upgrade to payment / login interval in the last month |
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
### 5. Distribution Analysis (distribution)
|
|
423
|
+
|
|
424
|
+
| Item | Content |
|
|
425
|
+
|:-----|:-----|
|
|
426
|
+
| **Core positioning** | Divides metric values into intervals and obtains the user count and proportion within each interval. Analyzes the depth of user engagement and stickiness for a specific feature. |
|
|
427
|
+
| **Distribution dimensions** | Distribution by count, distribution by days, distribution by numeric property |
|
|
428
|
+
| **Strong-signal keywords** | distribution, distribution situation, distribution analysis, user distribution ("distribution" is almost a decisive signal) |
|
|
429
|
+
| **⚠️ Distinction from event analysis** | "Payment amount trend" → event (time-series aggregation); "payment amount distribution" → distribution (user-level distribution); "daily XX distribution" → distribution ("distribution" has priority over "daily") |
|
|
430
|
+
| **Typical questions** | User login count distribution / payment amount distribution / active days distribution / payment count distribution trend |
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
### 6. Path Analysis (path)
|
|
435
|
+
|
|
436
|
+
| Item | Content |
|
|
437
|
+
|:-----|:-----|
|
|
438
|
+
| **Core positioning** | Explores user behavior traces and generates a Sankey diagram to intuitively show behavior inflow and outflow. Suitable for discovering "unexpected behavior patterns". |
|
|
439
|
+
| **Analysis directions** | Forward path (what happened after a certain event), backward path (what happened before a certain event), full path |
|
|
440
|
+
| **Strong-signal keywords** | path, path analysis, behavior trace, Sankey diagram, inflow/outflow, user path, what did they do |
|
|
441
|
+
| **Typical questions** | What users do after entering the game / behavior of churned users before leaving / behavior path before payment |
|
|
442
|
+
|
|
443
|
+
---
|
|
444
|
+
|
|
445
|
+
### 7. Composition Analysis (composition)
|
|
446
|
+
|
|
447
|
+
| Item | Content |
|
|
448
|
+
|:-----|:-----|
|
|
449
|
+
| **Core positioning** | Performs profile analysis based on user properties (rather than behavior events), supports two-dimensional cross analysis and crowd comparison. Answers "who the users are / what users look like". |
|
|
450
|
+
| **Strong-signal keywords** | composition analysis, user profile, property distribution (when the analysis object is static user properties rather than behavior metrics) |
|
|
451
|
+
| **⚠️ Distinction from distribution analysis** | **Composition analysis**: analyzes the distribution of static user properties (level, region, device type); **distribution analysis**: analyzes the distribution of behavior metrics (payment count, login count, payment amount) among users. |
|
|
452
|
+
| **Typical questions** | User region distribution / age group and device brand distribution of paying users / profile differences between VIP users and regular users |
|
|
453
|
+
|
|
454
|
+
---
|
|
455
|
+
|
|
456
|
+
### 8. Attribution Analysis (attribution)
|
|
457
|
+
|
|
458
|
+
| Item | Content |
|
|
459
|
+
|:-----|:-----|
|
|
460
|
+
| **Core positioning** | Evaluates the contribution of multiple touchpoints/channels to a conversion goal. Supports attribution models such as last-touch, first-touch, linear, position decay, and time decay. |
|
|
461
|
+
| **Strong-signal keywords** | attribution, attribution analysis, touchpoint contribution, channel contribution, contribution degree, which touchpoint, which ad slot contributes the most |
|
|
462
|
+
| **⚠️ Distinction from funnel analysis** | Funnel looks at the conversion rate of a fixed process; attribution analysis looks at the contribution of each touchpoint across multiple paths. |
|
|
463
|
+
| **Typical questions** | Which ad slot contributes the most to payment conversion / promotion channel contribution assessment / impact of multiple pop-ups on conversion |
|
|
464
|
+
|
|
465
|
+
---
|
|
466
|
+
|
|
467
|
+
### 9. Rank (rank)
|
|
468
|
+
|
|
469
|
+
| Item | Content |
|
|
470
|
+
|:-----|:-----|
|
|
471
|
+
| **Core positioning** | Ranks dimensions by metric value, displays a Top N leaderboard, and can track rank changes. |
|
|
472
|
+
| **Strong-signal keywords** | TOP, Top N, ranking, leaderboard, which is the highest (+ analysis dimension) |
|
|
473
|
+
| **⚠️ Key distinction** | "Which game has the highest recharge" → rank (the ranking object is the game, which can be a grouping dimension); "the user with the highest recharge" → other (finding a specific user requires user clustering or SQL) |
|
|
474
|
+
| **Typical questions** | Top 5 games by payment in the last 7 days / top 10 channels by revenue / top 20 servers by activity |
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
### 10. Heatmap (heatmap)
|
|
479
|
+
|
|
480
|
+
| Item | Content |
|
|
481
|
+
|:-----|:-----|
|
|
482
|
+
| **Core positioning** | Flexibly displays the heat distribution of users in each area on a game map or application interface; a gaming-industry-specific requirement. |
|
|
483
|
+
| **Strong-signal keywords** | heatmap, heat map, hot spot area, coordinate distribution, location distribution, map heat |
|
|
484
|
+
| **Typical questions** | Hot spot areas where players gather/fight/die in a game map / player distribution density across different map areas |
|
|
485
|
+
|
|
486
|
+
---
|
|
487
|
+
|
|
488
|
+
### 11. SQL Query (sql) — the universal fallback
|
|
489
|
+
|
|
490
|
+
| Item | Content |
|
|
491
|
+
|:-----|:-----|
|
|
492
|
+
| **Core positioning** | Directly queries underlying data via SQL; the "universal fallback" of the analysis system, satisfying custom requirements that the above models cannot cover. |
|
|
493
|
+
| **Applicable scenarios** | Cross-model complex calculations, special statistical bases, temporary data exploration and verification, analyses requiring JOIN of multiple tables, user filtering/export/list requirements, prediction-type requirements |
|
|
494
|
+
| **⚠️ Syntax requirements** | Must be based on Trino syntax; field names containing special symbols (such as $ or #) must use double quotes `""`, string values must use single quotes `''` |
|
|
495
|
+
| **Typical questions** | Query users with balance greater than 1000 / cross-model complex calculations / metrics requiring special statistical bases |
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
## 🔍 Field Matching Rules in Detail
|
|
500
|
+
|
|
501
|
+
### Event Matching Rules
|
|
502
|
+
|
|
503
|
+
**Exact match**:
|
|
504
|
+
- The event name in the customer's tracking plan is exactly the same as the event name required by the requirement
|
|
505
|
+
- Example: the requirement needs the "payment completed" event, and the plan has purchase_complete (payment completed) → match succeeds
|
|
506
|
+
|
|
507
|
+
**Semantic match**:
|
|
508
|
+
- Infer the event to use based on requirement semantics
|
|
509
|
+
- Example: the requirement "view active users", and the plan has app_start_up (game launch) → can serve as an active indicator
|
|
510
|
+
|
|
511
|
+
**Missing event identification**:
|
|
512
|
+
- Events required by the requirement do not exist in the customer's plan at all
|
|
513
|
+
- Example: the requirement "view coin consumption distribution", and the plan has no spend_gold_coins event → missing
|
|
514
|
+
|
|
515
|
+
---
|
|
516
|
+
|
|
517
|
+
### Property Matching Rules
|
|
518
|
+
|
|
519
|
+
**Event property match**:
|
|
520
|
+
- Check whether a specific event contains the property required by the requirement
|
|
521
|
+
- Example: the requirement "total payment amount", check whether the purchase_complete event has a pay_amount property
|
|
522
|
+
|
|
523
|
+
**User property match**:
|
|
524
|
+
- Check whether the user property table contains the user property required by the requirement
|
|
525
|
+
- Example: the requirement "group by VIP level", check whether the user property table has vip_level
|
|
526
|
+
|
|
527
|
+
**Common event property match**:
|
|
528
|
+
- Check whether the common event property table contains the common property required by the requirement
|
|
529
|
+
- Common properties can be used for filtering and grouping of all events
|
|
530
|
+
- Example: the requirement "group by channel", check whether the common property table or user property table has #channel
|
|
531
|
+
|
|
532
|
+
---
|
|
533
|
+
|
|
534
|
+
### Type Compatibility Check
|
|
535
|
+
|
|
536
|
+
Check whether the property type supports the calculation method required by the requirement:
|
|
537
|
+
|
|
538
|
+
**Numeric properties**:
|
|
539
|
+
- Supported: sum, average, average per user, median, maximum, minimum, variance, standard deviation, percentile
|
|
540
|
+
- Not supported: distinct count (can be used but semantically incorrect)
|
|
541
|
+
|
|
542
|
+
**Text properties**:
|
|
543
|
+
- Supported: distinct count, equals/not equals/contains filtering, grouping
|
|
544
|
+
- Not supported: sum, average, and other numeric calculations
|
|
545
|
+
|
|
546
|
+
**Boolean properties**:
|
|
547
|
+
- Supported: true count, false count, empty count, non-empty count, distinct count
|
|
548
|
+
- Not supported: sum, average, etc.
|
|
549
|
+
|
|
550
|
+
**Time properties**:
|
|
551
|
+
- Supported: distinct count, range/relative time filtering
|
|
552
|
+
- Not supported: sum, etc.
|
|
553
|
+
|
|
554
|
+
**Examples**:
|
|
555
|
+
- Requirement "total payment amount" → purchase_complete's pay_amount must be numeric
|
|
556
|
+
- Requirement "distinct paying users" → the purchase_complete event itself suffices, no pay_amount needed
|
|
557
|
+
- Requirement "group by channel" → #channel can be a text property or a user property
|
|
558
|
+
|
|
559
|
+
---
|
|
560
|
+
|
|
561
|
+
## ⚠️ TE Model Capability Boundary Determination
|
|
562
|
+
|
|
563
|
+
### Capability Boundaries of Each Model
|
|
564
|
+
|
|
565
|
+
**Event Analysis (event)**:
|
|
566
|
+
- ❌ Cannot support: complex window functions (such as returning-user determination), custom time-interval statistics across events
|
|
567
|
+
- ✅ Can support: aggregation statistics of a single event or formula combination, trend analysis, group comparison
|
|
568
|
+
|
|
569
|
+
**Retention Analysis (retention)**:
|
|
570
|
+
- ❌ Cannot support: hour-granularity retention, retention with custom non-standard periods
|
|
571
|
+
- ⚠️ Property constraint: when grouping, only event properties of the initial event can be used, not properties of the return event
|
|
572
|
+
- ✅ Can support: N-day/week/month retention, LTV, ROI, churn analysis
|
|
573
|
+
|
|
574
|
+
**Funnel Analysis (funnel)**:
|
|
575
|
+
- ❌ Cannot support: funnels with more than 30 steps, window periods longer than 180 days
|
|
576
|
+
- ⚠️ Property constraint: when grouping, only event properties of step 1 can be used
|
|
577
|
+
- ✅ Can support: up to 30 steps, ordered/unordered funnels, related property matching
|
|
578
|
+
|
|
579
|
+
**Interval Analysis (interval)**:
|
|
580
|
+
- ❌ Cannot support: interval upper limit exceeding 180 days
|
|
581
|
+
- ⚠️ Property constraint: when grouping, only event properties of the start event can be used
|
|
582
|
+
- ⚠️ Calculation logic: different events use the shortest interval, the same events use adjacent intervals
|
|
583
|
+
- ✅ Can support: time-interval distribution between two events
|
|
584
|
+
|
|
585
|
+
**Distribution Analysis (distribution)**:
|
|
586
|
+
- ❌ Cannot support: sum/average on text properties
|
|
587
|
+
- ⚠️ Data constraint: the data type of the aggregation property must match the calculation basis
|
|
588
|
+
- ✅ Can support: user distribution by count/days/numeric property
|
|
589
|
+
|
|
590
|
+
**Path Analysis (path)**:
|
|
591
|
+
- ❌ Cannot support: event-level filtering (selected participating events cannot have any filter conditions attached)
|
|
592
|
+
- ⚠️ Constraint: global filtering can only use user properties/user tags/user clusters, not event properties
|
|
593
|
+
- ✅ Can support: forward/backward path exploration, Sankey diagram, session segmentation
|
|
594
|
+
|
|
595
|
+
**Composition Analysis (composition)**:
|
|
596
|
+
- ❌ Absolutely prohibited: using any event or event property! Only user table data can be analyzed
|
|
597
|
+
- ⚠️ Constraint: user tags are forcibly calculated using the latest version, with no timezone concept
|
|
598
|
+
- ✅ Can support: user property distribution, two-dimensional cross analysis, crowd comparison
|
|
599
|
+
|
|
600
|
+
**Attribution Analysis (attribution)**:
|
|
601
|
+
- ❌ Constraint: the aggregation of the target event can only be "total count" or the "sum" of a numeric property
|
|
602
|
+
- ⚠️ Constraint: when grouping, the grouping objects of the target event and the attribution event are isolated
|
|
603
|
+
- ✅ Can support: multiple attribution models (first/last/linear/position decay/time decay)
|
|
604
|
+
|
|
605
|
+
**Rank (rank)**:
|
|
606
|
+
- ❌ Constraint: the event used as the ranking metric must contain the property field corresponding to the leaderboard subject
|
|
607
|
+
- ⚠️ Constraint: the three sort logics for handling ties must be accurately selected
|
|
608
|
+
- ✅ Can support: ranking by dimension, rank change tracking, additional metrics
|
|
609
|
+
|
|
610
|
+
**Heatmap (heatmap)**:
|
|
611
|
+
- ❌ Rigid dependency: the heat event must have numeric properties for X-axis and Y-axis coordinates
|
|
612
|
+
- ⚠️ Constraint: first/last filtering is a dimensionality reduction against "each user"
|
|
613
|
+
- ✅ Can support: coordinate distribution of spatial interaction events, multi-group comparison
|
|
614
|
+
|
|
615
|
+
**SQL Query (sql)**:
|
|
616
|
+
- ✅ Can support: all complex requirements that standard models cannot cover
|
|
617
|
+
- ⚠️ Note: must be based on Trino syntax; field names containing special symbols need double quotes
|
|
618
|
+
|
|
619
|
+
---
|
|
620
|
+
|
|
621
|
+
### Strict Red Lines of Each Model (pre-configuration constraints)
|
|
622
|
+
|
|
623
|
+
The following are strict red lines that must be followed when configuring each model; violations will lead to configuration failure or data errors:
|
|
624
|
+
|
|
625
|
+
**🔴 Event Analysis red lines**:
|
|
626
|
+
- The levels of filter conditions must be correctly distinguished: global filter (applies to all metrics) vs metric-level filter (applies only to the current metric) vs event-level filter (applies only to a certain event in the formula)
|
|
627
|
+
- Only events in formula metrics can use event-level filters
|
|
628
|
+
|
|
629
|
+
**🔴 Retention Analysis red lines**:
|
|
630
|
+
- Initial event and return event: must be mapped to real events (Event)
|
|
631
|
+
- **Grouping property constraint**: if grouping by event property, only event properties of the "initial event" (or common event properties / user properties) can and must be used. **Absolutely never use return-event properties for outer grouping!**
|
|
632
|
+
|
|
633
|
+
**🔴 Funnel Analysis red lines**:
|
|
634
|
+
- Multi-step event mapping: every step of the funnel must be mapped to a real event (Event)
|
|
635
|
+
- Vertical funnel of a single event: if the business requirement is "step-by-step conversion of the same behavior" (e.g., level 1 → level 2 → level 3), use the same event and apply independent event-property filters within each step
|
|
636
|
+
- **Grouping property constraint**: only event properties of "step 1" (or common event properties / user properties) can be used for grouping
|
|
637
|
+
|
|
638
|
+
**🔴 Interval Analysis red lines**:
|
|
639
|
+
- Underlying calculation mechanism: different events (A→B) use the shortest-interval principle; the same event (A→A) uses the adjacent-interval principle
|
|
640
|
+
- **Grouping property constraint**: if the grouping item selects an event property, only event properties of the "start event" can and must be used. **Absolutely never use end-event properties for global breakdown!**
|
|
641
|
+
|
|
642
|
+
**🔴 Distribution Analysis red lines**:
|
|
643
|
+
- **Data type constraint of the aggregation property**: if aggregating by event property, text properties only support "distinct count"; numeric properties support "sum/average/median/extreme values/percentiles/variance, etc." **Absolutely never apply sum or average to text properties!**
|
|
644
|
+
- Multi-level filtering: event-level filter (attached to a specific event) vs metric-level filter (attached outside the entire metric or formula) must be strictly distinguished
|
|
645
|
+
|
|
646
|
+
**🔴 Path Analysis red lines**:
|
|
647
|
+
- **Event-level filtering is absolutely prohibited**: selected participating events cannot have any filter conditions attached (e.g., you cannot look only at payment with pay_amount>0; you can only pull in the entire payment)
|
|
648
|
+
- **Dimensionality reduction of filter dimensions**: this model's global filter is called "user filter" and only accepts fields from the user table (user properties/clusters/tags). **Absolutely never use any event property (including common event properties) for filtering!**
|
|
649
|
+
|
|
650
|
+
**🔴 Composition Analysis red lines**:
|
|
651
|
+
- **Absolute forbidden zone**: **strictly forbidden to use any "event" or "event property/common event property"**! This model can only query data in the user dictionary (user properties, user tags, user clusters)
|
|
652
|
+
- Timezone and version independence: user properties have no timezone concept; user tags are forcibly calculated using the system's latest version
|
|
653
|
+
- Strong dependence on aggregation type: when analyzed as a metric, the calculation formula is strictly limited by the data type of the user property
|
|
654
|
+
|
|
655
|
+
**🔴 Attribution Analysis red lines**:
|
|
656
|
+
- **Aggregation restriction of the target event**: the conversion value can only be one of two bases: the "total count" of the event, or the "sum" of a numeric property of that event. **Absolutely never use distinct count, average, or similar logic!**
|
|
657
|
+
- Isolation mechanism of grouping objects: the grouping of the target event (breaking down the overall conversion total) vs the grouping of the attribution event (breaking down touchpoints) are isolated from each other
|
|
658
|
+
|
|
659
|
+
**🔴 Rank red lines**:
|
|
660
|
+
- **Iron law of data association**: events used as the "ranking metric" and "additional metric" must contain the property field corresponding to the selected "leaderboard subject"! Otherwise data aggregation cannot be performed
|
|
661
|
+
- SQL mapping of rank handling: must accurately map the three underlying sort logics (rank, dense_rank, row_number) according to the business's tolerance for "ties"
|
|
662
|
+
|
|
663
|
+
**🔴 Heatmap red lines**:
|
|
664
|
+
- **Rigid dependency on coordinate properties**: the selected heat event (or the users associated with that event) must have numeric properties representing the X-axis and Y-axis coordinates, **otherwise the map absolutely cannot be generated!**
|
|
665
|
+
- "Single user" principle of extreme-value/first-last filtering: first/last filtering is a dimensionality reduction against "each #user_id", ensuring each player contributes only 1 record within the selected window period
|
|
666
|
+
|
|
667
|
+
---
|
|
668
|
+
|
|
669
|
+
## 🔄 Multi-model Combination Suggestions
|
|
670
|
+
|
|
671
|
+
In practice, complex analysis scenarios often require combining multiple models. The following are common combined analysis plans:
|
|
672
|
+
|
|
673
|
+
### Example — analyzing "next-day retention rate decline"
|
|
674
|
+
|
|
675
|
+
| Step | Model used | Purpose |
|
|
676
|
+
|:-----|:---------|:-----|
|
|
677
|
+
| 1 | **Retention Analysis** | First confirm the magnitude and time point of the next-day retention rate decline |
|
|
678
|
+
| 2 | **Event Analysis** | Compare differences in key behavior metrics between retained and churned users |
|
|
679
|
+
| 3 | **Funnel Analysis** | Check whether the new-user tutorial conversion rate has declined |
|
|
680
|
+
| 4 | **Path Analysis** | Explore the behavior path of churned users before leaving |
|
|
681
|
+
| 5 | **Distribution Analysis** | View the online duration / usage count distribution of churned users |
|
|
682
|
+
|
|
683
|
+
### Example — analyzing "payment conversion optimization"
|
|
684
|
+
|
|
685
|
+
| Step | Model used | Purpose |
|
|
686
|
+
|:-----|:---------|:-----|
|
|
687
|
+
| 1 | **Funnel Analysis** | Find the step with the largest loss in the payment process |
|
|
688
|
+
| 2 | **Interval Analysis** | Understand the decision duration from browsing to payment |
|
|
689
|
+
| 3 | **Path Analysis** | Discover the typical behavior path of paying users |
|
|
690
|
+
| 4 | **Attribution Analysis** | Evaluate the contribution of different touchpoints to payment |
|
|
691
|
+
|
|
692
|
+
### Example — analyzing "user churn warning"
|
|
693
|
+
|
|
694
|
+
| Step | Model used | Purpose |
|
|
695
|
+
|:-----|:---------|:-----|
|
|
696
|
+
| 1 | **Retention Analysis** | Confirm the churn rate trend |
|
|
697
|
+
| 2 | **Composition Analysis** | Compare the profile differences between churned and retained users |
|
|
698
|
+
| 3 | **Distribution Analysis** | View the behavior frequency distribution of churned users |
|
|
699
|
+
| 4 | **Path Analysis** | Analyze the behavior characteristics of churned users before leaving |
|
|
700
|
+
| 5 | **SQL Query** | Export the churned user list for subsequent operations |
|
|
701
|
+
|
|
702
|
+
---
|
|
703
|
+
|
|
704
|
+
## 🛠️ Practical Examples
|
|
705
|
+
|
|
706
|
+
### Example Input
|
|
707
|
+
|
|
708
|
+
**Customer tracking plan** (non-standard format):
|
|
709
|
+
|
|
710
|
+
Event table:
|
|
711
|
+
- app_start_up: start_time
|
|
712
|
+
- purchase_complete: gift_id, product_id
|
|
713
|
+
- enter_level: level_id
|
|
714
|
+
|
|
715
|
+
User properties:
|
|
716
|
+
- total_payment_amount
|
|
717
|
+
- vip_level
|
|
718
|
+
- diamond
|
|
719
|
+
|
|
720
|
+
**Analysis requirement list**:
|
|
721
|
+
1. View daily new users
|
|
722
|
+
2. View daily active user count
|
|
723
|
+
3. View total payment amount
|
|
724
|
+
|
|
725
|
+
---
|
|
726
|
+
|
|
727
|
+
### Example Output
|
|
728
|
+
|
|
729
|
+
Generate the Excel file `TE_Model_Feasibility_Assessment_20240115.xlsx`, containing 5 sheets:
|
|
730
|
+
|
|
731
|
+
**Sheet 1: TE Model Feasibility Assessment**
|
|
732
|
+
|
|
733
|
+
| No. | Requirement category | Specific analysis requirement | Recommended TE model | Implementable | ✅ Events/properties already in xlsx | ❌ Completely missing events/properties | Reason for No/Partial | Alternative solution/suggestion |
|
|
734
|
+
|:---|:---|:---|:---|:---|:---|:---|:---|:---|
|
|
735
|
+
| 1 | New users | View daily new users | Event Analysis (event) | No | No directly matching event | None | No register event in xlsx | Add a register event |
|
|
736
|
+
| 2 | Active users | View daily active user count | Event Analysis (event) | Yes | app_start_up (game launch) | None | None | Event app_start_up, metric triggering user count, granularity day |
|
|
737
|
+
| 3 | Payment analysis | View total payment amount | Event Analysis (event) | No | purchase_complete (payment completed) | ❌ purchase_complete event lacks the pay_amount property | Only gift_id and product_id, no amount field | Must add a pay_amount (number) property to purchase_complete |
|
|
738
|
+
|
|
739
|
+
**Sheet 2: Summary Statistics**
|
|
740
|
+
|
|
741
|
+
I. Assessment result summary
|
|
742
|
+
|
|
743
|
+
| Assessment result | Requirement count | Proportion |
|
|
744
|
+
|:---------|:---------|:-----|
|
|
745
|
+
| Can be implemented (events/properties in xlsx fully cover) | 1 | 33.3% |
|
|
746
|
+
| Partially implementable (alternative solutions or prerequisite operations available) | 1 | 33.3% |
|
|
747
|
+
| Cannot be implemented (missing key events/properties or model limitations) | 1 | 33.3% |
|
|
748
|
+
| Total | 3 | - |
|
|
749
|
+
|
|
750
|
+
II. Events/properties completely missing from the xlsx tracking plan
|
|
751
|
+
|
|
752
|
+
| Missing item | Type | Where to add | Affected requirement numbers |
|
|
753
|
+
|:-------|:-----|:----------|:--------------|
|
|
754
|
+
| pay_amount (payment amount) | Event property (number) | purchase_complete event | #3 (1 total) |
|
|
755
|
+
|
|
756
|
+
**Sheet 3: #Event Data**
|
|
757
|
+
|
|
758
|
+
| Event Name (required) | Event Display Name | Event Description | Property Name (required) | Property Display Name | Property Type (required) | Property Description |
|
|
759
|
+
|:-------------|:----------|:---------|:--------------|:----------|:---------------|:---------|
|
|
760
|
+
| app_start_up | Game Launch | - | start_time | Start Time | Datetime | - |
|
|
761
|
+
| purchase_complete | Payment Completed | - | gift_id | Product ID | Text | - |
|
|
762
|
+
| purchase_complete | Payment Completed | - | product_id | Product ID | Text | - |
|
|
763
|
+
| enter_level | Enter Level | - | level_id | Level ID | Text | - |
|
|
764
|
+
|
|
765
|
+
**Sheet 4: #User Data**
|
|
766
|
+
|
|
767
|
+
| Property Name (required) | Property Display Name | Property Type (required) | Property Description |
|
|
768
|
+
|:-------------|:----------|:---------------|:---------|
|
|
769
|
+
| total_payment_amount | Total Payment Amount | Number | - |
|
|
770
|
+
| vip_level | VIP Level | Text | - |
|
|
771
|
+
| diamond | Held Diamonds | Number | - |
|
|
772
|
+
|
|
773
|
+
**Sheet 5: #Common Event Properties**
|
|
774
|
+
|
|
775
|
+
| Property Name (required) | Property Display Name | Property Type (required) | Property Description |
|
|
776
|
+
|:-------------|:----------|:---------------|:---------|
|
|
777
|
+
| - | - | - | - |
|
|
778
|
+
|
|
779
|
+
---
|
|
780
|
+
|
|
781
|
+
## ⚠️ Notes
|
|
782
|
+
|
|
783
|
+
### Excel Output Requirements
|
|
784
|
+
|
|
785
|
+
1. **File naming**: `TE_Model_Feasibility_Assessment_YYYYMMDD.xlsx` (e.g., `TE_Model_Feasibility_Assessment_20240115.xlsx`)
|
|
786
|
+
2. **Save location**: user's desktop (~/Desktop/)
|
|
787
|
+
3. **Format requirements**:
|
|
788
|
+
- Bold headers
|
|
789
|
+
- Auto-fit column widths
|
|
790
|
+
- Highlight key columns
|
|
791
|
+
- Auto-wrap multi-line text
|
|
792
|
+
|
|
793
|
+
### Field Translation Requirements
|
|
794
|
+
|
|
795
|
+
1. **Accuracy**: prioritize industry-standard terms
|
|
796
|
+
2. **Consistency**: the same field uses the same translation in different places
|
|
797
|
+
3. **Readability**: translated names should be concise and clear
|
|
798
|
+
4. **Keep original**: keep the English field name in parentheses
|
|
799
|
+
|
|
800
|
+
### Standard Tracking Format Requirements
|
|
801
|
+
|
|
802
|
+
1. **Event Name**: required, use an English identifier
|
|
803
|
+
2. **Event Display Name**: used for display
|
|
804
|
+
3. **Property Type**: required, options: Text/Number/Boolean/Datetime/List/Object/Object Group
|
|
805
|
+
4. **One property per row**: when an event has multiple properties, each property occupies one row; the event name does not need to be repeated
|
|
806
|
+
5. **⚠️ Completeness requirement**: must output all tracking data provided by the customer without omitting any event, property, user property, or common property. Events/properties without properties also need to be output, without filling
|
|
807
|
+
|
|
808
|
+
---
|
|
809
|
+
|
|
810
|
+
## 📚 References
|
|
811
|
+
|
|
812
|
+
This skill references the following resources:
|
|
813
|
+
- TE official documentation: analysis model capability boundaries
|
|
814
|
+
- te-model-selector.skill.md: model determination decision tree, configuration methods for each model
|
|
815
|
+
- TE preset events and properties list
|
|
816
|
+
- Practical feasibility assessment case library (Excel templates)
|
|
817
|
+
- **Field translation reference table**: `references/te-field-translations.md`
|
|
818
|
+
|
|
819
|
+
---
|
|
820
|
+
|
|
821
|
+
## 🔄 Collaboration with te-model-selector
|
|
822
|
+
|
|
823
|
+
- **te-feasibility-analyzer**: planning phase, assesses whether the tracking plan is sufficient, outputs an Excel report
|
|
824
|
+
- **te-model-selector**: implementation phase, generates detailed configuration for "can be implemented" requirements
|
|
825
|
+
|
|
826
|
+
Suggested workflow:
|
|
827
|
+
1. Use `/te-feasibility-analyzer` to assess feasibility and generate an Excel report
|
|
828
|
+
2. Supplement tracking based on the report
|
|
829
|
+
3. Use `/te-model-selector` to generate specific configuration
|