@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
package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/multi-instance.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: android_sdk_multi_instance
|
|
3
|
+
name: "Multi-Instance"
|
|
4
|
+
wikiToken: DznuwjigciH7BYkYzhScNVnknwc
|
|
5
|
+
parentWikiToken: LqfmwtW1xi0jzwkrKpscKEzFnme
|
|
6
|
+
updateTime: 1774249048000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=android_sdk_multi_instance
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1. Introduction of Multi-instance**
|
|
11
|
+
We support the feature of multiple Appid to create SDK instances, which we call Multi-instances for short. With the multi-instance function, you can report data to different projects.
|
|
12
|
+
## **2. How to Create Multiple ****SDK**** Instances**
|
|
13
|
+
Multiple SDK instances can be created by uploading different APP IDs to complete SDK initialization
|
|
14
|
+
```java
|
|
15
|
+
// initialize SDK
|
|
16
|
+
TDAnalytics.init(this, TA_APP_ID, TA_SERVER_URL);
|
|
17
|
+
TDAnalyticsAPI.track("some_event",properties, TA_APP_ID);
|
|
18
|
+
|
|
19
|
+
TDAnalytics.init(this, ANOTHER_TA_APP_ID, TA_SERVER_URL);
|
|
20
|
+
TDAnalyticsAPI.track("some_event",properties, ANOTHER_TA_APP_ID)
|
|
21
|
+
|
|
22
|
+
TDAnalytics.init(this, TA_APP_ID, TA_SERVER_URL, NAME);
|
|
23
|
+
TDAnalyticsAPI.track("some_event",properties, NAME);
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
It should be noted that the Appid of multiple SDK instances must be different. Most data between multiple instances is not the same. For detailed information, please refer to section "Data and Setting Sharing between Multiple Instances".
|
|
27
|
+
## **3. Create a Light-instance**
|
|
28
|
+
You can create multiple instances under the same Appid by creating light-instance
|
|
29
|
+
```java
|
|
30
|
+
//create an SDK instance first
|
|
31
|
+
TDAnalytics.init(this, TA_APP_ID, TA_SERVER_URL);
|
|
32
|
+
|
|
33
|
+
//call createLightInstance through previously-created instances to generate lightweight instances
|
|
34
|
+
String uuid = TDAnalytics.lightInstance();
|
|
35
|
+
TDAnalyticsAPI.login("anotherAccount",uuid);
|
|
36
|
+
TDAnalyticsAPI.track("some_event",properties,uuid);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The Appid, receiver URL, and some settings of sub-light instances are the same as that of the parent instances, without sharing the other information. For detailed information, please refer to section 4 "Data and Settings Sharing among Multiple Instances".
|
|
40
|
+
## **4. Data Sharing among Multi-instances**
|
|
41
|
+
Since most API are called by instance objects, a majority of data and settings are not shared between Multi-appid instances, Parent-instances, and Light-instances. However, some data and settings will become valid for all instances. The detailed description of whether all data and settings are shared among multiple instances is as follows
|
|
42
|
+
1. Account information
|
|
43
|
+
- The distinct ID `#distinct_id` generated by the system by default: shared
|
|
44
|
+
- The distinct ID `#distinct_id` set by calling identify: not shared
|
|
45
|
+
- The distinct ID `#account_id` set by calling `login`: not shared
|
|
46
|
+
2. Event tracking `track` and user property track `user_set`,`user_setOnce`,`user_add`,`user_delete` : not shared
|
|
47
|
+
3. Super property `setSuperProperties` and dynamic super property set `setDynamicSuperPropertiesTracker`: not shared
|
|
48
|
+
4. Whether SDK configuration information is shared among multiple instances:
|
|
49
|
+
- Tracking policy related (i.e. the time interval of data tracking and the volume of each batch of data): shared, decided by the project data corresponding to the first instantiated Appid
|
|
50
|
+
- Upload network condition `setNetworkType`: shared
|
|
51
|
+
- Print uploaded data Log `EnableTrackLogging`: shared
|
|
52
|
+
5. Auto-tracking event
|
|
53
|
+
- It is suggested that Auto-Tracking be enabled on only one instance
|
|
54
|
+
- Support reporting auto-tracking events to multiple APP IDs
|
|
55
|
+
- Whether the relevant configuration of the auto-tracking event is shared by multiple instances:
|
|
56
|
+
- Set view ID `setViewID`: not shared
|
|
57
|
+
- Self-defined view properties `setViewProperties`,etc.: not shared
|
|
58
|
+
- Ignore auto-tracking event of a certain screen `ignoreAutoTrackActivity`, etc.: not shared
|
|
59
|
+
- Ignore the click event of a certain view type `ignoreViewType`: not shared
|
|
60
|
+
- Ignore a certain view `ignoreView`: not shared
|
|
61
|
+
- All annotations: the valid instances could be specified by setting Appid parameters. If such parameters are not set, all instances should share the configuration, for example:
|
|
62
|
+
```java
|
|
63
|
+
@ThinkingDataIgnoreTrackAppViewScreen(Appid = "debug-Appid")
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
6. Record event duration `timeEvent`: not shared
|
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: android_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: MBnZwHrO0ibkd9ksCSBc7dxEnic
|
|
5
|
+
parentWikiToken: LqfmwtW1xi0jzwkrKpscKEzFnme
|
|
6
|
+
updateTime: 1774251962000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=android_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1. Preset Properties of All Events**
|
|
11
|
+
All Events in Andriod SDK(including auto-tracking events) would have the following preset property.
|
|
12
|
+
<sheet token="BFCzsqRI5h2w9BtGpH3cXgZOnde_pEyZdm"/>
|
|
13
|
+
|
|
14
|
+
## **2. Preset Properties of Auto-tracking Event**
|
|
15
|
+
The following preset properties are the properties set specially for each auto-tracking event
|
|
16
|
+
- Preset properties of APP start event (ta_app_start)
|
|
17
|
+
|
|
18
|
+
<lark-table rows="4" cols="4" column-widths="143,133,140,328">
|
|
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
|
+
#resume_from_background
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
Resume from the background or not
|
|
40
|
+
</lark-td>
|
|
41
|
+
<lark-td>
|
|
42
|
+
Bool
|
|
43
|
+
</lark-td>
|
|
44
|
+
<lark-td>
|
|
45
|
+
Indicating whether the APP is enabled by the user or resumed from the background. If the value is true, it means the APP is resumed from the background; if the value is false, it means the APP is enabled by the user directly.
|
|
46
|
+
</lark-td>
|
|
47
|
+
</lark-tr>
|
|
48
|
+
<lark-tr>
|
|
49
|
+
<lark-td>
|
|
50
|
+
#start_reason
|
|
51
|
+
</lark-td>
|
|
52
|
+
<lark-td>
|
|
53
|
+
APP enable source
|
|
54
|
+
</lark-td>
|
|
55
|
+
<lark-td>
|
|
56
|
+
Text
|
|
57
|
+
</lark-td>
|
|
58
|
+
<lark-td>
|
|
59
|
+
The content is JSON character string; when the APP is enabled by url or intent method, the `url `content and the` ``data` in intent would be recorded automatically. For the sample, please refer to:
|
|
60
|
+
`{url:"thinkingdata://","data":{}}`
|
|
61
|
+
</lark-td>
|
|
62
|
+
</lark-tr>
|
|
63
|
+
<lark-tr>
|
|
64
|
+
<lark-td>
|
|
65
|
+
#background_duration
|
|
66
|
+
</lark-td>
|
|
67
|
+
<lark-td>
|
|
68
|
+
Background duration
|
|
69
|
+
</lark-td>
|
|
70
|
+
<lark-td>
|
|
71
|
+
Numeric value
|
|
72
|
+
</lark-td>
|
|
73
|
+
<lark-td>
|
|
74
|
+
Record the background duration of the APP in the time interval between two start events (Unit: second)
|
|
75
|
+
</lark-td>
|
|
76
|
+
</lark-tr>
|
|
77
|
+
</lark-table>
|
|
78
|
+
|
|
79
|
+
- Preset properties of APP end event (ta_app_end)
|
|
80
|
+
|
|
81
|
+
<lark-table rows="2" cols="4" column-widths="143,137,138,335">
|
|
82
|
+
|
|
83
|
+
<lark-tr>
|
|
84
|
+
<lark-td>
|
|
85
|
+
** Property name **
|
|
86
|
+
</lark-td>
|
|
87
|
+
<lark-td>
|
|
88
|
+
** Display name **
|
|
89
|
+
</lark-td>
|
|
90
|
+
<lark-td>
|
|
91
|
+
** Property type **
|
|
92
|
+
</lark-td>
|
|
93
|
+
<lark-td>
|
|
94
|
+
** Instruction **
|
|
95
|
+
</lark-td>
|
|
96
|
+
</lark-tr>
|
|
97
|
+
<lark-tr>
|
|
98
|
+
<lark-td>
|
|
99
|
+
#duration
|
|
100
|
+
</lark-td>
|
|
101
|
+
<lark-td>
|
|
102
|
+
Event duration
|
|
103
|
+
</lark-td>
|
|
104
|
+
<lark-td>
|
|
105
|
+
Numeric value
|
|
106
|
+
</lark-td>
|
|
107
|
+
<lark-td>
|
|
108
|
+
Indicating the duration of the APP access (Unit: second).
|
|
109
|
+
</lark-td>
|
|
110
|
+
</lark-tr>
|
|
111
|
+
</lark-table>
|
|
112
|
+
|
|
113
|
+
- Preset properties of APP view screen event (ta_app_view)
|
|
114
|
+
|
|
115
|
+
<lark-table rows="5" cols="4" column-widths="149,138,168,248">
|
|
116
|
+
|
|
117
|
+
<lark-tr>
|
|
118
|
+
<lark-td>
|
|
119
|
+
** Property name **
|
|
120
|
+
</lark-td>
|
|
121
|
+
<lark-td>
|
|
122
|
+
** Display name **
|
|
123
|
+
</lark-td>
|
|
124
|
+
<lark-td>
|
|
125
|
+
** Property type **
|
|
126
|
+
</lark-td>
|
|
127
|
+
<lark-td>
|
|
128
|
+
** Instruction **
|
|
129
|
+
</lark-td>
|
|
130
|
+
</lark-tr>
|
|
131
|
+
<lark-tr>
|
|
132
|
+
<lark-td>
|
|
133
|
+
#title
|
|
134
|
+
</lark-td>
|
|
135
|
+
<lark-td>
|
|
136
|
+
Screen title
|
|
137
|
+
</lark-td>
|
|
138
|
+
<lark-td>
|
|
139
|
+
Text
|
|
140
|
+
</lark-td>
|
|
141
|
+
<lark-td>
|
|
142
|
+
The title of the Activity to which the element belongs, whose value is the value of the title property
|
|
143
|
+
</lark-td>
|
|
144
|
+
</lark-tr>
|
|
145
|
+
<lark-tr>
|
|
146
|
+
<lark-td>
|
|
147
|
+
#screen_name
|
|
148
|
+
</lark-td>
|
|
149
|
+
<lark-td>
|
|
150
|
+
Screen name
|
|
151
|
+
</lark-td>
|
|
152
|
+
<lark-td>
|
|
153
|
+
Text
|
|
154
|
+
</lark-td>
|
|
155
|
+
<lark-td>
|
|
156
|
+
The `package.class `name of the Activity to which the element belongs
|
|
157
|
+
</lark-td>
|
|
158
|
+
</lark-tr>
|
|
159
|
+
<lark-tr>
|
|
160
|
+
<lark-td>
|
|
161
|
+
#url
|
|
162
|
+
</lark-td>
|
|
163
|
+
<lark-td>
|
|
164
|
+
Screen URL
|
|
165
|
+
</lark-td>
|
|
166
|
+
<lark-td>
|
|
167
|
+
Text
|
|
168
|
+
</lark-td>
|
|
169
|
+
<lark-td>
|
|
170
|
+
The url of current screen, to be set by invoking `getScreenUrl`
|
|
171
|
+
</lark-td>
|
|
172
|
+
</lark-tr>
|
|
173
|
+
<lark-tr>
|
|
174
|
+
<lark-td>
|
|
175
|
+
#referrer
|
|
176
|
+
</lark-td>
|
|
177
|
+
<lark-td>
|
|
178
|
+
Forward address
|
|
179
|
+
</lark-td>
|
|
180
|
+
<lark-td>
|
|
181
|
+
Text
|
|
182
|
+
</lark-td>
|
|
183
|
+
<lark-td>
|
|
184
|
+
The address of the screen before skipping, to be set by invoking `getScreenUrl `
|
|
185
|
+
</lark-td>
|
|
186
|
+
</lark-tr>
|
|
187
|
+
</lark-table>
|
|
188
|
+
|
|
189
|
+
- Preset properties of APP element click event
|
|
190
|
+
|
|
191
|
+
<lark-table rows="8" cols="4" column-widths="154,133,169,248">
|
|
192
|
+
|
|
193
|
+
<lark-tr>
|
|
194
|
+
<lark-td>
|
|
195
|
+
** Property name **
|
|
196
|
+
</lark-td>
|
|
197
|
+
<lark-td>
|
|
198
|
+
** Display name **
|
|
199
|
+
</lark-td>
|
|
200
|
+
<lark-td>
|
|
201
|
+
** Property type **
|
|
202
|
+
</lark-td>
|
|
203
|
+
<lark-td>
|
|
204
|
+
** Instruction **
|
|
205
|
+
</lark-td>
|
|
206
|
+
</lark-tr>
|
|
207
|
+
<lark-tr>
|
|
208
|
+
<lark-td>
|
|
209
|
+
#title
|
|
210
|
+
</lark-td>
|
|
211
|
+
<lark-td>
|
|
212
|
+
Screen title
|
|
213
|
+
</lark-td>
|
|
214
|
+
<lark-td>
|
|
215
|
+
Text
|
|
216
|
+
</lark-td>
|
|
217
|
+
<lark-td>
|
|
218
|
+
The title of the Activity to which the element belongs, whose value is the value of the title property
|
|
219
|
+
</lark-td>
|
|
220
|
+
</lark-tr>
|
|
221
|
+
<lark-tr>
|
|
222
|
+
<lark-td>
|
|
223
|
+
#screen_name
|
|
224
|
+
</lark-td>
|
|
225
|
+
<lark-td>
|
|
226
|
+
Screen name
|
|
227
|
+
</lark-td>
|
|
228
|
+
<lark-td>
|
|
229
|
+
Text
|
|
230
|
+
</lark-td>
|
|
231
|
+
<lark-td>
|
|
232
|
+
The package.class name of the Activity to which the element belongs
|
|
233
|
+
</lark-td>
|
|
234
|
+
</lark-tr>
|
|
235
|
+
<lark-tr>
|
|
236
|
+
<lark-td>
|
|
237
|
+
#element_id
|
|
238
|
+
</lark-td>
|
|
239
|
+
<lark-td>
|
|
240
|
+
Element ID
|
|
241
|
+
</lark-td>
|
|
242
|
+
<lark-td>
|
|
243
|
+
Text
|
|
244
|
+
</lark-td>
|
|
245
|
+
<lark-td>
|
|
246
|
+
The ID of element, in which andriod:id is used by default, and could be set by invoking setViewID
|
|
247
|
+
</lark-td>
|
|
248
|
+
</lark-tr>
|
|
249
|
+
<lark-tr>
|
|
250
|
+
<lark-td>
|
|
251
|
+
#element_type
|
|
252
|
+
</lark-td>
|
|
253
|
+
<lark-td>
|
|
254
|
+
Element type
|
|
255
|
+
</lark-td>
|
|
256
|
+
<lark-td>
|
|
257
|
+
Text
|
|
258
|
+
</lark-td>
|
|
259
|
+
<lark-td>
|
|
260
|
+
Type of the element
|
|
261
|
+
</lark-td>
|
|
262
|
+
</lark-tr>
|
|
263
|
+
<lark-tr>
|
|
264
|
+
<lark-td>
|
|
265
|
+
#element_selector
|
|
266
|
+
</lark-td>
|
|
267
|
+
<lark-td>
|
|
268
|
+
Element selector
|
|
269
|
+
</lark-td>
|
|
270
|
+
<lark-td>
|
|
271
|
+
Text
|
|
272
|
+
</lark-td>
|
|
273
|
+
<lark-td>
|
|
274
|
+
Splicing of the viewPath of the element
|
|
275
|
+
</lark-td>
|
|
276
|
+
</lark-tr>
|
|
277
|
+
<lark-tr>
|
|
278
|
+
<lark-td>
|
|
279
|
+
#element_position
|
|
280
|
+
</lark-td>
|
|
281
|
+
<lark-td>
|
|
282
|
+
Element position
|
|
283
|
+
</lark-td>
|
|
284
|
+
<lark-td>
|
|
285
|
+
Text
|
|
286
|
+
</lark-td>
|
|
287
|
+
<lark-td>
|
|
288
|
+
Position information of element, which would only be uploaded when the element has position property
|
|
289
|
+
</lark-td>
|
|
290
|
+
</lark-tr>
|
|
291
|
+
<lark-tr>
|
|
292
|
+
<lark-td>
|
|
293
|
+
#element_content
|
|
294
|
+
</lark-td>
|
|
295
|
+
<lark-td>
|
|
296
|
+
Element content
|
|
297
|
+
</lark-td>
|
|
298
|
+
<lark-td>
|
|
299
|
+
Text
|
|
300
|
+
</lark-td>
|
|
301
|
+
<lark-td>
|
|
302
|
+
Content on the element
|
|
303
|
+
</lark-td>
|
|
304
|
+
</lark-tr>
|
|
305
|
+
</lark-table>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
- Preset properties of APP crash event (ta_app_crash)
|
|
309
|
+
<sheet token="BFCzsqRI5h2w9BtGpH3cXgZOnde_V3lxuq"/>
|
|
310
|
+
|
|
311
|
+
## **3. Other Preset Properties**
|
|
312
|
+
In addition to the Preset properties above, some preset properties would only be recorded after corresponding API is called:
|
|
313
|
+
|
|
314
|
+
<lark-table rows="3" cols="4" column-widths="138,153,153,267">
|
|
315
|
+
|
|
316
|
+
<lark-tr>
|
|
317
|
+
<lark-td>
|
|
318
|
+
** Property name **
|
|
319
|
+
</lark-td>
|
|
320
|
+
<lark-td>
|
|
321
|
+
** Display name **
|
|
322
|
+
</lark-td>
|
|
323
|
+
<lark-td>
|
|
324
|
+
** Property type **
|
|
325
|
+
</lark-td>
|
|
326
|
+
<lark-td>
|
|
327
|
+
** Instruction **
|
|
328
|
+
</lark-td>
|
|
329
|
+
</lark-tr>
|
|
330
|
+
<lark-tr>
|
|
331
|
+
<lark-td>
|
|
332
|
+
#duration
|
|
333
|
+
</lark-td>
|
|
334
|
+
<lark-td>
|
|
335
|
+
Event duration
|
|
336
|
+
</lark-td>
|
|
337
|
+
<lark-td>
|
|
338
|
+
Numeric value
|
|
339
|
+
</lark-td>
|
|
340
|
+
<lark-td>
|
|
341
|
+
Timing function `timeEvent `should be invoked to record the event duration (Unit: second)
|
|
342
|
+
</lark-td>
|
|
343
|
+
</lark-tr>
|
|
344
|
+
<lark-tr>
|
|
345
|
+
<lark-td>
|
|
346
|
+
#background_duration
|
|
347
|
+
</lark-td>
|
|
348
|
+
<lark-td>
|
|
349
|
+
Background duration
|
|
350
|
+
</lark-td>
|
|
351
|
+
<lark-td>
|
|
352
|
+
numeric value
|
|
353
|
+
</lark-td>
|
|
354
|
+
<lark-td>
|
|
355
|
+
Timing function `timeEvent` should be called to record the background duration within an event interval (Unit: second)
|
|
356
|
+
</lark-td>
|
|
357
|
+
</lark-tr>
|
|
358
|
+
</lark-table>
|
|
359
|
+
|
|
360
|
+
## **Getting Preset Properties**
|
|
361
|
+
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.
|
|
362
|
+
```java
|
|
363
|
+
//get property objects
|
|
364
|
+
TDPresetProperties presetProperties = TDAnalytics.getPresetProperties();
|
|
365
|
+
|
|
366
|
+
//Preset properties of Event
|
|
367
|
+
JSONObject properties = presetProperties.toEventPresetProperties();
|
|
368
|
+
/*
|
|
369
|
+
{
|
|
370
|
+
"#carrier": "T-Mobile",
|
|
371
|
+
"#os": "Android",
|
|
372
|
+
"#device_id": "dd4a508df0dbff08",
|
|
373
|
+
"#screen_height": 2560,
|
|
374
|
+
"#bundle_id": "cn.thinkingdata.android.demo",
|
|
375
|
+
"#device_model": "sdk_gphone64_arm64",
|
|
376
|
+
"#screen_width": 1440,
|
|
377
|
+
"#system_language": "en",
|
|
378
|
+
"#install_time": "2022-08-19 17:31:52.398",
|
|
379
|
+
"#simulator": true,
|
|
380
|
+
"#manufacturer": "Google",
|
|
381
|
+
"#os_version": "12",
|
|
382
|
+
"#app_version": "1.0",
|
|
383
|
+
"#network_type": "3G",
|
|
384
|
+
"#zone_offset": 8,
|
|
385
|
+
"#ram": "0.8\/1.9",
|
|
386
|
+
"#disk": "0.1\/0.8",
|
|
387
|
+
"#fps": 60
|
|
388
|
+
}
|
|
389
|
+
*/
|
|
390
|
+
|
|
391
|
+
//get a certain preset properties
|
|
392
|
+
String bundle_id = presetProperties.bundle_id;//package name
|
|
393
|
+
String os = presetProperties.os;//os type, e.g., Android
|
|
394
|
+
String system_language = presetProperties.system_language;//type of mobile phone system language
|
|
395
|
+
int screen_width = presetProperties.screen_width;//screen width
|
|
396
|
+
int screen_height = presetProperties.screen_height;//screen height
|
|
397
|
+
String device_model = presetProperties.device_model;//device model
|
|
398
|
+
String device_id = presetProperties.device_id;//unique identifier of device
|
|
399
|
+
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
|
|
400
|
+
String manufacture = presetProperties.manufacture;//mobile phone manufacturer, e.g., HuaWei
|
|
401
|
+
String network_type = presetProperties.network_type;//network type
|
|
402
|
+
String os_version = presetProperties.os_version;//system version number
|
|
403
|
+
String app_version = presetProperties.app_version;//app version number
|
|
404
|
+
double zone_offset = presetProperties.zone_offset;//timezone offset value
|
|
405
|
+
String ram = presetProperties.ram;//storage usage
|
|
406
|
+
String disk = presetProperties.disk;//disk usage
|
|
407
|
+
int fps = presetProperties.fps;//fps
|
|
408
|
+
String installTime = presetProperties.installTime;//app installation time
|
|
409
|
+
boolean isSimulator = presetProperties.isSimulator;//the device is a simulator or not
|
|
410
|
+
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
<quote-container>
|
|
414
|
+
IP, nation and city information are parsed and generated by the server. The client shall not provide the api to get such properties
|
|
415
|
+
</quote-container>
|
|
416
|
+
|
|
417
|
+
## **5. Disable Preset Property Tracking**
|
|
418
|
+
Under certain scenarios, you may want to forbid tracking certain preset properties to ensure compliance and meet actual business requirements. In this case, you can add ta_public_config.xml under the res/values catalog of the engineering catalog, which would be used to configure the property array that is not allowed to be tracked.
|
|
419
|
+
```java
|
|
420
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
421
|
+
<resources>
|
|
422
|
+
<!-- ThinkingAnalytics DisablePresetProperties start -->
|
|
423
|
+
<string-array name="TDDisPresetProperties">
|
|
424
|
+
<!-- <item>#disk</item>-->
|
|
425
|
+
<!-- <item>#fps</item>-->
|
|
426
|
+
<!-- <item>#ram</item>-->
|
|
427
|
+
<!-- <item>#app_version</item>-->
|
|
428
|
+
<!-- <item>#os_version</item>-->
|
|
429
|
+
<!-- <item>#manufacturer</item>-->
|
|
430
|
+
<!-- <item>#device_model</item>-->
|
|
431
|
+
<!-- <item>#screen_height</item>-->
|
|
432
|
+
<!-- <item>#screen_width</item>-->
|
|
433
|
+
<!-- <item>#carrier</item>-->
|
|
434
|
+
<!-- <item>#device_id</item>-->
|
|
435
|
+
<!-- <item>#system_language</item>-->
|
|
436
|
+
<!-- <item>#lib</item>-->
|
|
437
|
+
<!-- <item>#lib_version</item>-->
|
|
438
|
+
<!-- <item>#os</item>-->
|
|
439
|
+
<!-- <item>#bundle_id</item>-->
|
|
440
|
+
<!-- <item>#install_time</item>-->
|
|
441
|
+
<!-- <item>#start_reason</item>-->
|
|
442
|
+
<!-- <item>#simulator</item>-->
|
|
443
|
+
<!-- <item>#network_type</item>-->
|
|
444
|
+
<!-- <item>#zone_offset</item>-->
|
|
445
|
+
<!-- <item>#start_reason</item>-->
|
|
446
|
+
<!-- <item>#resume_from_background</item>-->
|
|
447
|
+
<!-- <item>#title</item>-->
|
|
448
|
+
<!-- <item>#screen_name</item>-->
|
|
449
|
+
<!-- <item>#url</item>-->
|
|
450
|
+
<!-- <item>#referrer</item>-->
|
|
451
|
+
<!-- <item>#element_type</item>-->
|
|
452
|
+
<!-- <item>#element_id</item>-->
|
|
453
|
+
<!-- <item>#element_position</item>-->
|
|
454
|
+
<!-- <item>#element_content</item>-->
|
|
455
|
+
<!-- <item>#element_selector</item>-->
|
|
456
|
+
<!-- <item>#app_crashed_reason</item>-->
|
|
457
|
+
<!-- <item>#background_duration</item>-->
|
|
458
|
+
<!-- <item>#duration</item>-->
|
|
459
|
+
</string-array>
|
|
460
|
+
<!-- ThinkingAnalytics DisablePresetProperties end -->
|
|
461
|
+
</resources>
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
<quote-container>
|
|
465
|
+
As for Android ID property, we support complete isolation at the code level, that is, relevant codes used to get the property shall no longer be contained in the APP after isolation. For detailed information, please refer to the[ ](https://thinkingdata.feishu.cn/wiki/D7ykw75weigcIfk3ZoichHbKnuv)[Chapter of auto-tracking plugin configuration](https://thinkingdata.feishu.cn/wiki/D7ykw75weigcIfk3ZoichHbKnuv)
|
|
466
|
+
</quote-container>
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: android_sdk_thirdparty
|
|
3
|
+
name: "Third-party Integration"
|
|
4
|
+
wikiToken: SRalwJFiZiEuZUk6PXJc2144nse
|
|
5
|
+
parentWikiToken: LqfmwtW1xi0jzwkrKpscKEzFnme
|
|
6
|
+
updateTime: 1774249046000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=android_sdk_thirdparty
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
- Third-party data plugin should be introduced:
|
|
11
|
+
```groovy
|
|
12
|
+
implementation 'cn.thinkingdata.android:TAThirdParty:2.0.0'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
- The sample codes for the synchronization of multiple platform data are as follows:
|
|
16
|
+
```java
|
|
17
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.APPS_FLYER | TDThirdPartyType.ADJUST);
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
<quote-container>
|
|
21
|
+
`enableThirdPartySharing(int var1, Map<String, Object> var2)`, an API that does not support bitwise operation, can be used to add additional parameters.
|
|
22
|
+
</quote-container>
|
|
23
|
+
|
|
24
|
+
## AppsFlyer
|
|
25
|
+
Call this API before AppsFlyer SDK calls the Start API:
|
|
26
|
+
```java
|
|
27
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.APPS_FLYER)
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
After the created role is registered (optional):
|
|
31
|
+
```java
|
|
32
|
+
TDAnalytics.login("account_id")
|
|
33
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.APPS_FLYER)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Every time you call the `login` or `identify `, you need to call `enableThirdPartySharing` synchronously to update the user ID.
|
|
37
|
+
Note: Since AppFlyer's `setAdditionalData` is called each time, the user ID will be overwritten. You can set parameters via the` enableThirdPartySharing` API we provide:
|
|
38
|
+
```java
|
|
39
|
+
Map<String, Object> additionalData = new HashMap<>();
|
|
40
|
+
additionalData.put("af_test_key1", "test1");
|
|
41
|
+
additionalData.put("af_test_key2", "test2");
|
|
42
|
+
AppsFlyerLib.getInstance().setAdditionalData(additionalData);
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Since previous parameters would be replaced if setAdditionalData is called multiple times, the parameters could be transmitted to TE, and the TE SDK would merge the parameters.
|
|
46
|
+
```java
|
|
47
|
+
Map<String, Object> additionalData = new HashMap<>();
|
|
48
|
+
additionalData.put("af_test_key1", "test1");
|
|
49
|
+
additionalData.put("af_test_key2", "test2");
|
|
50
|
+
TDAnalytics.enableThirdPartySharing(
|
|
51
|
+
TDThirdPartyType.APPS_FLYER,
|
|
52
|
+
additionalData
|
|
53
|
+
)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Adjust
|
|
57
|
+
To be called before Adjust SDK initialization:
|
|
58
|
+
```java
|
|
59
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.ADJUST)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
After the created role is registered (optional):
|
|
63
|
+
```java
|
|
64
|
+
TDAnalytics.login("accoount_id")
|
|
65
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.ADJUST)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## 3.Branch
|
|
69
|
+
To be called before the Branch initialize the session:
|
|
70
|
+
```java
|
|
71
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.BRANCH);
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
After the created role is registered (optional):
|
|
75
|
+
```java
|
|
76
|
+
TDAnalytics.login("accoount_id")
|
|
77
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.BRANCH);
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## 4.TopOn
|
|
81
|
+
To be called before ATSDK.*init:*
|
|
82
|
+
```java
|
|
83
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.TOP_ON);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Every time you call the `login` or `identify `, you need to call `enableThirdPartySharing` synchronously to update the user ID.
|
|
87
|
+
Note: Since TopOn's `initCustomMap` is called each time, the user ID will be overwritten. You can set parameters via the` enableThirdPartySharing` API we provide:
|
|
88
|
+
```java
|
|
89
|
+
Map<String, Object> customMap = new HashMap<>();
|
|
90
|
+
customMap.put("key1", "value1");
|
|
91
|
+
customMap.put("key2", "value2");
|
|
92
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.TOP_ON, customMap);
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## 5.ReYun
|
|
96
|
+
To be called after the account is registered:
|
|
97
|
+
```java
|
|
98
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyShareType.TD_TRACKING)
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## 6.TradPlus
|
|
102
|
+
To be called before TradPlus SDK initialization:
|
|
103
|
+
```java
|
|
104
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.TRAD_PLUS);
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## 7.IronSource
|
|
108
|
+
To be called after IronSource Sdk initialization:
|
|
109
|
+
```java
|
|
110
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.IRON_SOURCE);
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## 8.AppLovin
|
|
114
|
+
- User Revenue API
|
|
115
|
+
To be called before AppLovin SDK initialization:
|
|
116
|
+
```css
|
|
117
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.APPLOVIN_IMPRESSION);
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
- Impression-Level User Revenue API
|
|
121
|
+
If you want to achieve monetization data acquisition, you need to create a `MaxAdRevenueListener`,and rewrite the `onAdRevenuePaid`.In this method, the monetization data is obtained and the data is reported through the `enableThirdPartySharing` of the TA SDK,
|
|
122
|
+
finally, the listener is passed to setRevenueListener(). The sample code is as follows:
|
|
123
|
+
```java
|
|
124
|
+
void onAdRevenuePaid(final MaxAd ad){
|
|
125
|
+
TDAnalytics.enableThirdPartySharing(TDThirdPartyType.APPLOVIN_USER,ad);
|
|
126
|
+
}
|
|
127
|
+
```
|