@thinkingai/ae-cli 1.0.28 → 6.0.16-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +2553 -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,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: rn_sdk_release_note
|
|
3
|
+
name: "Release Notes"
|
|
4
|
+
wikiToken: AFo8wnhUbi2qQRkTN4TcBCQhnQc
|
|
5
|
+
parentWikiToken: E1F3wNsc3iW7dckzhH9cA2h2nIg
|
|
6
|
+
updateTime: 1778726185000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=rn_sdk_release_note
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## v3.2.1
|
|
11
|
+
**Date: **05/14/2026
|
|
12
|
+
**notes:**
|
|
13
|
+
- Known issue fixes
|
|
14
|
+
## v3.2.0
|
|
15
|
+
**Date: **12/01/2025
|
|
16
|
+
**notes:**
|
|
17
|
+
- Upgrade the Android and iOS SDKs to the latest stable version, and upgrade third-party plugins to the latest version.
|
|
18
|
+
- Intermediate layer adjustments, using TDAnalytics
|
|
19
|
+
- Added page view and element click events
|
|
20
|
+
- Known issue fixes
|
|
21
|
+
## v3.1.0
|
|
22
|
+
**Date: **09/01/2025
|
|
23
|
+
**notes:**
|
|
24
|
+
- Native and Webview are connected
|
|
25
|
+
## v3.0.1
|
|
26
|
+
**Date: **11/27/2023
|
|
27
|
+
**notes:**
|
|
28
|
+
- Upgrade Android SDK to 3.0.0
|
|
29
|
+
## v3.0.0
|
|
30
|
+
**Date: **11/08/2023
|
|
31
|
+
**notes:**
|
|
32
|
+
- Code specifications and comment specifications
|
|
33
|
+
## v2.4.6
|
|
34
|
+
**Date: **04/19/2023
|
|
35
|
+
**notes:**
|
|
36
|
+
- Optimize code
|
|
37
|
+
- Upgrade iOS SDK to v2.8.3.2
|
|
38
|
+
## v2.4.5
|
|
39
|
+
**Date: **02/17/2023
|
|
40
|
+
**notes:**
|
|
41
|
+
- Optimize code
|
|
42
|
+
## v2.4.4
|
|
43
|
+
**Date: **02/13/2023
|
|
44
|
+
**notes:**
|
|
45
|
+
- Optimize code
|
|
46
|
+
## v2.4.3
|
|
47
|
+
**Date: **02/13/2023
|
|
48
|
+
**notes:**
|
|
49
|
+
- Optimize code
|
|
50
|
+
## v2.4.2
|
|
51
|
+
**Date: **02/10/2023
|
|
52
|
+
**notes:**
|
|
53
|
+
- Compatible with web
|
|
54
|
+
## v2.4.1
|
|
55
|
+
**Date: **02/08/2023
|
|
56
|
+
**notes:**
|
|
57
|
+
- Remove "react-native" version dependency
|
|
58
|
+
## v2.4.0
|
|
59
|
+
**Date: **01/30/2023
|
|
60
|
+
**notes:**
|
|
61
|
+
- Optimize third-party data integration
|
|
62
|
+
## v2.3.0
|
|
63
|
+
**Date: **08/10/2022
|
|
64
|
+
**notes:**
|
|
65
|
+
- Reconstructs RN external interfaces
|
|
66
|
+
- Supports dynamic public attributes
|
|
67
|
+
## v2.2.0
|
|
68
|
+
**Date: **05/26/2022
|
|
69
|
+
**notes:**
|
|
70
|
+
- Support three-party data access
|
|
71
|
+
- Support data encryption
|
|
72
|
+
- Support userUniqAppend
|
|
73
|
+
- Optimized the interface for stopping or suspending data reporting
|
|
74
|
+
- Support prefabricated attribute acquisition
|
|
75
|
+
- Auto-tracking event support custom static public properties
|
|
76
|
+
- Added interface for obtaining static public properties
|
|
77
|
+
- Support obtaining distinct id
|
|
78
|
+
- Support obtaining device id
|
|
79
|
+
- Optimize the initialization mode
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: rn_sdk_support
|
|
3
|
+
name: "React Native"
|
|
4
|
+
wikiToken: E1F3wNsc3iW7dckzhH9cA2h2nIg
|
|
5
|
+
parentWikiToken: JRIIwKqb5iVJMAkCwTic7H17ncg
|
|
6
|
+
updateTime: 1778726153000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=rn_sdk_support
|
|
8
|
+
---
|
|
9
|
+
::: tip
|
|
10
|
+
Before you begin, please read [<text color="purple" underline="true">Preparation before Data Ingestion</text>](https://thinkingdata.feishu.cn/wiki/OhD8we9iai6Xk5kM1QNc8ITRnQe)
|
|
11
|
+
:::
|
|
12
|
+
**Latest version:** 3.2.1
|
|
13
|
+
**Update time:** 05/14/2026
|
|
14
|
+
**Resource download: **[**SDK**](https%3A%2F%2Fgithub.com%2FThinkingDataAnalytics%2Freact-native-sdk.git)
|
|
15
|
+
## **1. ****SDK**** Integration**
|
|
16
|
+
### **1.1 Automatic Integration**
|
|
17
|
+
#### npm install the react-native-thinking-data module
|
|
18
|
+
```json
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"react-native-thinking-data": "3.2.1"
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## **2. Initialization**
|
|
25
|
+
```javascript
|
|
26
|
+
import TDAnalytics,{TDAutoTrackEventType} from "react-native-thinking-data";
|
|
27
|
+
TDAnalytics.init({ appId: "xxx",serverUrl: "https://xxx"});
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Instruction on parameters:
|
|
31
|
+
- `APPID`: The APPID of your project, which can be found on the project management page of the TE.
|
|
32
|
+
- `SERVER_URL`:
|
|
33
|
+
- If you are using a SaaS version, please check the receiver URL on this page
|
|
34
|
+
<image token="H0jHb0iMvok3Cmx034dcwZtHnYb" width="1674" height="1318" align="center"/>
|
|
35
|
+
|
|
36
|
+
- If you use the private deployment version, you can customize the data tracking URL .
|
|
37
|
+
<quote-container>
|
|
38
|
+
Since Android 9.0+ restricts HTTP requests by default, please use HTTPS protocol only.
|
|
39
|
+
</quote-container>
|
|
40
|
+
|
|
41
|
+
## **3. Common Features**
|
|
42
|
+
We suggested that you read [User Identification Rules](https://thinkingdata.feishu.cn/wiki/Pov9wECdsi2QQsk4NN9cEPsvnyc) before using common features; SDK would generate a random number that would be used as the distinct ID, and save the ID locally. Before the user logs in, the distinct ID would be used as the identification ID. Note: The distinct ID would change after the user reinstalled the APP or used the APP with a new device.
|
|
43
|
+
### **3.1 Login**
|
|
44
|
+
When the users log in , `login` could be called to set the account ID of the user. TE would use the account ID as the identification ID, and this ID would be saved before `logout` is called. The previous account ID would be replaced if `login` has been called multiple times.
|
|
45
|
+
```java
|
|
46
|
+
TDAnalytics.login("TA")
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
<quote-container>
|
|
50
|
+
**Login events wouldn't be uploaded in this method.**
|
|
51
|
+
</quote-container>
|
|
52
|
+
|
|
53
|
+
### 3.2 **Super Properties**
|
|
54
|
+
Super Properties refer to properties that each event might have. You can call `setSuperProperties` to set Super Properties. It is recommended that you set Super Properties first before sending data. Some important properties (e.g., the membership class of users, source channels, etc.) should be set in each event. At this time, you can set these properties as Super Properties.
|
|
55
|
+
```javascript
|
|
56
|
+
TDAnalytics.setSuperProperties({
|
|
57
|
+
'channel': 'te',//string
|
|
58
|
+
'age': 1,//number
|
|
59
|
+
'isSuccess': true,//boolean
|
|
60
|
+
'birthday': new Date(),//time
|
|
61
|
+
'object': {
|
|
62
|
+
'key': 'value'
|
|
63
|
+
},//object
|
|
64
|
+
'object_arr': [
|
|
65
|
+
{ 'key': 'value' }
|
|
66
|
+
],//array object
|
|
67
|
+
'arr': ['value']//array
|
|
68
|
+
})
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Super Properties would be saved in local storage, and will not need to be called every time the App is opened. If the Super Properties set previously are uploaded after calling `setSuperProperties`, previous properties would be replaced.
|
|
72
|
+
- Key is the name of the property and refers to the string type. It must start with a character, and contain numbers, characters (insensitive to case, and upper cases would be transformed into lower cases by TE) and underscores "_", with a maximum length of 50 characters.
|
|
73
|
+
- Value, the value of the property, supports string, numbers, Boolean, time, object, array object, and array
|
|
74
|
+
<quote-container>
|
|
75
|
+
**The requirements for event properties and user properties are the same with that for super properties**
|
|
76
|
+
</quote-container>
|
|
77
|
+
|
|
78
|
+
### **3.3 Automatically Track Events**
|
|
79
|
+
The following code is an example of install, active and inactive events. To get more information about the automatic tracking of SDK, please refer to [Detailed introduction of automatic tracking function](https://thinkingdata.feishu.cn/wiki/EVwUwiZdYi3jhEkcAhHcNxSrnkd)
|
|
80
|
+
```javascript
|
|
81
|
+
TDAnalytics.enableAutoTrack(TDAutoTrackEventType.APP_START | TDAutoTrackEventType.APP_END | TDAutoTrackEventType.APP_CRASH | TDAutoTrackEventType.APP_INSTALL)
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### **3.4 Sending Events**
|
|
85
|
+
You can call `track` to upload events. It is suggested that you set event properties based on the data tracking plan drafted previously. Here is an example of a user buying an item:
|
|
86
|
+
```javascript
|
|
87
|
+
TDAnalytics.track({
|
|
88
|
+
eventName:"product_buy",
|
|
89
|
+
properties:{
|
|
90
|
+
product_name:'productName'
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The event name is string type. It could only start with a character and could contain figures, characters, and an underline "_", with a maximum length of 50 characters.
|
|
96
|
+
### **3.5 User Properties**
|
|
97
|
+
You can set general user properties by calling `user_set` API. The original properties would be replaced by the properties uploaded via this api. The data type of newly-created user properties must be the same as the uploaded properties. User name setting is taken as the example here:
|
|
98
|
+
```javascript
|
|
99
|
+
//the username now is TA
|
|
100
|
+
TDAnalytics.userSet({ username:"TA"})
|
|
101
|
+
//the username now is TE
|
|
102
|
+
TDAnalytics.userSet({ username:"TE"})
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## **4. Best Practice**
|
|
106
|
+
The following sample code covers all the above-mentioned operations. It is recommended that the SDK be used in the following steps:
|
|
107
|
+
```javascript
|
|
108
|
+
import TDAnalytics,{TDAutoTrackEventType} from "react-native-thinking-data";
|
|
109
|
+
if (Authorized Privacy policy)
|
|
110
|
+
{
|
|
111
|
+
//SDK init
|
|
112
|
+
TDAnalytics.init({appId: "xxx",serverUrl: "https://xxx",});
|
|
113
|
+
//if the user has logged in, the account ID of the user could be set as the unique identifier
|
|
114
|
+
TDAnalytics.login("TA")
|
|
115
|
+
//After setting super properties, each event would have super properties
|
|
116
|
+
TDAnalytics.setSuperProperties({
|
|
117
|
+
'channel': 'ta',//string
|
|
118
|
+
'age': 1,//number
|
|
119
|
+
'isSuccess': true,//boolean
|
|
120
|
+
'birthday': new Date(),//time
|
|
121
|
+
'object': {'key': 'value'},//object
|
|
122
|
+
'object_arr': [{ 'key': 'value'}],//array object
|
|
123
|
+
'arr': ['value']//array
|
|
124
|
+
})
|
|
125
|
+
//Enable auto-tracking
|
|
126
|
+
TDAnalytics.enableAutoTrack(TDAutoTrackEventType.APP_START | TDAutoTrackEventType.APP_END | TDAutoTrackEventType.APP_CRASH | TDAutoTrackEventType.APP_INSTALL)
|
|
127
|
+
//upload events
|
|
128
|
+
TDAnalytics.track({
|
|
129
|
+
eventName:"product_buy",
|
|
130
|
+
properties:{
|
|
131
|
+
'product_name':'tv'
|
|
132
|
+
}
|
|
133
|
+
})
|
|
134
|
+
//Set user properties
|
|
135
|
+
TDAnalytics.userSet({ username:"TE"})
|
|
136
|
+
}
|
|
137
|
+
```
|
package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/release-notes.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: uniapp_sdk_release_note
|
|
3
|
+
name: "Release Notes"
|
|
4
|
+
wikiToken: AVZBwxwHEiRgw9kEfQLcIyDEn1k
|
|
5
|
+
parentWikiToken: N0e7w3csPiU7MkkMCO9c7PXVnSb
|
|
6
|
+
updateTime: 1774249177000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=uniapp_sdk_release_note
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## v3.0.0
|
|
11
|
+
**Date**: 11/10/2023 [<text color="blue">Download</text>](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUniapp%2Fta_uniapp_sdk_v3.0.0.zip)
|
|
12
|
+
**Notes**:
|
|
13
|
+
- Code specifications and comment specifications
|
|
14
|
+
## [<text color="blue">#</text>](https%3A%2F%2Fdocs.thinkingdata.cn%2Fta-manual%2Flatest%2Finstallation%2Finstallation_menu%2Fclient_sdk%2Fapp_third_support%2Funiapp_sdk_installation%2Funiapp_sdk_release_note.html%23v1-0-1)v1.0.1
|
|
15
|
+
**Date**: 04/21/2023 [<text color="blue">Download</text>](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FUniapp%2Fta_uniapp_sdk_v1.0.1.zip)
|
|
16
|
+
**Notes**:
|
|
17
|
+
- Support initialization delay
|
|
18
|
+
- Code specifications
|
|
19
|
+
## v1.0.0
|
|
20
|
+
**Date:** 11/15/2022
|
|
21
|
+
**Notes:**
|
|
22
|
+
- Supports the setting of visitor ID and user account
|
|
23
|
+
- Supports event and user attribute reporting
|
|
24
|
+
- Supports the reporting of first, update, and overwrite event
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: uniapp_sdk_autotrack
|
|
3
|
+
name: "Automatically Track Events"
|
|
4
|
+
wikiToken: F2MmwPLE7iVwHfktWXFc3htdnIg
|
|
5
|
+
parentWikiToken: DM7kwtiBMiCpWCkk7icczidxn7c
|
|
6
|
+
updateTime: 1774249169000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=uniapp_sdk_autotrack
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
We provide auto-tracking function. You only need to enable the events you need to automatically collect in config when creating the instance. SDK will automatically collect some behaviors of the mini program.
|
|
11
|
+
automated data collection is now supported:
|
|
12
|
+
1. mini program initialization,this is triggered only once by a user
|
|
13
|
+
2. mini program active, including startup and background back to foreground
|
|
14
|
+
3. mini program inactive,and record the time of this access (start to the background)
|
|
15
|
+
the methods for collecting each type of data are described in detail next
|
|
16
|
+
## **1. Enable Auto-Tracking**
|
|
17
|
+
in config, the elements in the autoTrack parameter represent the switch for each auto collection event, set to true to enable auto collection:
|
|
18
|
+
```javascript
|
|
19
|
+
var config = {
|
|
20
|
+
appid: "YOU-APP-ID",
|
|
21
|
+
server_url: "https://youserverurl.com",
|
|
22
|
+
autoTrack: {
|
|
23
|
+
appLaunch: true, // auto-tracking ta_mp_launch
|
|
24
|
+
appShow: true, // auto-tracking ta_mp_show
|
|
25
|
+
appHide: true, // auto-tracking ta_mp_hide
|
|
26
|
+
pageShow: true, // auto-tracking ta_mp_view
|
|
27
|
+
pageShare: true, // auto-tracking ta_mp_share
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
- `appLaunch`:auto tracking mini-program launch
|
|
33
|
+
- `appShow`:auto tracking mini-program active and resume mini-program from the background
|
|
34
|
+
- `appHide`:auto tracking mini-program enter in background
|
|
35
|
+
## **2.Detailed Introduction**
|
|
36
|
+
### 2.1 mini-program initialization
|
|
37
|
+
mini-program initialization will be triggered when the mini-program is opened for the first time or when the user kills the process and starts it again. It will only be triggered once in the life cycle of the process. The detailed event is described as follows:
|
|
38
|
+
- event name:ta_mp_launch
|
|
39
|
+
- auto-tracking attributes: `#scene`, the scene value is taken from the scene value provided by wechat
|
|
40
|
+
Through the mini-program initialization event, you can calculate the daily user usage and per-capita user usage, including viewing the usage of users with different scenario values grouped by scenario values.
|
|
41
|
+
### 2.2 mini-program active
|
|
42
|
+
mini-program active will be triggered when mini-program is started, or when mini-program is called back to the foreground from the background. The detailed event is described as follows:
|
|
43
|
+
- event name:ta_mp_show
|
|
44
|
+
- auto-tracking attributes:
|
|
45
|
+
- `#scene`,the scene value is taken from the scene value provided by wechat
|
|
46
|
+
- `#url_path`,page path, mini-program to start the displayed page path
|
|
47
|
+
the startup of mini-program is not suitable for direct analysis due to the influence of the call out before and after (many), but it can be used in the behavior path to identify a user's use, can be used as the initial behavior of the user behavior path
|
|
48
|
+
### 2.3 mini-program inactive
|
|
49
|
+
mini-program inactive will be triggered when the mini-program is called into the background, and record the duration of this use,The detailed event is described as follows:
|
|
50
|
+
- event name:ta_mp_hide
|
|
51
|
+
- auto-tracking attributes:
|
|
52
|
+
- `#scene`,the scene value is taken from the scene value provided by wechat
|
|
53
|
+
- `#duration`,The value is a numeric value, indicating the duration from this start (ta_mp_show) to hiding
|
|
54
|
+
mini-program inactive events record the usage duration (in seconds), so you can directly calculate the total user usage duration and per capita duration, or you can divide by the initialization times to calculate the single usage duration.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: uniapp_sdk_debug
|
|
3
|
+
name: "Debugging and Logging"
|
|
4
|
+
wikiToken: CnOtw65kJiO0q8k3Y6qcCVF8nwb
|
|
5
|
+
parentWikiToken: DM7kwtiBMiCpWCkk7icczidxn7c
|
|
6
|
+
updateTime: 1774251990000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=uniapp_sdk_debug
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
During the process of SDK access, you can perform real-time debugging by checking SDK's logs in the IDE console or using the Debug function of TE.
|
|
11
|
+
## **1. Logging**
|
|
12
|
+
```javascript
|
|
13
|
+
var config = {
|
|
14
|
+
appId: "xxx",
|
|
15
|
+
serverUrl: "xxx",
|
|
16
|
+
enableLog:true
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
After this function is enabled, the reported data will be printed on the browser console.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## **2. Debugging**
|
|
25
|
+
You need to follow the following two steps to enable the Debug mode:
|
|
26
|
+
1. Enable the debug mode at the client side
|
|
27
|
+
The sample code for enabling the Debug mode on the client side is as follows:
|
|
28
|
+
```java
|
|
29
|
+
/*
|
|
30
|
+
Set the operation mode as the Debug mode
|
|
31
|
+
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
|
|
32
|
+
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
|
|
33
|
+
DebugOnly mode: data would be verified without being stored; it is not recommended to use the DebugOnly mode in an online environment
|
|
34
|
+
*/
|
|
35
|
+
var config = {
|
|
36
|
+
appid: "YOUR_APPID",
|
|
37
|
+
server_url: "YOUR_SERVER_URL",
|
|
38
|
+
debugMode: "debug"
|
|
39
|
+
};
|
|
40
|
+
TDAnalytics.init(config);
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
2. Add Device
|
|
44
|
+
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 "Debug data"sector on the "tracking management" page of the TE when the client side has enabled the Debug mode.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
Device ID could be obtained by the following three means:
|
|
48
|
+
- #Device_id property in the event data of the TE platform
|
|
49
|
+
- Client-side log: DeviceID would be printed after SDK is initialized
|
|
50
|
+
Call [obtain device ID](https://thinkingdata.feishu.cn/wiki/DM7kwtiBMiCpWCkk7icczidxn7c) through the instance interface
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
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.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: uniapp_sdk_multi_appid
|
|
3
|
+
name: "Multi-Instance"
|
|
4
|
+
wikiToken: UwidwC00DiRr0pkIdqDccoCOnwh
|
|
5
|
+
parentWikiToken: DM7kwtiBMiCpWCkk7icczidxn7c
|
|
6
|
+
updateTime: 1774249174000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=uniapp_sdk_multi_appid
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
The multi-APPID feature could create multiple SDK instances to perform data tracking based on their own APPID. That is, you can report data to multiple APPIDs.
|
|
11
|
+
Multiple instances share preset device-related attributes (including device ids). Other attributes are not shared:
|
|
12
|
+
- `#distinct_id` distinct ID
|
|
13
|
+
- `#account_id` account ID
|
|
14
|
+
- super propert、Dynamic public property
|
|
15
|
+
- `timeEvent` related event
|
|
16
|
+
You can report data to another project by creating a child instance, or to another set of user ids.
|
|
17
|
+
```javascript
|
|
18
|
+
var config_1 = {
|
|
19
|
+
appId: "app-id-1",
|
|
20
|
+
serverUrl: "https://youserverurl.1.com"
|
|
21
|
+
};
|
|
22
|
+
TDAnalytics.init(config_1);
|
|
23
|
+
|
|
24
|
+
var config_2 = {
|
|
25
|
+
appId: "app-id-2",
|
|
26
|
+
serverUrl: "https://youserverurl.2.com"
|
|
27
|
+
};
|
|
28
|
+
TDAnalytics.init(config_2);
|
|
29
|
+
|
|
30
|
+
//Report events to app-id-1
|
|
31
|
+
TDAnalytics.track({
|
|
32
|
+
eventName: 'event_from_appid_1'
|
|
33
|
+
});
|
|
34
|
+
//Report events to app-id-1
|
|
35
|
+
TDAnalytics.track({
|
|
36
|
+
eventName: 'event_from_appid_1'
|
|
37
|
+
}, 'app-id-1');
|
|
38
|
+
//Report events to app-id-2
|
|
39
|
+
TDAnalytics.track({
|
|
40
|
+
eventName: 'event_from_appid_2'
|
|
41
|
+
}, 'app-id-2');
|
|
42
|
+
```
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: uniapp_sdk_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: A0F9wOoF7iGC3mk9Lg8cu3FRnKg
|
|
5
|
+
parentWikiToken: DM7kwtiBMiCpWCkk7icczidxn7c
|
|
6
|
+
updateTime: 1774249172000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=uniapp_sdk_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1. Preset Properties of All Events**
|
|
11
|
+
The following present properties are properties that all events in uni-app SDK (including auto-tracking events) would have.
|
|
12
|
+
<sheet token="X0QPs90lBhtKBqtrrZ0cZ604nVg_DYl05h"/>
|
|
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 mini porgram active(ta_mp_show)
|
|
17
|
+
|
|
18
|
+
<lark-table rows="2" cols="4" column-widths="243,171,130,275">
|
|
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** {align="center"}
|
|
29
|
+
</lark-td>
|
|
30
|
+
<lark-td>
|
|
31
|
+
**Instruction**
|
|
32
|
+
</lark-td>
|
|
33
|
+
</lark-tr>
|
|
34
|
+
<lark-tr>
|
|
35
|
+
<lark-td>
|
|
36
|
+
#url_path
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
page path
|
|
40
|
+
</lark-td>
|
|
41
|
+
<lark-td>
|
|
42
|
+
Text {align="center"}
|
|
43
|
+
</lark-td>
|
|
44
|
+
<lark-td>
|
|
45
|
+
The mini program starts the path to the page being displayed
|
|
46
|
+
</lark-td>
|
|
47
|
+
</lark-tr>
|
|
48
|
+
</lark-table>
|
|
49
|
+
|
|
50
|
+
- Preset properties of mini porgram inactive(ta_mp_hide)
|
|
51
|
+
|
|
52
|
+
<lark-table rows="2" cols="4" column-widths="243,174,130,268">
|
|
53
|
+
|
|
54
|
+
<lark-tr>
|
|
55
|
+
<lark-td>
|
|
56
|
+
**Property name **
|
|
57
|
+
</lark-td>
|
|
58
|
+
<lark-td>
|
|
59
|
+
**Display name **
|
|
60
|
+
</lark-td>
|
|
61
|
+
<lark-td>
|
|
62
|
+
**Property type ** {align="center"}
|
|
63
|
+
</lark-td>
|
|
64
|
+
<lark-td>
|
|
65
|
+
**Instruction**
|
|
66
|
+
</lark-td>
|
|
67
|
+
</lark-tr>
|
|
68
|
+
<lark-tr>
|
|
69
|
+
<lark-td>
|
|
70
|
+
#duration
|
|
71
|
+
</lark-td>
|
|
72
|
+
<lark-td>
|
|
73
|
+
event duration
|
|
74
|
+
</lark-td>
|
|
75
|
+
<lark-td>
|
|
76
|
+
Numeric value {align="center"}
|
|
77
|
+
</lark-td>
|
|
78
|
+
<lark-td>
|
|
79
|
+
Indicates the duration between the start of ta_mp_show and the hiding of ta_mp_hide, in seconds
|
|
80
|
+
</lark-td>
|
|
81
|
+
</lark-tr>
|
|
82
|
+
</lark-table>
|
|
83
|
+
|
|
84
|
+
## 3.**Obtain Preset Properties**
|
|
85
|
+
You can call `getPresetProperties()` to obtain preset properties.
|
|
86
|
+
When some preset properties of the App side is required for the server-side data tracking, this method can be applied to obtain the preset properties of the App side and then send them to the server.
|
|
87
|
+
```javascript
|
|
88
|
+
//obtain property objects
|
|
89
|
+
var presetProperties=TDAnalytics.getPresetProperties();
|
|
90
|
+
//generate event preset properties
|
|
91
|
+
var properties=presetProperties.toEventPresetProperties();
|
|
92
|
+
/*
|
|
93
|
+
{
|
|
94
|
+
"#device_model":"iPhone 5",
|
|
95
|
+
"#device_id":"3204487163-1624513721217",
|
|
96
|
+
"#screen_width":320,
|
|
97
|
+
"#screen_height":568,
|
|
98
|
+
"#os":"iOS",
|
|
99
|
+
"#os_version":"10.0.1",
|
|
100
|
+
"#network_type":"wifi",
|
|
101
|
+
"#zone_offset":8,
|
|
102
|
+
"#manufacturer":"Apple"
|
|
103
|
+
}
|
|
104
|
+
*/
|
|
105
|
+
//obtain a certain preset properties
|
|
106
|
+
var os=presetProperties.os;//os type
|
|
107
|
+
var osVersion=presetProperties.osVersion;//system version number
|
|
108
|
+
var networkType=presetProperties.networkType;//network type
|
|
109
|
+
var manufacture=presetProperties.manufacture;//mobile phone manufacturer, e.g., HuaWei
|
|
110
|
+
var deviceModel=presetProperties.deviceModel; //device model
|
|
111
|
+
var screenWidth=presetProperties.screenWidth; //screen width
|
|
112
|
+
var screenHeight=presetProperties.screenHeight; //screen height
|
|
113
|
+
var deviceId=presetProperties.deviceId;//unique identifier of device
|
|
114
|
+
var zoneOffset=presetProperties.zoneOffset;////timezone offset value
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
<quote-container>
|
|
118
|
+
IP and national city information are parsed and generated by the server. The client side shall not provide the interface to obtain such properties
|
|
119
|
+
</quote-container>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: uniapp_sdk_native
|
|
3
|
+
name: "Support Native"
|
|
4
|
+
wikiToken: OcNWwiFFPiRBP6kivKicaRgEnKh
|
|
5
|
+
parentWikiToken: DM7kwtiBMiCpWCkk7icczidxn7c
|
|
6
|
+
updateTime: 1774249176000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=uniapp_sdk_native
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1. Support iOS Native
|
|
11
|
+
### 1.1 Building an iOS Project
|
|
12
|
+
- Create an iOS project
|
|
13
|
+
- Open HBuilderX- Publish - Generate App package resources
|
|
14
|
+
- Copy the locally packaged App resources to the Pandora -> apps path in the project directory
|
|
15
|
+
### **1.2 Configuring the ****iOS**** Project**
|
|
16
|
+
- Add iOS project dependency files
|
|
17
|
+
Install the SDK using CocoaPods
|
|
18
|
+
Create and edit Podfile content (edit directly if you already have it) :
|
|
19
|
+
Create a Podfile, project (.xcodeproj) file in the same directory as the command line:
|
|
20
|
+
```shell
|
|
21
|
+
pod init
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Edit Podfile as follows:
|
|
25
|
+
```javascript
|
|
26
|
+
pod 'TAGameEngine'
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Running the Installation Command
|
|
30
|
+
```javascript
|
|
31
|
+
pod install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## 2.Support Android Native
|
|
35
|
+
### 1.1 Building an Android Project
|
|
36
|
+
- Create an Android project
|
|
37
|
+
- Open HBuilderX- Publish - Generate App package resources
|
|
38
|
+
- Copy app resources to project assets->apps
|
|
39
|
+
### **2.2 Configuring the Android Project**
|
|
40
|
+
- Add the following configuration dependencies to the build.gradle file at the Project
|
|
41
|
+
```plaintext
|
|
42
|
+
buildscript {
|
|
43
|
+
repositories {
|
|
44
|
+
jcenter()
|
|
45
|
+
mavenCentral()
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- Add the dependencies to the build.gradle file in the Module project directory
|
|
51
|
+
```plaintext
|
|
52
|
+
implementation 'cn.thinkingdata.android:TAGameEngine:1.2.0'
|
|
53
|
+
implementation 'cn.thinkingdata.android:ThinkingAnalyticsSDK:3.0.0.1
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## 3.Enabling Native Support
|
|
57
|
+
When initializing the SDK, set enableNative: true in config to enableNative support.
|
|
58
|
+
```go
|
|
59
|
+
|
|
60
|
+
var config = {
|
|
61
|
+
appId: "YOUR_APPID",
|
|
62
|
+
serverUrl: "YOUR_SERVER_URL",
|
|
63
|
+
enableNative: true, // enable native support
|
|
64
|
+
autoTrack: {
|
|
65
|
+
appLaunch: true, // auto-tracking ta_mp_launch
|
|
66
|
+
appShow: true, // auto-tracking ta_mp_show
|
|
67
|
+
appHide: true, // auto-tracking ta_mp_hide
|
|
68
|
+
appInstall:true,// auto-tracking ta_app_install(only for native)
|
|
69
|
+
appCrash: true, // auto-tracking ta_app_crash(only for native)
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
// init
|
|
74
|
+
TDAnalytics.init(config);
|
|
75
|
+
TDAnalytics.track({
|
|
76
|
+
eventName: "product_buy",
|
|
77
|
+
properties: {
|
|
78
|
+
product_name: "tv"
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
```
|