@thinkingai/ae-cli 1.0.30 → 6.0.16-1
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/dist/{auth-U25QJU5D.js → auth-DYC2BGLM.js} +2 -3
- package/dist/{auth-H3GJD55A.js → auth-GHBMJ5ZR.js} +33 -17
- package/dist/{chunk-CLJF7MQA.js → chunk-2DUEAXV3.js} +1 -1
- package/dist/{chunk-SF3KTPIC.js → chunk-5OC7CYCG.js} +2 -2
- package/dist/{chunk-SRJIAOBN.js → chunk-6W4QOZAL.js} +10 -0
- package/dist/{chunk-I42JGQ2J.js → chunk-BJX3GXWC.js} +3 -5
- package/dist/{chunk-GLNZSDKO.js → chunk-DMMEPCST.js} +4 -6
- package/dist/{chunk-VJFUB3H3.js → chunk-I5CRVM2S.js} +3 -3
- package/dist/{chunk-GSJGPNKK.js → chunk-PN3OS34E.js} +1 -1
- package/dist/{chunk-JM34JPCO.js → chunk-RSHMZ3LG.js} +178 -4
- package/dist/{client-IN42F223.js → client-2UJ63MVQ.js} +3 -4
- package/dist/{config-64G36TJL.js → config-NCUGK6NS.js} +3 -3
- package/dist/index.js +2530 -28
- package/dist/{model-VZCYNIOG.js → model-SJSOZTRS.js} +2 -2
- package/dist/{raw-WJIWC6YP.js → raw-7NVWSVJP.js} +5 -7
- package/dist/{sync-NVASAISS.js → sync-GRVO4K3U.js} +3 -3
- package/dist/{te-agent-YV4DXEXK.js → te-agent-KZRIEN4N.js} +468 -46
- package/dist/{te-analysis-CB3DA5I5.js → te-analysis-VAR4KUOK.js} +144 -29
- package/dist/{te-audience-W7SCQFC7.js → te-audience-KMKYI2YJ.js} +22 -15
- package/dist/{te-common-FBXVWBSI.js → te-common-WNCZB7R7.js} +4 -5
- package/dist/{te-community-LNVDZSGW.js → te-community-JEEFXPB3.js} +10 -11
- package/dist/{te-dataops-IPCSSWYH.js → te-dataops-GD3XBYCS.js} +11 -12
- package/dist/{te-engage-KARARMIR.js → te-engage-4XHCTS6I.js} +4 -5
- package/dist/{te-kb-2Z2CARN3.js → te-kb-B62KFP2A.js} +96 -8
- package/dist/{te-meta-PDKLMWXN.js → te-meta-EPZGQN56.js} +9 -10
- package/dist/{te-team-SW5B7DHO.js → te-team-YY24VORI.js} +6 -7
- package/dist/tracking/i18n/resources/cli/en.json +153 -0
- package/dist/tracking/i18n/resources/cli/ja.json +153 -0
- package/dist/tracking/i18n/resources/cli/ko.json +153 -0
- package/dist/tracking/i18n/resources/cli/zh.json +153 -0
- package/package.json +9 -3
- package/skills/ae-agent/SKILL.md +65 -25
- package/skills/ae-analysis/SKILL.md +108 -8
- package/skills/ae-analysis/references/cancel_query.md +39 -0
- package/skills/ae-analysis/references/drilldown_user_events.md +4 -2
- package/skills/ae-analysis/references/drilldown_users.md +4 -2
- package/skills/ae-analysis/references/get_bi_panel_detail.md +35 -0
- package/skills/ae-analysis/references/list_alerts.md +1 -1
- package/skills/ae-analysis/references/list_bi_panels.md +35 -0
- package/skills/ae-analysis/references/list_cluster_members.md +4 -1
- package/skills/ae-analysis/references/list_dashboards.md +1 -1
- package/skills/ae-analysis/references/list_entities.md +1 -1
- package/skills/ae-analysis/references/list_events.md +1 -1
- package/skills/ae-analysis/references/list_metrics.md +1 -1
- package/skills/ae-analysis/references/list_project_mark_times.md +1 -1
- package/skills/ae-analysis/references/list_properties.md +1 -1
- package/skills/ae-analysis/references/list_public_access_links.md +1 -1
- package/skills/ae-analysis/references/list_reports.md +1 -1
- package/skills/ae-analysis/references/list_tag_members.md +4 -1
- package/skills/ae-analysis/references/query_adhoc.md +6 -5
- package/skills/ae-analysis/references/query_bi_panel_data.md +58 -0
- package/skills/ae-analysis/references/query_dashboard_report_data.md +4 -1
- package/skills/ae-analysis/references/query_entity_details.md +5 -2
- package/skills/ae-analysis/references/query_event_details.md +4 -1
- package/skills/ae-analysis/references/query_report_data.md +2 -2
- package/skills/ae-analysis-global/SKILL.md +3 -1
- package/skills/ae-analysis-intent/SKILL.md +132 -0
- package/skills/ae-data-integration-helper/SKILL.md +242 -0
- package/skills/ae-data-integration-helper/references/android_sdk_faq.md +179 -0
- package/skills/ae-data-integration-helper/references/c_sdk_compilation.md +83 -0
- package/skills/ae-data-integration-helper/references/c_sdk_faq.md +416 -0
- package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +123 -0
- package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +365 -0
- package/skills/ae-data-integration-helper/references/index.md +56 -0
- package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +118 -0
- package/skills/ae-data-integration-helper/references/java_sdk_faq.md +406 -0
- package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +129 -0
- package/skills/ae-data-integration-helper/references/logbus2_guide.md +309 -0
- package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +348 -0
- package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +115 -0
- package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +118 -0
- package/skills/ae-data-integration-helper/references/python_sdk_faq.md +232 -0
- package/skills/ae-data-integration-helper/references/restful_api_notes.md +74 -0
- package/skills/ae-data-integration-helper/references/sdk_log_guide.md +316 -0
- package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +107 -0
- package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +115 -0
- package/skills/ae-generate-tracking-code/SKILL.md +629 -0
- package/skills/ae-generate-tracking-code/references/autotrack-enum.md +183 -0
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +202 -0
- package/skills/ae-generate-tracking-code/references/datax-config.md +43 -0
- package/skills/ae-generate-tracking-code/references/debug-script.md +102 -0
- package/skills/ae-generate-tracking-code/references/logbus-config.md +200 -0
- package/skills/ae-generate-tracking-code/references/modes.md +83 -0
- package/skills/ae-generate-tracking-code/references/restful-call.md +36 -0
- package/skills/ae-generate-tracking-code/references/sdk-index.md +128 -0
- package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +206 -0
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +394 -0
- package/skills/ae-generate-tracking-code/references/te-api.md +181 -0
- package/skills/ae-generate-tracking-plan/SKILL.md +1083 -0
- package/skills/ae-generate-tracking-plan/references/autotrack-events.md +273 -0
- package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +425 -0
- package/skills/ae-generate-tracking-plan/references/te-api.md +100 -0
- package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +152 -0
- package/skills/ae-kb/SKILL.md +38 -5
- package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +104 -0
- package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +117 -0
- package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +72 -0
- package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +86 -0
- package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +80 -0
- package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.md" +40 -0
- package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.xlsx +0 -0
- package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.md +40 -0
- package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.xlsx +0 -0
- package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +92 -0
- package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
- package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.md +130 -0
- package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.xlsx +0 -0
- package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +52 -0
- package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +68 -0
- package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.md +108 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.xlsx +0 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +63 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +101 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +84 -0
- package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +79 -0
- package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +105 -0
- package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +83 -0
- package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/wiki/te-docs/index.md +225 -0
- package/wiki/te-docs/raw/advanced-data-type/first-event-check.md +66 -0
- package/wiki/te-docs/raw/advanced-data-type/updated-event.md +87 -0
- package/wiki/te-docs/raw/advanced-data-type.md +16 -0
- package/wiki/te-docs/raw/data-ingestion-guide/about-gdpr.md +55 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/automatic-event-tracking.md +431 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/debugging-and-logging.md +49 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/multi-instance.md +66 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/preset-properties.md +466 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/third-party-integration.md +127 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced.md +513 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/release-notes.md +177 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android.md +228 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/c-advanced.md +419 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c.md +110 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/client-side-sdk-faq.md +52 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/cpp-advanced.md +366 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/release-notes.md +103 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp.md +201 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/compliance.md +26 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/automatically-track-events.md +117 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/preset-properties.md +52 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced.md +267 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/release-notes.md +82 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter.md +139 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/compliance.md +26 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/automatically-track-events.md +121 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/debugging-and-logging.md +54 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/preset-properties.md +18 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced.md +305 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/release-notes.md +79 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native.md +137 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/release-notes.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/automatically-track-events.md +54 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/debugging-and-logging.md +53 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/multi-instance.md +42 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/preset-properties.md +119 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/support-native.md +81 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced.md +331 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app.md +156 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform.md +12 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/multi-instance.md +21 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/preset-properties.md +249 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md +301 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/release-notes.md +51 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x.md +281 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md +70 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/debugging-and-logging.md +57 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/native-support.md +104 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/preset-properties.md +91 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance.md +374 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/compliance.md +35 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/release-notes.md +109 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator.md +170 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/compliance.md +28 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/automatic-event-tracking.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/debugging-and-logging.md +58 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/preset-properties.md +43 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced.md +204 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/release-notes.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona.md +269 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/release-notes.md +177 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/automatic-event-tracking.md +119 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/multi-instance.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/native-pluggable.md +43 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/preset-properties.md +212 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/third-party-integration.md +77 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced.md +396 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity.md +176 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/release-notes.md +81 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md +79 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/debugging-and-logging.md +31 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/preset-properties.md +25 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/third-party-integrations.md +141 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced.md +278 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal.md +190 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine.md +14 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/h5-and-app-sdk-connection.md +147 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/instant-app-and-game.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/automatic-event-tracking.md +272 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/debugging-and-logging.md +77 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/multi-instance.md +142 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/preset-properties.md +484 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/third-party-integrations.md +132 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced.md +682 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/release-notes.md +163 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios.md +304 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/compliance.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/automatic-event-tracking.md +136 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/debugging-and-logging.md +48 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/multi-instance.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/preset-properties.md +132 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced.md +462 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/release-notes.md +107 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript.md +208 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/debugging-and-logging.md +62 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/preset-properties.md +118 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced.md +556 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos.md +231 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk.md +25 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/filebeat-logstash-user-guide.md +610 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md +1215 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/ta-datax-writer-plugin-user-guide.md +278 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools.md +15 -0
- package/wiki/te-docs/raw/data-ingestion-guide/privacy-policy.md +38 -0
- package/wiki/te-docs/raw/data-ingestion-guide/restful-api-user-guide.md +155 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-FM9Cwz.md +37 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-RSyfw7.md +41 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging.md +89 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-OxzWw.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-VuE3wr.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-IauKwI.md +175 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-YAilwk.md +210 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced.md +211 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-PVazwa.md +62 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-TADbwY.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes.md +69 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-V2W3wv.md +131 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-Zf9Jwl.md +179 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c.md +189 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/debugging-and-logging.md +38 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced.md +113 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/release-notes.md +34 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang.md +155 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/debugging-and-logging.md +42 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced.md +157 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/release-notes.md +72 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang.md +148 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/debugging-and-logging.md +49 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced.md +223 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/release-notes.md +88 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java.md +174 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/debugging-and-logging.md +46 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced.md +182 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/release-notes.md +61 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua.md +121 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/debugging-and-logging.md +55 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced.md +225 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs.md +141 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/debugging-and-logging.md +41 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced.md +216 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php.md +173 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/debugging-and-logging.md +40 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced.md +206 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/release-notes.md +51 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python.md +116 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/release-notes.md +44 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced.md +189 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby.md +142 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk.md +22 -0
- package/wiki/te-docs/raw/data-ingestion-guide/thinkingdata-privacy-policy.md +37 -0
- package/wiki/te-docs/raw/data-ingestion-guide.md +48 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/data-rules.md +396 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/preset-properties-and-system-fields.md +957 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/user-identification-rules.md +723 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion.md +203 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//345/220/210/350/247/204/346/214/207/345/215/227.md +96 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//346/233/264/346/226/260/346/227/245/345/277/227.md +97 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +52 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +447 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227.md +370 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony.md +172 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//346/233/264/346/226/260/346/227/245/345/277/227.md +209 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +71 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +49 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +125 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +498 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227.md +612 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217.md +373 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//345/220/210/350/247/204/346/214/207/345/215/227.md +26 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//346/233/264/346/226/260/346/227/245/345/277/227.md +32 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +30 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +61 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227.md +236 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua.md +200 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//346/233/264/346/226/260/346/227/245/345/277/227.md +83 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +66 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +62 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +358 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227.md +615 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret.md +166 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//346/233/264/346/226/260/346/227/245/345/277/227.md +87 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +71 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +61 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +406 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227.md +597 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair.md +179 -0
- package/wiki/te-docs/schema.md +16 -0
- package/wiki/te-docs/synthesis/batch-ingest-comparison.md +324 -0
- package/wiki/te-docs/synthesis/js-sdk-cheatsheet.md +538 -0
- package/wiki/te-docs/synthesis/restful-api-reference.md +363 -0
- package/wiki/te-docs/synthesis/sdk-selection.md +372 -0
- package/wiki/te-docs/synthesis/server-sdk-overview.md +449 -0
- package/dist/chunk-U6TKB3IV.js +0 -171
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: cocos2d-x_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: SZ0iwIIzTiTSNgk5sJgcTq34nCc
|
|
5
|
+
parentWikiToken: FQF1wNXmZiaQ42kNmOicojvCnO6
|
|
6
|
+
updateTime: 1774251980000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=cocos2d-x_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
### **1. Preset Properties of All Events**
|
|
11
|
+
All Events in Cocos2d-x SDK(including auto-tracking events) would have the following preset property.
|
|
12
|
+
<quote-container>
|
|
13
|
+
The prefabricated attributes collected by each platform will have certain differences. For details, please refer to the following documents: [Android platform](https://thinkingdata.feishu.cn/wiki/MBnZwHrO0ibkd9ksCSBc7dxEnic) 、 [iOS platform](https://thinkingdata.feishu.cn/wiki/Ny61w1VIbi5Qeok94fRcJhulned)
|
|
14
|
+
</quote-container>
|
|
15
|
+
|
|
16
|
+
**Preset properties for ****Mac**** and Windows:**
|
|
17
|
+
|
|
18
|
+
<lark-table rows="13" cols="4" column-widths="169,152,140,259">
|
|
19
|
+
|
|
20
|
+
<lark-tr>
|
|
21
|
+
<lark-td>
|
|
22
|
+
Property name
|
|
23
|
+
</lark-td>
|
|
24
|
+
<lark-td>
|
|
25
|
+
Display name
|
|
26
|
+
</lark-td>
|
|
27
|
+
<lark-td>
|
|
28
|
+
Property type
|
|
29
|
+
</lark-td>
|
|
30
|
+
<lark-td>
|
|
31
|
+
Instruction
|
|
32
|
+
</lark-td>
|
|
33
|
+
</lark-tr>
|
|
34
|
+
<lark-tr>
|
|
35
|
+
<lark-td>
|
|
36
|
+
#ip
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
IP address
|
|
40
|
+
</lark-td>
|
|
41
|
+
<lark-td>
|
|
42
|
+
Text
|
|
43
|
+
</lark-td>
|
|
44
|
+
<lark-td>
|
|
45
|
+
IP address of the user, based on which TE would get the geographical location of the user
|
|
46
|
+
</lark-td>
|
|
47
|
+
</lark-tr>
|
|
48
|
+
<lark-tr>
|
|
49
|
+
<lark-td>
|
|
50
|
+
#country
|
|
51
|
+
</lark-td>
|
|
52
|
+
<lark-td>
|
|
53
|
+
Country
|
|
54
|
+
</lark-td>
|
|
55
|
+
<lark-td>
|
|
56
|
+
Text
|
|
57
|
+
</lark-td>
|
|
58
|
+
<lark-td>
|
|
59
|
+
The country where the user is located; generated based on the IP address
|
|
60
|
+
</lark-td>
|
|
61
|
+
</lark-tr>
|
|
62
|
+
<lark-tr>
|
|
63
|
+
<lark-td>
|
|
64
|
+
#country_code
|
|
65
|
+
</lark-td>
|
|
66
|
+
<lark-td>
|
|
67
|
+
Country code
|
|
68
|
+
</lark-td>
|
|
69
|
+
<lark-td>
|
|
70
|
+
Text
|
|
71
|
+
</lark-td>
|
|
72
|
+
<lark-td>
|
|
73
|
+
The code of the country where the user is located (ISO 3166-1 alpha-2, two English characters in upper case); generated based on the IP address
|
|
74
|
+
</lark-td>
|
|
75
|
+
</lark-tr>
|
|
76
|
+
<lark-tr>
|
|
77
|
+
<lark-td>
|
|
78
|
+
#province
|
|
79
|
+
</lark-td>
|
|
80
|
+
<lark-td>
|
|
81
|
+
Province
|
|
82
|
+
</lark-td>
|
|
83
|
+
<lark-td>
|
|
84
|
+
Text
|
|
85
|
+
</lark-td>
|
|
86
|
+
<lark-td>
|
|
87
|
+
The province or state where the user is located; generated based on the IP address
|
|
88
|
+
</lark-td>
|
|
89
|
+
</lark-tr>
|
|
90
|
+
<lark-tr>
|
|
91
|
+
<lark-td>
|
|
92
|
+
#city
|
|
93
|
+
</lark-td>
|
|
94
|
+
<lark-td>
|
|
95
|
+
City
|
|
96
|
+
</lark-td>
|
|
97
|
+
<lark-td>
|
|
98
|
+
Text
|
|
99
|
+
</lark-td>
|
|
100
|
+
<lark-td>
|
|
101
|
+
The city where the user is located; generated based on the IP address
|
|
102
|
+
</lark-td>
|
|
103
|
+
</lark-tr>
|
|
104
|
+
<lark-tr>
|
|
105
|
+
<lark-td>
|
|
106
|
+
#os
|
|
107
|
+
</lark-td>
|
|
108
|
+
<lark-td>
|
|
109
|
+
OS version
|
|
110
|
+
</lark-td>
|
|
111
|
+
<lark-td>
|
|
112
|
+
Text
|
|
113
|
+
</lark-td>
|
|
114
|
+
<lark-td>
|
|
115
|
+
iOS 11.2.2, Android 8.0.0, e.g.
|
|
116
|
+
</lark-td>
|
|
117
|
+
</lark-tr>
|
|
118
|
+
<lark-tr>
|
|
119
|
+
<lark-td>
|
|
120
|
+
#device_id
|
|
121
|
+
</lark-td>
|
|
122
|
+
<lark-td>
|
|
123
|
+
Device manufacturer
|
|
124
|
+
</lark-td>
|
|
125
|
+
<lark-td>
|
|
126
|
+
Text
|
|
127
|
+
</lark-td>
|
|
128
|
+
<lark-td>
|
|
129
|
+
The manufacturer of the user device, namely, Apple, Sumsung, etc.
|
|
130
|
+
</lark-td>
|
|
131
|
+
</lark-tr>
|
|
132
|
+
<lark-tr>
|
|
133
|
+
<lark-td>
|
|
134
|
+
#screen_height
|
|
135
|
+
</lark-td>
|
|
136
|
+
<lark-td>
|
|
137
|
+
OS
|
|
138
|
+
</lark-td>
|
|
139
|
+
<lark-td>
|
|
140
|
+
Text
|
|
141
|
+
</lark-td>
|
|
142
|
+
<lark-td>
|
|
143
|
+
E.g., Android, iOS, etc.
|
|
144
|
+
</lark-td>
|
|
145
|
+
</lark-tr>
|
|
146
|
+
<lark-tr>
|
|
147
|
+
<lark-td>
|
|
148
|
+
#screen_width
|
|
149
|
+
</lark-td>
|
|
150
|
+
<lark-td>
|
|
151
|
+
Screen width
|
|
152
|
+
</lark-td>
|
|
153
|
+
<lark-td>
|
|
154
|
+
Numeric value
|
|
155
|
+
</lark-td>
|
|
156
|
+
<lark-td>
|
|
157
|
+
The screen width of a device, e.g., 1080, etc.
|
|
158
|
+
</lark-td>
|
|
159
|
+
</lark-tr>
|
|
160
|
+
<lark-tr>
|
|
161
|
+
<lark-td>
|
|
162
|
+
#lib
|
|
163
|
+
</lark-td>
|
|
164
|
+
<lark-td>
|
|
165
|
+
SDK type
|
|
166
|
+
</lark-td>
|
|
167
|
+
<lark-td>
|
|
168
|
+
Text
|
|
169
|
+
</lark-td>
|
|
170
|
+
<lark-td>
|
|
171
|
+
The type of the SDK which you integrate, e.g., Android,iOS, etc.
|
|
172
|
+
</lark-td>
|
|
173
|
+
</lark-tr>
|
|
174
|
+
<lark-tr>
|
|
175
|
+
<lark-td>
|
|
176
|
+
#lib_version
|
|
177
|
+
</lark-td>
|
|
178
|
+
<lark-td>
|
|
179
|
+
SDK version
|
|
180
|
+
</lark-td>
|
|
181
|
+
<lark-td>
|
|
182
|
+
Text
|
|
183
|
+
</lark-td>
|
|
184
|
+
<lark-td>
|
|
185
|
+
The version of the SDK which you integrate
|
|
186
|
+
</lark-td>
|
|
187
|
+
</lark-tr>
|
|
188
|
+
<lark-tr>
|
|
189
|
+
<lark-td>
|
|
190
|
+
#zone_offset
|
|
191
|
+
</lark-td>
|
|
192
|
+
<lark-td>
|
|
193
|
+
Timezone offset
|
|
194
|
+
</lark-td>
|
|
195
|
+
<lark-td>
|
|
196
|
+
Numeric value
|
|
197
|
+
</lark-td>
|
|
198
|
+
<lark-td>
|
|
199
|
+
Data's offset hours when compared with UTC time
|
|
200
|
+
</lark-td>
|
|
201
|
+
</lark-tr>
|
|
202
|
+
</lark-table>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### **Getting Preset Properties**
|
|
206
|
+
When some preset properties of the APP is required for the server data tracking, this method can be invoked to get the preset properties of the App side and then send them to the server.
|
|
207
|
+
```cpp
|
|
208
|
+
//get property objects
|
|
209
|
+
PresetProperties* presetProperties = TDAnalytics::getPresetProperties();
|
|
210
|
+
|
|
211
|
+
//Preset properties of Event
|
|
212
|
+
TDJSONObject* properties = presetProperties->toEventPresetProperties();
|
|
213
|
+
/*
|
|
214
|
+
{
|
|
215
|
+
"#carrier": "T-Mobile",
|
|
216
|
+
"#os": "Android",
|
|
217
|
+
"#device_id": "abb8e87bfb5ce66c",
|
|
218
|
+
"#screen_height": 2264,
|
|
219
|
+
"#bundle_id": "com.sw.thinkingdatademo",
|
|
220
|
+
"#manufacturer": "realme",
|
|
221
|
+
"#device_model": "RMX1991",
|
|
222
|
+
"#screen_width": 1080,
|
|
223
|
+
"#system_language": "zh",
|
|
224
|
+
"#os_version": "10",
|
|
225
|
+
"#network_type": "WIFI",
|
|
226
|
+
"#zone_offset": 8,
|
|
227
|
+
"#app_version":"1.0"
|
|
228
|
+
}
|
|
229
|
+
*/
|
|
230
|
+
|
|
231
|
+
//get a certain preset properties
|
|
232
|
+
string bundleId = presetProperties->bundleId;//package name
|
|
233
|
+
string os = presetProperties->os; //os type, e.g., Android
|
|
234
|
+
string systemLanguage = presetProperties->systemLanguage; //type of mobile phone system language
|
|
235
|
+
int screenWidth = presetProperties->screenWidth; //screen width
|
|
236
|
+
int screenHeight = presetProperties->screenHeight; //screen height
|
|
237
|
+
string deviceModel = presetProperties->deviceModel; //device model
|
|
238
|
+
string deviceId = presetProperties->deviceId;//unique identifier of device
|
|
239
|
+
string carrier = presetProperties->carrier; //information about operator of the SIM card. Operation information of the primary card should be get under dual-card dual-standby mode
|
|
240
|
+
string manufacture = presetProperties->manufacturer; //mobile phone manufacturer, e.g., HuaWei
|
|
241
|
+
string networkType = presetProperties->networkType; //network type
|
|
242
|
+
string osVersion = presetProperties->osVersion; //system version number
|
|
243
|
+
string appVersion = presetProperties->appVersion; //app version number
|
|
244
|
+
double zoneOffset = presetProperties->zoneOffset; //timezone offset value
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
<quote-container>
|
|
248
|
+
IP, nation and city information are parsed and generated by the server. The client shall not provide the api to get such properties
|
|
249
|
+
</quote-container>
|
package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: cocos2d-x_sdk_advanced
|
|
3
|
+
name: "Cocos2d-x-Advanced"
|
|
4
|
+
wikiToken: FQF1wNXmZiaQ42kNmOicojvCnO6
|
|
5
|
+
parentWikiToken: D4l8wlZzuifeHUkWUXbcnUuYnM6
|
|
6
|
+
updateTime: 1774251979000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=cocos2d-x_sdk_advanced
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1**. Managing User Identity**
|
|
11
|
+
SDK instances would use random UUID as the default distinct ID of each user by default, which would be used as the identity identification ID of users under an unlogged-in state. It should be noted that the distinct ID would change after the user reinstalled the App or use the APP with a new device.
|
|
12
|
+
### **1.1. Identify**
|
|
13
|
+
::: tip
|
|
14
|
+
Generally speaking, you do not need to customize a distinct ID. Please ensure that you understand [<text underline="true">User Identification Rules</text>](https://thinkingdata.feishu.cn/wiki/Pov9wECdsi2QQsk4NN9cEPsvnyc)<text color="purple"> </text>before setting a distinct ID.
|
|
15
|
+
If you need to change the distinct ID, please call the api immediately after SDK is initialized. To avoid the generation of useless accounts, please do not call such a process multiple times.
|
|
16
|
+
:::
|
|
17
|
+
If your App has its own distinct ID management system for each user, you can call `setDistinctId` to set the distinct ID:
|
|
18
|
+
```java
|
|
19
|
+
// set distinct ID as Thinker
|
|
20
|
+
TDAnalytics::setDistinctId("Thinker");
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
If you need to get the current distinct ID, please call `getDistinctId`:
|
|
24
|
+
```java
|
|
25
|
+
//Return distinct ID
|
|
26
|
+
string distinctId = TDAnalytics::getDistinctId();
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### **1.2 Login**
|
|
30
|
+
When the users log in, `login` could be called to set the account ID of the user. TE would use the account ID as the identity identification ID, and the account ID that has been set would be saved before `logout` is called. The previous account ID would be replaced if `login` has been called multiple times.
|
|
31
|
+
```java
|
|
32
|
+
// The login unique identifier of the user, corresponding to the #account_id in data tracking. #Account_id now is TE
|
|
33
|
+
TDAnalytics::login("TE");
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
<quote-container>
|
|
37
|
+
**Login events wouldn't be uploaded in this method.**
|
|
38
|
+
</quote-container>
|
|
39
|
+
|
|
40
|
+
### **1.3 Removing Account ID**
|
|
41
|
+
After the user logs out, `logout` could be called to remove the account ID. The distinct ID would be used as the identity identification ID before the next time `login` is called.
|
|
42
|
+
```java
|
|
43
|
+
TDAnalytics::logout();
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
It is recommended that you call logout upon explicit logout event. For example, call `logout` when the user commits the behavior of canceling an account; do not call such a process when the App is closed.
|
|
47
|
+
<quote-container>
|
|
48
|
+
**Logout events wouldn't be uploaded in this method.**
|
|
49
|
+
</quote-container>
|
|
50
|
+
|
|
51
|
+
## **Sending Events**
|
|
52
|
+
After SDK is initialized, you can track user behaviour data. In general, ordinary events could meet business requirements. You can also use the first/updatable event based on your own business requirements.
|
|
53
|
+
### **2.1 Ordinary Events**
|
|
54
|
+
You can call `track` to upload events. It is suggested that you set event properties based on the data tracking plan drafted previously. Here is an example of a user buying an item:
|
|
55
|
+
```cpp
|
|
56
|
+
TDJSONObject eventProperties;
|
|
57
|
+
eventProperties.setString("product_name", "product name");
|
|
58
|
+
TDAnalytics::track("product_buy",eventProperties);
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### **2.2 First Events**
|
|
62
|
+
The First Events refers to events that would only be recorded once for the ID of a certain device or other dimensions. For example, under certain scenarios, you may want to record the activation event on a certain device. In this case, you can perform data tracking with the first event.
|
|
63
|
+
```cpp
|
|
64
|
+
TDJSONObject jsonObject;
|
|
65
|
+
jsonObject.setString("key","value");
|
|
66
|
+
TDFirstEventModel *firstEvent = new TDFirstEventModel("device_activation",jsonObject);
|
|
67
|
+
TDAnalytics::track(firstEvent);
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
If you want to judge whether an event is the First Event from other dimensions, you can define a first_check_id for the First Event:
|
|
71
|
+
```cpp
|
|
72
|
+
//set the user ID as the first_check_id of the first event to track the first initialization event of the user.
|
|
73
|
+
TDJSONObject jsonObject;
|
|
74
|
+
jsonObject.setString("key","value");
|
|
75
|
+
TDFirstEventModel *firstEvent = new TDFirstEventModel("account_activation",jsonObject);
|
|
76
|
+
firstEvent->setFirstCheckId("TE");
|
|
77
|
+
TDAnalytics::track(firstEvent);
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
<quote-container>
|
|
81
|
+
Note: Since the server has to check whether the event is the first event, the first event will be put in storage one hour later by default.
|
|
82
|
+
</quote-container>
|
|
83
|
+
|
|
84
|
+
### **2.3 Updatable Events**
|
|
85
|
+
You can meet the requirements for event data modification under specific scenarios through Updatable Events. The ID of Updatable Events should be specified and uploaded when the objects of Updatable Events are created. TE would determine the data to be updated according to the event name and event ID.
|
|
86
|
+
```cpp
|
|
87
|
+
//The event property status is 3 after reporting, with the price being 100
|
|
88
|
+
TDJSONObject jsonObject;
|
|
89
|
+
jsonObject.setNumber("status", 3);
|
|
90
|
+
jsonObject.setNumber("price", 100);
|
|
91
|
+
TDUpdatableEventModel *updatableEvent = new TDUpdatableEventModel("UPDATABLE_EVENT",jsonObject,"test_event_id");
|
|
92
|
+
TDAnalytics::track(updatableEvent);
|
|
93
|
+
|
|
94
|
+
//The event property status is 5 after reporting, with the price remaining the same
|
|
95
|
+
TDJSONObject jsonObject_new;
|
|
96
|
+
jsonObject_new.setNumber("status", 5);
|
|
97
|
+
TDUpdatableEventModel *updatableEvent = new TDUpdatableEventModel("UPDATABLE_EVENT",jsonObject_new,"test_event_id");
|
|
98
|
+
TDAnalytics::track(updatableEvent);
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### **2.4 Overwritable Events**
|
|
102
|
+
Despite the similarity with Updatable Events, Overwritable Events would replace all historical data with the latest data. Looking from the perspective of effect, such a process is equivalent to the behavior of deleting the previous data while putting the latest data in storage. TE would determine the data to be updated according to the event name and event ID.
|
|
103
|
+
```cpp
|
|
104
|
+
// Instance: Assume the event name is OVERWRITE_EVENT when reporting an overwritable event
|
|
105
|
+
//The event property status is 3 after reporting, with the price being 100 TDJSONObject jsonObject;
|
|
106
|
+
jsonObject.setNumber("status", 3);
|
|
107
|
+
jsonObject.setNumber("price", 100);
|
|
108
|
+
TDOverwritableEventModel *overWritableEvent = new TDOverwritableEventModel("OVERWRITABLE_EVENT",jsonObject,"test_event_id");
|
|
109
|
+
TDAnalytics::track(overWritableEvent);
|
|
110
|
+
|
|
111
|
+
//The event property status is 5 after reporting, with the price deleted
|
|
112
|
+
TDJSONObject jsonObject_new;
|
|
113
|
+
jsonObject_new.setNumber("status", 5);
|
|
114
|
+
TDOverwritableEventModel overWritableEvent_new = new TDOverwritableEventModel("OVERWRITABLE_EVENT",jsonObject_new,"test_event_id");
|
|
115
|
+
TDAnalytics::track(overWritableEvent_new);
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### **2.5 Super Properties**
|
|
119
|
+
Super Properties refer to properties that would be uploaded by each event. Super Properties could be divided into `static super properties` and `dynamic super properties`based on the update frequency. You can select different methods for super property setting according to business requirements; we recommend that you set Super Properties first before sending events. In the same event, when the keys of Super Properties , self-defined event properties, and preset properties are the same, we would assign value according to the following priority: `self-defined properties>dynamic super properties>static super properties>preset properties`.
|
|
120
|
+
#### **2.5.1 Static Super Properties**
|
|
121
|
+
Static Super Properties are properties that all events might have and would change with a low frequency, for example, the user membership class. After setting Static Super Properties through `setSuperProperties`, SDK would use the preset Super Properties as the event properties when tracking events.
|
|
122
|
+
```cpp
|
|
123
|
+
TDJSONObject superProperties;
|
|
124
|
+
userProperties.setNumber("level",2);
|
|
125
|
+
TDAnalytics::setSuperProperties(superProperties);
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Static Super Properties would be saved in local storage, and should not be called every time the App is closed. If such properties already exist, the reset properties would replace the original properties. If such properties do not exist, properties would be newly created. In addition to property setting, we also provide other APIs to set and manage Static Super Properties and meet general business requirements.
|
|
129
|
+
```cpp
|
|
130
|
+
//clear a certain super property
|
|
131
|
+
TDAnalytics::unsetSuperProperty("CHANNEL");
|
|
132
|
+
//clear all certain super properties
|
|
133
|
+
TDAnalytics::clearSuperProperties();
|
|
134
|
+
//get all certain super properties
|
|
135
|
+
TDAnalytics::getSuperProperties();
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
#### **2.5.2 Dynamic Super Properties**
|
|
139
|
+
Dynamic Super Properties that all events might have and would change with a high frequency, for example, the quantity of the gold coins the user possesses. After setting Dynamic Super Properties through `setDynamicSuperPropertiesTracker`, SDK would get the properties in event tracking automatically, and add such properties to the event triggered.
|
|
140
|
+
```cpp
|
|
141
|
+
//frequency update of gold coin quantity
|
|
142
|
+
int coin = 0
|
|
143
|
+
TDJSONObject dynamicProperties()
|
|
144
|
+
{
|
|
145
|
+
coin++;
|
|
146
|
+
TDJSONObject obj;
|
|
147
|
+
obj.setNumber("coin",coin);
|
|
148
|
+
return obj;
|
|
149
|
+
}
|
|
150
|
+
TDAnalytics::setDynamicSuperProperties(dynamicProperties);
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### **2.6 Timing Events**
|
|
154
|
+
If you need to record the duration of a certain event, you can call `timeEvent` . Configure the name of the event you want to record. When you upload the event, `#duration` would be added to your event property automatically to record the duration of the event (Unit: second). It should be noted that only one task can be timed with the same event name.
|
|
155
|
+
```cpp
|
|
156
|
+
//The following instance has recorded the time the user spent on a certain product page
|
|
157
|
+
//The user enters the product page and starts the timing
|
|
158
|
+
TDAnalytics::timeEvent("stay_shop");
|
|
159
|
+
// do some thing...
|
|
160
|
+
//the timing would end when the user leaves the product page. "stay_shop" event would carry#duration, a property representing event duration.
|
|
161
|
+
TDAnalytics::track("stay_shop");
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## **3. User Properties**
|
|
165
|
+
User property setting APIs supported by TE include: `userSet`, `userSetOnce`, `userAdd`, `userUnset`, `userDelete`, `userAppend`, `userUniqAppend`.
|
|
166
|
+
### 3.1 UserSet
|
|
167
|
+
You can call `userSet` to set general user properties. The original properties would be replaced if the properties uploaded via the API are used. The type of newly-created user properties must conform to that of the uploaded properties. User name setting is taken as the example here:
|
|
168
|
+
```cpp
|
|
169
|
+
//the username now is TA
|
|
170
|
+
TDJSONObject properties;
|
|
171
|
+
properties.setString("username", "TA");
|
|
172
|
+
TDAnalytics::userSet(properties);
|
|
173
|
+
//the userName now is TE
|
|
174
|
+
TDJSONObject newProperties;
|
|
175
|
+
newProperties.setString("username", "TE");
|
|
176
|
+
TDAnalytics::userSet(newProperties);
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### 3.2 UserSetOnce
|
|
180
|
+
If the user property you want to upload only needs to be set once, you can call `userSetOnce` to set the property. If such property had been set before, this message would be ignored. Let's take the setting of the first payment time as an example:
|
|
181
|
+
```cpp
|
|
182
|
+
//first_payment_time is 2018-01-01 01:23:45.678
|
|
183
|
+
TDJSONObject userProperties;
|
|
184
|
+
userProperties.setString("first_payment_time","2018-01-01 01:23:45.678");
|
|
185
|
+
TDAnalytics::userSetOnce(userProperties);
|
|
186
|
+
|
|
187
|
+
//first_payment_time is still 2018-01-01 01:23:45.678
|
|
188
|
+
TDJSONObject newUserProperties;
|
|
189
|
+
newUserProperties.setString("first_payment_time","2018-12-31 01:23:45.678");
|
|
190
|
+
TDAnalytics::userSetOnce(newUserProperties);
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### 3.3 UserAdd
|
|
194
|
+
When you want to upload numeric attributes for cumulative operation, you can call `userAdd`.
|
|
195
|
+
If the property has not been set, it would be given a value of 0 before computing. A negative value could be uploaded, which is equivalent to subtraction operation. Let's take the accumulative payment amount as an example:
|
|
196
|
+
```cpp
|
|
197
|
+
//in this case, the total_revenue is 30
|
|
198
|
+
TDJSONObject userProperties;
|
|
199
|
+
userProperties.setNumber("total_revenue",30);
|
|
200
|
+
TDAnalytics::userAdd(userProperties);
|
|
201
|
+
|
|
202
|
+
//in this case, the total_revenue is 678
|
|
203
|
+
TDJSONObject newUserProperties;
|
|
204
|
+
newUserProperties.setNumber("total_revenue",648);
|
|
205
|
+
TDAnalytics::userAdd(newUserProperties);
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
<quote-container>
|
|
209
|
+
The set attribute key is a string, and the Value is only allowed to be a numeric value.
|
|
210
|
+
</quote-container>
|
|
211
|
+
|
|
212
|
+
### 3.4 UserUnset
|
|
213
|
+
When you need to clear the user properties of users, you can call `userUnset` to clear specific properties. `userUnset` would not create properties that have not been created in the cluster.
|
|
214
|
+
```cpp
|
|
215
|
+
TDAnalytics::userUnset("coin");
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### 3.5 UserDelete
|
|
219
|
+
You can call `userDelete` to delete a user. After deleting the user, you would no longer be able to inquire about its user property, but could still query the events data triggered by the user.
|
|
220
|
+
```cpp
|
|
221
|
+
TDAnalytics::userDelete();
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
3.6 UserAppend
|
|
225
|
+
You can call `userAppend` to add user properties of array type.
|
|
226
|
+
```cpp
|
|
227
|
+
TDJSONObject userProperties;
|
|
228
|
+
vector<string> listValue;
|
|
229
|
+
listValue.push_back("apple");
|
|
230
|
+
listValue.push_back("ball");
|
|
231
|
+
userProperties.setList("user_list",listValue);
|
|
232
|
+
TDAnalytics::userAppend(userProperties);
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### 3.7 UserUniqAppend
|
|
236
|
+
Since the v2.8.0, you can call `userUniqAppend` to add user properties of array type. You can delete duplicated user property by calling `userUniqAppend` interface. If you call `userAppend` API, duplicated user property will be merged.
|
|
237
|
+
```cpp
|
|
238
|
+
// list is the value of user property user_list, JSONArray type
|
|
239
|
+
//in this case, the property value of user_list is ["apple","ball"]
|
|
240
|
+
TDJSONObject properties;
|
|
241
|
+
vector<string> dataArray;
|
|
242
|
+
dataArray.push_back("apple");
|
|
243
|
+
dataArray.push_back("ball");
|
|
244
|
+
properties.setList("user_list",dataArray);
|
|
245
|
+
TDAnalytics::userAppend(properties);
|
|
246
|
+
|
|
247
|
+
//in this case, the property value of user_list is ["apple","apple","ball","cube"]
|
|
248
|
+
TDJSONObject properties1;
|
|
249
|
+
vector<string> dataArray1;
|
|
250
|
+
dataArray1.push_back("apple");
|
|
251
|
+
dataArray1.push_back("cube");
|
|
252
|
+
properties1.setList("user_list",dataArray1);
|
|
253
|
+
TDAnalytics::userAppend(properties1);
|
|
254
|
+
|
|
255
|
+
//in this case, the property value of user_list is ["apple","ball","cube"]
|
|
256
|
+
TDAnalytics::userUniqAppend(properties1);
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
## **4. Other**
|
|
260
|
+
### **4.1 ****Device ID**
|
|
261
|
+
You can call `getDeviceId` to get the device ID:
|
|
262
|
+
```cpp
|
|
263
|
+
TDAnalytics::getDeviceId();
|
|
264
|
+
|
|
265
|
+
// TDAnalytics::setDistinctId(TDAnalytics::getDeviceId());
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### **4.2 Time Calibration**
|
|
269
|
+
SDK would use local time as the event time by default. If the user modifies the device time manually, analysis would be affected. At this time, time calibration could be performed to ensure the accuracy of event time. We provide two time calibration methods: `timestamp` and `NTP`.
|
|
270
|
+
- You can use the current timestamp got from the server to calibrate the time of SDK. Thereafter, all calling operations not assigned with a specific time would use the calibrated time as the occurrence time, including event data and user property setting.
|
|
271
|
+
```java
|
|
272
|
+
// 1585633785954 is the current unix time stamp, with the unit being millisecond; the corresponding Beijing time is 2020-03-31 13:49:45
|
|
273
|
+
TDAnalytics::calibrateTime(1585633785954);
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
- You can also set the address of NTP server, after which SDK would try to get the current time from the uploaded NTP server address and calibrate the SDK time. If you failed to get the current return results within the default timeout interval (3s), local time would be used to track data.
|
|
277
|
+
```java
|
|
278
|
+
//use the NTP service of Apple Inc for time calibration
|
|
279
|
+
TDAnalytics::calibrateTimeWithNtp("time.apple.com");
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
<quote-container>
|
|
283
|
+
1. Time calibration may fail due to unstable NTP server. It is suggested that you use a time stamp for time calibration as the priority
|
|
284
|
+
2. You should select your NTP server address carefully to ensure that the device of the user could get server time rapidly under sound network conditions
|
|
285
|
+
</quote-container>
|
|
286
|
+
|
|
287
|
+
### 4.3 Flush
|
|
288
|
+
You can call the `flush` API to report data to TE immediately .
|
|
289
|
+
```javascript
|
|
290
|
+
TDAnalytics::flush();
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### **4.4 Encryption**
|
|
295
|
+
Since v1.3.2 , Supports data encryption using AES+RSA. The data encryption function requires the cooperation of the client and the server. For specific usage methods, please consult customer success manager.
|
|
296
|
+
```cpp
|
|
297
|
+
TDConfig config1(APPID,SERVER_URL);
|
|
298
|
+
config1.setEnableEncrypt(true);
|
|
299
|
+
config1.setSecretKey(TDSecretKey(_version, _secretKey));
|
|
300
|
+
TDAnalytics::init(config1);
|
|
301
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: cocos2d-x_sdk_compliance
|
|
3
|
+
name: "Compliance"
|
|
4
|
+
wikiToken: Ce3Ow1fBGiDGeXkdk4vcZT73nrh
|
|
5
|
+
parentWikiToken: D4l8wlZzuifeHUkWUXbcnUuYnM6
|
|
6
|
+
updateTime: 1774249133000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=cocos2d-x_sdk_compliance
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1. Filling out SDK-related Contents in The Privacy Policy**
|
|
11
|
+
### **1.1 Collecting and Acquiring Data**
|
|
12
|
+
The following content is suggested to fill out in accordance with the actual conditions in the column of collecting and acquiring your personal data in the *Privacy Policy*.
|
|
13
|
+
When you activate and use the APP, we would collect information about your device (including IDFV, AndroidID, OS, device model, device manufacturer, system version, application process information, etc.) through ThinkingAnalytics-SDK to analyze the effect you achieved by using the App via statistics.
|
|
14
|
+
### **1.2 Sharing with authorized partners**
|
|
15
|
+
The following content is suggested to fill out in accordance with the actual conditions in the column of sharing with authorized partners in the *Privacy Policy*.
|
|
16
|
+
ThinkingAnalytics-SDK: collect information about your device (including IDFV, AndroidID, OS, device model, device manufacturer, system version, application process information, etc.) and your network information to perform data analysis ,so as to improve our products and services
|
|
17
|
+
## **2. ****SDK**** Compliance Steps**
|
|
18
|
+
ThinkingData SDK needs to be initialized after the user agrees with the *Privacy Policy.*
|
|
19
|
+
```csharp
|
|
20
|
+
// determine whether to enable data tracking according to the Privacy Policy
|
|
21
|
+
if (authorized) {
|
|
22
|
+
TDAnalytics::init(TA_APP_ID, TA_SERVER_URL);
|
|
23
|
+
}
|
|
24
|
+
```
|
package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/release-notes.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: cocos2d-x_sdk_release_notes
|
|
3
|
+
name: "Release Notes"
|
|
4
|
+
wikiToken: Pk7hwyDrDi4WCnk2UuMcpAR6nLf
|
|
5
|
+
parentWikiToken: D4l8wlZzuifeHUkWUXbcnUuYnM6
|
|
6
|
+
updateTime: 1774249134000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=cocos2d-x_sdk_release_notes
|
|
8
|
+
---
|
|
9
|
+
## v2.0.4
|
|
10
|
+
**Date:** 02/04/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FCocos2d-x%2Fta_cocos2dx_sdk_v2.0.4.zip)
|
|
11
|
+
**Notes:**
|
|
12
|
+
- Known issue fixed
|
|
13
|
+
## v2.0.3
|
|
14
|
+
**Date:** 02/03/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FCocos2d-x%2Fta_cocos2dx_sdk_v2.0.3.zip)
|
|
15
|
+
**Notes:**
|
|
16
|
+
- Known issue fixed
|
|
17
|
+
## v2.0.2
|
|
18
|
+
**Date:** 05/09/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FCocos2d-x%2Fta_cocos2dx_sdk_v2.0.2.zip)
|
|
19
|
+
**Notes:**
|
|
20
|
+
- Known issue fixed
|
|
21
|
+
## v2.0.1
|
|
22
|
+
**Date:** 11/23/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FCocos2d-x%2Fta_cocos2dx_sdk_v2.0.1.zip)
|
|
23
|
+
**Notes:**
|
|
24
|
+
- Optimize code
|
|
25
|
+
## v2.0.0
|
|
26
|
+
**Date:** 08/29/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FCocos2d-x%2Fta_cocos2dx_sdk_v2.0.0.zip)
|
|
27
|
+
**Notes:**
|
|
28
|
+
- Optimize code
|
|
29
|
+
## v1.3.5
|
|
30
|
+
**Date:** 07/19/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FCocos2d-x%2Fta_cocos2dx_sdk_v1.3.5.zip)
|
|
31
|
+
**Notes:**
|
|
32
|
+
- Optimize code
|
|
33
|
+
## v1.3.4
|
|
34
|
+
**Date:** 03/27/2023
|
|
35
|
+
**Notes:**
|
|
36
|
+
- Optimize code
|
|
37
|
+
## v1.3.2
|
|
38
|
+
**Date:** 10/18/2022
|
|
39
|
+
**Notes:**
|
|
40
|
+
- Added preset attributes #fps, #ram, #disk, etc.
|
|
41
|
+
- Optimize the reporting status interface
|
|
42
|
+
- Optimize code
|
|
43
|
+
## v1.2.1
|
|
44
|
+
**Date:** 03/16/2022
|
|
45
|
+
**Notes:**
|
|
46
|
+
- Support for complex data types
|
|
47
|
+
- Optimize code
|
|
48
|
+
## v1.2.0
|
|
49
|
+
**Date:** 01/04/2022
|
|
50
|
+
**Notes:**
|
|
51
|
+
- Support Mac and Windows data reporting
|