@thinkingai/ae-cli 1.0.30 → 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.
Files changed (355) hide show
  1. package/dist/{auth-U25QJU5D.js → auth-DYC2BGLM.js} +2 -3
  2. package/dist/{auth-H3GJD55A.js → auth-GHBMJ5ZR.js} +33 -17
  3. package/dist/{chunk-CLJF7MQA.js → chunk-2DUEAXV3.js} +1 -1
  4. package/dist/{chunk-SF3KTPIC.js → chunk-5OC7CYCG.js} +2 -2
  5. package/dist/{chunk-SRJIAOBN.js → chunk-6W4QOZAL.js} +10 -0
  6. package/dist/{chunk-I42JGQ2J.js → chunk-BJX3GXWC.js} +3 -5
  7. package/dist/{chunk-GLNZSDKO.js → chunk-DMMEPCST.js} +4 -6
  8. package/dist/{chunk-VJFUB3H3.js → chunk-I5CRVM2S.js} +3 -3
  9. package/dist/{chunk-GSJGPNKK.js → chunk-PN3OS34E.js} +1 -1
  10. package/dist/{chunk-JM34JPCO.js → chunk-RSHMZ3LG.js} +178 -4
  11. package/dist/{client-IN42F223.js → client-2UJ63MVQ.js} +3 -4
  12. package/dist/{config-64G36TJL.js → config-NCUGK6NS.js} +3 -3
  13. package/dist/index.js +2526 -28
  14. package/dist/{model-VZCYNIOG.js → model-SJSOZTRS.js} +2 -2
  15. package/dist/{raw-WJIWC6YP.js → raw-7NVWSVJP.js} +5 -7
  16. package/dist/{sync-NVASAISS.js → sync-GRVO4K3U.js} +3 -3
  17. package/dist/{te-agent-YV4DXEXK.js → te-agent-KZRIEN4N.js} +468 -46
  18. package/dist/{te-analysis-CB3DA5I5.js → te-analysis-VAR4KUOK.js} +144 -29
  19. package/dist/{te-audience-W7SCQFC7.js → te-audience-KMKYI2YJ.js} +22 -15
  20. package/dist/{te-common-FBXVWBSI.js → te-common-WNCZB7R7.js} +4 -5
  21. package/dist/{te-community-LNVDZSGW.js → te-community-JEEFXPB3.js} +10 -11
  22. package/dist/{te-dataops-IPCSSWYH.js → te-dataops-GD3XBYCS.js} +11 -12
  23. package/dist/{te-engage-KARARMIR.js → te-engage-4XHCTS6I.js} +4 -5
  24. package/dist/{te-kb-2Z2CARN3.js → te-kb-B62KFP2A.js} +96 -8
  25. package/dist/{te-meta-PDKLMWXN.js → te-meta-EPZGQN56.js} +9 -10
  26. package/dist/{te-team-SW5B7DHO.js → te-team-YY24VORI.js} +6 -7
  27. package/dist/tracking/i18n/resources/cli/en.json +153 -0
  28. package/dist/tracking/i18n/resources/cli/ja.json +153 -0
  29. package/dist/tracking/i18n/resources/cli/ko.json +153 -0
  30. package/dist/tracking/i18n/resources/cli/zh.json +153 -0
  31. package/package.json +9 -3
  32. package/skills/ae-agent/SKILL.md +65 -25
  33. package/skills/ae-analysis/SKILL.md +108 -8
  34. package/skills/ae-analysis/references/cancel_query.md +39 -0
  35. package/skills/ae-analysis/references/drilldown_user_events.md +4 -2
  36. package/skills/ae-analysis/references/drilldown_users.md +4 -2
  37. package/skills/ae-analysis/references/get_bi_panel_detail.md +35 -0
  38. package/skills/ae-analysis/references/list_alerts.md +1 -1
  39. package/skills/ae-analysis/references/list_bi_panels.md +35 -0
  40. package/skills/ae-analysis/references/list_cluster_members.md +4 -1
  41. package/skills/ae-analysis/references/list_dashboards.md +1 -1
  42. package/skills/ae-analysis/references/list_entities.md +1 -1
  43. package/skills/ae-analysis/references/list_events.md +1 -1
  44. package/skills/ae-analysis/references/list_metrics.md +1 -1
  45. package/skills/ae-analysis/references/list_project_mark_times.md +1 -1
  46. package/skills/ae-analysis/references/list_properties.md +1 -1
  47. package/skills/ae-analysis/references/list_public_access_links.md +1 -1
  48. package/skills/ae-analysis/references/list_reports.md +1 -1
  49. package/skills/ae-analysis/references/list_tag_members.md +4 -1
  50. package/skills/ae-analysis/references/query_adhoc.md +6 -5
  51. package/skills/ae-analysis/references/query_bi_panel_data.md +58 -0
  52. package/skills/ae-analysis/references/query_dashboard_report_data.md +4 -1
  53. package/skills/ae-analysis/references/query_entity_details.md +5 -2
  54. package/skills/ae-analysis/references/query_event_details.md +4 -1
  55. package/skills/ae-analysis/references/query_report_data.md +2 -2
  56. package/skills/ae-analysis-global/SKILL.md +3 -1
  57. package/skills/ae-analysis-intent/SKILL.md +132 -0
  58. package/skills/ae-data-integration-helper/SKILL.md +242 -0
  59. package/skills/ae-data-integration-helper/references/android_sdk_faq.md +179 -0
  60. package/skills/ae-data-integration-helper/references/c_sdk_compilation.md +83 -0
  61. package/skills/ae-data-integration-helper/references/c_sdk_faq.md +416 -0
  62. package/skills/ae-data-integration-helper/references/cocoscreator_sdk_faq.md +123 -0
  63. package/skills/ae-data-integration-helper/references/cpp_server_sdk_faq.md +365 -0
  64. package/skills/ae-data-integration-helper/references/index.md +56 -0
  65. package/skills/ae-data-integration-helper/references/ios_sdk_faq.md +118 -0
  66. package/skills/ae-data-integration-helper/references/java_sdk_faq.md +406 -0
  67. package/skills/ae-data-integration-helper/references/javascript_sdk_faq.md +129 -0
  68. package/skills/ae-data-integration-helper/references/logbus2_guide.md +309 -0
  69. package/skills/ae-data-integration-helper/references/logbus2_parser_plugin.md +348 -0
  70. package/skills/ae-data-integration-helper/references/minigame_sdk_faq.md +115 -0
  71. package/skills/ae-data-integration-helper/references/miniprogram_sdk_faq.md +118 -0
  72. package/skills/ae-data-integration-helper/references/python_sdk_faq.md +232 -0
  73. package/skills/ae-data-integration-helper/references/restful_api_notes.md +74 -0
  74. package/skills/ae-data-integration-helper/references/sdk_log_guide.md +316 -0
  75. package/skills/ae-data-integration-helper/references/sdk_usage_notes.md +107 -0
  76. package/skills/ae-data-integration-helper/references/unity_sdk_faq.md +115 -0
  77. package/skills/ae-generate-tracking-code/SKILL.md +629 -0
  78. package/skills/ae-generate-tracking-code/references/autotrack-enum.md +183 -0
  79. package/skills/ae-generate-tracking-code/references/client-sdk-insert.md +202 -0
  80. package/skills/ae-generate-tracking-code/references/datax-config.md +43 -0
  81. package/skills/ae-generate-tracking-code/references/debug-script.md +102 -0
  82. package/skills/ae-generate-tracking-code/references/logbus-config.md +200 -0
  83. package/skills/ae-generate-tracking-code/references/modes.md +83 -0
  84. package/skills/ae-generate-tracking-code/references/restful-call.md +36 -0
  85. package/skills/ae-generate-tracking-code/references/sdk-index.md +128 -0
  86. package/skills/ae-generate-tracking-code/references/server-sdk-insert.md +206 -0
  87. package/skills/ae-generate-tracking-code/references/snippet-delivery.md +394 -0
  88. package/skills/ae-generate-tracking-code/references/te-api.md +181 -0
  89. package/skills/ae-generate-tracking-plan/SKILL.md +1083 -0
  90. package/skills/ae-generate-tracking-plan/references/autotrack-events.md +273 -0
  91. package/skills/ae-generate-tracking-plan/references/business-dimension-mapping.md +425 -0
  92. package/skills/ae-generate-tracking-plan/references/te-api.md +100 -0
  93. package/skills/ae-generate-tracking-plan/references/xlsx-schema.md +152 -0
  94. package/skills/ae-kb/SKILL.md +38 -5
  95. 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
  96. 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
  97. 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
  98. 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
  99. package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +72 -0
  100. package/tracking-plan-template/RPG/347/261/273/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  101. 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
  102. 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
  103. package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.md +80 -0
  104. package/tracking-plan-template/Slots/345/237/213/347/202/271/346/250/241/346/235/277_v1.xlsx +0 -0
  105. 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
  106. 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
  107. package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.md +40 -0
  108. package/tracking-plan-template/TE/345/256/230/346/226/271/346/250/241/346/235/277_dataTrackSample.xlsx +0 -0
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. package/wiki/te-docs/index.md +225 -0
  136. package/wiki/te-docs/raw/advanced-data-type/first-event-check.md +66 -0
  137. package/wiki/te-docs/raw/advanced-data-type/updated-event.md +87 -0
  138. package/wiki/te-docs/raw/advanced-data-type.md +16 -0
  139. package/wiki/te-docs/raw/data-ingestion-guide/about-gdpr.md +55 -0
  140. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/automatic-event-tracking.md +431 -0
  141. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/debugging-and-logging.md +49 -0
  142. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/multi-instance.md +66 -0
  143. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/preset-properties.md +466 -0
  144. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced/third-party-integration.md +127 -0
  145. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/android-advanced.md +513 -0
  146. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/compliance.md +24 -0
  147. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android/release-notes.md +177 -0
  148. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/android.md +228 -0
  149. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/c-advanced.md +419 -0
  150. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c/release-notes.md +45 -0
  151. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/c.md +110 -0
  152. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/client-side-sdk-faq.md +52 -0
  153. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/cpp-advanced.md +366 -0
  154. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp/release-notes.md +103 -0
  155. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cpp.md +201 -0
  156. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/compliance.md +26 -0
  157. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/automatically-track-events.md +117 -0
  158. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/debugging-and-logging.md +47 -0
  159. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced/preset-properties.md +52 -0
  160. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/flutter-advanced.md +267 -0
  161. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter/release-notes.md +82 -0
  162. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/flutter.md +139 -0
  163. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/compliance.md +26 -0
  164. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/automatically-track-events.md +121 -0
  165. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/debugging-and-logging.md +54 -0
  166. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced/preset-properties.md +18 -0
  167. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/reactnative-advanced.md +305 -0
  168. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native/release-notes.md +79 -0
  169. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/react-native.md +137 -0
  170. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/release-notes.md +24 -0
  171. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/automatically-track-events.md +54 -0
  172. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/debugging-and-logging.md +53 -0
  173. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/multi-instance.md +42 -0
  174. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/preset-properties.md +119 -0
  175. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced/support-native.md +81 -0
  176. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app/uniapp-advanced.md +331 -0
  177. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform/uni-app.md +156 -0
  178. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/cross-platform.md +12 -0
  179. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/automatic-event-tracking.md +29 -0
  180. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/debugging-and-logging.md +47 -0
  181. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/multi-instance.md +21 -0
  182. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced/preset-properties.md +249 -0
  183. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/cocos2d-x-advanced.md +301 -0
  184. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/compliance.md +24 -0
  185. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x/release-notes.md +51 -0
  186. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocos2d-x.md +281 -0
  187. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/automatic-event-tracking.md +70 -0
  188. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/debugging-and-logging.md +57 -0
  189. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/native-support.md +104 -0
  190. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance/preset-properties.md +91 -0
  191. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/cocoscreator-advance.md +374 -0
  192. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/compliance.md +35 -0
  193. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator/release-notes.md +109 -0
  194. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/cocoscreator.md +170 -0
  195. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/compliance.md +28 -0
  196. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/automatic-event-tracking.md +29 -0
  197. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/debugging-and-logging.md +58 -0
  198. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced/preset-properties.md +43 -0
  199. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/corona-advanced.md +204 -0
  200. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona/release-notes.md +29 -0
  201. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/corona.md +269 -0
  202. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/compliance.md +24 -0
  203. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/release-notes.md +177 -0
  204. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/automatic-event-tracking.md +119 -0
  205. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/debugging-and-logging.md +47 -0
  206. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/multi-instance.md +50 -0
  207. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/native-pluggable.md +43 -0
  208. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/preset-properties.md +212 -0
  209. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced/third-party-integration.md +77 -0
  210. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity/unity-advanced.md +396 -0
  211. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unity.md +176 -0
  212. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/compliance.md +24 -0
  213. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/release-notes.md +81 -0
  214. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/automatic-event-tracking.md +79 -0
  215. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/debugging-and-logging.md +31 -0
  216. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/preset-properties.md +25 -0
  217. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced/third-party-integrations.md +141 -0
  218. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal/unreal-advanced.md +278 -0
  219. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine/unreal.md +190 -0
  220. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/game-engine.md +14 -0
  221. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/h5-and-app-sdk-connection.md +147 -0
  222. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/instant-app-and-game.md +24 -0
  223. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/compliance.md +24 -0
  224. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/automatic-event-tracking.md +272 -0
  225. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/debugging-and-logging.md +77 -0
  226. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/multi-instance.md +142 -0
  227. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/preset-properties.md +484 -0
  228. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced/third-party-integrations.md +132 -0
  229. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/ios-advanced.md +682 -0
  230. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios/release-notes.md +163 -0
  231. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/ios.md +304 -0
  232. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/compliance.md +29 -0
  233. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/automatic-event-tracking.md +136 -0
  234. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/debugging-and-logging.md +48 -0
  235. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/multi-instance.md +50 -0
  236. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced/preset-properties.md +132 -0
  237. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/javascript-advanced.md +462 -0
  238. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript/release-notes.md +107 -0
  239. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/javascript.md +208 -0
  240. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/debugging-and-logging.md +62 -0
  241. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced/preset-properties.md +118 -0
  242. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos/macos-advanced.md +556 -0
  243. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk/macos.md +231 -0
  244. package/wiki/te-docs/raw/data-ingestion-guide/client-sdk.md +25 -0
  245. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/filebeat-logstash-user-guide.md +610 -0
  246. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/logbus2-user-guide.md +1215 -0
  247. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools/ta-datax-writer-plugin-user-guide.md +278 -0
  248. package/wiki/te-docs/raw/data-ingestion-guide/data-import-tools.md +15 -0
  249. package/wiki/te-docs/raw/data-ingestion-guide/privacy-policy.md +38 -0
  250. package/wiki/te-docs/raw/data-ingestion-guide/restful-api-user-guide.md +155 -0
  251. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-FM9Cwz.md +37 -0
  252. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging-RSyfw7.md +41 -0
  253. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/debugging-and-logging.md +89 -0
  254. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-OxzWw.md +126 -0
  255. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties-VuE3wr.md +126 -0
  256. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced/preset-properties.md +126 -0
  257. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-IauKwI.md +175 -0
  258. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced-YAilwk.md +210 -0
  259. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/c-advanced.md +211 -0
  260. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-PVazwa.md +62 -0
  261. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes-TADbwY.md +50 -0
  262. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c/release-notes.md +69 -0
  263. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-V2W3wv.md +131 -0
  264. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c-Zf9Jwl.md +179 -0
  265. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/c.md +189 -0
  266. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/debugging-and-logging.md +38 -0
  267. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced/preset-properties.md +126 -0
  268. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/erlang-advanced.md +113 -0
  269. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang/release-notes.md +34 -0
  270. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/erlang.md +155 -0
  271. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/debugging-and-logging.md +42 -0
  272. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced/preset-properties.md +126 -0
  273. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/golang-advanced.md +157 -0
  274. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang/release-notes.md +72 -0
  275. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/golang.md +148 -0
  276. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/debugging-and-logging.md +49 -0
  277. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced/preset-properties.md +126 -0
  278. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/java-advanced.md +223 -0
  279. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java/release-notes.md +88 -0
  280. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/java.md +174 -0
  281. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/debugging-and-logging.md +46 -0
  282. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced/preset-properties.md +126 -0
  283. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/lua-advanced.md +182 -0
  284. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua/release-notes.md +61 -0
  285. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/lua.md +121 -0
  286. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/debugging-and-logging.md +55 -0
  287. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced/preset-properties.md +126 -0
  288. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/nodejs-advanced.md +225 -0
  289. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs/release-notes.md +45 -0
  290. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/nodejs.md +141 -0
  291. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/debugging-and-logging.md +41 -0
  292. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced/preset-properties.md +126 -0
  293. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/php-advanced.md +216 -0
  294. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php/release-notes.md +45 -0
  295. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/php.md +173 -0
  296. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/debugging-and-logging.md +40 -0
  297. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced/preset-properties.md +126 -0
  298. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/python-advanced.md +206 -0
  299. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python/release-notes.md +51 -0
  300. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/python.md +116 -0
  301. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/release-notes.md +44 -0
  302. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/debugging-and-logging.md +47 -0
  303. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced/preset-properties.md +126 -0
  304. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby/ruby-advanced.md +189 -0
  305. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk/ruby.md +142 -0
  306. package/wiki/te-docs/raw/data-ingestion-guide/server-sdk.md +22 -0
  307. package/wiki/te-docs/raw/data-ingestion-guide/thinkingdata-privacy-policy.md +37 -0
  308. package/wiki/te-docs/raw/data-ingestion-guide.md +48 -0
  309. package/wiki/te-docs/raw/preparations-before-data-ingestion/data-rules.md +396 -0
  310. package/wiki/te-docs/raw/preparations-before-data-ingestion/preset-properties-and-system-fields.md +957 -0
  311. package/wiki/te-docs/raw/preparations-before-data-ingestion/user-identification-rules.md +723 -0
  312. package/wiki/te-docs/raw/preparations-before-data-ingestion.md +203 -0
  313. 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
  314. 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
  315. 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
  316. 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
  317. 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
  318. 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
  319. package/wiki/te-docs/raw//345/256/242/346/210/267/347/253/257-sdk/openharmony.md +172 -0
  320. 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
  321. 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
  322. 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
  323. 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
  324. 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
  325. 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
  326. 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
  327. 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
  328. 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
  329. 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
  330. 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
  331. 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
  332. 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
  333. 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
  334. 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
  335. 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
  336. 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
  337. 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
  338. 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
  339. 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
  340. 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
  341. 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
  342. 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
  343. 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
  344. 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
  345. 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
  346. 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
  347. 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
  348. 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
  349. package/wiki/te-docs/schema.md +16 -0
  350. package/wiki/te-docs/synthesis/batch-ingest-comparison.md +324 -0
  351. package/wiki/te-docs/synthesis/js-sdk-cheatsheet.md +538 -0
  352. package/wiki/te-docs/synthesis/restful-api-reference.md +363 -0
  353. package/wiki/te-docs/synthesis/sdk-selection.md +372 -0
  354. package/wiki/te-docs/synthesis/server-sdk-overview.md +449 -0
  355. package/dist/chunk-U6TKB3IV.js +0 -171
@@ -0,0 +1,278 @@
1
+ ---
2
+ code: ta-datax-writer
3
+ name: "Ta-Datax-Writer Plugin User Guide"
4
+ wikiToken: ITEuwWzGsiNarbkCottcVhkWnLd
5
+ parentWikiToken: S9D7wPqKDiC6zhkvv2dc6MgonCg
6
+ updateTime: 1774249353000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=ta-datax-writer
8
+ ---
9
+
10
+ ## I. Introduction
11
+ Ta-Datax-Writer is a DataX plugin for writing data, which provides the function of transmitting data to TA clusters in the DataX ecosystem. You can deploy DataX on the data transmission server, and use the data source supported by DataX to read the plugin and this plugin, thus achieving data synchronization between multiple data sources and TA clusters.
12
+ To learn about DataX, you can visit [DataX's Github homepage](https://github.com/ThinkingDataAnalytics/DataX)
13
+ **The data is sent to the TA receiver for data transmission**
14
+ ## II. Functions and limitations
15
+ TaDataWriter can convert the data from the DataX protocol to the internal data in the TA clusters. TaDataWriter has the following functions:
16
+ 1. Support and only support writing to TA clusters.
17
+ 2. Support data compression. Existing compression formats are gzip, lzo, lz4, and snappy.
18
+ 3. Support multi-thread transmission.
19
+ ## III. Use instructions
20
+ ### 3.1 Download datax
21
+ - Visit DataX [official website](https://github.com/ThinkingDataAnalytics/DataX)
22
+ - Download DataX toolkit: [DataX download](https://download.thinkingdata.cn/tools/datax/datax.tar.gz)
23
+ ```bash
24
+ wget http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz
25
+ ```
26
+
27
+ <image token="Ong7bmb09o2kyZxFGUMcMOx3nPf" width="978" height="172" align="center"/>
28
+
29
+ ### 3.2 Decompress datax
30
+ ```bash
31
+ tar -zxvf datax.tar.gz
32
+ ```
33
+
34
+ ### 3.3 Install the ta-datax-writer plugin
35
+ - Download the ta-datax-writer plugin: [ta-datax-writer download](https://download.thinkingdata.cn/tools/release/ta-datax-writer.tar.gz)
36
+ ```bash
37
+ wget https://download.thinkingdata.cn/tools/release/ta-datax-writer.tar.gz
38
+ ```
39
+
40
+ - Copy ta-datax-writer.tar.gz to the data/plugin/writer directory
41
+ ```bash
42
+ cp ta-datax-writer.tar.gz data/plugin/writer
43
+ ```
44
+
45
+ <image token="FWcEbhsKSo2KQCxZOECc2EBpnJb" width="687" height="380" align="center"/>
46
+
47
+ - Decompress the plugin package
48
+ ```bash
49
+ tar -zxvf ta-datax-writer.tar.gz
50
+ ```
51
+
52
+ - Remove package
53
+ ```bash
54
+ rm -rf ta-datax-writer.tar.gz
55
+ ```
56
+
57
+ <image token="QqolbX0unokOt2xKmWgc8EwtnJg" width="494" height="384" align="center"/>
58
+
59
+ ## IV. Functions
60
+ ### 4.1 Configuration example
61
+ ```json
62
+ {
63
+ "job": {
64
+ "setting": {
65
+ "speed": {
66
+ "channel": 1
67
+ }
68
+ },
69
+ "content": [
70
+ {
71
+ "reader": {
72
+ "name": "streamreader",
73
+ "parameter": {
74
+ "column": [
75
+ {
76
+ "value": "123123",
77
+ "type": "string"
78
+ },
79
+ {
80
+ "value": "testbuy",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "value": "2019-08-16 08:08:08",
85
+ "type": "date"
86
+ },
87
+ {
88
+ "value": "2222",
89
+ "type": "string"
90
+ },
91
+ {
92
+ "value": "2019-08-16 08:08:08",
93
+ "type": "date"
94
+ },
95
+ {
96
+ "value": "test",
97
+ "type": "bytes"
98
+ },
99
+ {
100
+ "value": true,
101
+ "type": "bool"
102
+ }
103
+ ],
104
+ "sliceRecordCount": 10
105
+ }
106
+ },
107
+ "writer": {
108
+ "name": "ta-datax-writer",
109
+ "parameter": {
110
+ "thread": 3,
111
+ "type": "track",
112
+ "pushUrl": "http://{data receiving address}",
113
+ "appid": "6f9e64da5bc74792b9e9c1db4e3e3822",
114
+ "column": [
115
+ {
116
+ "index": "0",
117
+ "colTargetName": "#distinct_id"
118
+ },
119
+ {
120
+ "index": "1",
121
+ "colTargetName": "#event_name"
122
+ },
123
+ {
124
+ "index": "2",
125
+ "colTargetName": "#time",
126
+ "type": "date",
127
+ "dateFormat": "yyyy-MM-dd HH:mm:ss.SSS"
128
+ },
129
+ {
130
+ "index": "3",
131
+ "colTargetName": "#account_id",
132
+ "type": "string"
133
+ },
134
+ {
135
+ "index": "4",
136
+ "colTargetName": "testDate",
137
+ "type": "date",
138
+ "dateFormat": "yyyy-MM-dd HH:mm:ss.SSS"
139
+ },
140
+ {
141
+ "index": "5",
142
+ "colTargetName": "os_1",
143
+ "type": "string"
144
+ },
145
+ {
146
+ "index": "6",
147
+ "colTargetName": "testBoolean",
148
+ "type": "boolean"
149
+ },
150
+ {
151
+ "colTargetName": "add_clo",
152
+ "value": "123123",
153
+ "type": "string"
154
+ }
155
+ ]
156
+ }
157
+ }
158
+ }
159
+ ]
160
+ }
161
+ }
162
+ ```
163
+
164
+ ### 4.2 Parameter description
165
+ - **thread**
166
+ - Description: number of threads, used concurrently within each channel, not related to the number of channels in DataX.
167
+ - Required: No
168
+ - Default value: 3
169
+ - **pushUrl**
170
+ - Description: Access point address.
171
+ - Required: Yes
172
+ - Default value: none
173
+ - **uuid**
174
+ - Description: Add "#uuid": "uuid value" in the transmitted data, and enable it with the [<text color="purple" underline="true">data unique ID</text>](https://thinkingdata.feishu.cn/wiki/wikcnUg2hivNLwUSLDKM2ITS0Sf#uRcTdS) function.
175
+ - Required: No
176
+ - Default value: false
177
+ - **type**
178
+ - Description: written data type support user_set, track.
179
+ - Required: Yes
180
+ - Default value: none
181
+ - **compress**
182
+ - Description: Text compression type, "not filled by default" means no compression. The supported compression types are zip, lzo, lzop, tgz, and bzip2.
183
+ - Required: No
184
+ - Default value: no compression
185
+ - **appid**
186
+ - Description: project appid.
187
+ - Required: Yes
188
+ - Default value: none
189
+ - **column**
190
+ - Description:a list of fields to read. type specifies the data type, and index specifies the current column corresponding to the column of the reader (starting with 0); value specifies that the current type is constant. It does not read data from the reader, but automatically generates a column based on the value.
191
+ The user can specify the Column field as follows:
192
+ ```json {wrap}
193
+ [
194
+ {
195
+ "type": "Number",
196
+ "colTargetName": "test_col", // generate column name corresponding to data
197
+ "index": 0 //transmit the first column from reader to datax and get the Number field
198
+ },
199
+ {
200
+ "type": "string",
201
+ "value": "testvalue",
202
+ "colTargetName": "test_col"
203
+ //generate the string field of testvalue fromTaDataWriter as the current field
204
+ },
205
+ {
206
+ "index": 0,
207
+ "type": "date",
208
+ "colTargetName": "testdate",
209
+ "dateFormat": "yyyy-MM-dd HH:mm:ss.SSS"
210
+ }
211
+ ]
212
+ ```
213
+
214
+ - For the Column information specified by the user, at least one of index and value must be selected, and the type is not required. When setting the date type, dataFormat is optional.
215
+ - Required: Yes
216
+ - Default value: all read according to the reader type
217
+ ### 4.3 Type conversion
218
+ The type is TaDataWriter definition:
219
+
220
+ <lark-table rows="7" cols="2" column-widths="365,365">
221
+
222
+ <lark-tr>
223
+ <lark-td>
224
+ **DataX internal type**
225
+ </lark-td>
226
+ <lark-td>
227
+ **TaDataWriter data type**
228
+ </lark-td>
229
+ </lark-tr>
230
+ <lark-tr>
231
+ <lark-td>
232
+ Int
233
+ </lark-td>
234
+ <lark-td>
235
+ Number
236
+ </lark-td>
237
+ </lark-tr>
238
+ <lark-tr>
239
+ <lark-td>
240
+ Long
241
+ </lark-td>
242
+ <lark-td>
243
+ Number
244
+ </lark-td>
245
+ </lark-tr>
246
+ <lark-tr>
247
+ <lark-td>
248
+ Double
249
+ </lark-td>
250
+ <lark-td>
251
+ Number
252
+ </lark-td>
253
+ </lark-tr>
254
+ <lark-tr>
255
+ <lark-td>
256
+ String
257
+ </lark-td>
258
+ <lark-td>
259
+ String
260
+ </lark-td>
261
+ </lark-tr>
262
+ <lark-tr>
263
+ <lark-td>
264
+ Boolean
265
+ </lark-td>
266
+ <lark-td>
267
+ Boolean
268
+ </lark-td>
269
+ </lark-tr>
270
+ <lark-tr>
271
+ <lark-td>
272
+ Date
273
+ </lark-td>
274
+ <lark-td>
275
+ Date
276
+ </lark-td>
277
+ </lark-tr>
278
+ </lark-table>
@@ -0,0 +1,15 @@
1
+ ---
2
+ code: data_import_menu
3
+ name: "Data Import Tools"
4
+ wikiToken: S9D7wPqKDiC6zhkvv2dc6MgonCg
5
+ parentWikiToken: AWr4wIMGYi9FB7ksPi4c17kNnxh
6
+ updateTime: 1774252022000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=data_import_menu
8
+ ---
9
+
10
+ Data import mainly has the following tools:
11
+ - [LogBus](https://thinkingdata.feishu.cn/wiki/HoUywXWnNiqVfWkTJXwcbFG8n0c)[2](https://thinkingdata.feishu.cn/wiki/HoUywXWnNiqVfWkTJXwcbFG8n0c)[ User Guide](https://thinkingdata.feishu.cn/wiki/HoUywXWnNiqVfWkTJXwcbFG8n0c)
12
+ - [LogBus User Guide](https://thinkingdata.feishu.cn/wiki/SlE6wOEK3isQvukzEbnc5V0inNa)
13
+ - [LogBus Windows Version Guide](https://thinkingdata.feishu.cn/wiki/VL6lw7ysciezGZkA1J6cHQmhnSd)
14
+ - [Filebeat + Logstash User Guide](https://thinkingdata.feishu.cn/wiki/PX2xwuYOwiaSnOkWUjrcNm0lnGf)
15
+ - [ta-datax-writer Plugin User Guide](https://thinkingdata.feishu.cn/wiki/Taa9wJpfHiBIgckwrQtcGauRnTh)
@@ -0,0 +1,38 @@
1
+ ---
2
+ code: privacy
3
+ name: "Privacy Policy"
4
+ wikiToken: E9QdwJoYFiT2MNkzitocTHiVn5g
5
+ parentWikiToken: AWr4wIMGYi9FB7ksPi4c17kNnxh
6
+ updateTime: 1774249361000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=privacy
8
+ ---
9
+
10
+ ThinkingData operates the www.thinkingdata.cn website, which provides the SERVICE.
11
+ This page is used to inform website visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service, the www.thinkingdata.cn website.
12
+ If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
13
+ The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at www.thinkingdata.cn, unless otherwise defined in this Privacy Policy. Our Privacy Policy was created with the help of the [Privacy Policy Template](https://www.privacypolicytemplate.net) and the [Disclaimer Generator](https://www.disclaimergenerator.org).
14
+ ## Information Collection and Use
15
+ For a better experience while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to your name, phone number, and postal address. The information that we collect will be used to contact or identify you.
16
+ ## Log Data
17
+ We want to inform you that whenever you visit our Service, we collect information that your browser sends to us that is called Log Data. This Log Data may include information such as your computer's Internet Protocol ("IP") address, browser version, pages of our Service that you visit, the time and date of your visit, the time spent on those pages, and other statistics.
18
+ ## Cookies
19
+ Cookies are files with small amount of data that is commonly used an anonymous unique identifier. These are sent to your browser from the website that you visit and are stored on your computer's hard drive.
20
+ Our website uses these "cookies" to collection information and to improve our Service. You have the option to either accept or refuse these cookies, and know when a cookie is being sent to your computer. If you choose to refuse our cookies, you may not be able to use some portions of our Service.
21
+ For more general information on cookies, please read "[What Are Cookies](https://www.cookieconsent.com/what-are-cookies/)".
22
+ ## Service Providers
23
+ We may employ third-party companies and individuals due to the following reasons:
24
+ - To facilitate our Service;
25
+ - To provide the Service on our behalf;
26
+ - To perform Service-related services; or
27
+ - To assist us in analyzing how our Service is used.
28
+ We want to inform our Service users that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.
29
+ ## Security
30
+ We value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.
31
+ ## Links to Other Sites
32
+ Our Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by us. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over, and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.
33
+ ## Children's Privacy
34
+ Our Services do not address anyone under the age of 13. We do not knowingly collect personal identifiable information from children under 13. In the case we discover that a child under 13 has provided us with personal information, we immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so that we will be able to do necessary actions.
35
+ ## Changes to This Privacy Policy
36
+ We may update our Privacy Policy from time to time. Thus, we advise you to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page. These changes are effective immediately, after they are posted on this page.
37
+ ## Contact Us
38
+ If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us.
@@ -0,0 +1,155 @@
1
+ ---
2
+ code: restful_api
3
+ name: "Restful API User Guide"
4
+ wikiToken: Jsp1w2ewJiXA2wkBvU8ckXxhn6g
5
+ parentWikiToken: AWr4wIMGYi9FB7ksPi4c17kNnxh
6
+ updateTime: 1774252026000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=restful_api
8
+ ---
9
+
10
+ This user guide will introduce how to use the data access API. Depending on the data access API, you can directly transmit data to the ThinkingAnalytics background by using the HTTP POST method, without relying on a transmission tool and SDK.
11
+ **Before docking, you need to read the **<text underline="true">**data rules**</text>** first, and then read this user guide after you have been familiar with TA's data format and data rules.**
12
+ **POST must upload data in the **<text underline="true">**data forma…</text>**<text underline="true">** **</text>**of ****the ****TA**
13
+ ## I. Data format conversion
14
+ Before data upload, the format of the data needs to be converted to TA's data format first. Each piece of data in TA is a JSON. The data sample is as follows (for the convenience of reading, the data has been formatted):
15
+ ```json
16
+ {
17
+ "#account_id": "ABCDEFG-123-abc",
18
+ "#distinct_id": "F53A58ED-E5DA-4F18-B082-7E1228746E88",
19
+ "#type": "track",
20
+ "#ip": "192.168.171.111",
21
+ "#time": "2017-12-18 14:37:28.527",
22
+ "#event_name": "test",
23
+ "properties": {
24
+ "#lib": "LogBus",
25
+ "#lib_version": "1.0.0",
26
+ "#screen_height": 1920,
27
+ "#screen_width": 1080,
28
+ "argString": "abc",
29
+ "argNum": 123,
30
+ "argBool": true
31
+ }
32
+ }
33
+ ```
34
+
35
+ For specific data format specifications, please refer to <text underline="true">**data format**</text>.
36
+ ## II. Data reporting
37
+ When you have prepared the JSON data, you can report the data. The TA background accepts the calling request of the HTTP standard POST method, and the character set of all interface data is encoded by the UTF-8 method. The specific calling method is as follows:
38
+ ### 2.1 Data receiving interface (form-data)
39
+ If you are using a cloud service, please enter the following URL:
40
+ https://global-receiver-ta.thinkingdata.cn/sync_data
41
+ If you are using a privately deployed version, please enter the following URL:
42
+ http://`data acquisition address`/sync_data
43
+ #### 2.1.1 Receive parameters (written in requestBody)
44
+ - If it is a piece of json data:
45
+ - Parameter 1: appid= your project APPID
46
+ - Parameter 2: data=JSON data, UTF-8 encoding, urlencode encoding required
47
+ - Parameter 3: client=0, default 0, when it is set to 1, take the reporting terminal ip as the #ip field (mandatory substitution)
48
+ - If there are multiple pieces of data:
49
+ - Parameter 1: appid= your project APPID
50
+ - Parameter 2: data_list=JSONArray data, including multiple pieces of JSON data, UTF-8 encoding, urlencode encoding required
51
+ - Parameter 3: client=0, default 0, when it is set to 1, take the reporting terminal ip as the #ip field (mandatory substitution)
52
+ **Note:** Libraries in different languages may have their own urlencode, and there is no need to urlencode again at this time, such as the requests library of Python3 and the request test of postman.
53
+ The following demonstrates how to call the RESTful API through `curl`, and the following data is the source data
54
+ ```json
55
+ {
56
+ "#account_id": "testing",
57
+ "#time": "2019-01-01 10:00:00.000",
58
+ "#type": "track",
59
+ "#event_name": "testing",
60
+ "properties": {
61
+ "test": "test"
62
+ }
63
+ }
64
+ ```
65
+
66
+ The above data needs to be urlencoded first
67
+ ```perl
68
+ %7b%22%23account_id%22%3a%22testing%22%2c%22%23time%22%3a%222019-01-01+10%3a00%3a00.000%22%2c%22%23type%22%3a%22track%22%2c%22%23event_name%22%3a%22testing%22%2c%22properties%22%3a%7b%22test%22%3a%22test%22%7d%7d
69
+ ```
70
+
71
+ Add parameters and report data
72
+ ```plaintext
73
+ curl "http://receiver:9080/sync_data" --data "appid=test-sdk-appid&data=%7b%22%23account_id%22%3a%22testing%22%2c%22%23time%22%3a%222019-01-01+10%3a00%3a00.000%22%2c%22%23type%22%3a%22track%22%2c%22%23event_name%22%3a%22testing%22%2c%22properties%22%3a%7b%22test%22%3a%22test%22%7d%7d"
74
+ ```
75
+
76
+ #### 2.1.2 Return parameters
77
+ If the return parameter is received, code: 0, it means that the data has been successfully transmitted
78
+ #### 2.1.3 Debug mode
79
+ In the upload parameters, you can add the debug parameters (that is, three upload parameters, appid, data\\data_list, debug). You don't have to upload it, and the default is off
80
+ The Debug mode is enabled only when a small amount of test data is uploaded. Please do not enable the Debug mode in the production environment
81
+ When `debug=1`, the return result will show detailed error reasons, for example:
82
+ `{"code":-1,"msg":"The format of the #time field is incorrect, and the format of [yyyy-MM-dd HH:mm:ss] or [yyyy-MM-dd HH:mm:ss.SSS] needs to be passed" }`
83
+ ### 2.2 Data receiving interface (raw)
84
+ If you are using a cloud service, please enter the following URL:
85
+ ```css
86
+ https://global-receiver-ta.thinkingdata.cn/sync_json
87
+ ```
88
+
89
+ If you are using a privately deployed version, please enter the following URL:
90
+ ```groovy
91
+ http://data acquisition address/sync_json
92
+ ```
93
+
94
+ #### 2.2.1 Receive parameters (written in requestBody)
95
+ - If it is a piece of json data:
96
+ ```json
97
+ {
98
+ "appid": "debug-appid",
99
+ "debug": 0,
100
+ "data": {
101
+ "#type": "track",
102
+ "#event_name": "test",
103
+ "#time": "2019-11-15 11:35:53.648",
104
+ "properties": { "a": "123", "b": 2 },
105
+ "#distinct_id": "1111"
106
+ }
107
+ }
108
+ ```
109
+
110
+ - If there are multiple pieces of data:
111
+ ```json
112
+ [
113
+ {
114
+ "appid": "debug-appid",
115
+ "debug": 0,
116
+ "data": {
117
+ "#type": "track",
118
+ "#event_name": "test",
119
+ "#time": "2019-11-15 11:35:53.648",
120
+ "properties": { "a": "123", "b": 2 },
121
+ "#distinct_id": "1111"
122
+ },
123
+ {
124
+ "appid": "debug-appid",
125
+ "debug": 0,
126
+ "data": {
127
+ "#type": "track",
128
+ "#event_name": "test",
129
+ "#time": "2019-11-15 11:35:53.648",
130
+ "properties": { "a": "123", "b": 2 },
131
+ "#distinct_id": "1111"
132
+ }
133
+ }
134
+ }
135
+ ```
136
+
137
+ #### 2.2.2 Return parameters:
138
+ If the return parameter is received, code: 0, it means that the data has been successfully transmitted
139
+ #### 2.2.3 Debug mode
140
+ In the upload parameters, you can add the debug parameter (that is, add debug parameter in json), you don't have to upload it, and the default is off
141
+ **The Debug mode is enabled only when a small amount of test data is uploaded. Please do not enable the Debug mode in the production environment**
142
+ When debug=1, the return result will show detailed error reasons, for example:
143
+ ```json {wrap}
144
+ {
145
+ "code": -1,
146
+ "msg": "# the format of the time field is incorrect. You need to pass the format yyyy-MM-dd HH:mm:ss or yyyy-MM-dd HH:mm: ss.sss].
147
+ }
148
+ ```
149
+
150
+ #### 2.2.4 Data compression
151
+ Add the compress field in the RequestHeader to upload compressed data. For example, if you upload compress=gzip, the server will decompress the data by gzip. The available compression methods are gzip, lzo, lz4, and snappy, and the default is no compression.
152
+ #### 2.2.5 Get the reporting terminal ip
153
+ Add client=1 in RequestHeader. At this time, the server will take the reporting terminal ip as the #ip field (mandatory substitution), and the default value is 0, that is, the reporting terminal ip will not be substituted
154
+ ## III. FAQs
155
+ Please refer to the <text underline="true">data rule FAQs</text> and troubleshoot data transmission exceptions caused by data format problems.
@@ -0,0 +1,37 @@
1
+ ---
2
+ code: cpp_server_sdk_debug
3
+ name: "Debugging and Logging"
4
+ wikiToken: FM9CwzLh0iE4RhksFvccx5GjnHg
5
+ parentWikiToken: YAilwkzevi8lHekvnQ9cqPnrnzh
6
+ updateTime: 1774249328000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=cpp_server_sdk_debug
8
+ ---
9
+
10
+ ::: warning Notice
11
+ The SDK Debug mode is used only for access debugging. Do not apply it to the production environment.
12
+ :::
13
+ During the process of SDK Integration, you can perform real-time debugging by checking SDK logs in the IDE console or using the Debug function of TE.
14
+ ## Logging
15
+ ```cpp
16
+ TDLog::enable = true;
17
+ ```
18
+
19
+ ## Debugging
20
+ You need to follow the following two steps to enable the Debug mode:
21
+ #### Use DebugConsumer
22
+ The sample code for enabling the Debug mode on the client side is as follows:
23
+ ```cpp
24
+ string deviceId = "123456789";
25
+ TDDebugConsumer debugConsumer("appId", "serverUrl", "", deviceId);
26
+ TDAnalytics te(debugConsumer);
27
+
28
+ TDPropertiesNode event_properties;
29
+ event_properties.SetString("name", "value");
30
+
31
+ te.track("accountId", "distinctId", "eventName", event_properties);
32
+ ```
33
+
34
+
35
+ <quote-container>
36
+ It can only be used for data verification at the integration stage, and should not be used in the online environment.
37
+ </quote-container>
@@ -0,0 +1,41 @@
1
+ ---
2
+ code: csharp_sdk_debug
3
+ name: "Debugging and Logging"
4
+ wikiToken: RSyfw7eyait7hdkCn8vcpYXHn9y
5
+ parentWikiToken: IauKwIL6UiVIadkz8FCcBHL4n4f
6
+ updateTime: 1774249298000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=csharp_sdk_debug
8
+ ---
9
+
10
+ ::: warning Notice
11
+ The SDK Debug mode is used only for access debugging. Do not apply it to the production environment.
12
+ :::
13
+ During the process of SDK Integration, you can perform real-time debugging by checking SDK logs in the IDE console or using the Debug function of TE.
14
+ ## Logging
15
+ ```csharp
16
+ TDLog.Enable = true;
17
+ ```
18
+
19
+ <quote-container>
20
+ After enabling the log, you can observe the data tracking of SDK in IDE.
21
+ </quote-container>
22
+
23
+ ## Debugging
24
+ You need to follow the following two steps to enable the Debug mode:
25
+ #### 2.1 Use DebugConsumer
26
+ The sample code for enabling the Debug mode on the client side is as follows:
27
+ ```csharp
28
+ TDAnalytics te = new(new TDDebugConsumer("serverUrl", "appId", false, deviceId: "123456789"));
29
+ Dictionary<string, object> properties= new Dictionary<string, object>();
30
+ properties.Add("name", "test");
31
+
32
+ te.Track("accountId", "distinctId", "Payment", properties);
33
+ ```
34
+
35
+ #### 2.2 Add Device
36
+ 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 ID has been configured in the "Debug data" sector on the "tracking management" page of the TE.
37
+ <image token="Fd92bTTNDoSmqmx0i4ccmuQonvd" width="1280" height="590" align="center"/>
38
+
39
+ <quote-container>
40
+ It can only be used for data verification at the integration stage, and should not be used in the online environment.
41
+ </quote-container>
@@ -0,0 +1,89 @@
1
+ ---
2
+ code: c_sdk_debug
3
+ name: "Debugging and Logging"
4
+ wikiToken: OCeRwB7Hdi9Fy7kEdtlcgo7fnDh
5
+ parentWikiToken: IvaxwsdOwi8b3Ck84AzcXobtnDb
6
+ updateTime: 1774249247000
7
+ sourceUrl: https://docs-v2.thinkingdata.cn/?version=v6.0&lan=en-US&code=c_sdk_debug
8
+ ---
9
+
10
+ ::: warning Notice
11
+ The SDK Debug mode is used only for access debugging. Do not apply it to the production environment.
12
+ :::
13
+ During the process of SDK Integration, you can perform real-time debugging by checking SDK logs in the IDE console or using the Debug function of TE.
14
+ ## Logging
15
+ ```c
16
+ td_enableLog(1);
17
+ ```
18
+
19
+ <quote-container>
20
+ After enabling the log, you can observe the data tracking of SDK in IDE.
21
+ </quote-container>
22
+
23
+ ## Debugging
24
+ You need to follow the following two steps to enable the Debug mode:
25
+ #### 2.1 Use DebugConsumer
26
+ Build .a files with debug consumer.
27
+ e.g. Modify the `CMakeLists.txt` file:
28
+ ```bash
29
+ # Debug Library: debug consumer
30
+ if(WIN32)
31
+ add_compile_definitions(USE_WIN)
32
+ set(CMAKE_C_FLAGS "-std=c99 -pedantic-errors -m64")
33
+ else()
34
+ add_compile_definitions(USE_POSIX)
35
+ set(CMAKE_C_FLAGS "-std=c99")
36
+ endif()
37
+ SET(TE_LIB_NAME thinkingDataDebug)
38
+ add_library(${TE_LIB_NAME} src/thinkingdata.c src/td_json.c src/td_list.c src/td_util.c src/td_debug_consumer.c src/td_http_client.c)
39
+ if(WIN32)
40
+ add_compile_definitions(BUILDING_LIBCURL)
41
+ include_directories(thirdparty/pcre/include thirdparty/curl/include)
42
+ link_directories(thirdparty/pcre/lib thirdparty/curl/lib)
43
+ target_link_libraries(${TE_LIB_NAME} pcre_x64 libcurl)
44
+ else()
45
+ target_link_libraries(${TE_LIB_NAME} curl)
46
+ endif()
47
+ ```
48
+
49
+ Use debug consumer:
50
+ ```c
51
+ struct TDAnalytics* ta = NULL;
52
+ struct TDConsumer* consumer = NULL;
53
+
54
+ TDConfig *config = td_init_config();
55
+
56
+ TD_ASSERT(TD_OK == td_add_int("debug_mode", 0, config));
57
+
58
+ TD_ASSERT(TD_OK == td_add_string("device_id", "123456789", strlen("123456789"), config));
59
+
60
+ char* appid = "APPID";
61
+ char* serverURL = "SERVER_URL";
62
+ TD_ASSERT(TD_OK == td_add_string("push_url", serverURL, strlen(serverURL), config));
63
+ TD_ASSERT(TD_OK == td_add_string("appid", appid, strlen(appid), config));
64
+
65
+ if (TD_OK != td_init_consumer(&consumer, config)) {
66
+ fprintf(stderr, "Failed to initialize the consumer.");
67
+ return 1;
68
+ }
69
+ td_free_properties(config);
70
+ if (TD_OK != td_init(consumer, &ta)) {
71
+ fprintf(stderr, "Failed to initialize the SDK.");
72
+ return 1;
73
+ }
74
+
75
+ TDProperties *properties = td_init_properties();
76
+
77
+ TD_ASSERT(TD_OK == td_add_string("#device_id", "td_device_id", strlen("td_device_id"), properties));
78
+
79
+ TD_ASSERT(TD_OK == td_track("account_id", "distinct_id", "test", properties, ta));
80
+ td_free_properties(properties);
81
+ ```
82
+
83
+ #### 2.2 Add Device
84
+ 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 ID has been configured in the "Debug data" sector on the "tracking management" page of the TE.
85
+ <image token="XRxabisN3oG9zoxiIPuc0XdHnWb" width="1280" height="590" align="center"/>
86
+
87
+ <quote-container>
88
+ It can only be used for data verification at the integration stage, and should not be used in the online environment.
89
+ </quote-container>