{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"JavaScript SDK Build Scriptの使用","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"javascript-sdk-build-scriptの使用","__idx":0},"children":["JavaScript SDK Build Scriptの使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["build script(",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["bin/build.sh"]},")を使用して、以下を含むSDKのいくつかの側面を設定できます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#global"},"children":["GLOBAL"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#filename"},"children":["FILENAME"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#url"},"children":["URL"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#getting-started"},"children":["開始"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#get-your-write-only-api-key"},"children":["write-only API keyの取得"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#initializing"},"children":["初期化"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#sending-your-first-event"},"children":["最初のeventの送信"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#tracking"},"children":["tracking"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#client-id-and-storage"},"children":["Client IDとStorage"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#page-impressions"},"children":["ページインプレッション"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#event-tracking"},"children":["eventのtracking"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#tracked-information"},"children":["追跡される情報"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#default-values"},"children":["デフォルト値"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#data-privacy"},"children":["データプライバシー"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#examples"},"children":["例"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"global","__idx":1},"children":["GLOBAL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SDKがエクスポートされるglobal export。これは、完全なsourceとloaderのstubの間で一貫性が保たれます。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"    > bin/build.sh --GLOBAL=AlternateSDK\n    var sdk = new AlternateSDK()\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"filename","__idx":2},"children":["FILENAME"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["完全なコードとminifyされたコードの出力ファイル名。これは便利で、デフォルトは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td."]},"です。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"    > bin/build.sh --FILENAME=foo\n    ...\n    > ls dist/\n    foo.js      foo.min.js      loader.min.js\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"url","__idx":3},"children":["URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ホストされているファイルのURL。これは、Treasure Data CDNでホストされているファイルのURLにデフォルト設定されています。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"    > bin/build.sh --URL=//cdn.yourdomain.com/sdk/foo.min.js\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"開始","__idx":4},"children":["開始"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"write-only-api-keyの取得","__idx":5},"children":["write-only API keyの取得"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/"},"children":["Treasure Data"]},"にログインして、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://console.treasuredata.com/users/current"},"children":["profile"]},"に移動します。API keyはfull-access keyのすぐ横に表示されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"初期化","__idx":6},"children":["初期化"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ライブラリは、database毎にインスタンスを作成し、データをtableに送信することで機能します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["まず、上記の方法のいずれかを使用してライブラリをインストールします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["インストール後、初期化は次のように簡単です:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"      var foo = new Treasure({\n        database: 'foo',\n        writeKey: 'your_write_only_key'\n      });\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["管理者の場合、databaseは自動的に作成されます。それ以外の場合は、管理者にdatabaseを作成してもらい、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["import only"]},"または",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["full access"]},"を付与してもらう必要があります。そうしないと、eventを送信できません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"最初のeventの送信","__idx":7},"children":["最初のeventの送信"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"    // Configure an instance for your database\n    var company = new Treasure({...});\n\n    // Create a data object with the properties you want to send\n    var sale = {\n      itemId: 101,\n      saleId: 10,\n      userId: 1\n    };\n\n    // Send it to the 'sales' table\n    company.addRecord('sales', sale);\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["好きなだけeventを送信します。各eventは非同期で実行されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tracking","__idx":8},"children":["tracking"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["td-js-sdkは、ページインプレッションとevent、およびクライアント情報を追跡する方法を提供します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"client-idとstorage","__idx":9},"children":["Client IDとStorage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各クライアントにはUUIDが必要です。設定オブジェクトで",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["clientId"]},"を設定することで明示的に設定できます。それ以外の場合は、cookieで以前に設定されたuuidを検索します。見つからない場合は、UUIDが生成されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["session間でクライアントを追跡するためにcookieが設定されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ページインプレッション","__idx":10},"children":["ページインプレッション"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ページインプレッションの追跡は次のように簡単です:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"    /* insert javascript snippet */\n    var td = new Treasure({...});\n    td.trackPageview('pageviews');\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これにより、すべての追跡情報がpageviews tableに送信されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"eventのtracking","__idx":11},"children":["eventのtracking"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ページビューの追跡に加えて、eventを追跡できます。構文は",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["addRecord"]},"に似ていますが、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["trackEvent"]},"はすべての追跡情報を含む点が異なります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"    var td = new Treasure({});\n\n    var buttonEvent1 = function () {\n      td.trackEvent('button', {\n        number: 1\n      });\n\n      // doButtonEvent(1);\n    };\n\n    var buttonEvent2 = function () {\n      td.trackEvent('button', {\n        number: 2\n      });\n\n      // doButtonEvent(2);\n    };\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"追跡される情報","__idx":12},"children":["追跡される情報"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["track関数が呼び出されるたびに、以下の情報が送信されます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/customer-data-platform/integration-hub/streaming/td-javascript-sdk/treasure-data-javascript-sdk-version-3-0-default-log-parameters"},"children":["Treasure Data JavaScript SDK Version 3.0のデフォルトログパラメータ"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["特定の値はbrowserから取得できません。これらの値については、一致するkeyと値を送信し、サーバーが受信時に値を置き換えます。例: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"td_ip\": \"td_ip\"}"]},"がbrowserによって送信され、サーバーはそれを",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"td_ip\": \"1.2.3.4\"}"]},"のようなものに更新します。td_ip値は",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"},"children":["X-Forwarded-For"]}," headerから取得されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ip"]},"を除くすべてのサーバー値は、user-agent文字列を解析することで見つかります。これはserver-sideで行われ、最新の状態に保つことができます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["これは個人を特定できるcolumnであり、ユーザーがSignedモードまたはAnonymousモードにいるかどうかによって影響を受けます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"デフォルト値","__idx":13},"children":["デフォルト値"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Treasure#set"]},"を使用してtableにデフォルト値を設定します。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$global"]}," table名をbypassして、_すべての_tableにデフォルト値を設定します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Treasure#get"]},"を使用すると、table名",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$global"]},"を渡すことですべてのglobalプロパティを表示できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レコードが送信されると、空のレコードオブジェクトが作成され、以下の順序でプロパティが適用されます:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$global"]},"プロパティが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["record"]},"オブジェクトに適用されます"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tableプロパティが",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["record"]},"オブジェクトに適用され、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$global"]},"プロパティを上書きします"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Recordプロパティは",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["addRecord"]},"関数に渡され、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["record"]},"オブジェクトに適用され、tableプロパティを上書きします"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"データプライバシー","__idx":14},"children":["データプライバシー"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataのSDKは、EUのGDPR法の多くの一般的な要件への準拠を可能にします。より新しく厳格なデータプライバシーポリシーに準拠するのに役立ついくつかのメソッドが有効になっています:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blockEvents"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unblockEvents"]}," - Treasure Dataへのすべてのeventの送信をシャットダウンまたは再有効化する引数なしのメソッド。メッセージは送信されず、呼び出しはキャッシュされません。デフォルトではeventはブロック解除されています。これらのメソッドに関するドキュメントを参照してください: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blockEvents"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unblockEvents"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["areEventsBlocked"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["setSignedMode"]}," - SDKによって一部のPIIが自動的に収集される可能性がある\"Signedモード\"に入る引数なしのメソッド。Treasure Dataに送信されるデータには、指定されている場合、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ip"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_client_id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_global_id"]},"が含まれます。このメソッドに関するドキュメントを参照してください: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["setSignedMode"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["setAnonymousMode"]}," - SDKによってPIIが自動的に収集されない\"Anonymousモード\"に入る引数なしのメソッド。これらのデータは、指定されている場合、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ip"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_client_id"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_global_id"]},"を特に省略します。これはデフォルトの動作です。このメソッドに関するドキュメントを参照してください: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["setAnonymousMode"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["resetUUID"]}," - ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_client_id"]},"値をリセットするメソッド。これにより、ユーザーのcookieに保存されている元の値が上書きされ、データに新しいユーザーとして表示される可能性があります。リセット中にclient IDを指定したり、不適切な値をbypassしてカスタム有効期限を指定したりできます。このメソッドに関するドキュメントを参照してください: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["resetUUID"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しい設定プロパティも追加されました: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["config.startInSignedMode"]},"。この設定オプションは、ユーザーがSignedモードまたはAnonymousモードにしたいかどうかについて明示的な決定が行われていない場合、デフォルトでSignedモードにする必要があることをSDKに伝えます。デフォルトの動作は、ユーザーをデフォルトでAnonymousモードにすることです。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"例","__idx":15},"children":["例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザーが最初にサイトにアクセスし、マーケティング目的で追跡することに同意しているかどうかを知る必要があるとします。Consent Management Vendorと契約してこの情報を維持し、consent情報を知った後に適切な値を設定したいと考えています。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"    var foo = new Treasure({\n      database: 'foo',\n      writeKey: 'your_write_only_key'\n    });\n    td.trackClicks()\n\n    var successConsentCallback = function (consented) {\n      if (consented) {\n        td.setSignedMode()\n      } else {\n        td.setAnonymousMode()\n      }\n    }\n\n    var failureConsentCallback = function () {\n      // error occurred, consent unknown\n      td.setAnonymousMode()\n    }\n\n    ConsentManagementVendor.getConsent(userId, successConsentCallback, failureConsentCallback)\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このシナリオでは、Consent Management Vendorは、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]},"に関連付けられたユーザーがマーケティング目的でPIIを使用することに同意しているかどうかに基づいて、callbackでtrueまたはfalse値を返します。非PII dataは引き続き収集される可能性があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["たとえば、Consent Management Vendorがconsent levelに基づいて文字列を提供します: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["MARKETING"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NON-MARKETING"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["REFUSED"]},"(\"マーケティング目的でPIIが使用されることに同意\"、\"非マーケティング目的でデータが収集されることに同意\"、\"すべてのデータ収集を拒否\")。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["successConsentCallback"]},"でわずかな変更を加えるだけです:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"javascript","header":{"controls":{"copy":{}}},"source":"    var successConsentCallback = function (consented) {\n      if (consented === 'MARKETING') {\n        td.unblockEvents()\n        td.setSignedMode()\n      } else if (consented === 'NON-MARKETING') {\n        td.unblockEvents()\n        td.setAnonymousMode()\n      } else if (consented === 'REFUSED') {\n        td.blockEvents()\n      }\n    }\n","lang":"javascript"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このように、SignedモードまたはAnonymousモードから抜け出すときに、Treasure Dataで実際にデータを収集していることを確認できます。顧客がすべてのtrackingを拒否した場合、eventがブロックされ、このステータスはページ更新間で永続化されます。"]}]},"headings":[{"value":"JavaScript SDK Build Scriptの使用","id":"javascript-sdk-build-scriptの使用","depth":1},{"value":"GLOBAL","id":"global","depth":3},{"value":"FILENAME","id":"filename","depth":3},{"value":"URL","id":"url","depth":3},{"value":"開始","id":"開始","depth":2},{"value":"write-only API keyの取得","id":"write-only-api-keyの取得","depth":3},{"value":"初期化","id":"初期化","depth":3},{"value":"最初のeventの送信","id":"最初のeventの送信","depth":3},{"value":"tracking","id":"tracking","depth":2},{"value":"Client IDとStorage","id":"client-idとstorage","depth":3},{"value":"ページインプレッション","id":"ページインプレッション","depth":3},{"value":"eventのtracking","id":"eventのtracking","depth":3},{"value":"追跡される情報","id":"追跡される情報","depth":3},{"value":"デフォルト値","id":"デフォルト値","depth":2},{"value":"データプライバシー","id":"データプライバシー","depth":2},{"value":"例","id":"例","depth":3}],"frontmatter":{"seo":{"title":"JavaScript SDK Build Scriptの使用"}},"lastModified":"2026-05-14T07:31:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/integration-hub/streaming/td-javascript-sdk/using-the-javascript-sdk-build-script","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}