@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,163 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: ios_sdk_release_notes
|
|
3
|
+
name: "Release Notes"
|
|
4
|
+
wikiToken: KTEzwd88Mi5HG7kTrpbcYRtXnrh
|
|
5
|
+
parentWikiToken: Wxc7wQj3FitXYVkTuW5cAAtPnCc
|
|
6
|
+
updateTime: 1774249070000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=ios_sdk_release_notes
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## v3.4.0
|
|
11
|
+
**Date:** 03/20/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.4.0.zip)
|
|
12
|
+
**Notes:**
|
|
13
|
+
- Support for backupUrlList
|
|
14
|
+
- Add a switch to control whether configuration information is pulled during initialization
|
|
15
|
+
- Known issues fixed
|
|
16
|
+
## v3.3.5
|
|
17
|
+
**Date:** 03/12/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.3.5.zip)
|
|
18
|
+
**Notes:**
|
|
19
|
+
- Known issues fixed
|
|
20
|
+
## v3.3.4
|
|
21
|
+
**Date:** 03/09/2026 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.3.4.zip)
|
|
22
|
+
**Notes:**
|
|
23
|
+
- Known issues fixed
|
|
24
|
+
## v3.3.3
|
|
25
|
+
**Date:** 12/29/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.3.3.zip)
|
|
26
|
+
**Notes:**
|
|
27
|
+
- Known issues fixed
|
|
28
|
+
## v3.3.2
|
|
29
|
+
**Date:** 12/03/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.3.2.zip)
|
|
30
|
+
**Notes:**
|
|
31
|
+
- Known issues fixed
|
|
32
|
+
## v3.3.1
|
|
33
|
+
**Date:** 11/18/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.3.1.zip)
|
|
34
|
+
**Notes:**
|
|
35
|
+
- Known issues fixed
|
|
36
|
+
## v3.3.0
|
|
37
|
+
**Date:** 11/03/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.3.0.zip)
|
|
38
|
+
**Notes:**
|
|
39
|
+
- Known issues fixed
|
|
40
|
+
- Improve SDK stability
|
|
41
|
+
## v3.1.6
|
|
42
|
+
**Date:** 10/10/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.6.zip)
|
|
43
|
+
**Notes:**
|
|
44
|
+
- Known issues fixed
|
|
45
|
+
## v3.1.5
|
|
46
|
+
**Date:** 08/25/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.5.zip)
|
|
47
|
+
**Notes:**
|
|
48
|
+
- Known issues fixed
|
|
49
|
+
## v3.1.4
|
|
50
|
+
**Date:** 08/19/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.4.zip)
|
|
51
|
+
**Notes:**
|
|
52
|
+
- Known issues fixed
|
|
53
|
+
## v3.1.3
|
|
54
|
+
**Date:** 08/05/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.3.zip)
|
|
55
|
+
**Notes:**
|
|
56
|
+
- Known issues fixed
|
|
57
|
+
## v3.1.2
|
|
58
|
+
**Date:** 07/31/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.2.zip)
|
|
59
|
+
**Notes:**
|
|
60
|
+
- Known issues fixed
|
|
61
|
+
## v3.1.1
|
|
62
|
+
**Date:** 05/23/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.1.zip)
|
|
63
|
+
**Notes:**
|
|
64
|
+
- Improve SDK stability
|
|
65
|
+
## v3.1.0
|
|
66
|
+
**Date:** 03/13/2025 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.1.0.zip)
|
|
67
|
+
**Notes:**
|
|
68
|
+
- Release the official version
|
|
69
|
+
## v3.0.6
|
|
70
|
+
**Date:** 02/25/2025 [Download (iOS)](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.6.zip) [Download (OSX)](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Ftd_analytics_mac_v3.0.6.zip)
|
|
71
|
+
**Notes:**
|
|
72
|
+
- Release the official version
|
|
73
|
+
## v3.1.0-beta.2
|
|
74
|
+
**Date:** 12/15/2024
|
|
75
|
+
**Notes:**
|
|
76
|
+
- Improve SDK stability
|
|
77
|
+
## v3.0.6-beta.1
|
|
78
|
+
**Date:** 01/07/2025 [Download (iOS)](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.6-beta.1.zip)
|
|
79
|
+
**Notes:**
|
|
80
|
+
- Improved thread scheduling capability
|
|
81
|
+
## v3.0.5
|
|
82
|
+
**Date:** 11/05/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.5.zip)
|
|
83
|
+
**Notes:**
|
|
84
|
+
- Release the official version
|
|
85
|
+
## v3.0.5-beta.1
|
|
86
|
+
**Date:** 09/03/2024
|
|
87
|
+
**Notes:**
|
|
88
|
+
- Improve SDK compatibility on the osx platform
|
|
89
|
+
## v3.0.4
|
|
90
|
+
**Date: **08/01/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.4.zip)
|
|
91
|
+
**Notes: **
|
|
92
|
+
- Compatible with iOS 18
|
|
93
|
+
## v3.0.3
|
|
94
|
+
**Date: **05/17/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.3.zip)
|
|
95
|
+
**Notes: **
|
|
96
|
+
- Release the official version
|
|
97
|
+
## v3.0.3-beta.1
|
|
98
|
+
**Date: **04/19/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.3-beta.1.zip)
|
|
99
|
+
**Notes: **
|
|
100
|
+
- Support DNS parse
|
|
101
|
+
## v3.0.2
|
|
102
|
+
**Date: **04/09/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.2.zip)
|
|
103
|
+
**Notes: **
|
|
104
|
+
- Release the official version
|
|
105
|
+
## v3.0.2-beta.2
|
|
106
|
+
**Date: **02/23/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.2-beta.2.zip)
|
|
107
|
+
**Notes: **
|
|
108
|
+
- Add privacy manifest
|
|
109
|
+
## v3.0.2-beta.1
|
|
110
|
+
**Date: **01/26/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.2-beta.1.zip)
|
|
111
|
+
**Notes: **
|
|
112
|
+
- Code optimization to improve SDK stability
|
|
113
|
+
## v3.0.1
|
|
114
|
+
**Date: **01/03/2024 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_3.0.1.zip)
|
|
115
|
+
**Notes: **
|
|
116
|
+
- Code optimization to improve SDK stability
|
|
117
|
+
## v3.0.0
|
|
118
|
+
**Date: **10/10/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.0.0.zip)
|
|
119
|
+
**Notes: **
|
|
120
|
+
- The public API is changed to static access
|
|
121
|
+
## v2.8.4
|
|
122
|
+
**Date:** 08/29/2023 [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_sdk_2.8.4.zip)
|
|
123
|
+
**Notes:**
|
|
124
|
+
- Improve the accuracy of time zone
|
|
125
|
+
- Supports more comprehensive app start event collection
|
|
126
|
+
## v2.8.3.2
|
|
127
|
+
**Date: **04/03/2023
|
|
128
|
+
**Notes: **
|
|
129
|
+
- Compatible with xcode 14.3
|
|
130
|
+
## v2.8.3
|
|
131
|
+
**Date: **11/08/2022
|
|
132
|
+
**Notes: **
|
|
133
|
+
- Optimize code and improve SDK stability
|
|
134
|
+
- Remove third-party dataset code
|
|
135
|
+
## v2.8.2
|
|
136
|
+
**Date: **09/27/2022
|
|
137
|
+
**Notes: **
|
|
138
|
+
- Code optimization to improve SDK stability
|
|
139
|
+
- Added preset property #device_type
|
|
140
|
+
- Added an interface for getting mobile phone region information
|
|
141
|
+
## v2.8.1.1
|
|
142
|
+
** Date: **06/27/2022
|
|
143
|
+
** Notes: **
|
|
144
|
+
- Code optimization to improve SDK stability
|
|
145
|
+
## v2.8.1
|
|
146
|
+
** Date: **06/13/2022
|
|
147
|
+
** Notes: **
|
|
148
|
+
- Provide AppExtension data acquisition module
|
|
149
|
+
## v2.8.0.1
|
|
150
|
+
** Date: **05/23/2022
|
|
151
|
+
** Notes: **
|
|
152
|
+
- Fixed that the system callback could not be executed when getting the start reason for Push
|
|
153
|
+
## v2.8.0
|
|
154
|
+
** Date: **04/18/2022
|
|
155
|
+
** Notes: **
|
|
156
|
+
- Code optimization
|
|
157
|
+
- Add third-party data integration function
|
|
158
|
+
- Add encryption function
|
|
159
|
+
## v2.7.4
|
|
160
|
+
** Date: **01/18/2022
|
|
161
|
+
** Notes: **
|
|
162
|
+
- Code optimization
|
|
163
|
+
- Add prefabricated attributes such as start reason, performance index, etc.
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: ios_sdk_installation
|
|
3
|
+
name: "iOS"
|
|
4
|
+
wikiToken: Wxc7wQj3FitXYVkTuW5cAAtPnCc
|
|
5
|
+
parentWikiToken: KaFCwNeV3iRxjNkpT3QcDMg3n5V
|
|
6
|
+
updateTime: 1778673793000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=ios_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 lowest system version required by iOS SDK is iOS 9.0
|
|
13
|
+
The size of iOS SDK (Framework format) is around 2.7 MB
|
|
14
|
+
:::
|
|
15
|
+
**Latest Version:** v3.4.0
|
|
16
|
+
**Update Time:** 03/20/2026
|
|
17
|
+
**Resource Download: **[Source Code](https%3A%2F%2Fgithub.com%2FThinkingDataAnalytics%2Fios-sdk%2Ftags), [Download](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.4.0.zip)
|
|
18
|
+
::: warning Notice
|
|
19
|
+
Current documentation applies to v3.0.0 and later. For historical versions, see [Data Ingestion Guide - iOS (V2)](https%3A%2F%2Fdocs.thinkingdata.cn%2Fta-manual%2Fv4.1%2Fen%2Finstallation%2Finstallation_menu%2Fclient_sdk%2Fios_sdk_installation%2Fios_sdk_installation.html), [SDK Download (v2.8.4)](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_sdk_2.8.4.zip).
|
|
20
|
+
:::
|
|
21
|
+
## **1. ****SDK**** Integration**
|
|
22
|
+
### **1.1 Automatic Integration**
|
|
23
|
+
- CocoaPods
|
|
24
|
+
1. Create a Podfile in your Xcode project directory by running `pod init` in your terminal.
|
|
25
|
+
Edit the generated Podfile , and add the following lines:
|
|
26
|
+
```ruby
|
|
27
|
+
platform :ios, '9.0'
|
|
28
|
+
target 'YourProjectTarget' do
|
|
29
|
+
pod 'ThinkingSDK', '3.4.0'
|
|
30
|
+
end
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
2. Navigate to your project's root folder and run `pod install` in your terminal
|
|
34
|
+
After success, the following tip will appear in the terminal:
|
|
35
|
+
<image token="QvsBb5DnyocFtgxoVBTc6Goxnxt" width="1132" height="342" align="center"/>
|
|
36
|
+
|
|
37
|
+
3. Open project
|
|
38
|
+
After the command is executed successfully, `.xcworkspace` file will be generated, indicating that you have successfully imported the iOS SDK. Open the `.xcworkspace` file to start the project (note: the `.xcodeproj` file cannot be opened at the same time)
|
|
39
|
+
### **1.2 ****Manual Integration**
|
|
40
|
+
1. Download and unzip the [iOS SDK](https%3A%2F%2Fdownload.thinkingdata.cn%2Fclient%2FiOS%2Fios_td_analytics_v3.4.0.zip)
|
|
41
|
+
2. Add `ThinkingSDK.framework`, `ThinkingDataCore.xcframework` into the Xcode project workspace project
|
|
42
|
+
3. In Xcode, go to **Targets** > **Build Settings, **add line `-ObjC ` to `Other linker flags` :
|
|
43
|
+
<grid cols="2">
|
|
44
|
+
<column width="52">
|
|
45
|
+
<image token="DQf2bBOAYoyw6mxAxb5c8Y9qnIb" width="496" height="202" align="center"/>
|
|
46
|
+
|
|
47
|
+
</column>
|
|
48
|
+
<column width="47">
|
|
49
|
+
<image token="NlCQbh9CmoS10SxyicpcYQZdndh" width="727" height="328" align="center"/>
|
|
50
|
+
|
|
51
|
+
</column>
|
|
52
|
+
</grid>
|
|
53
|
+
|
|
54
|
+
4. In Xcode, go to **Targets** > **Build Phases**, add the following dependencies into `Link Binary With Libraries`: `libz.dylib`, `Security.framework`, `SystemConfiguration.framework`, `libsqlite3.tbd`
|
|
55
|
+
## **2. ****Initialization**
|
|
56
|
+
:::: el-tabs
|
|
57
|
+
::: el-tab-pane label=Objective-C
|
|
58
|
+
```objectivec
|
|
59
|
+
#import <ThinkingSDK/ThinkingSDK.h>
|
|
60
|
+
|
|
61
|
+
// SDK needs to be initialized on the main thread
|
|
62
|
+
|
|
63
|
+
NSString *appid = @"APPID";
|
|
64
|
+
NSString *url = @"SERVER_URL";
|
|
65
|
+
|
|
66
|
+
// the first way
|
|
67
|
+
[TDAnalytics startAnalyticsWithAppId:appid serverUrl:url];
|
|
68
|
+
|
|
69
|
+
// the second way
|
|
70
|
+
TDConfig *config = [[TDConfig alloc] init];
|
|
71
|
+
config.appid = appid;
|
|
72
|
+
config.serverUrl = url;
|
|
73
|
+
[TDAnalytics startAnalyticsWithConfig:config];
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
:::
|
|
77
|
+
::: el-tab-pane label=Swift
|
|
78
|
+
```swift
|
|
79
|
+
// SDK needs to be initialized on the main thread
|
|
80
|
+
|
|
81
|
+
let appid = "APPID";
|
|
82
|
+
let url = "SERVER_URL";
|
|
83
|
+
|
|
84
|
+
// the first way
|
|
85
|
+
TDAnalytics.start(withAppId: appid, serverUrl: url)
|
|
86
|
+
|
|
87
|
+
// the second way
|
|
88
|
+
let config = TDConfig(appId: appid, serverUrl: url)
|
|
89
|
+
TDAnalytics.start(with: config)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
:::
|
|
93
|
+
::::
|
|
94
|
+
Instruction on parameters:
|
|
95
|
+
- `APPID`: The APPID of your project, which can be found on the project management page of the TE.
|
|
96
|
+
- `SERVER_URL`:
|
|
97
|
+
- If you are using a SaaS version, please check the receiver URL on this page
|
|
98
|
+
<image token="QnSnbV9NRo0NElx5SQ9cenEcnbd" width="1674" height="1318" align="center"/>
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
- If you use the private deployment version, you can customize the data tracking URL .
|
|
102
|
+
## **3. Common F****eatures**
|
|
103
|
+
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.
|
|
104
|
+
### **3.1 Login**
|
|
105
|
+
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.
|
|
106
|
+
:::: el-tabs
|
|
107
|
+
::: el-tab-pane label=Objective-C
|
|
108
|
+
```java
|
|
109
|
+
// The login unique identifier of the user, corresponding to the #account_id in data tracking. #Account_id now is TD
|
|
110
|
+
[TDAnalytics login:@"TD"];
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
:::
|
|
114
|
+
::: el-tab-pane label=Swift
|
|
115
|
+
```swift
|
|
116
|
+
// The login unique identifier of the user, corresponding to the #account_id in data tracking. #Account_id now is TD
|
|
117
|
+
TDAnalytics.login("TD")
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
:::
|
|
121
|
+
::::
|
|
122
|
+
<quote-container>
|
|
123
|
+
**Login events wouldn't be uploaded in this method.**
|
|
124
|
+
</quote-container>
|
|
125
|
+
|
|
126
|
+
### 3.2 **Super Properties**
|
|
127
|
+
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.
|
|
128
|
+
:::: el-tabs
|
|
129
|
+
::: el-tab-pane label=Objective-C
|
|
130
|
+
```objectivec
|
|
131
|
+
NSMutableDictionary *superProperties = [NSMutableDictionary new];
|
|
132
|
+
[superProperties setValue:@"te" forKey:@"channel"];
|
|
133
|
+
[superProperties setValue:@1 forKey:@"age"];
|
|
134
|
+
[superProperties setValue:@YES forKey:@"isSuccess"];
|
|
135
|
+
[superProperties setValue:[NSDate now] forKey:@"birthday"];
|
|
136
|
+
[superProperties setValue:@{@"key":@"value"} forKey:@"object"];
|
|
137
|
+
[superProperties setValue:@[@{@"key":@"value"}] forKey:@"object_arr"];
|
|
138
|
+
[superProperties setValue:@[@"value"] forKey:@"arr"];
|
|
139
|
+
|
|
140
|
+
//set super properties
|
|
141
|
+
[TDAnalytics setSuperProperties:superProperties];
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
:::
|
|
145
|
+
::: el-tab-pane label=Swift
|
|
146
|
+
```swift
|
|
147
|
+
var superProperties: [String : Any] = [:]
|
|
148
|
+
superProperties["channel"] = "te"
|
|
149
|
+
superProperties["age"] = 1
|
|
150
|
+
superProperties["isSuccess"] = true
|
|
151
|
+
superProperties["birthday"] = Date()
|
|
152
|
+
superProperties["object"] = [
|
|
153
|
+
"key": "value"
|
|
154
|
+
]
|
|
155
|
+
superProperties["object_arr"] = [["key": "value"]]
|
|
156
|
+
superProperties["arr"] = ["value"]
|
|
157
|
+
|
|
158
|
+
//set super properties
|
|
159
|
+
TDAnalytics.setSuperProperties(superProperties)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
:::
|
|
163
|
+
::::
|
|
164
|
+
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.
|
|
165
|
+
- 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.
|
|
166
|
+
- Value, the value of the property, supports string, numbers, Boolean, time, object, array object, and array
|
|
167
|
+
<quote-container>
|
|
168
|
+
**The requirements for event properties and user properties are the same with that for super properties**
|
|
169
|
+
</quote-container>
|
|
170
|
+
|
|
171
|
+
### **3.3 Automatically Track Events**
|
|
172
|
+
The following code is an example of tracking installation, open_app and close_app events. To get more information about the automatic tracking of SDK, please refer to the [Detailed introduction of automatic tracking function](https://thinkingdata.feishu.cn/wiki/IqwOwQmTbiVNXZk8r4JcmZAMnie)
|
|
173
|
+
:::: el-tabs
|
|
174
|
+
::: el-tab-pane label=Objective-C
|
|
175
|
+
```objectivec
|
|
176
|
+
[TDAnalytics enableAutoTrack:TDAutoTrackEventTypeAppInstall | TDAutoTrackEventTypeAppStart | TDAutoTrackEventTypeAppEnd];
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
:::
|
|
180
|
+
::: el-tab-pane label=Swift
|
|
181
|
+
```swift
|
|
182
|
+
TDAnalytics.enableAutoTrack([.appStart, .appEnd, .appInstall])
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
:::
|
|
186
|
+
::::
|
|
187
|
+
### **3.4 Sending Events**
|
|
188
|
+
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:
|
|
189
|
+
:::: el-tabs
|
|
190
|
+
::: el-tab-pane label=Objective-C
|
|
191
|
+
```objectivec
|
|
192
|
+
NSDictionary *eventProperties = @{@"product_name": @"book"};
|
|
193
|
+
[TDAnalytics track:@"product_buy" properties:eventProperties];
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
:::
|
|
197
|
+
::: el-tab-pane label=Swift
|
|
198
|
+
```swift
|
|
199
|
+
let properties = ["product_name": "book"] as [String: Any]
|
|
200
|
+
TDAnalytics.track("product_buy", properties: properties)
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
:::
|
|
204
|
+
::::
|
|
205
|
+
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.
|
|
206
|
+
### **3.5 User Properties**
|
|
207
|
+
You can set general user properties by calling `user``S``et` API. The original properties would be replaced by the properties uploaded via this API. If no user properties are set before, user properties would be created. 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:
|
|
208
|
+
:::: el-tabs
|
|
209
|
+
::: el-tab-pane label=Objective-C
|
|
210
|
+
```objectivec
|
|
211
|
+
//the username now is ThinkingData
|
|
212
|
+
[TDAnalytics userSet:@{@"username": @"ThinkingData"}];
|
|
213
|
+
//the userName now is TA
|
|
214
|
+
[TDAnalytics userSet:@{@"username": @"TA"}];
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
:::
|
|
218
|
+
::: el-tab-pane label=Swift
|
|
219
|
+
```swift
|
|
220
|
+
//the username now is ThinkingData
|
|
221
|
+
TDAnalytics.userSet(["usernaame": "ThinkingData"])
|
|
222
|
+
//the userName now is TA
|
|
223
|
+
TDAnalytics.userSet(["usernaame": "TA"])
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
:::
|
|
227
|
+
::::
|
|
228
|
+
## **4. Best Practice**
|
|
229
|
+
The following sample code covers all the above-mentioned operations. It is recommended that the SDK be used in the following steps:
|
|
230
|
+
:::: el-tabs
|
|
231
|
+
::: el-tab-pane label=Objective-C
|
|
232
|
+
```objectivec
|
|
233
|
+
if (privacy policy is authorized) {
|
|
234
|
+
|
|
235
|
+
// SDK needs to be initialized on the main thread
|
|
236
|
+
NSString *appid = @"APPID";
|
|
237
|
+
NSString *url = @"SERVER_URL";
|
|
238
|
+
TDConfig *config = [[TDConfig alloc] init];
|
|
239
|
+
config.appid = appid;
|
|
240
|
+
config.serverUrl = url;
|
|
241
|
+
[TDAnalytics startAnalyticsWithConfig:config];
|
|
242
|
+
|
|
243
|
+
[TDAnalytics enableAutoTrack:TDAutoTrackEventTypeAppInstall | TDAutoTrackEventTypeAppStart | TDAutoTrackEventTypeAppEnd];
|
|
244
|
+
|
|
245
|
+
[TDAnalytics login:@"TD"];
|
|
246
|
+
|
|
247
|
+
NSDictionary *superProperties = @{
|
|
248
|
+
@"channel": @"ta",
|
|
249
|
+
@"age": @1,
|
|
250
|
+
@"isSuccess": @YES,
|
|
251
|
+
@"birthday": [NSDate date],
|
|
252
|
+
@"object": @{
|
|
253
|
+
@"key":@"value"
|
|
254
|
+
},
|
|
255
|
+
@"object_arr":@[
|
|
256
|
+
@{
|
|
257
|
+
@"key":@"value"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
@"arr": @[@"value"],
|
|
261
|
+
};
|
|
262
|
+
[TDAnalytics setSuperProperties:superProperties];
|
|
263
|
+
|
|
264
|
+
NSDictionary *eventProperties = @{@"product_name": @"book"};
|
|
265
|
+
[TDAnalytics track:@"product_buy" properties:eventProperties];
|
|
266
|
+
|
|
267
|
+
[TDAnalytics userSet:@{@"username": @"ThinkingData"}];
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
:::
|
|
273
|
+
::: el-tab-pane label=Swift
|
|
274
|
+
```swift
|
|
275
|
+
// SDK needs to be initialized on the main thread
|
|
276
|
+
let appid = "app_id";
|
|
277
|
+
let url = "server_url";
|
|
278
|
+
let config = TDConfig(appId: appid, serverUrl: url)
|
|
279
|
+
TDAnalytics.start(with: config)
|
|
280
|
+
|
|
281
|
+
TDAnalytics.enableAutoTrack([.appStart, .appEnd, .appInstall])
|
|
282
|
+
|
|
283
|
+
TDAnalytics.login("TD")
|
|
284
|
+
|
|
285
|
+
var superProperties: [String : Any] = [:]
|
|
286
|
+
superProperties["channel"] = "ta"
|
|
287
|
+
superProperties["age"] = 1
|
|
288
|
+
superProperties["isSuccess"] = true
|
|
289
|
+
superProperties["birthday"] = Date()
|
|
290
|
+
superProperties["object"] = [
|
|
291
|
+
"key": "value"
|
|
292
|
+
]
|
|
293
|
+
superProperties["object_arr"] = [["key": "value"]]
|
|
294
|
+
superProperties["arr"] = ["value"]
|
|
295
|
+
TDAnalytics.setSuperProperties(superProperties)
|
|
296
|
+
|
|
297
|
+
let eventProperties : [String: Any] = ["product_name": "book"]
|
|
298
|
+
TDAnalytics.track("test", properties: eventProperties)
|
|
299
|
+
|
|
300
|
+
TDAnalytics.userSet(["level": "1"])
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
:::
|
|
304
|
+
::::
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: javascript_sdk_compliance
|
|
3
|
+
name: "Compliance"
|
|
4
|
+
wikiToken: KBxowhZ3Fir4rekLEqec9em3ngg
|
|
5
|
+
parentWikiToken: HwzHwHeb5iFceqk6Eylcd03UnMh
|
|
6
|
+
updateTime: 1774249083000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=javascript_sdk_compliance
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **1. Fill In the ****SDK**** Related Content in the Privacy Policy**
|
|
11
|
+
### **1.1 ****Collection and Acquisition**
|
|
12
|
+
Complete the following as appropriate in the Collection and Access to Your Personal Information section of the Privacy Policy.
|
|
13
|
+
When you are active, Thinking Data collects your device information (Screen width, Screen height, operating system, Browser type,Browser version, System language, etc.) for statistical analysis of how you use it within App.
|
|
14
|
+
### **1.2 ****Share with Authorized Partners**
|
|
15
|
+
Complete the following as appropriate in the Sharing with Authorized Partners section of the Privacy Policy.
|
|
16
|
+
Thinking Data SDK: Collect your device information (Screen width, Screen height, operating system, Browser type,Browser version, System language, etc.) and networking information for data analysis to improve our products and services.
|
|
17
|
+
## **2****. ****SDK**** Compliance Steps**
|
|
18
|
+
ThinkingData SDK requires you to ensure that users initialize the SDK after agreeing to the Privacy Policy
|
|
19
|
+
```cpp
|
|
20
|
+
import ta from "thinkingdata-browser";
|
|
21
|
+
// Judging whether to open data acquisition according to privacy protocol
|
|
22
|
+
if (Authorized Privacy Policy) {
|
|
23
|
+
var config = {
|
|
24
|
+
appId: 'APP_ID',
|
|
25
|
+
serverUrl: 'SERVER_URL'
|
|
26
|
+
};
|
|
27
|
+
ta.init(config);
|
|
28
|
+
}
|
|
29
|
+
```
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: javascript_sdk_autotrack
|
|
3
|
+
name: "Automatic Event Tracking"
|
|
4
|
+
wikiToken: Ekk2wzXp2iT1tqkpea6c2KB4nef
|
|
5
|
+
parentWikiToken: BwkywAk0aiKI9Skyhk8cKnlKnde
|
|
6
|
+
updateTime: 1776241528000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=javascript_sdk_autotrack
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 1.Monitor HTML element Clicked Events
|
|
11
|
+
If you want to track click events on elements of the page, you can use trackLink to monitor HTML elements in batches:
|
|
12
|
+
```javascript
|
|
13
|
+
ta.trackLink(
|
|
14
|
+
{
|
|
15
|
+
tag: ["a", "button"], //HTML tag
|
|
16
|
+
class: ["class1", "class2"], //Custom Class name
|
|
17
|
+
id: ["id1", "id2"] //custom ID name
|
|
18
|
+
},
|
|
19
|
+
"click", //he name of the trace event
|
|
20
|
+
{
|
|
21
|
+
production: "production",
|
|
22
|
+
name: "name"
|
|
23
|
+
} //event properties
|
|
24
|
+
);
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
- The first parameter is the element you need to monitor. The type is a JSON object, which supports tracking the page element to be monitored according to the HTML `tag` , `class`, and `i``d`.For elements that meet the rules, the click event of the element will be monitored through the event listener. When the listening element is clicked, an event will be reported. The event name and event properties take the value of the next two parameters
|
|
28
|
+
- The second parameter is the name of the event, which is of string type.
|
|
29
|
+
- The third parameter is the property of the event, and the type is a JSON object. If there is no property to be reported, an empty JSON can be passed in
|
|
30
|
+
- The event property name is the ID of the element. If the event property name is not set in parameter.We will use the property value of the monitored element as the element identifier. The value priority is as follows:
|
|
31
|
+
1.Custom attribute 'td-name' of the value element
|
|
32
|
+
2.The innerHTML of the element
|
|
33
|
+
3.The value of the element
|
|
34
|
+
4.If none of them are fetched, pass 'ID not obtained'.
|
|
35
|
+
<quote-container>
|
|
36
|
+
When `trackLink `is called, it will set an event listener for elements that meet the rules. After the API is called, the identity of the element changes, or a new element that meets the rules is generated, and the event reported by the listener will not change accordingly. If you need to monitor newly generated elements, you can call `trackLink` after the elements are generated.
|
|
37
|
+
</quote-container>
|
|
38
|
+
|
|
39
|
+
## 2.Page show and hide event
|
|
40
|
+
By default, the SDK does not collect these events, which can be configured through the config initialized by the SDK.
|
|
41
|
+
```scala
|
|
42
|
+
var config = {
|
|
43
|
+
appId: 'xxx',
|
|
44
|
+
serverUrl: 'xxx',
|
|
45
|
+
autoTrack: {
|
|
46
|
+
//enable ta_page_show event
|
|
47
|
+
pageShow: true,
|
|
48
|
+
//enable ta_page_hide event
|
|
49
|
+
pageHide: true,
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
`ta_page_hide` event will put the duration of the page from displaying to closing into the property`#duration`
|
|
55
|
+
## 3.Browse Events
|
|
56
|
+
TE provides an API for auto-tracking view page event.You only need to use the following code, and SDK will automatically upload the event of the user browsing the page, and the event name is ta_pageview:
|
|
57
|
+
```javascript
|
|
58
|
+
ta.quick("autoTrack");
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Support custom properties:
|
|
62
|
+
```javascript
|
|
63
|
+
ta.quick('autoTrack', {
|
|
64
|
+
name: 'test_name',
|
|
65
|
+
time: new Date(),
|
|
66
|
+
pro: [1, 2, 3, 4],
|
|
67
|
+
})
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
<quote-container>
|
|
71
|
+
When this API is called, a view page event will be reported immediately
|
|
72
|
+
</quote-container>
|
|
73
|
+
|
|
74
|
+
Starting from version 2.4.0, automatic browsing events for single-page applications (SPAs) are supported. The specific enabling methods are as follows:
|
|
75
|
+
```javascript
|
|
76
|
+
var config = {
|
|
77
|
+
appId: 'xxx',
|
|
78
|
+
serverUrl: 'xxx',
|
|
79
|
+
autoTrack: {
|
|
80
|
+
//enable ta_page_show event
|
|
81
|
+
pageShow: true,
|
|
82
|
+
//enable ta_page_hide event
|
|
83
|
+
pageHide: true,
|
|
84
|
+
//enable ta_pageview event
|
|
85
|
+
pageView: true,
|
|
86
|
+
properties: {
|
|
87
|
+
staticKey: 'staticValue'
|
|
88
|
+
},
|
|
89
|
+
callback: (eventType) => {
|
|
90
|
+
if (eventType === 'pageShow') {
|
|
91
|
+
return { appShowKey: 'appShowValue' };
|
|
92
|
+
} else if (eventType === 'pageHide') {
|
|
93
|
+
return { appHideKey: 'appHideValue' };
|
|
94
|
+
}else if (eventType === 'pageView') {
|
|
95
|
+
return { appHideKey: 'pageViewValue' };
|
|
96
|
+
}else {
|
|
97
|
+
return {};
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## 3.Element click event
|
|
105
|
+
Starting with version 2.5.0, element click events can be automatically collected by configuring the pageClick parameter, with the event name being ta_page_click.
|
|
106
|
+
```javascript
|
|
107
|
+
var config = {
|
|
108
|
+
appId: 'xxx',
|
|
109
|
+
serverUrl: 'xxx',
|
|
110
|
+
autoTrack: {
|
|
111
|
+
pageShow: true,
|
|
112
|
+
pageHide: true,
|
|
113
|
+
pageView: true,
|
|
114
|
+
pageClick:true
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
- Setting pageClick: true will, by default, collect click events of all elements with onclick or td-track-id set. Example code is as follows:
|
|
120
|
+
```json
|
|
121
|
+
<button onclick="testFun()" td-track-id="buttonId">test button</button>
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
<callout emoji="trophy" background-color="light-orange" border-color="light-orange">
|
|
125
|
+
Note: Vue project elements do not have an onclick attribute; you need to use td-track-id to filter and collect data.
|
|
126
|
+
</callout>
|
|
127
|
+
|
|
128
|
+
After setting td-track-id, #element_id will be automatically included when reporting click events.
|
|
129
|
+
- If you want to ignore the click event of this element, you can do so using `td-track-ignore` or `td-track-ignore="true"`. Example code is shown below:
|
|
130
|
+
```json
|
|
131
|
+
<button onclick="testFun()" td-track-ignore >test button</button>
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
<callout emoji="soccer" background-color="light-orange" border-color="light-orange">
|
|
135
|
+
Note: React projects need to use `td-track-ignore="true"` to ignore this.
|
|
136
|
+
</callout>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: javascript_sdk_debug
|
|
3
|
+
name: "Debugging and Logging"
|
|
4
|
+
wikiToken: BjISw0TEGiY0iSkGlnhcRhCrnyc
|
|
5
|
+
parentWikiToken: BwkywAk0aiKI9Skyhk8cKnlKnde
|
|
6
|
+
updateTime: 1774251969000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=javascript_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
|
+
You can set showLog to true when the SDK is initialized,after opening the log,you can check SDK's logs on the browser console.
|
|
13
|
+
```javascript
|
|
14
|
+
var config = {
|
|
15
|
+
appId: "xxx",
|
|
16
|
+
serverUrl: "xxx",
|
|
17
|
+
showLog:true
|
|
18
|
+
};
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## **2. Debugging**
|
|
22
|
+
You need to follow the following two steps to enable the Debug mode:
|
|
23
|
+
1. Enable the debug mode at the client
|
|
24
|
+
The sample code for enabling the Debug Mode on the client is as follows:
|
|
25
|
+
```javascript
|
|
26
|
+
var config = {
|
|
27
|
+
appId: "xxx",
|
|
28
|
+
serverUrl: "xxx",
|
|
29
|
+
/*
|
|
30
|
+
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
|
|
31
|
+
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
|
|
32
|
+
DebugOnly mode: data would be verified without being stored; it is not recommended to use the DebugOnly mode in an online environment
|
|
33
|
+
*/
|
|
34
|
+
mode:"debug"
|
|
35
|
+
};
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Add Device
|
|
39
|
+
To avoid launching the Debug mode in the production environment, it is required that only specified device can enable Debug Mode. The Debug Mode can only be enabled for devices whose IDs have been configured in the "Debugger"sector on the "Tracking Management" page of TE when the client side has enabled the Debug mode.
|
|
40
|
+
<image token="BU3ZbIk6AoadzGxfGdIcogdCnud" width="1280" height="590" align="center"/>
|
|
41
|
+
|
|
42
|
+
Device ID could be obtained by the following three means:
|
|
43
|
+
- #device_id:property in the event data of TE
|
|
44
|
+
- Client-side log: DeviceID would be printed as log after SDK is initialized
|
|
45
|
+
- Call API:[Device ID](https://thinkingdata.feishu.cn/wiki/BwkywAk0aiKI9Skyhk8cKnlKnde)
|
|
46
|
+
<quote-container>
|
|
47
|
+
The Debug Mode may undermine the data tracking quality and stability of the Application. It could only be used for data verification at the integration stage, and should not be used in the production environment.
|
|
48
|
+
</quote-container>
|