@thinkingai/ae-cli 1.0.28 → 6.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -16
- package/README.zh.md +1 -16
- package/dist/{auth-H2376DEF.js → auth-DYC2BGLM.js} +2 -2
- package/dist/{auth-5NSDQFQB.js → auth-GHBMJ5ZR.js} +31 -12
- package/dist/{chunk-CLJF7MQA.js → chunk-2DUEAXV3.js} +1 -1
- package/dist/chunk-5OC7CYCG.js +98 -0
- package/dist/{chunk-SRJIAOBN.js → chunk-6W4QOZAL.js} +10 -0
- package/dist/{chunk-LU7SXK4Q.js → chunk-BJX3GXWC.js} +2 -2
- package/dist/{chunk-WCHI7725.js → chunk-DMMEPCST.js} +47 -6
- package/dist/{chunk-IMBKVXKY.js → chunk-EGEIXA2Z.js} +82 -10
- package/dist/{chunk-AD5V3ZPJ.js → chunk-I5CRVM2S.js} +98 -10
- package/dist/chunk-NOO24N7W.js +11 -0
- package/dist/{chunk-GSJGPNKK.js → chunk-PN3OS34E.js} +1 -1
- package/dist/{chunk-CAQYQA4R.js → chunk-RSHMZ3LG.js} +15 -1
- package/dist/{client-FCMK3XEK.js → client-2UJ63MVQ.js} +3 -3
- package/dist/{config-64G36TJL.js → config-NCUGK6NS.js} +3 -3
- package/dist/index.js +2549 -29
- package/dist/{model-EZ6K7FXI.js → model-SJSOZTRS.js} +5 -7
- package/dist/{raw-VEF3D6UD.js → raw-7NVWSVJP.js} +4 -4
- package/dist/{sync-NRODEVNH.js → sync-GRVO4K3U.js} +120 -23
- package/dist/{te-agent-7U7JLJKU.js → te-agent-KZRIEN4N.js} +468 -47
- package/dist/{te-analysis-A2OSGHQ4.js → te-analysis-VAR4KUOK.js} +145 -28
- package/dist/{te-audience-LI67PPGO.js → te-audience-KMKYI2YJ.js} +23 -14
- package/dist/{te-common-35WVU3C5.js → te-common-WNCZB7R7.js} +5 -4
- package/dist/{te-community-LEAP6PWT.js → te-community-JEEFXPB3.js} +11 -10
- package/dist/{te-dataops-N2LGZBOX.js → te-dataops-GD3XBYCS.js} +33 -32
- package/dist/{te-engage-H7C72Z46.js → te-engage-4XHCTS6I.js} +5 -4
- package/dist/{te-kb-I2OKTBAI.js → te-kb-B62KFP2A.js} +97 -7
- package/dist/{te-meta-HBTIEDRO.js → te-meta-EPZGQN56.js} +10 -9
- package/dist/{te-team-EM5OWRQL.js → te-team-YY24VORI.js} +16 -12
- package/dist/tracking/i18n/resources/cli/en.json +153 -0
- package/dist/tracking/i18n/resources/cli/ja.json +153 -0
- package/dist/tracking/i18n/resources/cli/ko.json +153 -0
- package/dist/tracking/i18n/resources/cli/zh.json +153 -0
- package/package.json +9 -3
- package/skills/ae-agent/SKILL.md +66 -26
- package/skills/ae-analysis/SKILL.md +108 -8
- package/skills/ae-analysis/references/cancel_query.md +39 -0
- package/skills/ae-analysis/references/drilldown_user_events.md +4 -2
- package/skills/ae-analysis/references/drilldown_users.md +4 -2
- package/skills/ae-analysis/references/get_bi_panel_detail.md +35 -0
- package/skills/ae-analysis/references/list_alerts.md +1 -1
- package/skills/ae-analysis/references/list_bi_panels.md +35 -0
- package/skills/ae-analysis/references/list_cluster_members.md +4 -1
- package/skills/ae-analysis/references/list_dashboards.md +1 -1
- package/skills/ae-analysis/references/list_entities.md +1 -1
- package/skills/ae-analysis/references/list_events.md +1 -1
- package/skills/ae-analysis/references/list_metrics.md +1 -1
- package/skills/ae-analysis/references/list_project_mark_times.md +1 -1
- package/skills/ae-analysis/references/list_properties.md +1 -1
- package/skills/ae-analysis/references/list_public_access_links.md +1 -1
- package/skills/ae-analysis/references/list_reports.md +1 -1
- package/skills/ae-analysis/references/list_tag_members.md +4 -1
- package/skills/ae-analysis/references/query_adhoc.md +6 -5
- package/skills/ae-analysis/references/query_bi_panel_data.md +58 -0
- package/skills/ae-analysis/references/query_dashboard_report_data.md +4 -1
- package/skills/ae-analysis/references/query_entity_details.md +5 -2
- package/skills/ae-analysis/references/query_event_details.md +4 -1
- package/skills/ae-analysis/references/query_report_data.md +2 -2
- package/skills/ae-analysis-global/SKILL.md +3 -1
- package/skills/ae-analysis-intent/SKILL.md +132 -0
- package/skills/ae-data-integration-helper/SKILL.md +242 -0
- package/skills/ae-data-integration-helper/references/android_sdk_faq.md +179 -0
- package/skills/ae-data-integration-helper/references/c_sdk_compilation.md +83 -0
- package/skills/ae-data-integration-helper/references/c_sdk_faq.md +416 -0
- package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +123 -0
- package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +365 -0
- package/skills/ae-data-integration-helper/references/index.md +56 -0
- package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +118 -0
- package/skills/ae-data-integration-helper/references/java_sdk_faq.md +406 -0
- package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +129 -0
- package/skills/ae-data-integration-helper/references/logbus2_guide.md +309 -0
- package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +348 -0
- package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +115 -0
- package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +118 -0
- package/skills/ae-data-integration-helper/references/python_sdk_faq.md +232 -0
- package/skills/ae-data-integration-helper/references/restful_api_notes.md +74 -0
- package/skills/ae-data-integration-helper/references/sdk_log_guide.md +316 -0
- package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +107 -0
- package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +115 -0
- package/skills/ae-generate-tracking-code/SKILL.md +629 -0
- package/skills/ae-generate-tracking-code/references/autotrack-enum.md +183 -0
- package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +202 -0
- package/skills/ae-generate-tracking-code/references/datax-config.md +43 -0
- package/skills/ae-generate-tracking-code/references/debug-script.md +102 -0
- package/skills/ae-generate-tracking-code/references/logbus-config.md +200 -0
- package/skills/ae-generate-tracking-code/references/modes.md +83 -0
- package/skills/ae-generate-tracking-code/references/restful-call.md +36 -0
- package/skills/ae-generate-tracking-code/references/sdk-index.md +128 -0
- package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +206 -0
- package/skills/ae-generate-tracking-code/references/snippet-delivery.md +394 -0
- package/skills/ae-generate-tracking-code/references/te-api.md +181 -0
- package/skills/ae-generate-tracking-plan/SKILL.md +1083 -0
- package/skills/ae-generate-tracking-plan/references/autotrack-events.md +273 -0
- package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +425 -0
- package/skills/ae-generate-tracking-plan/references/te-api.md +100 -0
- package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +152 -0
- package/skills/ae-kb/SKILL.md +38 -5
- package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +104 -0
- package/tracking-plan-template/MMO/346/211/213/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +117 -0
- package/tracking-plan-template/MMO/351/241/265/346/270/270/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +72 -0
- package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +86 -0
- package/tracking-plan-template/SLG/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +80 -0
- package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.md" +40 -0
- package/tracking-plan-template/TE /345/237/213/347/202/271/347/244/272/344/276/213/346/250/241/346/235/277.xlsx +0 -0
- package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.md +40 -0
- package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.xlsx +0 -0
- package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +92 -0
- package/tracking-plan-template//344/274/221/351/227/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
- package/tracking-plan-template//345/215/241/347/211/214/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.md +130 -0
- package/tracking-plan-template//345/241/224/351/230/262/345/205/273/346/210/220/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_V1.xlsx +0 -0
- package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +52 -0
- package/tracking-plan-template//345/276/256/344/277/241/345/260/217/346/270/270/346/210/217/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +68 -0
- package/tracking-plan-template//346/215/225/351/261/274/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.md +108 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/215/241/347/211/214/346/270/270/346/210/217_/345/237/213/347/202/271/346/250/241/347/211/210v1.xlsx +0 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +119 -0
- package/tracking-plan-template//346/224/276/347/275/256/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +63 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/346/226/227/345/234/260/344/270/273/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.md +101 -0
- package/tracking-plan-template//346/243/213/347/211/214/347/261/273/357/274/210/351/272/273/345/260/206/357/274/211/345/237/213/347/202/271/346/250/241/346/235/277_v2.xlsx +0 -0
- package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +84 -0
- package/tracking-plan-template//347/224/265/345/225/206/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.md +79 -0
- package/tracking-plan-template//347/237/255/345/211/247/344/272/247/345/223/201/345/237/213/347/202/271/346/226/271/346/241/210/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +105 -0
- package/tracking-plan-template//347/244/276/344/272/244/350/201/212/345/244/251/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +83 -0
- package/tracking-plan-template//351/230/205/350/257/273/347/261/273APP/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
- package/wiki/te-docs/index.md +225 -0
- package/wiki/te-docs/raw/advanced-data-type/first-event-check.md +66 -0
- package/wiki/te-docs/raw/advanced-data-type/updated-event.md +87 -0
- package/wiki/te-docs/raw/advanced-data-type.md +16 -0
- package/wiki/te-docs/raw/data-ingestion-guide/about-gdpr.md +55 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/automatic-event-tracking.md +431 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/debugging-and-logging.md +49 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/multi-instance.md +66 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/preset-properties.md +466 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/third-party-integration.md +127 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced.md +513 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/release-notes.md +177 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android.md +228 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/c-advanced.md +419 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c.md +110 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/client-side-sdk-faq.md +52 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/cpp-advanced.md +366 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/release-notes.md +103 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp.md +201 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/compliance.md +26 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/automatically-track-events.md +117 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/preset-properties.md +52 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced.md +267 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/release-notes.md +82 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter.md +139 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/compliance.md +26 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/automatically-track-events.md +121 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/debugging-and-logging.md +54 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/preset-properties.md +18 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced.md +305 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/release-notes.md +79 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native.md +137 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/release-notes.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/automatically-track-events.md +54 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/debugging-and-logging.md +53 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/multi-instance.md +42 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/preset-properties.md +119 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/support-native.md +81 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced.md +331 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app.md +156 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform.md +12 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/multi-instance.md +21 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/preset-properties.md +249 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md +301 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/release-notes.md +51 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x.md +281 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md +70 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/debugging-and-logging.md +57 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/native-support.md +104 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/preset-properties.md +91 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance.md +374 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/compliance.md +35 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/release-notes.md +109 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator.md +170 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/compliance.md +28 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/automatic-event-tracking.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/debugging-and-logging.md +58 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/preset-properties.md +43 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced.md +204 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/release-notes.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona.md +269 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/release-notes.md +177 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/automatic-event-tracking.md +119 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/multi-instance.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/native-pluggable.md +43 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/preset-properties.md +212 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/third-party-integration.md +77 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced.md +396 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity.md +176 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/release-notes.md +81 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md +79 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/debugging-and-logging.md +31 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/preset-properties.md +25 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/third-party-integrations.md +141 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced.md +278 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal.md +190 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine.md +14 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/h5-and-app-sdk-connection.md +147 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/instant-app-and-game.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/compliance.md +24 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/automatic-event-tracking.md +272 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/debugging-and-logging.md +77 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/multi-instance.md +142 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/preset-properties.md +484 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/third-party-integrations.md +132 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced.md +682 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/release-notes.md +163 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios.md +304 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/compliance.md +29 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/automatic-event-tracking.md +136 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/debugging-and-logging.md +48 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/multi-instance.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/preset-properties.md +132 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced.md +462 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/release-notes.md +107 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript.md +208 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/debugging-and-logging.md +62 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/preset-properties.md +118 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced.md +556 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos.md +231 -0
- package/wiki/te-docs/raw/data-ingestion-guide/client-sdk.md +25 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/filebeat-logstash-user-guide.md +610 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md +1215 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/ta-datax-writer-plugin-user-guide.md +278 -0
- package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools.md +15 -0
- package/wiki/te-docs/raw/data-ingestion-guide/privacy-policy.md +38 -0
- package/wiki/te-docs/raw/data-ingestion-guide/restful-api-user-guide.md +155 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-FM9Cwz.md +37 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-RSyfw7.md +41 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging.md +89 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-OxzWw.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-VuE3wr.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-IauKwI.md +175 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-YAilwk.md +210 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced.md +211 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-PVazwa.md +62 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-TADbwY.md +50 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes.md +69 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-V2W3wv.md +131 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-Zf9Jwl.md +179 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c.md +189 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/debugging-and-logging.md +38 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced.md +113 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/release-notes.md +34 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang.md +155 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/debugging-and-logging.md +42 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced.md +157 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/release-notes.md +72 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang.md +148 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/debugging-and-logging.md +49 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced.md +223 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/release-notes.md +88 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java.md +174 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/debugging-and-logging.md +46 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced.md +182 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/release-notes.md +61 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua.md +121 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/debugging-and-logging.md +55 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced.md +225 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs.md +141 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/debugging-and-logging.md +41 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced.md +216 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/release-notes.md +45 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php.md +173 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/debugging-and-logging.md +40 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced.md +206 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/release-notes.md +51 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python.md +116 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/release-notes.md +44 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/debugging-and-logging.md +47 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/preset-properties.md +126 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced.md +189 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby.md +142 -0
- package/wiki/te-docs/raw/data-ingestion-guide/server-sdk.md +22 -0
- package/wiki/te-docs/raw/data-ingestion-guide/thinkingdata-privacy-policy.md +37 -0
- package/wiki/te-docs/raw/data-ingestion-guide.md +48 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/data-rules.md +396 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/preset-properties-and-system-fields.md +957 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion/user-identification-rules.md +723 -0
- package/wiki/te-docs/raw/preparations-before-data-ingestion.md +203 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//345/220/210/350/247/204/346/214/207/345/215/227.md +96 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//346/233/264/346/226/260/346/227/245/345/277/227.md +97 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +52 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +447 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony//350/277/233/351/230/266/346/214/207/345/215/227.md +370 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony.md +172 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//345/220/210/350/247/204/346/214/207/345/215/227.md +37 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//346/233/264/346/226/260/346/227/245/345/277/227.md +209 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/244/232/345/256/236/344/276/213.md +71 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +49 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +125 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +498 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217//350/277/233/351/230/266/346/214/207/345/215/227.md +612 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//345/260/217/347/250/213/345/272/217/345/260/217/346/270/270/346/210/217.md +373 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//345/220/210/350/247/204/346/214/207/345/215/227.md +26 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//346/233/264/346/226/260/346/227/245/345/277/227.md +32 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +48 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +30 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +61 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua//350/277/233/351/230/266/346/214/207/345/215/227.md +236 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/cocos2d-lua.md +200 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//346/233/264/346/226/260/346/227/245/345/277/227.md +83 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +66 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +62 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +358 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret//350/277/233/351/230/266/346/214/207/345/215/227.md +615 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/egret.md +166 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//346/233/264/346/226/260/346/227/245/345/277/227.md +87 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227/native/346/224/257/346/214/201.md +71 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//345/256/236/346/227/266/350/260/203/350/257/225.md +54 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//350/207/252/345/212/250/351/207/207/351/233/206.md +61 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227//351/242/204/347/275/256/345/261/236/346/200/247.md +406 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair//350/277/233/351/230/266/346/214/207/345/215/227.md +597 -0
- package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk//346/270/270/346/210/217/345/274/225/346/223/216/layaair.md +179 -0
- package/wiki/te-docs/schema.md +16 -0
- package/wiki/te-docs/synthesis/batch-ingest-comparison.md +324 -0
- package/wiki/te-docs/synthesis/js-sdk-cheatsheet.md +538 -0
- package/wiki/te-docs/synthesis/restful-api-reference.md +363 -0
- package/wiki/te-docs/synthesis/sdk-selection.md +372 -0
- package/wiki/te-docs/synthesis/server-sdk-overview.md +449 -0
- package/dist/chunk-KAEZTSXN.js +0 -99
- package/dist/chunk-OJDNO5QY.js +0 -63
package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-OxzWw.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: cpp_server_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: OxzWwUa8yi3tXukOpxrcz837nuh
|
|
5
|
+
parentWikiToken: YAilwkzevi8lHekvnQ9cqPnrnzh
|
|
6
|
+
updateTime: 1774249330000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=cpp_server_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
The following present properties are properties that all events in SDK would have.
|
|
11
|
+
|
|
12
|
+
<lark-table rows="8" cols="4" column-widths="169,152,140,259">
|
|
13
|
+
|
|
14
|
+
<lark-tr>
|
|
15
|
+
<lark-td>
|
|
16
|
+
Property name
|
|
17
|
+
</lark-td>
|
|
18
|
+
<lark-td>
|
|
19
|
+
Display name
|
|
20
|
+
</lark-td>
|
|
21
|
+
<lark-td>
|
|
22
|
+
Property type
|
|
23
|
+
</lark-td>
|
|
24
|
+
<lark-td>
|
|
25
|
+
Instruction
|
|
26
|
+
</lark-td>
|
|
27
|
+
</lark-tr>
|
|
28
|
+
<lark-tr>
|
|
29
|
+
<lark-td>
|
|
30
|
+
#ip
|
|
31
|
+
</lark-td>
|
|
32
|
+
<lark-td>
|
|
33
|
+
IP address
|
|
34
|
+
</lark-td>
|
|
35
|
+
<lark-td>
|
|
36
|
+
Text
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
IP address of the user, based on which TE would get the geographical location of the user
|
|
40
|
+
</lark-td>
|
|
41
|
+
</lark-tr>
|
|
42
|
+
<lark-tr>
|
|
43
|
+
<lark-td>
|
|
44
|
+
#country
|
|
45
|
+
</lark-td>
|
|
46
|
+
<lark-td>
|
|
47
|
+
Country
|
|
48
|
+
</lark-td>
|
|
49
|
+
<lark-td>
|
|
50
|
+
Text
|
|
51
|
+
</lark-td>
|
|
52
|
+
<lark-td>
|
|
53
|
+
The country where the user is located; generated based on the IP address
|
|
54
|
+
</lark-td>
|
|
55
|
+
</lark-tr>
|
|
56
|
+
<lark-tr>
|
|
57
|
+
<lark-td>
|
|
58
|
+
#country_code
|
|
59
|
+
</lark-td>
|
|
60
|
+
<lark-td>
|
|
61
|
+
Country code
|
|
62
|
+
</lark-td>
|
|
63
|
+
<lark-td>
|
|
64
|
+
Text
|
|
65
|
+
</lark-td>
|
|
66
|
+
<lark-td>
|
|
67
|
+
The code of the country where the user is located (ISO 3166-1 alpha-2, two English characters in upper case); generated based on the IP address
|
|
68
|
+
</lark-td>
|
|
69
|
+
</lark-tr>
|
|
70
|
+
<lark-tr>
|
|
71
|
+
<lark-td>
|
|
72
|
+
#province
|
|
73
|
+
</lark-td>
|
|
74
|
+
<lark-td>
|
|
75
|
+
Province
|
|
76
|
+
</lark-td>
|
|
77
|
+
<lark-td>
|
|
78
|
+
Text
|
|
79
|
+
</lark-td>
|
|
80
|
+
<lark-td>
|
|
81
|
+
The province where the user is located; generated based on the IP address
|
|
82
|
+
</lark-td>
|
|
83
|
+
</lark-tr>
|
|
84
|
+
<lark-tr>
|
|
85
|
+
<lark-td>
|
|
86
|
+
#city
|
|
87
|
+
</lark-td>
|
|
88
|
+
<lark-td>
|
|
89
|
+
City
|
|
90
|
+
</lark-td>
|
|
91
|
+
<lark-td>
|
|
92
|
+
Text
|
|
93
|
+
</lark-td>
|
|
94
|
+
<lark-td>
|
|
95
|
+
The city where the user is located; generated based on the IP address
|
|
96
|
+
</lark-td>
|
|
97
|
+
</lark-tr>
|
|
98
|
+
<lark-tr>
|
|
99
|
+
<lark-td>
|
|
100
|
+
#lib
|
|
101
|
+
</lark-td>
|
|
102
|
+
<lark-td>
|
|
103
|
+
SDK type
|
|
104
|
+
</lark-td>
|
|
105
|
+
<lark-td>
|
|
106
|
+
Text
|
|
107
|
+
</lark-td>
|
|
108
|
+
<lark-td>
|
|
109
|
+
The type of SDK which you integrate, e.g., Golang, etc.
|
|
110
|
+
</lark-td>
|
|
111
|
+
</lark-tr>
|
|
112
|
+
<lark-tr>
|
|
113
|
+
<lark-td>
|
|
114
|
+
#lib_version
|
|
115
|
+
</lark-td>
|
|
116
|
+
<lark-td>
|
|
117
|
+
SDK version
|
|
118
|
+
</lark-td>
|
|
119
|
+
<lark-td>
|
|
120
|
+
Text
|
|
121
|
+
</lark-td>
|
|
122
|
+
<lark-td>
|
|
123
|
+
The version of the SDK which you integrate
|
|
124
|
+
</lark-td>
|
|
125
|
+
</lark-tr>
|
|
126
|
+
</lark-table>
|
package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-VuE3wr.md
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: csharp_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: VuE3wrY25iwLLhkvLI0chKnNnBe
|
|
5
|
+
parentWikiToken: IauKwIL6UiVIadkz8FCcBHL4n4f
|
|
6
|
+
updateTime: 1774249300000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=csharp_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
The following present properties are properties that all events in SDK would have.
|
|
11
|
+
|
|
12
|
+
<lark-table rows="8" cols="4" column-widths="169,152,140,259">
|
|
13
|
+
|
|
14
|
+
<lark-tr>
|
|
15
|
+
<lark-td>
|
|
16
|
+
Property name
|
|
17
|
+
</lark-td>
|
|
18
|
+
<lark-td>
|
|
19
|
+
Display name
|
|
20
|
+
</lark-td>
|
|
21
|
+
<lark-td>
|
|
22
|
+
Property type
|
|
23
|
+
</lark-td>
|
|
24
|
+
<lark-td>
|
|
25
|
+
Instruction
|
|
26
|
+
</lark-td>
|
|
27
|
+
</lark-tr>
|
|
28
|
+
<lark-tr>
|
|
29
|
+
<lark-td>
|
|
30
|
+
#ip
|
|
31
|
+
</lark-td>
|
|
32
|
+
<lark-td>
|
|
33
|
+
IP address
|
|
34
|
+
</lark-td>
|
|
35
|
+
<lark-td>
|
|
36
|
+
Text
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
IP address of the user, based on which TE would get the geographical location of the user
|
|
40
|
+
</lark-td>
|
|
41
|
+
</lark-tr>
|
|
42
|
+
<lark-tr>
|
|
43
|
+
<lark-td>
|
|
44
|
+
#country
|
|
45
|
+
</lark-td>
|
|
46
|
+
<lark-td>
|
|
47
|
+
Country
|
|
48
|
+
</lark-td>
|
|
49
|
+
<lark-td>
|
|
50
|
+
Text
|
|
51
|
+
</lark-td>
|
|
52
|
+
<lark-td>
|
|
53
|
+
The country where the user is located; generated based on the IP address
|
|
54
|
+
</lark-td>
|
|
55
|
+
</lark-tr>
|
|
56
|
+
<lark-tr>
|
|
57
|
+
<lark-td>
|
|
58
|
+
#country_code
|
|
59
|
+
</lark-td>
|
|
60
|
+
<lark-td>
|
|
61
|
+
Country code
|
|
62
|
+
</lark-td>
|
|
63
|
+
<lark-td>
|
|
64
|
+
Text
|
|
65
|
+
</lark-td>
|
|
66
|
+
<lark-td>
|
|
67
|
+
The code of the country where the user is located (ISO 3166-1 alpha-2, two English characters in upper case); generated based on the IP address
|
|
68
|
+
</lark-td>
|
|
69
|
+
</lark-tr>
|
|
70
|
+
<lark-tr>
|
|
71
|
+
<lark-td>
|
|
72
|
+
#province
|
|
73
|
+
</lark-td>
|
|
74
|
+
<lark-td>
|
|
75
|
+
Province
|
|
76
|
+
</lark-td>
|
|
77
|
+
<lark-td>
|
|
78
|
+
Text
|
|
79
|
+
</lark-td>
|
|
80
|
+
<lark-td>
|
|
81
|
+
The province where the user is located; generated based on the IP address
|
|
82
|
+
</lark-td>
|
|
83
|
+
</lark-tr>
|
|
84
|
+
<lark-tr>
|
|
85
|
+
<lark-td>
|
|
86
|
+
#city
|
|
87
|
+
</lark-td>
|
|
88
|
+
<lark-td>
|
|
89
|
+
City
|
|
90
|
+
</lark-td>
|
|
91
|
+
<lark-td>
|
|
92
|
+
Text
|
|
93
|
+
</lark-td>
|
|
94
|
+
<lark-td>
|
|
95
|
+
The city where the user is located; generated based on the IP address
|
|
96
|
+
</lark-td>
|
|
97
|
+
</lark-tr>
|
|
98
|
+
<lark-tr>
|
|
99
|
+
<lark-td>
|
|
100
|
+
#lib
|
|
101
|
+
</lark-td>
|
|
102
|
+
<lark-td>
|
|
103
|
+
SDK type
|
|
104
|
+
</lark-td>
|
|
105
|
+
<lark-td>
|
|
106
|
+
Text
|
|
107
|
+
</lark-td>
|
|
108
|
+
<lark-td>
|
|
109
|
+
The type of SDK which you integrate, e.g., Golang, etc.
|
|
110
|
+
</lark-td>
|
|
111
|
+
</lark-tr>
|
|
112
|
+
<lark-tr>
|
|
113
|
+
<lark-td>
|
|
114
|
+
#lib_version
|
|
115
|
+
</lark-td>
|
|
116
|
+
<lark-td>
|
|
117
|
+
SDK version
|
|
118
|
+
</lark-td>
|
|
119
|
+
<lark-td>
|
|
120
|
+
Text
|
|
121
|
+
</lark-td>
|
|
122
|
+
<lark-td>
|
|
123
|
+
The version of the SDK which you integrate
|
|
124
|
+
</lark-td>
|
|
125
|
+
</lark-tr>
|
|
126
|
+
</lark-table>
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: c_sdk_preset_properties
|
|
3
|
+
name: "Preset Properties"
|
|
4
|
+
wikiToken: FqqJwumdSigIILkFZYEcsLACnUg
|
|
5
|
+
parentWikiToken: IvaxwsdOwi8b3Ck84AzcXobtnDb
|
|
6
|
+
updateTime: 1774249249000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=c_sdk_preset_properties
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
The following present properties are properties that all events in SDK would have.
|
|
11
|
+
|
|
12
|
+
<lark-table rows="8" cols="4" column-widths="169,152,140,259">
|
|
13
|
+
|
|
14
|
+
<lark-tr>
|
|
15
|
+
<lark-td>
|
|
16
|
+
Property name
|
|
17
|
+
</lark-td>
|
|
18
|
+
<lark-td>
|
|
19
|
+
Display name
|
|
20
|
+
</lark-td>
|
|
21
|
+
<lark-td>
|
|
22
|
+
Property type
|
|
23
|
+
</lark-td>
|
|
24
|
+
<lark-td>
|
|
25
|
+
Instruction
|
|
26
|
+
</lark-td>
|
|
27
|
+
</lark-tr>
|
|
28
|
+
<lark-tr>
|
|
29
|
+
<lark-td>
|
|
30
|
+
#ip
|
|
31
|
+
</lark-td>
|
|
32
|
+
<lark-td>
|
|
33
|
+
IP address
|
|
34
|
+
</lark-td>
|
|
35
|
+
<lark-td>
|
|
36
|
+
Text
|
|
37
|
+
</lark-td>
|
|
38
|
+
<lark-td>
|
|
39
|
+
IP address of the user, based on which TE would get the geographical location of the user
|
|
40
|
+
</lark-td>
|
|
41
|
+
</lark-tr>
|
|
42
|
+
<lark-tr>
|
|
43
|
+
<lark-td>
|
|
44
|
+
#country
|
|
45
|
+
</lark-td>
|
|
46
|
+
<lark-td>
|
|
47
|
+
Country
|
|
48
|
+
</lark-td>
|
|
49
|
+
<lark-td>
|
|
50
|
+
Text
|
|
51
|
+
</lark-td>
|
|
52
|
+
<lark-td>
|
|
53
|
+
The country where the user is located; generated based on the IP address
|
|
54
|
+
</lark-td>
|
|
55
|
+
</lark-tr>
|
|
56
|
+
<lark-tr>
|
|
57
|
+
<lark-td>
|
|
58
|
+
#country_code
|
|
59
|
+
</lark-td>
|
|
60
|
+
<lark-td>
|
|
61
|
+
Country code
|
|
62
|
+
</lark-td>
|
|
63
|
+
<lark-td>
|
|
64
|
+
Text
|
|
65
|
+
</lark-td>
|
|
66
|
+
<lark-td>
|
|
67
|
+
The code of the country where the user is located (ISO 3166-1 alpha-2, two English characters in upper case); generated based on the IP address
|
|
68
|
+
</lark-td>
|
|
69
|
+
</lark-tr>
|
|
70
|
+
<lark-tr>
|
|
71
|
+
<lark-td>
|
|
72
|
+
#province
|
|
73
|
+
</lark-td>
|
|
74
|
+
<lark-td>
|
|
75
|
+
Province
|
|
76
|
+
</lark-td>
|
|
77
|
+
<lark-td>
|
|
78
|
+
Text
|
|
79
|
+
</lark-td>
|
|
80
|
+
<lark-td>
|
|
81
|
+
The province where the user is located; generated based on the IP address
|
|
82
|
+
</lark-td>
|
|
83
|
+
</lark-tr>
|
|
84
|
+
<lark-tr>
|
|
85
|
+
<lark-td>
|
|
86
|
+
#city
|
|
87
|
+
</lark-td>
|
|
88
|
+
<lark-td>
|
|
89
|
+
City
|
|
90
|
+
</lark-td>
|
|
91
|
+
<lark-td>
|
|
92
|
+
Text
|
|
93
|
+
</lark-td>
|
|
94
|
+
<lark-td>
|
|
95
|
+
The city where the user is located; generated based on the IP address
|
|
96
|
+
</lark-td>
|
|
97
|
+
</lark-tr>
|
|
98
|
+
<lark-tr>
|
|
99
|
+
<lark-td>
|
|
100
|
+
#lib
|
|
101
|
+
</lark-td>
|
|
102
|
+
<lark-td>
|
|
103
|
+
SDK type
|
|
104
|
+
</lark-td>
|
|
105
|
+
<lark-td>
|
|
106
|
+
Text
|
|
107
|
+
</lark-td>
|
|
108
|
+
<lark-td>
|
|
109
|
+
The type of SDK which you integrate, e.g., Golang, etc.
|
|
110
|
+
</lark-td>
|
|
111
|
+
</lark-tr>
|
|
112
|
+
<lark-tr>
|
|
113
|
+
<lark-td>
|
|
114
|
+
#lib_version
|
|
115
|
+
</lark-td>
|
|
116
|
+
<lark-td>
|
|
117
|
+
SDK version
|
|
118
|
+
</lark-td>
|
|
119
|
+
<lark-td>
|
|
120
|
+
Text
|
|
121
|
+
</lark-td>
|
|
122
|
+
<lark-td>
|
|
123
|
+
The version of the SDK which you integrate
|
|
124
|
+
</lark-td>
|
|
125
|
+
</lark-tr>
|
|
126
|
+
</lark-table>
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: csharp_sdk_advanced
|
|
3
|
+
name: "C#-Advanced"
|
|
4
|
+
wikiToken: IauKwIL6UiVIadkz8FCcBHL4n4f
|
|
5
|
+
parentWikiToken: V2W3wvcfkiGW3lk9rrDcnosAnqi
|
|
6
|
+
updateTime: 1774249296000
|
|
7
|
+
sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=csharp_sdk_advanced
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## **Sending Events**
|
|
11
|
+
After SDK is initialized, you can track user behaviour data. In general, ordinary events could meet business requirements. You can also use the First/Updatable Event based on your own business requirements.
|
|
12
|
+
### 1.1 **Ordinary Events**
|
|
13
|
+
You can call `track` to upload events. It is suggested that you set event properties based on the document about data tracking drafted previously. Procurement of a commodity by a user is taken as the example here:
|
|
14
|
+
```csharp
|
|
15
|
+
Dictionary<string, object> properties = new Dictionary<string, object>();
|
|
16
|
+
properties.Add("product_name", "goods_name");
|
|
17
|
+
properties.Add("price", "123");
|
|
18
|
+
te.Track("accountId", "distinctId", "product_buy", properties);
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### 1.2 **First Events**
|
|
22
|
+
The First Events refers to events that would only be recorded once for the ID of a certain device or other dimensions. For example, under certain scenarios, you may want to record the activation event on a certain device. In this case, you can perform data tracking with the First Event.
|
|
23
|
+
If you want to judge whether an event is the First Event from other dimensions, you can define a first_check_id for the First Event:
|
|
24
|
+
```csharp
|
|
25
|
+
Dictionary<string, object> properties = new Dictionary<string, object>();
|
|
26
|
+
properties.Add("price", 35);
|
|
27
|
+
te.TrackFirst("accountId", "distinctId", "device_activation", "first_check_id", properties);
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
<quote-container>
|
|
31
|
+
Note: Since the server has to check whether the event is the First Event, the First Event will be put in storage one hour later by default.
|
|
32
|
+
</quote-container>
|
|
33
|
+
|
|
34
|
+
### 1.3 ** Updatable Events**
|
|
35
|
+
You can meet the requirements for event data modification under specific scenarios through Updatable Event. The TE would determine the data to be updated according to the event name and event ID.
|
|
36
|
+
```csharp
|
|
37
|
+
Dictionary<string, object> properties = new Dictionary<string, object>();
|
|
38
|
+
properties.Add("price", 100);
|
|
39
|
+
properties.Add("status", 3);
|
|
40
|
+
te.TrackUpdate("accountId", "distinctId", "UPDATABLE_EVENT", "event_id", properties);
|
|
41
|
+
|
|
42
|
+
Dictionary<string, object> newProperties = new Dictionary<string, object>();
|
|
43
|
+
newProperties.Add("status", 5);
|
|
44
|
+
|
|
45
|
+
te.TrackUpdate("accountId", "distinctId", "UPDATABLE_EVENT", "event_id", properties);
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 1.4 **Overwritable Event****s**
|
|
49
|
+
Despite the similarity with Updatable Event, Overwritable Event would cover all historical data with the latest data. Looking from the perspective of effect, such a process is equivalent to the behavior of deleting the previous data while putting the latest data in storage. The TE would determine the data to be updated according to the event name and event ID.
|
|
50
|
+
```csharp
|
|
51
|
+
Dictionary<string, object> properties = new Dictionary<string, object>();
|
|
52
|
+
properties.Add("price", 100);
|
|
53
|
+
properties.Add("status", 3);
|
|
54
|
+
te.TrackOverwrite("accountId", "distinctId", "OVERWRITE_EVENT", "event_id", properties);
|
|
55
|
+
|
|
56
|
+
Dictionary<string, object> newProperties = new Dictionary<string, object>();
|
|
57
|
+
newProperties.Add("status", 5);
|
|
58
|
+
te.TrackOverwrite("accountId", "distinctId", "OVERWRITE_EVENT", "event_id", properties);
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## **User Properties**
|
|
62
|
+
User property setting APIs supported by the TE include: `UserSet`, `UserSetOnce`, `UserAdd`, `UserAppend`, `UserUniqAppend`, `UserUnSet`, `UserDelete`.
|
|
63
|
+
### 2.1 UserSet
|
|
64
|
+
You can call `UserSet` to set general user properties. The original properties would be replaced if the properties uploaded via the API are used. If user properties are not set before, user properties will be created. The type of newly-created user properties must conform to that of the uploaded properties. User name setting is taken as the example here:
|
|
65
|
+
```csharp
|
|
66
|
+
Dictionary<string, object> properties= new Dictionary<string, object>();
|
|
67
|
+
properties.Add("user_name","TA");
|
|
68
|
+
te.UserSet("accountId","distinctId", properties);
|
|
69
|
+
|
|
70
|
+
Dictionary<string, object> newProperties= new Dictionary<string, object>();
|
|
71
|
+
newProperties.Add("user_name","TE");
|
|
72
|
+
te.UserSet("accountId","distinctId", newProperties);
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### 2.2 UserSetOnce
|
|
76
|
+
If the user property you want to upload only needs to be set once, you can call `UserSetOnce` to set the property. If such property had been set before, this message would be ignored. Let's take the setting of the first payment time as an example::
|
|
77
|
+
```csharp
|
|
78
|
+
Dictionary<string, object> properties = new Dictionary<string, object>();
|
|
79
|
+
properties.Add("first_payment_time", "2018-01-01 01:23:45.678");
|
|
80
|
+
te.UserSetOnce("accountId", "distinctId", properties);
|
|
81
|
+
|
|
82
|
+
Dictionary<string, object> newProperties = new Dictionary<string, object>();
|
|
83
|
+
newProperties.Add("first_payment_time", "2018-12-31 01:23:45.678");
|
|
84
|
+
te.UserSetOnce("accountId", "distinctId", newProperties);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 2.3 UserAdd
|
|
88
|
+
When you want to upload numeric property for cumulative operation, you can call `UserAdd`.
|
|
89
|
+
If the property has not been set, it would be given a value of 0 before computing. A negative value could be uploaded, which is equivalent to subtraction operation. Let's take the accumulative payment amount as an example:
|
|
90
|
+
```csharp
|
|
91
|
+
Dictionary<string, object> properties = new Dictionary<string, object>();
|
|
92
|
+
properties.Add("total_revenue", 30);
|
|
93
|
+
te.UserAdd("accountId", "distinctId", properties);
|
|
94
|
+
|
|
95
|
+
Dictionary<string, object> newProperties = new Dictionary<string, object>();
|
|
96
|
+
newProperties.Add("total_revenue", 648);
|
|
97
|
+
te.UserAdd("accountId", "distinctId", newProperties);
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
<quote-container>
|
|
101
|
+
The property key is a string, and the value is only allowed to be a numeric value.
|
|
102
|
+
</quote-container>
|
|
103
|
+
|
|
104
|
+
### 2.4 UserAppend
|
|
105
|
+
You can call `UserAppend` to add user properties of array type.
|
|
106
|
+
```csharp
|
|
107
|
+
Dictionary<string, object> dictionary = new Dictionary<string, object>();
|
|
108
|
+
List<string> list = new List<string>();
|
|
109
|
+
list.Add("ball");
|
|
110
|
+
dictionary.Add("user_list", list);
|
|
111
|
+
te.UserAppend("accountId", "distinctId", dictionary);
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### 2.5 UserUniqAppend
|
|
115
|
+
You can delete duplicated user property by calling `UserUniqAppend` API. If you call `UserAppend` API, duplicated user property might not be deleted.
|
|
116
|
+
```csharp
|
|
117
|
+
Dictionary<string, object> dictionary = new Dictionary<string, object>();
|
|
118
|
+
List<string> list = new List<string>();
|
|
119
|
+
list.Add("apple");
|
|
120
|
+
list.Add("ball");
|
|
121
|
+
dictionary.Add("user_list", list);
|
|
122
|
+
te.UserAppend("accountId", "distinctId", dictionary);
|
|
123
|
+
|
|
124
|
+
Dictionary<string, object> newDictionary = new Dictionary<string, object>();
|
|
125
|
+
List<string> newList = new List<string>();
|
|
126
|
+
newList.Add("apple");
|
|
127
|
+
newList.Add("cube");
|
|
128
|
+
newDictionary.Add("user_list", newList);
|
|
129
|
+
te.UserAppend("accountId", "distinctId", newDictionary);
|
|
130
|
+
|
|
131
|
+
te.UserUniqAppend("accountId", "distinctId", newDictionary);
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### 2.6 UserUnSet
|
|
135
|
+
When you need to clear the user properties of users, you can call `UserUnSet` to clear specific properties. `UserUnSet` would not create properties that have not been created in the cluster.
|
|
136
|
+
```csharp
|
|
137
|
+
List<string> list = new List<string>();
|
|
138
|
+
list.Add("nickname");
|
|
139
|
+
list.Add("age");
|
|
140
|
+
te.UserUnSet("accountId", "distinctId", list);
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### 2.7 UserDelete
|
|
144
|
+
You can call `UserDelete` to delete a user. After deleting the user, you would no longer be able to inquire about its user property, but could still query the events triggered by the user.
|
|
145
|
+
```csharp
|
|
146
|
+
te.UserDelete("accountId", "distinctId");
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## **Other**
|
|
150
|
+
### 3.1 BatchConsumer
|
|
151
|
+
::: warning Notice
|
|
152
|
+
When the amount of data is too large or the network is abnormal, there is a risk of data loss. And it is not recommended to use it in a production environment
|
|
153
|
+
:::
|
|
154
|
+
Batches transmit data to the TE in real time, without the need for a transmission tool.
|
|
155
|
+
```csharp
|
|
156
|
+
TDAnalytics te = new(new TDBatchConsumer("SERVER_URL", "APPID", true));
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Instruction on parameters:
|
|
160
|
+
- `APPID`: The APPID of your project, which can be found on the project management page of TE.
|
|
161
|
+
- `SERVER_URL`:
|
|
162
|
+
- If you are using a SaaS version, please check the receiver URL on this page
|
|
163
|
+
<image token="PfiKbR0P0oqr79xogQgclGM5nOf" width="1674" height="1318" align="center"/>
|
|
164
|
+
|
|
165
|
+
- If you use the private deployment version, you can customize the data tracking URL .
|
|
166
|
+
### 3.2 Timed refresh
|
|
167
|
+
By default, the SDK will only automatically report data based on the current data size. The SDK supports the scheduled refresh function, and you can configure the interval and autoFlush parameters in Config to enable the function of regularly reporting data.
|
|
168
|
+
```csharp
|
|
169
|
+
using ThinkingData.Analytics
|
|
170
|
+
|
|
171
|
+
TDLoggerConsumer.TDConfig config = new TDLoggerConsumer.TDConfig();
|
|
172
|
+
config.BatchSec = 3;
|
|
173
|
+
|
|
174
|
+
TDAnalytics te = new(new TDLoggerConsumer("LOG_DIRECTORY", config));
|
|
175
|
+
```
|