@thinkingai/ae-cli 1.0.28 → 6.0.16
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 +1 -16
- package/README.zh.md +1 -16
- package/dist/{auth-H2376DEF.js → auth-DYC2BGLM.js} +2 -2
- package/dist/{auth-5NSDQFQB.js → auth-GHBMJ5ZR.js} +31 -12
- package/dist/{chunk-CLJF7MQA.js → chunk-2DUEAXV3.js} +1 -1
- package/dist/chunk-5OC7CYCG.js +98 -0
- package/dist/{chunk-SRJIAOBN.js → chunk-6W4QOZAL.js} +10 -0
- package/dist/{chunk-LU7SXK4Q.js → chunk-BJX3GXWC.js} +2 -2
- package/dist/{chunk-WCHI7725.js → chunk-DMMEPCST.js} +47 -6
- package/dist/{chunk-IMBKVXKY.js → chunk-EGEIXA2Z.js} +82 -10
- package/dist/{chunk-AD5V3ZPJ.js → chunk-I5CRVM2S.js} +98 -10
- package/dist/chunk-NOO24N7W.js +11 -0
- package/dist/{chunk-GSJGPNKK.js → chunk-PN3OS34E.js} +1 -1
- package/dist/{chunk-CAQYQA4R.js → chunk-RSHMZ3LG.js} +15 -1
- package/dist/{client-FCMK3XEK.js → client-2UJ63MVQ.js} +3 -3
- package/dist/{config-64G36TJL.js → config-NCUGK6NS.js} +3 -3
- package/dist/index.js +2549 -29
- package/dist/{model-EZ6K7FXI.js → model-SJSOZTRS.js} +5 -7
- package/dist/{raw-VEF3D6UD.js → raw-7NVWSVJP.js} +4 -4
- package/dist/{sync-NRODEVNH.js → sync-GRVO4K3U.js} +120 -23
- package/dist/{te-agent-7U7JLJKU.js → te-agent-KZRIEN4N.js} +468 -47
- package/dist/{te-analysis-A2OSGHQ4.js → te-analysis-VAR4KUOK.js} +145 -28
- package/dist/{te-audience-LI67PPGO.js → te-audience-KMKYI2YJ.js} +23 -14
- package/dist/{te-common-35WVU3C5.js → te-common-WNCZB7R7.js} +5 -4
- package/dist/{te-community-LEAP6PWT.js → te-community-JEEFXPB3.js} +11 -10
- package/dist/{te-dataops-N2LGZBOX.js → te-dataops-GD3XBYCS.js} +33 -32
- package/dist/{te-engage-H7C72Z46.js → te-engage-4XHCTS6I.js} +5 -4
- package/dist/{te-kb-I2OKTBAI.js → te-kb-B62KFP2A.js} +97 -7
- package/dist/{te-meta-HBTIEDRO.js → te-meta-EPZGQN56.js} +10 -9
- package/dist/{te-team-EM5OWRQL.js → te-team-YY24VORI.js} +16 -12
- 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 +66 -26
- 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-KAEZTSXN.js +0 -99
- package/dist/chunk-OJDNO5QY.js +0 -63
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_compliance
|
|
3
|
+
name: "Compliance"
|
|
4
|
+
wikiToken: LQORw5r91iyT0LkBRP1cF7MTnrd
|
|
5
|
+
parentWikiToken: NaFYwOKI1iN5mgkTPQwcZY0tnRg
|
|
6
|
+
updateTime: 1774249104000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_compliance
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1****. Fill ****I****n the ****SDK**** ****R****elated ****C****ontent in the ****P****rivacy ****P****olicy**
|
|
11
|
+
### **1.1 ****Collection and Acquisition**
|
|
12
|
+
Complete the following as appropriate in the Collection and Access to Your Personal Information section of the Privacy Policy.
|
|
13
|
+
When you are active, Thinking Data collects your device information (IDFV, AndroidID, operating system, device model, device manufacturer, system version, etc.) for statistical analysis of how you use it within App.
|
|
14
|
+
### **1.2 ****Share with Authorized Partners**
|
|
15
|
+
Complete the following as appropriate in the Sharing with Authorized Partners section of the Privacy Policy.
|
|
16
|
+
Thinking Data SDK: Collect your device information (IDFV, AndroidID, operating system, device model, device manufacturer, system version, etc.) and networking information for data analysis to improve our products and services.
|
|
17
|
+
## **2****. ****SDK**** Compliance Steps**
|
|
18
|
+
ThinkingData SDK requires you to ensure that users initialize the SDK after agreeing to the Privacy Policy
|
|
19
|
+
```csharp
|
|
20
|
+
// Judging whether to open data acquisition according to privacy protocol
|
|
21
|
+
if (Authorized Privacy Policy) {
|
|
22
|
+
TDAnalytics.Init("APPID","SERVER");
|
|
23
|
+
}
|
|
24
|
+
```
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_release_note
|
|
3
|
+
name: "Release Notes"
|
|
4
|
+
wikiToken: WpZOwWClpiW2zskoq3QcJBJ2nyh
|
|
5
|
+
parentWikiToken: NaFYwOKI1iN5mgkTPQwcZY0tnRg
|
|
6
|
+
updateTime: 1779765122000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_release_note
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## v3.4.8
|
|
11
|
+
**Date:** 05/26/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.8.zip)
|
|
12
|
+
**Notes:**
|
|
13
|
+
- Fix known issues.
|
|
14
|
+
## v3.4.7
|
|
15
|
+
**Date:** 05/14/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.7.zip)
|
|
16
|
+
**Notes:**
|
|
17
|
+
- Fix known issues.
|
|
18
|
+
## v3.4.6
|
|
19
|
+
**Date:** 03/12/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.6.zip)
|
|
20
|
+
**Notes:**
|
|
21
|
+
- Fix known issues.
|
|
22
|
+
## v3.4.5
|
|
23
|
+
**Date:** 03/11/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.5.zip)
|
|
24
|
+
**Notes:**
|
|
25
|
+
- Update android plugins
|
|
26
|
+
- Update ios plugins
|
|
27
|
+
- Fix known issues.
|
|
28
|
+
## v3.4.2
|
|
29
|
+
**Date:** 12/03/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.2.zip)
|
|
30
|
+
**Notes:**
|
|
31
|
+
- Update ios plugins
|
|
32
|
+
## v3.4.1
|
|
33
|
+
**Date:** 11/24/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.1.zip)
|
|
34
|
+
**Notes:**
|
|
35
|
+
- Update ios plugins
|
|
36
|
+
## v3.4.0
|
|
37
|
+
**Date:** 11/06/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.4.0.zip)
|
|
38
|
+
**Notes:**
|
|
39
|
+
- WeChat Mini Games support show, hide, and launch functions, and collect startup parameters.
|
|
40
|
+
- Upgrade Android and iOS third-party plugins to the latest versions.
|
|
41
|
+
- Modify and make package names compatible when exporting to HarmonyOS.
|
|
42
|
+
- Fix known issues.
|
|
43
|
+
## v3.3.0
|
|
44
|
+
**Date: **06/25/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.3.0.zip)
|
|
45
|
+
**Notes:**
|
|
46
|
+
- Provide Lua layer data embedding interface
|
|
47
|
+
- Configure project information through ProjectSettings
|
|
48
|
+
- Eliminate code warnings and optimize code
|
|
49
|
+
- Fixed known issues.
|
|
50
|
+
## v3.2.2
|
|
51
|
+
**Date: **07/31/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.2.2.zip)
|
|
52
|
+
**Notes:**
|
|
53
|
+
- Fix bug
|
|
54
|
+
## v3.2.1
|
|
55
|
+
**Date: **05/09/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.2.1.zip)
|
|
56
|
+
**Notes:**
|
|
57
|
+
- Fix the issue of HarmonyOS platform packaging failure
|
|
58
|
+
## v3.2.0
|
|
59
|
+
**Date: **04/27/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.2.0.zip)
|
|
60
|
+
**Notes:**
|
|
61
|
+
- Support strategy SDK related business
|
|
62
|
+
## v3.1.4
|
|
63
|
+
**Date: **04/07/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.1.3.zip)
|
|
64
|
+
**Notes:**
|
|
65
|
+
- Fix packaging failure issue
|
|
66
|
+
## v3.1.3
|
|
67
|
+
**Date: **03/25/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.1.3.zip)
|
|
68
|
+
**Notes:**
|
|
69
|
+
- Fix packaging failure issue
|
|
70
|
+
## v3.1.2
|
|
71
|
+
**Date: **02/28/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.1.2.zip)
|
|
72
|
+
**Notes:**
|
|
73
|
+
- Fix packaging failure issue
|
|
74
|
+
## v3.1.1
|
|
75
|
+
**Date: **02/20/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.1.1.zip)
|
|
76
|
+
**Notes:**
|
|
77
|
+
- Fix bug
|
|
78
|
+
## v3.1.0.1
|
|
79
|
+
**Date: **03/14/2025** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.1.0.1.zip)
|
|
80
|
+
**Notes:**
|
|
81
|
+
- Fix bug
|
|
82
|
+
## v3.1.0
|
|
83
|
+
**Date: **11/12/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.1.0.zip)
|
|
84
|
+
**Notes:**
|
|
85
|
+
- Support OpenHarmony platform
|
|
86
|
+
## v3.0.8
|
|
87
|
+
**Date: **09/19/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.8.zip)
|
|
88
|
+
**Notes:**
|
|
89
|
+
- Update iOS SDK to 3.0.4
|
|
90
|
+
- All interactions between Unity and Android have been redesigned
|
|
91
|
+
- Provides an interface for directly reporting strings
|
|
92
|
+
## v3.0.7
|
|
93
|
+
**Date: **08/02/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.7.zip)
|
|
94
|
+
**Notes:**
|
|
95
|
+
- Fixed the issue that Android obtains device number and causes install event loss
|
|
96
|
+
- Solve the problem of Android crashing after reporting a large number of events in a short period of time
|
|
97
|
+
- Fixed the issue of Android install event being lost
|
|
98
|
+
- Fix Android time zone issue
|
|
99
|
+
## v3.0.6
|
|
100
|
+
**Date: **03/20/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.6.zip)
|
|
101
|
+
**Notes:**
|
|
102
|
+
- Fixed the issue that the Android install event caused automatic collection to fail
|
|
103
|
+
## v3.0.5
|
|
104
|
+
**Date: **03/06/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.5.zip)
|
|
105
|
+
**Notes:**
|
|
106
|
+
- Fix Decimal formatting error
|
|
107
|
+
## v3.0.4
|
|
108
|
+
**Date: **02/07/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.4.zip)
|
|
109
|
+
**Notes:**
|
|
110
|
+
- Fixed the issue where networktype defaults to wifi
|
|
111
|
+
## v3.0.3
|
|
112
|
+
**Date: **02/01/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.3.zip)
|
|
113
|
+
**Notes:**
|
|
114
|
+
- Optimize dynamic public properties
|
|
115
|
+
- Optimize date formatting
|
|
116
|
+
## v3.0.2
|
|
117
|
+
**Date: **01/16/2024** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.2.zip)
|
|
118
|
+
**Notes:**
|
|
119
|
+
- PackageManager integration method supports presets
|
|
120
|
+
- The preset networktype defaults to All
|
|
121
|
+
## v3.0.1
|
|
122
|
+
**Date:** 11/23/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.1.zip)
|
|
123
|
+
**Notes:**
|
|
124
|
+
- Optimize code
|
|
125
|
+
## v3.0.0
|
|
126
|
+
**Date:** 15/09/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v3.0.0.zip)
|
|
127
|
+
**Notes:**
|
|
128
|
+
- Optimize code
|
|
129
|
+
## v2.6.1
|
|
130
|
+
**Date:** 07/19/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUnity%2Fta_unity_sdk_v2.6.1.zip)
|
|
131
|
+
**Notes:**
|
|
132
|
+
- Optimize code
|
|
133
|
+
## v2.6.0
|
|
134
|
+
**Date:** 04/19/2023
|
|
135
|
+
**Notes:**
|
|
136
|
+
- Added support for iOS / Android native SDK pluggable
|
|
137
|
+
- Optimize code
|
|
138
|
+
## v2.5.1
|
|
139
|
+
**Date:** 11/21/2022
|
|
140
|
+
**Notes:**
|
|
141
|
+
- Added support for setting instance name
|
|
142
|
+
- Added support for getting country/region information
|
|
143
|
+
- Optimize code
|
|
144
|
+
## v2.5.0
|
|
145
|
+
**Date:** 10/20/2022
|
|
146
|
+
**Notes:**
|
|
147
|
+
- Optimize code
|
|
148
|
+
## v2.4.1
|
|
149
|
+
**Date:** 08/08/2022
|
|
150
|
+
**Notes:**
|
|
151
|
+
- Added support for Package Manager
|
|
152
|
+
- Added auto-tracking of scene loading and unloading events
|
|
153
|
+
- Optimize code
|
|
154
|
+
## v2.4.0
|
|
155
|
+
**Date:** 06/14/2022
|
|
156
|
+
**Notes:**
|
|
157
|
+
- Added support for deduplication and appending user properties
|
|
158
|
+
- Added support for auto-tracking of event callbacks
|
|
159
|
+
- Added support for iOS / Android data encryption
|
|
160
|
+
- Optimize code
|
|
161
|
+
## v2.3.1
|
|
162
|
+
**Date:** 04/21/2022
|
|
163
|
+
**Notes:**
|
|
164
|
+
- Added support for disabling preset properties
|
|
165
|
+
- Optimize code
|
|
166
|
+
## v2.3.0
|
|
167
|
+
**Date:** 02/28/2022
|
|
168
|
+
**Notes:**
|
|
169
|
+
- All platforms support caching events and batch sending
|
|
170
|
+
- Optimize code
|
|
171
|
+
## v2.2.5
|
|
172
|
+
**Date:** 01/17/2022
|
|
173
|
+
**Notes:**
|
|
174
|
+
- Added preset property #app_version
|
|
175
|
+
- Support platforms such as Switch, and release restrictions on supported platforms
|
|
176
|
+
- Simplify the initialization process and let go of the restrictions of Unity presets
|
|
177
|
+
- Optimize code
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_autotrack
|
|
3
|
+
name: "Automatic Event Tracking"
|
|
4
|
+
wikiToken: VK92wPhIqirJJAknRxLcG3fsnNe
|
|
5
|
+
parentWikiToken: A3TawLiiwiV2LZkUDTAc1YuOnmd
|
|
6
|
+
updateTime: 1774249092000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_autotrack
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1. Enable Auto-tracking
|
|
11
|
+
<callout emoji="books" background-color="light-orange" border-color="light-orange">
|
|
12
|
+
HarmonyOS currently does not support automatic collection.
|
|
13
|
+
</callout>
|
|
14
|
+
|
|
15
|
+
You can call `EnableAutoTrack` to enable the auto-tracking function:
|
|
16
|
+
```csharp
|
|
17
|
+
// auto-tracking events type
|
|
18
|
+
public enum TDAutoTrackEventType
|
|
19
|
+
{
|
|
20
|
+
None = 0,
|
|
21
|
+
AppStart = 1 << 0,
|
|
22
|
+
AppEnd = 1 << 1,
|
|
23
|
+
AppCrash = 1 << 4,
|
|
24
|
+
AppInstall = 1 << 5,
|
|
25
|
+
AppSceneLoad = 1 << 6,
|
|
26
|
+
AppSceneUnload = 1 << 7,
|
|
27
|
+
All = AppStart | AppEnd | AppInstall | AppCrash | AppSceneLoad | AppSceneUnload
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
More details about auto-tracking events:
|
|
32
|
+
- **AppStart**: Open APP, including activating APP and resuming APP from the background
|
|
33
|
+
<callout emoji="bulb" background-color="light-orange" border-color="light-orange">
|
|
34
|
+
Note: The AppStart event for WeChat mini-games has been changed to the show event, with the event name: `*ta_mg_show*`. The attribute `*start_reason*` has been added.
|
|
35
|
+
</callout>
|
|
36
|
+
|
|
37
|
+
- **AppEnd**: Close APP, including disabling the APP and calling in the background while tracking the duration of the enabling process
|
|
38
|
+
<callout emoji="bulb" background-color="light-orange" border-color="light-orange">
|
|
39
|
+
Note: The AppEnd event for WeChat mini-games has been changed to the hide event, with the event name: `*ta_mg_hide*`.
|
|
40
|
+
</callout>
|
|
41
|
+
|
|
42
|
+
- **AppCrash**: Record crash information when the APP crashes
|
|
43
|
+
- **AppInstall**: Record APP installation
|
|
44
|
+
<callout emoji="bulb" background-color="light-orange" border-color="light-orange">
|
|
45
|
+
Note: The AppInstall event for WeChat mini-games has been changed to the launch event, with the event name: `*ta_mg_launch*`. The attribute `*start_reason*` has been added.
|
|
46
|
+
</callout>
|
|
47
|
+
|
|
48
|
+
- **AppSceneLoad**: Record game scene loading
|
|
49
|
+
- **AppSceneUnload**: Record game scene unloading
|
|
50
|
+
- **All**: All types above
|
|
51
|
+
```csharp
|
|
52
|
+
// enable all auto-tracking events
|
|
53
|
+
TDAnalytics.EnableAutoTrack(TDAutoTrackEventType.All);
|
|
54
|
+
|
|
55
|
+
// enable Open and Close events
|
|
56
|
+
TDAnalytics.EnableAutoTrack(TDAutoTrackEventType.AppStart | TDAutoTrackEventType.AppEnd);
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
<quote-container>
|
|
60
|
+
Note: If you need to set a custom distinct ID or super properties, be sure to set them before enabling auto-tracking events
|
|
61
|
+
</quote-container>
|
|
62
|
+
|
|
63
|
+
About APP_CRASH, if you only want to track Objective-C and Java exceptions on iOS and Android, but not C# exceptions, you can configure disabled information by adding ta_public_config.xml in the Resources directory in v2.3.1 and above versions.
|
|
64
|
+
```xml {wrap}
|
|
65
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
66
|
+
<resources>
|
|
67
|
+
<!-- ThinkingAnalytics disable C# Exception -->
|
|
68
|
+
<bool name="DisableCSharpException">true</bool>
|
|
69
|
+
</resources>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## **2. Set the Properties of Auto-tracking Events**
|
|
73
|
+
Starting from v2.2.4, you can enable auto-tracking by calling `EnableAutoTrack` with properties that need to be tracked.
|
|
74
|
+
```csharp {wrap}
|
|
75
|
+
// enable aotu-tracking with properties
|
|
76
|
+
TDAnalytics.EnableAutoTrack(TDAutoTrackEventType.All, new Dictionary<string, object>() {
|
|
77
|
+
{"custom_key", "custom_value"}
|
|
78
|
+
});
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
You can also call `SetAutoTrackProperties` to set properties for auto-tracking events.
|
|
82
|
+
<quote-container>
|
|
83
|
+
Note: `SetAutoTrackProperties` will not enable auto-tracking, you need to call `EnableAutoTrack` at the same time.
|
|
84
|
+
</quote-container>
|
|
85
|
+
|
|
86
|
+
```csharp {wrap}
|
|
87
|
+
// set properties for a auto-tracking event
|
|
88
|
+
TDAnalytics.SetAutoTrackProperties(TDAutoTrackEventType.AppStart, new Dictionary<string, object>()
|
|
89
|
+
{
|
|
90
|
+
{"start_key", "start_value"}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// set properties for auto-tracking events
|
|
94
|
+
TDAnalytics.SetAutoTrackProperties(TDAutoTrackEventType.AppInstall | TDAutoTrackEventType.AppStart, new Dictionary<string, object>()
|
|
95
|
+
{
|
|
96
|
+
{"install_crash_key", "install_crash_value"}
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
// enable auto-tracking for all
|
|
100
|
+
TDAnalytics.EnableAutoTrack(TDAutoTrackEventType.All);
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## **3. Set Auto-tracking Event Callbacks**
|
|
104
|
+
Starting from v2.4.0, it supports setting auto-tracking event callbacks to set properties in time, or execute code when events are triggered. To set auto-tracking event callback, you need to create a new class and implement the interface `TDAutoTrackEventHandler` , and override the method `public Dictionary<string, object> GetAutoTrackEventProperties(int type, Dictionary<string, object>properties)`. The return value of this method is the properties that need to be set. Then call `EnableAutoTrack` to pass in the auto-tracking event callback object.
|
|
105
|
+
```csharp
|
|
106
|
+
// 1. implement auto-tracking callback
|
|
107
|
+
public class AutoTrackECB : TDAutoTrackEventHandler
|
|
108
|
+
{
|
|
109
|
+
public Dictionary<string, object> GetAutoTrackEventProperties(int type, Dictionary<string, object>properties)
|
|
110
|
+
{
|
|
111
|
+
return new Dictionary<string, object>()
|
|
112
|
+
{
|
|
113
|
+
{"AutoTrackEventProperty", DateTime.Today}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
// 2. enable auto-tracking, and set callback
|
|
118
|
+
TDAnalytics.EnableAutoTrack(TDAutoTrackEventType.All, new AutoTrackECB());
|
|
119
|
+
```
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_debug
|
|
3
|
+
name: "Debugging and Logging"
|
|
4
|
+
wikiToken: YbVxwlsE5iUBCTkPgfOcecDsnpb
|
|
5
|
+
parentWikiToken: A3TawLiiwiV2LZkUDTAc1YuOnmd
|
|
6
|
+
updateTime: 1774251973000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_debug
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
During the process of SDK integration, you can perform real-time debugging by checking SDK's logs in the IDE console or using the Debug feature of TE.
|
|
11
|
+
## **1. Printing Log**
|
|
12
|
+
```csharp
|
|
13
|
+
TDAnalytics.EnableLog(true);
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
<quote-container>
|
|
17
|
+
After opening the log, you can check data tracking of SDK by filtering logs related to ThinkingAnalytics in IDE.
|
|
18
|
+
</quote-container>
|
|
19
|
+
|
|
20
|
+
## **2. Debugging**
|
|
21
|
+
You need to follow the following two steps to enable the Debug mode:
|
|
22
|
+
1. Enable the debug mode at the client side
|
|
23
|
+
The sample code for enabling the Debug mode on the client side is as follows:
|
|
24
|
+
```java
|
|
25
|
+
/*
|
|
26
|
+
Set the operation mode as the Debug mode
|
|
27
|
+
NORMAL mode: the data would be saved in caches and reported according to relevant cache policies under the NORMAL mode by default. It is recommended to use the mode in an online environment
|
|
28
|
+
Debug mode: report data item by item. If problems occur, the user would be notified with logs and anomalies. It is recommended to use the Debug mode in an online environment
|
|
29
|
+
DebugOnly mode: data would be verified without being stored; it is not recommended to use the DebugOnly mode in an online environment
|
|
30
|
+
*/
|
|
31
|
+
TDConfig tdConfig = new TDConfig(appId, serverUrl);
|
|
32
|
+
tdConfig.mode = TDMode.Debug;
|
|
33
|
+
TDAnalytics.Init(tdConfig);
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
2. Add Device
|
|
37
|
+
To avoid launching the Debug mode in the production environment, it is required that only specified device can enable Debug mode. The Debug mode can only be enabled for devices whose IDs have been configured in the "Debugger"sector on the "Tracking Management" page of TE when the client side has enabled the Debug mode.
|
|
38
|
+
<image token="EXDgbiwovobbAkxQg5JcPd6Zn5f" width="2782" height="1284" align="left"/>
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
Device ID could be got by the following three means:
|
|
42
|
+
- #Device_id property in the event data of TE
|
|
43
|
+
- Client-side log: DeviceID would be outputted as log after SDK is initialized
|
|
44
|
+
- Call API:[Device ID](https://thinkingdata.feishu.cn/wiki/A3TawLiiwiV2LZkUDTAc1YuOnmd)
|
|
45
|
+
<quote-container>
|
|
46
|
+
The Debug mode may undermine the data tracking quality and stability of the App. It could only be used for data verification at the integration stage, and should not be used in the online environment.
|
|
47
|
+
</quote-container>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_multi_instance
|
|
3
|
+
name: "Multi-instance"
|
|
4
|
+
wikiToken: LZkjwczk4iA1zBkB2MVc8r3lnbh
|
|
5
|
+
parentWikiToken: A3TawLiiwiV2LZkUDTAc1YuOnmd
|
|
6
|
+
updateTime: 1774249100000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_multi_instance
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1. Create Multiple ****SDK**** Instances**
|
|
11
|
+
If you want to send data to multiple projects, you can use the multi-instance feature.
|
|
12
|
+
Multi-instance can be created by initializing the SDK with multiple settings of project information.
|
|
13
|
+
```csharp
|
|
14
|
+
//multi-instance initialization
|
|
15
|
+
TDConfig tdConfig_1 = new TDConfig(appId_1, serverUrl_2);
|
|
16
|
+
TDConfig tdConfig_2 = new TDConfig(appId_2, serverUrl_2);
|
|
17
|
+
TDConfig[] tokens = new TDConfig[2];
|
|
18
|
+
tokens[0] = tdConfig_1;
|
|
19
|
+
tokens[1] = tdConfig_2;
|
|
20
|
+
TDAnalytics.Init(tokens);
|
|
21
|
+
//multi-instance tracking
|
|
22
|
+
Dictionary<string, object> properties = new Dictionary<string, object>(){
|
|
23
|
+
{"product_name", "product name"}
|
|
24
|
+
};
|
|
25
|
+
//track event with 1st instance
|
|
26
|
+
TDAnalytics.Track("product_buy", properties, appId_1);
|
|
27
|
+
//track event with 2ed instance
|
|
28
|
+
TDAnalytics.Track("product_buy", properties, appId_2);
|
|
29
|
+
//if Track without APP ID, it will be reported with 1st instance
|
|
30
|
+
TDAnalytics.Track("product_buy", properties);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
<quote-container>
|
|
34
|
+
Distinct ID, account ID, super properties, etc. are not shared across multi-instance and need to be set for each instance.
|
|
35
|
+
</quote-container>
|
|
36
|
+
|
|
37
|
+
## **2. Create Light Instance**
|
|
38
|
+
```csharp
|
|
39
|
+
// initializing instance
|
|
40
|
+
TDAnalytics.Init("APPID", "SERVER");
|
|
41
|
+
// call CreateLightInstance to creat Lightweight Instance
|
|
42
|
+
string lightKey = TDAnalytics.LightInstance();
|
|
43
|
+
// Login/Track with lightKey
|
|
44
|
+
TDAnalytics.Login("TE2", lightKey);
|
|
45
|
+
TDAnalytics.Track("some_event", lightKey);
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
<quote-container>
|
|
49
|
+
The Light Instance has the same APP ID, server URL, and some settings as the parent instance, but other information is not shared.
|
|
50
|
+
</quote-container>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_native_pluggable
|
|
3
|
+
name: "Native Pluggable"
|
|
4
|
+
wikiToken: Q3tcwv2Z2iCbyukYA4YclS5QnOb
|
|
5
|
+
parentWikiToken: A3TawLiiwiV2LZkUDTAc1YuOnmd
|
|
6
|
+
updateTime: 1774249102000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_native_pluggable
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
::: tip Notices
|
|
11
|
+
After v2.6.0, it is supported to switch the type of code executed by the iOS/Android native platform. By default, Objective-C/Java code is executed, and C# code is executed after switching.
|
|
12
|
+
For online iOS/Android applications, after updating the version of "Execute C# code", users will lose persistent data, including Device ID, Account ID, Distinct ID, Event Super Properties, etc., and will be identified as a new user after the upgrade. Please choose carefully.
|
|
13
|
+
:::
|
|
14
|
+
# 1. Pluggable process
|
|
15
|
+
## 1.1 iOS
|
|
16
|
+
<quote-container>
|
|
17
|
+
By default, Objective-C code is executed, and C# code is executed after switching.
|
|
18
|
+
</quote-container>
|
|
19
|
+
|
|
20
|
+
- Download and uncompress [Unity SDK](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2Frelease%2Fta_unity_sdk.zip), double click to import `ta_unity_sdk.unitypackage`. On the import interface, uncheck the `Plugins/iOS` and click `Import`.
|
|
21
|
+
<image token="MBTobPxU2op5pkxOPf8cnSUYnHr" width="350" height="378" align="center"/>
|
|
22
|
+
|
|
23
|
+
<quote-container>
|
|
24
|
+
Attention: If you have imported the Unity SDK before, you need to check the files in the Plugins/iOS directory, if there are no files or directories other than "ThinkingSDK", "TAThirdParty", "ThinkingAnalytics.m", Simply delete the Plugins/iOS directory, otherwise delete the above files and directories.
|
|
25
|
+
</quote-container>
|
|
26
|
+
|
|
27
|
+
- Open `Project Settings` - `Player` - `iOS` , find `Scripting Define Symbols`, click `+` add `TE_DISABLE_IOS_OC`to list, and `Apply`
|
|
28
|
+
<image token="Kpakbc0MqoLVPtxQrCWcmG2tnUc" width="1200" height="857" align="center"/>
|
|
29
|
+
|
|
30
|
+
## 1.2 Android
|
|
31
|
+
<quote-container>
|
|
32
|
+
By default, Java code is executed, and C# code is executed after switching.
|
|
33
|
+
</quote-container>
|
|
34
|
+
|
|
35
|
+
- Download and uncompress [Unity SDK](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2Frelease%2Fta_unity_sdk.zip), double click to import `ta_unity_sdk.unitypackage`. On the import interface, uncheck the `Plugins/Adnroid` and click `Import`.
|
|
36
|
+
<image token="QmZyb9VJboa1AtxuGUDcHC6hnAg" width="350" height="378" align="center"/>
|
|
37
|
+
|
|
38
|
+
<quote-container>
|
|
39
|
+
Attention: If you have imported the Unity SDK before, you need to check the files in the Plugins/Android directory, if there are no files or directories other than "ThinkingSDK.aar", "ThinkingSDK-gameengine.aar", "ThinkingSDK-thirdparty.aar", Simply delete the Plugins/Android directory, otherwise delete the above files.
|
|
40
|
+
</quote-container>
|
|
41
|
+
|
|
42
|
+
- Open `Project Settings` - `Player` - `Android`, find `Scripting Define Symbols`, click `+` add `TE_DISABLE_ANDROID_JAVA` to list, and `Apply`
|
|
43
|
+
<image token="BcDEbIhdIopuJbxWtt5cOIz8ndb" width="1200" height="857" align="center"/>
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: unity_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: HENNwqT8uiQM4jkvOG3clcL0nHf
|
|
5
|
+
parentWikiToken: A3TawLiiwiV2LZkUDTAc1YuOnmd
|
|
6
|
+
updateTime: 1774249096000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=unity_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<quote-container>
|
|
11
|
+
Preset Properties will have differences on different platforms, for details: [Android](https%3A%2F%2Fthinkingdata.feishu.cn%2Fwiki%2FDbcOwYwnFirSPxkQzN6cKxLQnsf), [iOS](https%3A%2F%2Fthinkingdata.feishu.cn%2Fwiki%2FMBTNw8aaiiyELSkviIQcHMTTnAe).
|
|
12
|
+
</quote-container>
|
|
13
|
+
|
|
14
|
+
## **1. Preset Properties of All Events**
|
|
15
|
+
All Events in Unity SDK(including auto-tracking events) would have the following preset property.
|
|
16
|
+
<sheet token="VUh7s0LnohDumKtANzgc6Ilpnvf_VzxXgM"/>
|
|
17
|
+
|
|
18
|
+
## **2. Preset Properties of Auto-tracking Event**
|
|
19
|
+
The following preset properties are the properties set specially for each auto-tracking event
|
|
20
|
+
- Preset properties of APP end event (ta_app_end)
|
|
21
|
+
|
|
22
|
+
<lark-table rows="2" cols="4" column-widths="143,137,138,335">
|
|
23
|
+
|
|
24
|
+
<lark-tr>
|
|
25
|
+
<lark-td>
|
|
26
|
+
** Property name **
|
|
27
|
+
</lark-td>
|
|
28
|
+
<lark-td>
|
|
29
|
+
** Display name **
|
|
30
|
+
</lark-td>
|
|
31
|
+
<lark-td>
|
|
32
|
+
** Property type **
|
|
33
|
+
</lark-td>
|
|
34
|
+
<lark-td>
|
|
35
|
+
** Instruction **
|
|
36
|
+
</lark-td>
|
|
37
|
+
</lark-tr>
|
|
38
|
+
<lark-tr>
|
|
39
|
+
<lark-td>
|
|
40
|
+
#duration
|
|
41
|
+
</lark-td>
|
|
42
|
+
<lark-td>
|
|
43
|
+
Event duration
|
|
44
|
+
</lark-td>
|
|
45
|
+
<lark-td>
|
|
46
|
+
Numeric value
|
|
47
|
+
</lark-td>
|
|
48
|
+
<lark-td>
|
|
49
|
+
Indicating the duration of the APP access (Unit: second).
|
|
50
|
+
</lark-td>
|
|
51
|
+
</lark-tr>
|
|
52
|
+
</lark-table>
|
|
53
|
+
|
|
54
|
+
- Preset properties of APP crash event (ta_app_crash)
|
|
55
|
+
|
|
56
|
+
<lark-table rows="2" cols="4" column-widths="158,127,178,304">
|
|
57
|
+
|
|
58
|
+
<lark-tr>
|
|
59
|
+
<lark-td>
|
|
60
|
+
** Property name **
|
|
61
|
+
</lark-td>
|
|
62
|
+
<lark-td>
|
|
63
|
+
** Display name **
|
|
64
|
+
</lark-td>
|
|
65
|
+
<lark-td>
|
|
66
|
+
** Property type **
|
|
67
|
+
</lark-td>
|
|
68
|
+
<lark-td>
|
|
69
|
+
** Instruction **
|
|
70
|
+
</lark-td>
|
|
71
|
+
</lark-tr>
|
|
72
|
+
<lark-tr>
|
|
73
|
+
<lark-td>
|
|
74
|
+
#app_crashed_reason
|
|
75
|
+
</lark-td>
|
|
76
|
+
<lark-td>
|
|
77
|
+
Abnormal information
|
|
78
|
+
</lark-td>
|
|
79
|
+
<lark-td>
|
|
80
|
+
Text
|
|
81
|
+
</lark-td>
|
|
82
|
+
<lark-td>
|
|
83
|
+
Character string type, record the stack trace upon crash
|
|
84
|
+
</lark-td>
|
|
85
|
+
</lark-tr>
|
|
86
|
+
</lark-table>
|
|
87
|
+
|
|
88
|
+
## **3. Other Preset Properties**
|
|
89
|
+
In addition to the Preset properties above, some preset properties would only be recorded after corresponding API is called:
|
|
90
|
+
|
|
91
|
+
<lark-table rows="2" cols="4" column-widths="138,153,153,267">
|
|
92
|
+
|
|
93
|
+
<lark-tr>
|
|
94
|
+
<lark-td>
|
|
95
|
+
** Property name **
|
|
96
|
+
</lark-td>
|
|
97
|
+
<lark-td>
|
|
98
|
+
** Display name **
|
|
99
|
+
</lark-td>
|
|
100
|
+
<lark-td>
|
|
101
|
+
** Property type **
|
|
102
|
+
</lark-td>
|
|
103
|
+
<lark-td>
|
|
104
|
+
** Instruction **
|
|
105
|
+
</lark-td>
|
|
106
|
+
</lark-tr>
|
|
107
|
+
<lark-tr>
|
|
108
|
+
<lark-td>
|
|
109
|
+
#duration
|
|
110
|
+
</lark-td>
|
|
111
|
+
<lark-td>
|
|
112
|
+
Event duration
|
|
113
|
+
</lark-td>
|
|
114
|
+
<lark-td>
|
|
115
|
+
Numeric value
|
|
116
|
+
</lark-td>
|
|
117
|
+
<lark-td>
|
|
118
|
+
Timing function `TimeEvent `should be invoked to record the event duration (Unit: second)
|
|
119
|
+
</lark-td>
|
|
120
|
+
</lark-tr>
|
|
121
|
+
</lark-table>
|
|
122
|
+
|
|
123
|
+
## **4. Getting Preset Properties**
|
|
124
|
+
If you need to use the preset properties of the client SDK when tracking events on the server, then you can use `GetPresetProperties` to get these properties and upload them to the server.
|
|
125
|
+
```csharp
|
|
126
|
+
//get property objects
|
|
127
|
+
TDPresetProperties presetProperties = TDAnalytics.GetPresetProperties();
|
|
128
|
+
|
|
129
|
+
//get all preset properties
|
|
130
|
+
Dictionary<string, object> eventPresetProperties = presetProperties.ToDictionary();
|
|
131
|
+
/*
|
|
132
|
+
{
|
|
133
|
+
"#carrier": "T-Mobile",
|
|
134
|
+
"#os": "iOS",
|
|
135
|
+
"#device_id": "A8B1C00B-A6AC-4856-8538-0FBC642C1BAD",
|
|
136
|
+
"#screen_height": 2264,
|
|
137
|
+
"#bundle_id": "com.sw.thinkingdatademo",
|
|
138
|
+
"#app_version": "0.1",
|
|
139
|
+
"#manufacturer": "Apple",
|
|
140
|
+
"#device_model": "iPhone7",
|
|
141
|
+
"#screen_width": 1080,
|
|
142
|
+
"#system_language": "zh",
|
|
143
|
+
"#os_version": "10",
|
|
144
|
+
"#network_type": "WIFI",
|
|
145
|
+
"#zone_offset": 8,
|
|
146
|
+
"#app_version":"1.0.0"
|
|
147
|
+
}
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
//get a preset properties
|
|
151
|
+
string bundleId = presetProperties.BundleId;//package name
|
|
152
|
+
string os = presetProperties.OS;//os type, e.g. Android, iOS
|
|
153
|
+
string systemLanguage = presetProperties.SystemLanguage;//type of mobile phone system language
|
|
154
|
+
int screenWidth = presetProperties.ScreenWidth;//screen width
|
|
155
|
+
int screenHeight = presetProperties.ScreenHeight;//screen height
|
|
156
|
+
string deviceModel = presetProperties.DeviceModel;//device model
|
|
157
|
+
string deviceId = presetProperties.DeviceId;//unique identifier of device
|
|
158
|
+
string carrier = presetProperties.Carrier;//information about operator of the SIM card. Operation information of the primary card should be got under dual-card dual-standby mode
|
|
159
|
+
string manufacture = presetProperties.Manufacturer;//device manufacturer, e.g. HuaWei
|
|
160
|
+
string networkType = presetProperties.NetworkType;//network type
|
|
161
|
+
string osVersion = presetProperties.OSVersion;//system version number
|
|
162
|
+
double zoneOffset = presetProperties.ZoneOffset;//timezone offset value
|
|
163
|
+
string appVersion = presetProperties.appVersion;//APP version
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
<quote-container>
|
|
167
|
+
IP, nation and city information are parsed and generated by the server. The client shall not provide the interface to get such properties
|
|
168
|
+
</quote-container>
|
|
169
|
+
|
|
170
|
+
## **5. Disable Preset Property Tracking**
|
|
171
|
+
If you want to forbid tracking certain preset properties to ensure compliance and meet actual business requirements, you can add `ta_public_config.xml` under the `Resources` catalog of the engineering catalog, which would be used to configure the property array that is not allowed to be tracked.
|
|
172
|
+
```xml
|
|
173
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
174
|
+
<resources>
|
|
175
|
+
<!-- ThinkingAnalytics DisablePresetProperties start -->
|
|
176
|
+
<string-array name="TDDisPresetProperties">
|
|
177
|
+
<item>#disk</item>
|
|
178
|
+
<item>#fps</item>
|
|
179
|
+
<item>#ram</item>
|
|
180
|
+
<!-- <item>#app_version</item> -->
|
|
181
|
+
<!-- <item>#os_version</item> -->
|
|
182
|
+
<!-- <item>#manufacturer</item> -->
|
|
183
|
+
<!-- <item>#device_model</item> -->
|
|
184
|
+
<!-- <item>#screen_height</item> -->
|
|
185
|
+
<!-- <item>#screen_width</item> -->
|
|
186
|
+
<!-- <item>#carrier</item> -->
|
|
187
|
+
<!-- <item>#device_id</item> -->
|
|
188
|
+
<!-- <item>#system_language</item> -->
|
|
189
|
+
<!-- <item>#lib</item> -->
|
|
190
|
+
<!-- <item>#lib_version</item> -->
|
|
191
|
+
<!-- <item>#os</item> -->
|
|
192
|
+
<!-- <item>#bundle_id</item> -->
|
|
193
|
+
<!-- <item>#install_time</item> -->
|
|
194
|
+
<!-- <item>#start_reason</item> -->
|
|
195
|
+
<!-- <item>#simulator</item> -->
|
|
196
|
+
<!-- <item>#network_type</item> -->
|
|
197
|
+
<!-- <item>#start_reason</item> -->
|
|
198
|
+
<!-- <item>#resume_from_background</item> -->
|
|
199
|
+
<!-- <item>#title</item> -->
|
|
200
|
+
<!-- <item>#screen_name</item> -->
|
|
201
|
+
<!-- <item>#url</item> -->
|
|
202
|
+
<!-- <item>#referrer</item> -->
|
|
203
|
+
<!-- <item>#element_type</item> -->
|
|
204
|
+
<!-- <item>#element_id</item> -->
|
|
205
|
+
<!-- <item>#element_position</item> -->
|
|
206
|
+
<!-- <item>#element_content</item> -->
|
|
207
|
+
<!-- <item>#element_selector</item> -->
|
|
208
|
+
<!-- <item>#app_crashed_reason</item> -->
|
|
209
|
+
</string-array>
|
|
210
|
+
<!-- ThinkingAnalytics DisablePresetProperties end -->
|
|
211
|
+
</resources>
|
|
212
|
+
```
|