{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"トラッキングピクセル","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":"トラッキングピクセル","__idx":0},"children":["トラッキングピクセル"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataユーザーは、トラッキングピクセルからのデータを使用して、Treasure Dataにイベントを送信できます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["目次"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#prerequisites"},"children":["前提条件"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#preparing-the-url"},"children":["URLの準備"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#authentication"},"children":["認証"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#parameters"},"children":["パラメータ"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#use-with-img-tag"},"children":["<img>タグでの使用"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本的な知識"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"urlの準備","__idx":2},"children":["URLの準備"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataが使用するポストバックを追加する前に、認証を設定し、パスを指定する必要があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"認証","__idx":3},"children":["認証"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべてのリクエストには、特別な",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_write_key"]}," URLパラメータによって提供される_認証情報_を含める必要があります。APIキーはTreasure コンソールから取得できます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/my-settings/getting-your-api-keys"},"children":["Write-only APIキー"]},"の使用を推奨します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://in.treasuredata.com/postback/v3/event/{database}/{table}?td_format=pixel&td_write_key=XXXYYYZZZZ&...\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"パラメータ","__idx":4},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["パス内でこれら2つのパラメータを指定します。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{database}"]},": URLで宛先データベース名を指定します。アルファベット、数字、または _ のみが使用できます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{table}"]},": URLで宛先テーブル名を指定します。アルファベット、数字、または _ のみが使用できます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下にリストされている特別なパラメータを除き、すべてのURLパラメータはレコード内の列と見なされます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_format"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pixel"]},"を指定"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_write_key"]},": 認証で説明したとおり"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_record_time"]},": UNIXタイムスタンプ値を指定して、Treasure Dataのtime列を設定します。指定されていない場合、レコードが受信された時刻が使用されます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_global_id"]},": ポストバックURLのクエリ文字列に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_global_id=td_global_id"]},"を追加すると、APIは実際のtd_global_idの値を持つ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_global_id"]},"という名前の列をレコードに追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_ip"]},": ポストバックURLのクエリ文字列に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ip=td_ip"]},"を追加すると、APIはソースIPの値を持つ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ip"]},"という名前の列をレコードに追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_ua"]},": ポストバックURLのクエリ文字列に",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ua=td_ua"]},"を追加すると、APIは実際のUser-Agentの値を持つ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_ua"]},"という名前の列をレコードに追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["td_redirect"]},": APIは指定されたURLにリダイレクトできます。URLはエンコードされている必要があります。td_redirect値にパラメータとしてtd_global_idが含まれている場合、APIはそれを実際の値に置き換えます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべてのパラメータ値は_文字列_と見なされ、トラッキングピクセルを使用した取り込み時に値の型を変更することはできません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["たとえば、URLの構造は次のようになります。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"https://in.treasuredata.com/postback/v3/event/{database}/{table}\n  ?td_format=pixel\n  &td_write_key=XXXYYYZZZZ\n  &td_global_id=td_global_id\n  &td_ip=td_ip\n  &td_ua=td_ua\n  &your_custom_key1=val1\n  &your_custom_key2=val2\n  &your_custom_key3=val3...\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"imgタグでの使用","__idx":5},"children":["<img>タグでの使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["img"]}," HTMLタグでTreasure Dataへのポストバックとして、URLを使用します。"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<img src=\"https://in.treasuredata.com/postback/v3/event/{database}/{table}?td_format=pixel&td_write_key=XXXYYYZZZZ&td_global_id=td_global_id&td_ip=td_ip&td_ua=td_ua&key1=val1&key2=val2&key3=val3...\" />\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["メール内のトラッキングに画像タグを使用することは推奨されません。これは、メール送信者のドメインとは異なるドメインからのトラッキングタグを含むメールは、スパムとしてフラグが立てられる可能性が高くなるためです。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["さらに、近年、Appleなどのプラットフォームは、オープントラッキングをデフォルトで常にオープンとして扱い始めており、ピクセルベースのオープントラッキングの有効性が低下しています。受信者をランディングページに誘導したり、その他のエンゲージメント方法を含む、より広範なマーケティング戦略を検討してください。"]}]}]},"headings":[{"value":"トラッキングピクセル","id":"トラッキングピクセル","depth":1},{"value":"前提条件","id":"前提条件","depth":2},{"value":"URLの準備","id":"urlの準備","depth":2},{"value":"認証","id":"認証","depth":3},{"value":"パラメータ","id":"パラメータ","depth":3},{"value":"<img>タグでの使用","id":"imgタグでの使用","depth":2}],"frontmatter":{"seo":{"title":"トラッキングピクセル"}},"lastModified":"2026-06-01T09:34:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/integration-hub/streaming/tracking-pixels","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}