@thinkingai/ae-cli 1.0.28 → 6.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -16
- package/README.zh.md +1 -16
- package/dist/{auth-H2376DEF.js → auth-DYC2BGLM.js} +2 -2
- package/dist/{auth-5NSDQFQB.js → auth-GHBMJ5ZR.js} +31 -12
- package/dist/{chunk-CLJF7MQA.js → chunk-2DUEAXV3.js} +1 -1
- package/dist/chunk-5OC7CYCG.js +98 -0
- package/dist/{chunk-SRJIAOBN.js → chunk-6W4QOZAL.js} +10 -0
- package/dist/{chunk-LU7SXK4Q.js → chunk-BJX3GXWC.js} +2 -2
- package/dist/{chunk-WCHI7725.js → chunk-DMMEPCST.js} +47 -6
- package/dist/{chunk-IMBKVXKY.js → chunk-EGEIXA2Z.js} +82 -10
- package/dist/{chunk-AD5V3ZPJ.js → chunk-I5CRVM2S.js} +98 -10
- package/dist/chunk-NOO24N7W.js +11 -0
- package/dist/{chunk-GSJGPNKK.js → chunk-PN3OS34E.js} +1 -1
- package/dist/{chunk-CAQYQA4R.js → chunk-RSHMZ3LG.js} +15 -1
- package/dist/{client-FCMK3XEK.js → client-2UJ63MVQ.js} +3 -3
- package/dist/{config-64G36TJL.js → config-NCUGK6NS.js} +3 -3
- package/dist/index.js +2549 -29
- package/dist/{model-EZ6K7FXI.js → model-SJSOZTRS.js} +5 -7
- package/dist/{raw-VEF3D6UD.js → raw-7NVWSVJP.js} +4 -4
- package/dist/{sync-NRODEVNH.js → sync-GRVO4K3U.js} +120 -23
- package/dist/{te-agent-7U7JLJKU.js → te-agent-KZRIEN4N.js} +468 -47
- package/dist/{te-analysis-A2OSGHQ4.js → te-analysis-VAR4KUOK.js} +145 -28
- package/dist/{te-audience-LI67PPGO.js → te-audience-KMKYI2YJ.js} +23 -14
- package/dist/{te-common-35WVU3C5.js → te-common-WNCZB7R7.js} +5 -4
- package/dist/{te-community-LEAP6PWT.js → te-community-JEEFXPB3.js} +11 -10
- package/dist/{te-dataops-N2LGZBOX.js → te-dataops-GD3XBYCS.js} +33 -32
- package/dist/{te-engage-H7C72Z46.js → te-engage-4XHCTS6I.js} +5 -4
- package/dist/{te-kb-I2OKTBAI.js → te-kb-B62KFP2A.js} +97 -7
- package/dist/{te-meta-HBTIEDRO.js → te-meta-EPZGQN56.js} +10 -9
- package/dist/{te-team-EM5OWRQL.js → te-team-YY24VORI.js} +16 -12
- package/dist/tracking/i18n/resources/cli/en.json +153 -0
- package/dist/tracking/i18n/resources/cli/ja.json +153 -0
- package/dist/tracking/i18n/resources/cli/ko.json +153 -0
- package/dist/tracking/i18n/resources/cli/zh.json +153 -0
- package/package.json +9 -3
- package/skills/ae-agent/SKILL.md +66 -26
- package/skills/ae-analysis/SKILL.md +108 -8
- package/skills/ae-analysis/references/cancel_query.md +39 -0
- package/skills/ae-analysis/references/drilldown_user_events.md +4 -2
- package/skills/ae-analysis/references/drilldown_users.md +4 -2
- package/skills/ae-analysis/references/get_bi_panel_detail.md +35 -0
- package/skills/ae-analysis/references/list_alerts.md +1 -1
- package/skills/ae-analysis/references/list_bi_panels.md +35 -0
- package/skills/ae-analysis/references/list_cluster_members.md +4 -1
- package/skills/ae-analysis/references/list_dashboards.md +1 -1
- package/skills/ae-analysis/references/list_entities.md +1 -1
- package/skills/ae-analysis/references/list_events.md +1 -1
- package/skills/ae-analysis/references/list_metrics.md +1 -1
- package/skills/ae-analysis/references/list_project_mark_times.md +1 -1
- package/skills/ae-analysis/references/list_properties.md +1 -1
- package/skills/ae-analysis/references/list_public_access_links.md +1 -1
- package/skills/ae-analysis/references/list_reports.md +1 -1
- package/skills/ae-analysis/references/list_tag_members.md +4 -1
- package/skills/ae-analysis/references/query_adhoc.md +6 -5
- package/skills/ae-analysis/references/query_bi_panel_data.md +58 -0
- package/skills/ae-analysis/references/query_dashboard_report_data.md +4 -1
- package/skills/ae-analysis/references/query_entity_details.md +5 -2
- package/skills/ae-analysis/references/query_event_details.md +4 -1
- package/skills/ae-analysis/references/query_report_data.md +2 -2
- package/skills/ae-analysis-global/SKILL.md +3 -1
- package/skills/ae-analysis-intent/SKILL.md +132 -0
- package/skills/ae-data-integration-helper/SKILL.md +242 -0
- package/skills/ae-data-integration-helper/references/android_sdk_faq.md +179 -0
- package/skills/ae-data-integration-helper/references/c_sdk_compilation.md +83 -0
- package/skills/ae-data-integration-helper/references/c_sdk_faq.md +416 -0
- package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +123 -0
- package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +365 -0
- package/skills/ae-data-integration-helper/references/index.md +56 -0
- package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +118 -0
- package/skills/ae-data-integration-helper/references/java_sdk_faq.md +406 -0
- package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +129 -0
- package/skills/ae-data-integration-helper/references/logbus2_guide.md +309 -0
- package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +348 -0
- package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +115 -0
- package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +118 -0
- package/skills/ae-data-integration-helper/references/python_sdk_faq.md +232 -0
- package/skills/ae-data-integration-helper/references/restful_api_notes.md +74 -0
- package/skills/ae-data-integration-helper/references/sdk_log_guide.md +316 -0
- package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +107 -0
- package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +115 -0
- package/skills/ae-generate-tracking-code/SKILL.md +629 -0
- package/skills/ae-generate-tracking-code/references/autotrack-enum.md +183 -0
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +202 -0
- package/skills/ae-generate-tracking-code/references/datax-config.md +43 -0
- package/skills/ae-generate-tracking-code/references/debug-script.md +102 -0
- package/skills/ae-generate-tracking-code/references/logbus-config.md +200 -0
- package/skills/ae-generate-tracking-code/references/modes.md +83 -0
- package/skills/ae-generate-tracking-code/references/restful-call.md +36 -0
- package/skills/ae-generate-tracking-code/references/sdk-index.md +128 -0
- package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +206 -0
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +394 -0
- package/skills/ae-generate-tracking-code/references/te-api.md +181 -0
- package/skills/ae-generate-tracking-plan/SKILL.md +1083 -0
- package/skills/ae-generate-tracking-plan/references/autotrack-events.md +273 -0
- package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +425 -0
- package/skills/ae-generate-tracking-plan/references/te-api.md +100 -0
- package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +152 -0
- package/skills/ae-kb/SKILL.md +38 -5
- package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +104 -0
- package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +117 -0
- package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +72 -0
- package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +86 -0
- package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +80 -0
- package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.md" +40 -0
- package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.xlsx +0 -0
- package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.md +40 -0
- package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.xlsx +0 -0
- package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +92 -0
- package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
- package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.md +130 -0
- package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.xlsx +0 -0
- package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +52 -0
- package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +68 -0
- package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.md +108 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.xlsx +0 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +63 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +101 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +84 -0
- package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +79 -0
- package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +105 -0
- package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +83 -0
- package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/wiki/te-docs/index.md +225 -0
- package/wiki/te-docs/raw/advanced-data-type/first-event-check.md +66 -0
- package/wiki/te-docs/raw/advanced-data-type/updated-event.md +87 -0
- package/wiki/te-docs/raw/advanced-data-type.md +16 -0
- package/wiki/te-docs/raw/data-ingestion-guide/about-gdpr.md +55 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/automatic-event-tracking.md +431 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/debugging-and-logging.md +49 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/multi-instance.md +66 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/preset-properties.md +466 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/third-party-integration.md +127 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced.md +513 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/release-notes.md +177 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android.md +228 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/c-advanced.md +419 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c.md +110 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/client-side-sdk-faq.md +52 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/cpp-advanced.md +366 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/release-notes.md +103 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp.md +201 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/compliance.md +26 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/automatically-track-events.md +117 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/preset-properties.md +52 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced.md +267 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/release-notes.md +82 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter.md +139 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/compliance.md +26 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/automatically-track-events.md +121 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/debugging-and-logging.md +54 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/preset-properties.md +18 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced.md +305 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/release-notes.md +79 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native.md +137 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/release-notes.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/automatically-track-events.md +54 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/debugging-and-logging.md +53 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/multi-instance.md +42 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/preset-properties.md +119 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/support-native.md +81 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced.md +331 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app.md +156 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform.md +12 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/multi-instance.md +21 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/preset-properties.md +249 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md +301 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/release-notes.md +51 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x.md +281 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md +70 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/debugging-and-logging.md +57 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/native-support.md +104 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/preset-properties.md +91 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance.md +374 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/compliance.md +35 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/release-notes.md +109 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator.md +170 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/compliance.md +28 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/automatic-event-tracking.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/debugging-and-logging.md +58 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/preset-properties.md +43 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced.md +204 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/release-notes.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona.md +269 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/release-notes.md +177 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/automatic-event-tracking.md +119 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/multi-instance.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/native-pluggable.md +43 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/preset-properties.md +212 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/third-party-integration.md +77 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced.md +396 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity.md +176 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/release-notes.md +81 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md +79 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/debugging-and-logging.md +31 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/preset-properties.md +25 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/third-party-integrations.md +141 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced.md +278 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal.md +190 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine.md +14 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/h5-and-app-sdk-connection.md +147 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/instant-app-and-game.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/automatic-event-tracking.md +272 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/debugging-and-logging.md +77 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/multi-instance.md +142 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/preset-properties.md +484 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/third-party-integrations.md +132 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced.md +682 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/release-notes.md +163 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios.md +304 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/compliance.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/automatic-event-tracking.md +136 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/debugging-and-logging.md +48 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/multi-instance.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/preset-properties.md +132 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced.md +462 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/release-notes.md +107 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript.md +208 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/debugging-and-logging.md +62 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/preset-properties.md +118 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced.md +556 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos.md +231 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk.md +25 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/filebeat-logstash-user-guide.md +610 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md +1215 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/ta-datax-writer-plugin-user-guide.md +278 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools.md +15 -0
- package/wiki/te-docs/raw/data-ingestion-guide/privacy-policy.md +38 -0
- package/wiki/te-docs/raw/data-ingestion-guide/restful-api-user-guide.md +155 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-FM9Cwz.md +37 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-RSyfw7.md +41 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging.md +89 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-OxzWw.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-VuE3wr.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-IauKwI.md +175 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-YAilwk.md +210 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced.md +211 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-PVazwa.md +62 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-TADbwY.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes.md +69 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-V2W3wv.md +131 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-Zf9Jwl.md +179 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c.md +189 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/debugging-and-logging.md +38 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced.md +113 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/release-notes.md +34 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang.md +155 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/debugging-and-logging.md +42 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced.md +157 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/release-notes.md +72 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang.md +148 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/debugging-and-logging.md +49 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced.md +223 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/release-notes.md +88 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java.md +174 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/debugging-and-logging.md +46 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced.md +182 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/release-notes.md +61 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua.md +121 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/debugging-and-logging.md +55 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced.md +225 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs.md +141 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/debugging-and-logging.md +41 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced.md +216 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php.md +173 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/debugging-and-logging.md +40 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced.md +206 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/release-notes.md +51 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python.md +116 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/release-notes.md +44 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced.md +189 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby.md +142 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk.md +22 -0
- package/wiki/te-docs/raw/data-ingestion-guide/thinkingdata-privacy-policy.md +37 -0
- package/wiki/te-docs/raw/data-ingestion-guide.md +48 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/data-rules.md +396 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/preset-properties-and-system-fields.md +957 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/user-identification-rules.md +723 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion.md +203 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//345/220/210/350/247/204/346/214/207/345/215/227.md +96 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//346/233/264/346/226/260/346/227/245/345/277/227.md +97 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +52 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +447 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227.md +370 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony.md +172 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//346/233/264/346/226/260/346/227/245/345/277/227.md +209 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +71 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +49 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +125 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +498 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227.md +612 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217.md +373 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//345/220/210/350/247/204/346/214/207/345/215/227.md +26 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//346/233/264/346/226/260/346/227/245/345/277/227.md +32 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +30 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +61 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227.md +236 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua.md +200 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//346/233/264/346/226/260/346/227/245/345/277/227.md +83 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +66 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +62 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +358 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227.md +615 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret.md +166 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//346/233/264/346/226/260/346/227/245/345/277/227.md +87 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +71 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +61 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +406 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227.md +597 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair.md +179 -0
- package/wiki/te-docs/schema.md +16 -0
- package/wiki/te-docs/synthesis/batch-ingest-comparison.md +324 -0
- package/wiki/te-docs/synthesis/js-sdk-cheatsheet.md +538 -0
- package/wiki/te-docs/synthesis/restful-api-reference.md +363 -0
- package/wiki/te-docs/synthesis/sdk-selection.md +372 -0
- package/wiki/te-docs/synthesis/server-sdk-overview.md +449 -0
- package/dist/chunk-KAEZTSXN.js +0 -99
- package/dist/chunk-OJDNO5QY.js +0 -63
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: javascript_sdk_release_note
|
|
3
|
+
name: "Release Notes"
|
|
4
|
+
wikiToken: EUW1wf0YKicpFikBeO0c9hz1ngD
|
|
5
|
+
parentWikiToken: HwzHwHeb5iFceqk6Eylcd03UnMh
|
|
6
|
+
updateTime: 1780908194000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=javascript_sdk_release_note
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## v2.5.1
|
|
11
|
+
**Date: **06/08/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.5.1.zip)
|
|
12
|
+
**notes:**
|
|
13
|
+
- Known issue fixes
|
|
14
|
+
|
|
15
|
+
## v2.5.0
|
|
16
|
+
**Date: **04/15/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.5.0.zip)
|
|
17
|
+
**notes:**
|
|
18
|
+
- One - click enablement of element click events through configuration during initialization.
|
|
19
|
+
- Automatic click collection option based on the data - track - id attribute.
|
|
20
|
+
- Add an option to exclude sensitive elements.
|
|
21
|
+
|
|
22
|
+
## v2.4.0
|
|
23
|
+
**Date: **03/16/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.4.0.zip)
|
|
24
|
+
**notes:**
|
|
25
|
+
- Support browsing events for single-page applications (Vue2, Vue3, React, Angular)
|
|
26
|
+
- Add a switch to control whether to obtain configuration information
|
|
27
|
+
- Add support for AppleWebKit in browser identification types
|
|
28
|
+
|
|
29
|
+
## v2.3.1
|
|
30
|
+
**Date: **01/07/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.3.1.zip)
|
|
31
|
+
**notes:**
|
|
32
|
+
- Added getSDKVersion method
|
|
33
|
+
|
|
34
|
+
## v2.3.0
|
|
35
|
+
**Date: **12/23/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.3.0.zip)
|
|
36
|
+
**notes:**
|
|
37
|
+
- trackLink supports the dynamic addition of buttons
|
|
38
|
+
|
|
39
|
+
## v2.2.1
|
|
40
|
+
**Date: **11/11/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.2.1.zip)
|
|
41
|
+
**notes:**
|
|
42
|
+
- Added UUID to Batch mode
|
|
43
|
+
- During initialization, you can set account, visitor, and public attributes
|
|
44
|
+
|
|
45
|
+
## v2.2.0
|
|
46
|
+
**Date: **11/04/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.2.0.zip)
|
|
47
|
+
**notes:**
|
|
48
|
+
- Added UUID to Batch mode
|
|
49
|
+
- During initialization, you can set account, visitor, and public attributes
|
|
50
|
+
|
|
51
|
+
## v2.1.1
|
|
52
|
+
**Date: **02/24/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.1.1.zip)
|
|
53
|
+
**notes:**
|
|
54
|
+
- Fix the issue of logout failure
|
|
55
|
+
|
|
56
|
+
## v2.1.0
|
|
57
|
+
**Date: **12/25/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.1.0.zip)
|
|
58
|
+
**notes:**
|
|
59
|
+
- Fixed the issue of data loss in Batch mode
|
|
60
|
+
- Fixed the issue that the system language could not be obtained on Android and iOS
|
|
61
|
+
- Support preset attribute masking function
|
|
62
|
+
- Automatically collect page browsing events in a single page
|
|
63
|
+
- Support yarn and pnpm integration
|
|
64
|
+
- Fixed the garbled emoji problem
|
|
65
|
+
- Automatically collect events in a single page
|
|
66
|
+
- Support disabling event function
|
|
67
|
+
|
|
68
|
+
## v2.0.4
|
|
69
|
+
**Date: **09/13/2024[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.0.4.zip)
|
|
70
|
+
**notes:**
|
|
71
|
+
- Support the interoperability between Flutter and ReactNative
|
|
72
|
+
- Known issue fixes
|
|
73
|
+
|
|
74
|
+
## v2.0.0
|
|
75
|
+
**Date: **11/08/2023[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.0.0.zip)
|
|
76
|
+
**notes:**
|
|
77
|
+
- Code specifications and comment specifications
|
|
78
|
+
- Add image sending method to block console warnings
|
|
79
|
+
|
|
80
|
+
## v1.6.2
|
|
81
|
+
**Date: **04/13/2023** **[Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v1.6.2.zip)
|
|
82
|
+
**notes:**
|
|
83
|
+
- Code specifications
|
|
84
|
+
- Bug fix
|
|
85
|
+
|
|
86
|
+
## v1.6.1
|
|
87
|
+
**Date: 09/29/2022**
|
|
88
|
+
**notes:**
|
|
89
|
+
- Connecting multiple domain names
|
|
90
|
+
- Support batch sending of data
|
|
91
|
+
- Added preset properties `#ua`,`#utm`,`#language`
|
|
92
|
+
|
|
93
|
+
## v1.6.0
|
|
94
|
+
**Date: 06/17/2022**
|
|
95
|
+
**nots:**
|
|
96
|
+
- Add ajax request failure retry
|
|
97
|
+
- Add `ta_app_show` and `ta_app_hide`event
|
|
98
|
+
|
|
99
|
+
## v1.5.0
|
|
100
|
+
**Date: 06/14/2022**
|
|
101
|
+
**notes:**
|
|
102
|
+
- Support data encryption
|
|
103
|
+
- Support `userUniqAppend`
|
|
104
|
+
- Optimize data stop/pause reporting API
|
|
105
|
+
- Auto-tracking event support custom properties
|
|
106
|
+
- Support custom time zone
|
|
107
|
+
- The duration of event is too long, and the maximum limit is 24 hours
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: javascript_sdk_installation
|
|
3
|
+
name: "JavaScript"
|
|
4
|
+
wikiToken: HwzHwHeb5iFceqk6Eylcd03UnMh
|
|
5
|
+
parentWikiToken: KaFCwNeV3iRxjNkpT3QcDMg3n5V
|
|
6
|
+
updateTime: 1780908046000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=javascript_sdk_installation
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
::: tip
|
|
11
|
+
Before you begin, please read [<text color="purple" underline="true">Preparation before Data Ingestion</text>](https://thinkingdata.feishu.cn/wiki/OhD8we9iai6Xk5kM1QNc8ITRnQe)
|
|
12
|
+
The JavaScript SDK runs on a browser and is not compatible with IE 8 or before.
|
|
13
|
+
The JavaScript SDK is about 58 KB in size
|
|
14
|
+
:::
|
|
15
|
+
**Latest version:** 2.5.1
|
|
16
|
+
**Update time:** 06/08/2026
|
|
17
|
+
**Resource download: **[**SDK**](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.5.1.zip)**,**[**Source Code**](https%3A%2F%2Fgithub.com%2FThinkingDataAnalytics%2Fjs-sdk)
|
|
18
|
+
## **1. ****SDK**** Integration**
|
|
19
|
+
### **1.1 Automatic Integration**
|
|
20
|
+
```json
|
|
21
|
+
npm install thinkingdata-browser --save
|
|
22
|
+
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"thinkingdata-browser": "2.5.1",
|
|
25
|
+
},
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Next, start to initialize the SDK. For specific configuration parameters, please refer to the second step below:
|
|
29
|
+
```javascript
|
|
30
|
+
import ta from "thinkingdata-browser";
|
|
31
|
+
var config = {
|
|
32
|
+
appId: "APP_ID",
|
|
33
|
+
serverUrl: "https://YOUR_SERVER_URL",
|
|
34
|
+
autoTrack: {
|
|
35
|
+
pageShow: true, //page display event, event name ta_page_show
|
|
36
|
+
pageHide: true, //page hide event, event name ta_page_hide
|
|
37
|
+
pageView: true, //enable single-page browsing event, event name: ta_pageview
|
|
38
|
+
pageClick: true //Enable page element click events, event name: ta_page_click
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
ta.init(config);
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### **1.2 Manual Integration**
|
|
45
|
+
1. Download [JavaScript SDK](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FJavaScript%2Fta_js_sdk_v2.5.0.zip)
|
|
46
|
+
Two standard scripts are provided in the compressed package, and you can choose the desired script according to your needs.The asynchronous loading described below requires the use of the `thinkingdata.min.js` file;Synchronous loading requires the use of `thinkingdata.umd.min.js`.
|
|
47
|
+
2. Load the JavaScript SDK
|
|
48
|
+
You can choose to use the SDK by loading asynchronously or synchronously. The two methods are the same in actual use, you can choose one of them
|
|
49
|
+
Instruction on parameters:
|
|
50
|
+
- `APPID`: The APPID of your project, which can be found on the project management page of TE.
|
|
51
|
+
- `SERVER_URL`:
|
|
52
|
+
- If you are using a SaaS version, please check the receiver URL on this page
|
|
53
|
+
<image token="AnjzbzFZtoF0UBxKQ7ZcGpGXnOe" width="1280" height="1007" align="center"/>
|
|
54
|
+
|
|
55
|
+
- If you use the private deployment version, you can customize the data tracking URL .
|
|
56
|
+
:::: el-tabs
|
|
57
|
+
::: el-tab-pane label=asynchronous loading
|
|
58
|
+
For asynchronous loading, use `thinkingdata.min.js`, put the following code into the `<``script``>` of html, or other initialization codes, and configure the corresponding parameters:
|
|
59
|
+
```javascript
|
|
60
|
+
<!--Thinking Analytics SDK BEGIN-->
|
|
61
|
+
<script>
|
|
62
|
+
!function (e) { if (!window.ThinkingDataAnalyticalTool) { var n = e.sdkUrl, t = e.name, r = window, a = document, i = "script", l = null, s = null; r.ThinkingDataAnalyticalTool = t; var o = ["track", "quick", "login", "identify", "logout", "trackLink", "userSet", "userSetOnce", "userAdd", "userDel", "setPageProperty", "setSuperProperties", "setDynamicSuperProperties", "clearSuperProperties", "timeEvent", "unsetSuperProperties", "initInstance", "trackFirstEvent", "trackUpdate", "trackOverwrite"]; r[t] = function (e) { return function () { if (this.name) (r[t]._q = r[t]._q || []).push([e, arguments, this.name]); else if ("initInstance" === e) { var n = arguments[0]; r[t][n] = { name: n }; for (var a = 0; a < o.length; a++)r[t][n][o[a]] = r[t].call(r[t][n], o[a]); (r[t]._q1 = r[t]._q1 || []).push([e, arguments]) } else (r[t]._q = r[t]._q || []).push([e, arguments]) } }; for (var u = 0; u < o.length; u++)r[t][o[u]] = r[t].call(null, o[u]); r[t].param = e, r[t].__SV = 1.1, l = a.createElement(i), s = a.getElementsByTagName(i)[0], l.async = 1, l.src = n, s.parentNode.insertBefore(l, s) } }(
|
|
63
|
+
{
|
|
64
|
+
appId:'APP_ID', //APPID assigned by the system
|
|
65
|
+
name: 'ta', //The global call variable name can be set arbitrarily, and subsequent calls can use this name
|
|
66
|
+
sdkUrl:'./thinkingdata.min.js', //script address
|
|
67
|
+
serverUrl:'https://YOUR_SERVER_URL', //URL for data upload
|
|
68
|
+
autoTrack: {
|
|
69
|
+
pageShow: true, //page display event, event name ta_page_show
|
|
70
|
+
pageHide: true, //page hide event, event name ta_page_hide
|
|
71
|
+
pageView: true, //enable single-page browsing event, event name: ta_pageview
|
|
72
|
+
pageClick: true //Enable page element click events, event name: ta_page_click
|
|
73
|
+
},
|
|
74
|
+
loaded: function(te) {
|
|
75
|
+
// var currentId = ta.getDistinctId();
|
|
76
|
+
// ta.identify(currentId);
|
|
77
|
+
// ta.quick('autoTrack');
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
</script>
|
|
81
|
+
<!--Thinking Analytics SDK END-->
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Specific parameters for asynchronous loading:
|
|
85
|
+
- `name` Call the variable name for the global
|
|
86
|
+
- `sdkUrl` It is the URL of sdk and needs to be configured
|
|
87
|
+
- `loaded` Initialize the callback function, and use the code fragment to load as asynchronous loading, so the method with a return value may not be called successfully, or the track triggered before the SDK loading is completed will be abnormal.We provide the loaded attribute in the parameter. The callback function in loaded will be called after the initialization is completed and before the data is reported. For example, if the user ID is set here, the data generated before the SDK is loaded will be set to this user ID.
|
|
88
|
+
:::
|
|
89
|
+
::: el-tab-pane label=synchronous loading
|
|
90
|
+
For synchronous loading, use `thinkingdata.umd.min.js`,Put the following code into the initialization code and configure the corresponding parameters:
|
|
91
|
+
```javascript
|
|
92
|
+
<!--Thinking Analytics SDK BEGIN-->
|
|
93
|
+
<script src="./thinkingdata.umd.min.js"></script>
|
|
94
|
+
<script>
|
|
95
|
+
// Create an SDK configuration object
|
|
96
|
+
var config = {
|
|
97
|
+
appId: 'APP_ID',
|
|
98
|
+
serverUrl: 'https://YOUR_SERVER_URL',
|
|
99
|
+
autoTrack: {
|
|
100
|
+
pageShow: true, //page display event, event name ta_page_show
|
|
101
|
+
pageHide: true, //page hide event, event name ta_page_hide
|
|
102
|
+
pageView: true, //enable single-page browsing event, event name: ta_pageview
|
|
103
|
+
pageClick: true //Enable page element click events, event name: ta_page_click
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
//Assign the SDK instance to the global variable ta, or other variables you specify
|
|
107
|
+
window.ta = thinkingdata;
|
|
108
|
+
//Initialize the SDK with a configuration object
|
|
109
|
+
ta.init(config);
|
|
110
|
+
</script>
|
|
111
|
+
<!--Thinking Analytics SDK END-->
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
:::
|
|
115
|
+
::::
|
|
116
|
+
## **2. Common Features**
|
|
117
|
+
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 use the APP with a new device.
|
|
118
|
+
### **2.1 Login**
|
|
119
|
+
When the users log in , `login` could be called to set the account ID of the user. TE platform 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.
|
|
120
|
+
```javascript
|
|
121
|
+
// The login unique identifier of the user, corresponding to the #account_id in data tracking. #Account_id now is TE
|
|
122
|
+
ta.login("TE");
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
<quote-container>
|
|
126
|
+
**Login events wouldn't be uploaded in this method.**
|
|
127
|
+
</quote-container>
|
|
128
|
+
|
|
129
|
+
### 2.2 **Super Properties**
|
|
130
|
+
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.
|
|
131
|
+
```javascript
|
|
132
|
+
var superProperties = {};
|
|
133
|
+
superProperties["channel"] = "te";//string
|
|
134
|
+
superProperties["age"] = 1;//number
|
|
135
|
+
superProperties["isSuccess"] = true;//boolean
|
|
136
|
+
superProperties["birthday"] = new Date();//time
|
|
137
|
+
superProperties["object"] = {key:"value"};//object
|
|
138
|
+
superProperties["object_arr"] = [{key:"value"}];//array object
|
|
139
|
+
superProperties["arr"] = ["value"];//array
|
|
140
|
+
te.setSuperProperties(superProperties);//set super properties
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Super Properties will 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.
|
|
144
|
+
- 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.
|
|
145
|
+
- Value, the value of the property, supports string, numbers, Boolean, time, object, array object, and array
|
|
146
|
+
<quote-container>
|
|
147
|
+
**The requirements for event properties and user properties are the same with that for super properties**
|
|
148
|
+
</quote-container>
|
|
149
|
+
|
|
150
|
+
### **2.3 Sending Events**
|
|
151
|
+
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:
|
|
152
|
+
```javascript
|
|
153
|
+
ta.track(
|
|
154
|
+
"product_buy", //event name
|
|
155
|
+
//event property
|
|
156
|
+
{product_name:"tv"});
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
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.
|
|
160
|
+
### **2.4 User Properties**
|
|
161
|
+
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:
|
|
162
|
+
```javascript
|
|
163
|
+
//the username now is TA
|
|
164
|
+
ta.userSet({ username: "TA" });
|
|
165
|
+
//the username now is TE
|
|
166
|
+
ta.userSet({ username: "TE" });
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
## **3. Best Practice**
|
|
170
|
+
The following sample code covers all the above-mentioned operations. It is recommended that the SDK be used in the following steps:
|
|
171
|
+
```javascript
|
|
172
|
+
import ta from "thinkingdata-browser";
|
|
173
|
+
var config = {
|
|
174
|
+
appId: "APP_ID",
|
|
175
|
+
serverUrl: "https://YOUR_SERVER_URL/sync_js",
|
|
176
|
+
autoTrack: {
|
|
177
|
+
pageShow: true, //page display event, event name ta_page_show
|
|
178
|
+
pageHide: true, //page hide event, event name ta_page_hide
|
|
179
|
+
pageView: true, //enable single-page browsing event, event name: ta_pageview
|
|
180
|
+
pageClick: true //Enable page element click events, event name: ta_page_click
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
//Initialize the SDK
|
|
185
|
+
ta.init(config);
|
|
186
|
+
|
|
187
|
+
//if the user has logged in, the account ID of the user could be set as the unique identifier
|
|
188
|
+
ta.login("TA");
|
|
189
|
+
|
|
190
|
+
//set super properties
|
|
191
|
+
var superProperties = {};
|
|
192
|
+
superProperties["channel"] = "ta";//string
|
|
193
|
+
superProperties["age"] = 1;//number
|
|
194
|
+
superProperties["isSuccess"] = true;//boolean
|
|
195
|
+
superProperties["birthday"] = new Date();//time
|
|
196
|
+
superProperties["object"] = {key:"value"};//object
|
|
197
|
+
superProperties["object_arr"] = [{key:"value"}];//array object
|
|
198
|
+
superProperties["arr"] = ["value"];//array
|
|
199
|
+
ta.setSuperProperties(superProperties);
|
|
200
|
+
|
|
201
|
+
//upload events
|
|
202
|
+
ta.track("product_buy", //event name
|
|
203
|
+
//event property
|
|
204
|
+
{product_name:"tv"});
|
|
205
|
+
|
|
206
|
+
//Set user properties
|
|
207
|
+
ta.userSet({username: "TA" });
|
|
208
|
+
```
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: macos_sdk_debug
|
|
3
|
+
name: "Debugging and Logging"
|
|
4
|
+
wikiToken: CsZVwFdKmiJnD6kioCRcQm7knsg
|
|
5
|
+
parentWikiToken: VXDLwciQyixZ39kwAI5cDeRfndd
|
|
6
|
+
updateTime: 1774252002000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=macos_sdk_debug
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
During the process of SDK integration, you can perform real-time debugging by checking SDK's logs in the IDE console or using the Debug feature of TE.
|
|
11
|
+
## Printing Log
|
|
12
|
+
:::: el-tabs
|
|
13
|
+
::: el-tab-pane label=Objective-C
|
|
14
|
+
```objectivec
|
|
15
|
+
[TDAnalytics enableLog:YES];
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
:::
|
|
19
|
+
::: el-tab-pane label=Swift
|
|
20
|
+
```swift
|
|
21
|
+
TDAnalytics.enableLog(true)
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
:::
|
|
25
|
+
::::
|
|
26
|
+
<quote-container>
|
|
27
|
+
After opening the log, you can check data tracking of SDK by filtering logs related to ThinkingData in IDE.
|
|
28
|
+
</quote-container>
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## **2. Debugging**
|
|
32
|
+
You need to follow the following two steps to enable the Debug mode:
|
|
33
|
+
1. Enable the debug mode at the client
|
|
34
|
+
The sample code for enabling the Debug mode on the client is as follows:
|
|
35
|
+
```objectivec
|
|
36
|
+
// get TDConfig instance
|
|
37
|
+
TDConfig *config = [[TDConfig alloc] init];
|
|
38
|
+
config.appid = appid;
|
|
39
|
+
config.serverURL = url;
|
|
40
|
+
/*
|
|
41
|
+
Set the operation mode as the Debug mode
|
|
42
|
+
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
|
|
43
|
+
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
|
|
44
|
+
DebugOnly mode: data would be verified without being stored; it is not recommended to use the DebugOnly mode in an online environment
|
|
45
|
+
*/
|
|
46
|
+
config.mode = TDModeDebug;
|
|
47
|
+
// initialize SDK
|
|
48
|
+
[TDAnalytics startAnalyticsWithConfig:config];
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
2. Add Device
|
|
52
|
+
To avoid launching the Debug mode in the production environment, it is required that only specified device can enable Debug mode. The Debug mode can only be enabled for devices whose IDs have been configured in the "Debugger"sector on the "Tracking Management" page of TE when the client has enabled the Debug mode.
|
|
53
|
+
<image token="IMl9bv82HohhiWxPjNCcQFevngh" width="1280" height="590" align="center"/>
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Device ID could be got by the following three means:
|
|
57
|
+
- #Device_id property in the event data of TE
|
|
58
|
+
- Client-side log: DeviceID would be printed as log after SDK is initialized
|
|
59
|
+
- Call API:[Device ID](https://thinkingdata.feishu.cn/wiki/VXDLwciQyixZ39kwAI5cDeRfndd)
|
|
60
|
+
<quote-container>
|
|
61
|
+
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.
|
|
62
|
+
</quote-container>
|
package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/preset-properties.md
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: macos_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: P5QgwhTNqiRNstk67U7ckhbgnle
|
|
5
|
+
parentWikiToken: VXDLwciQyixZ39kwAI5cDeRfndd
|
|
6
|
+
updateTime: 1774249223000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=macos_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
### **1. Preset Properties of All Events**
|
|
11
|
+
All Events in macOS SDK would have the following preset property.
|
|
12
|
+
|
|
13
|
+
<sheet token="XxtKsuUaFhPhmytAowTc4sbVnje_qXjnn1"/>
|
|
14
|
+
|
|
15
|
+
### **2. Other Preset Properties**
|
|
16
|
+
In addition to the Preset properties above, some preset properties would only be recorded after corresponding API is called:
|
|
17
|
+
|
|
18
|
+
<lark-table rows="3" cols="4" column-widths="138,153,153,267">
|
|
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
|
+
#duration
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
Event duration
|
|
40
|
+
</lark-td>
|
|
41
|
+
<lark-td>
|
|
42
|
+
Numeric value
|
|
43
|
+
</lark-td>
|
|
44
|
+
<lark-td>
|
|
45
|
+
Timing function `timeEvent `should be invoked to record the event duration (Unit: second)
|
|
46
|
+
</lark-td>
|
|
47
|
+
</lark-tr>
|
|
48
|
+
<lark-tr>
|
|
49
|
+
<lark-td>
|
|
50
|
+
#background_duration
|
|
51
|
+
</lark-td>
|
|
52
|
+
<lark-td>
|
|
53
|
+
Background duration
|
|
54
|
+
</lark-td>
|
|
55
|
+
<lark-td>
|
|
56
|
+
numeric value
|
|
57
|
+
</lark-td>
|
|
58
|
+
<lark-td>
|
|
59
|
+
Timing function `timeEvent` should be called to record the background duration within an event interval (Unit: second)
|
|
60
|
+
</lark-td>
|
|
61
|
+
</lark-tr>
|
|
62
|
+
</lark-table>
|
|
63
|
+
|
|
64
|
+
### **Getting Preset Properties**
|
|
65
|
+
When some preset properties of the APP is required for Server data tracking, this method can be invoked to get the preset properties of the APP and then send them to the server
|
|
66
|
+
:::: el-tabs
|
|
67
|
+
::: el-tab-pane label=Objective-C
|
|
68
|
+
```objectivec
|
|
69
|
+
//get property objects
|
|
70
|
+
TDPresetProperties *presetProperties = [TDAnalytics getPresetProperties];
|
|
71
|
+
|
|
72
|
+
//Preset properties of Event
|
|
73
|
+
NSDictionary *properties = [presetProperties toEventPresetProperties];
|
|
74
|
+
/*
|
|
75
|
+
{
|
|
76
|
+
"#os": "iOS",
|
|
77
|
+
"#device_id": "A8B1C00B-A6AC-4856-8538-0FBC642C1BAD",
|
|
78
|
+
"#bundle_id": "com.sw.thinkingdatademo",
|
|
79
|
+
"#manufacturer": "Apple",
|
|
80
|
+
"#system_language": "zh",
|
|
81
|
+
"#os_version": "10",
|
|
82
|
+
"#network_type": "WIFI",
|
|
83
|
+
"#zone_offset": 8,
|
|
84
|
+
"#app_version":"1.0.0"
|
|
85
|
+
}
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
//get a certain preset properties
|
|
89
|
+
NSString *bundle_id = presetProperties.bundle_id; //app bundle id
|
|
90
|
+
NSString *os = presetProperties.os;//os type, e.g., MacOS
|
|
91
|
+
NSString *system_language = presetProperties.system_language; //type of mobile phone system language
|
|
92
|
+
NSString *os_version = presetProperties.os_version; //system version number
|
|
93
|
+
NSNumber *zone_offset = presetProperties.zone_offset; //timezone offset value
|
|
94
|
+
NSString *app_version = presetProperties.app_version; //app version number
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
:::
|
|
98
|
+
::: el-tab-pane label=Swift
|
|
99
|
+
```swift
|
|
100
|
+
let presetProperties = TDAnalytics.getPresetProperties();
|
|
101
|
+
|
|
102
|
+
//Preset properties of Event
|
|
103
|
+
let properties = presetProperties.toEventPresetProperties();
|
|
104
|
+
|
|
105
|
+
//get a certain preset properties
|
|
106
|
+
let bundle_id = presetProperties.bundle_id; //app bundle id
|
|
107
|
+
let os = presetProperties.os; //os type, e.g., MacOS
|
|
108
|
+
let system_language = presetProperties.system_language; //type of mobile phone system language
|
|
109
|
+
let os_version = presetProperties.os_version; //system version number
|
|
110
|
+
let zone_offset = presetProperties.zone_offset; //timezone offset value
|
|
111
|
+
let app_version = presetProperties.app_version; //app version number
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
:::
|
|
115
|
+
::::
|
|
116
|
+
<quote-container>
|
|
117
|
+
IP, nation and city information are parsed and generated by the server. The client shall not provide the interface to get such properties
|
|
118
|
+
</quote-container>
|