小売業
この記事では小売業のデータレイヤーの定義を提供します。
データレイヤーの属性
| 変数 | 説明 | 例 | タイプ | 
|---|---|---|---|
| brand_name | ブランド固有のページのブランド名 | Ralph Lauren | 文字列 | 
| browse_refine_type | ブラウズの絞り込みタイプの配列 | ["サイズ", "カラー"] | 配列 | 
| browse_refine_value | ブラウズの絞り込み値の配列 | ["XL", "赤"] | 配列 | 
| cart_product_id | cart_addイベント時に、カートに現在含まれているすべての商品のIDの配列 | ["PROD123", "PROD456"] | 配列 | 
| cart_product_price | cart_addイベント時に、カートに現在含まれているすべての商品の価格の配列 | ["12.99", "25.99"] | 配列 | 
| cart_product_quantity | cart_addイベント時に、カートに現在含まれているすべての商品の数量の配列 | [ "2", "2"] | 配列 | 
| cart_product_sku | cart_addイベント時に、カートに現在含まれているすべての商品のSKUの配列 | ["PR-RED-1234", "PR-BLK-6789"] | 配列 | 
| cart_total_items | カート内のすべての商品の合計数 | 4 | 文字列 | 
| cart_total_value | カート内のすべての商品の合計金額(数字と小数点のみの文字列) | 77.96 | 文字列 | 
| category_id | 表示されているカテゴリーの一意のID | 243 | 文字列 | 
| category_name | 表示されているカテゴリーのユーザーフレンドリーな名前 | シューズ:ブーツ | 文字列 | 
| country_code | 国コード | us | 文字列 | 
| customer_city | 顧客の居住都市 | サンディエゴ | 文字列 | 
| customer_country | 顧客の居住国 | アメリカ合衆国 | 文字列 | 
| customer_email | 顧客のメールアドレス | user@example.com | 文字列 | 
| customer_first_name | 顧客の名前 | John | 文字列 | 
| customer_id | 一意の顧客ID | 8237572 | 文字列 | 
| customer_last_name | 顧客の姓 | Smith | 文字列 | 
| customer_postal_code | 顧客の郵便番号 | 92101 | 文字列 | 
| customer_state | 顧客の居住州 | CA | 文字列 | 
| event_name | ユニークなイベントを識別するためのTealium変数 | cart_add | 文字列 | 
| language_code | 言語コード | en | 文字列 | 
| link_category | クリックトラッキングイベント時にクリックされた要素のカテゴリー | ヘッダー | 文字列 | 
| link_name | クリックトラッキングイベント時にクリックされた要素の名前 | ログイン | 文字列 | 
| order_currency_code | サイトの通貨コード | USD | 文字列 | 
| order_discount_amount | 注文レベルの割引額 | 10.00 | 文字列 | 
| order_id | 注文の一意のID、注文確認ページでのみ入力する | ORD123456 | 文字列 | 
| order_merchandise_total | 商品や注文レベルの割引、税金、配送料を含まないすべての商品の価格(数字と小数点のみの文字列) | 55.98 | 文字列 | 
| order_payment_type | 支払いのタイプ | Paypal | 文字列 | 
| order_promo_code | カンマ区切りのプロモーションコードの文字列リスト | PROMO10 | 文字列 | 
| order_shipping_amount | 配送料の合計金額(数字と小数点のみの文字列) | 6.99 | 文字列 | 
| order_shipping_type | 配送のタイプ | UPS | 文字列 | 
| order_store | ストアタイプの識別子 | モバイルウェブ | 文字列 | 
| order_subtotal | 税金や配送料を含むすべての商品の価格(数字と小数点のみの文字列) | 45.98 | 文字列 | 
| order_tax_amount | この注文の税金の合計金額(数字と小数点のみの文字列) | 2.50 | 文字列 | 
| order_total | 税金や配送料を含み、すべての割引を差し引いた注文の合計金額(数字と小数点のみの文字列) | 54.47 | 文字列 | 
| order_type | 発生した変換のタイプまたはサイト上のユーザー | email | 文字列 | 
| page_name | ページ名を識別するためのTealium変数 | ホームページ | 文字列 | 
| page_type | ページのタイプ | 製品 | 文字列 | 
| product_brand | 製品ブランドの配列 | ["Ralph Lauren", "Lucky"] | 配列 | 
| product_category | 製品カテゴリーの配列 | ["シャツ", "パンツ"] | 配列 | 
| product_discount_amount | 製品割引額の配列(通常は製品レベルのクーポンの結果としての数字と小数点のみの文字列) | ["2.98", "0.00"] | 配列 | 
| product_id | 製品IDの配列 | ["PROD123", "PROD456"] | 配列 | 
| product_image_url | メインの製品画像へのURLの配列 | ["//domain.com/123.gif", "//domain.com/456.gif"] | 配列 | 
| product_name | 製品名の配列 | ["製品1", "高価な製品2"] | 配列 | 
| product_on_page | ページに表示されている他の製品の製品IDの配列 | ["PROD123", "PROD456"] | 配列 | 
| product_original_price | 元の製品の小売価格の配列(カンマや記号を省いたもの) | ["29.99", "1015.00"] | 配列 | 
| product_price | 製品の販売価格の配列(カンマや記号を省いたもの) | ["12.99", "1010.98"] | 配列 | 
| product_promo_code | 特定の製品に適用されるプロモーション/クーポンコードの配列 | ["SHIRT10OFF","PROMO10"] | 配列 | 
| product_quantity | 各製品の数量の配列 | ["2","2"] | 配列 | 
| product_sku | 製品のSKUの配列 | ["PR-RED-1234", "PR-BLK-6789"] | 配列 | 
| product_subcategory | 製品のサブカテゴリーの配列 | ["Tシャツ", "ドレスパンツ"] | 配列 | 
| product_url | 個々の製品ページへのURLの配列 | ["//domain.com/123.html", "//domain.com/456/html"] | 配列 | 
| search_keyword | ユーザーが入力した検索テキストの値 | カーゴ | 文字列 | 
| search_results | 検索結果の数 | 42 | 文字列 | 
| site_section | サイトの上位セクション | 衣料品 | 文字列 | 
トラッキングされるページ
ホームページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| page_view | ホームページ。 | http://www.example.com/ | 
サンプル:
{
    "cart_total_items" : "4",
    "cart_total_value" : "77.96",
    "country_code"     : "us",
    "language_code"    : "en",
    "page_name"        : "ホームページ",
    "page_type"        : "home",
    "site_section"     : "衣料品",
    "tealium_event"    : "page_view"
}
セクションページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| page_view | 親カテゴリーまたはトップレベルのセクションページ。 | http://www.example.com/top-level/ | 
サンプル:
{
    "brand_name"        : "Ralph Lauren",
    "cart_total_items"  : "4",
    "cart_total_value"  : "77.96",
    "category_id"       : "243",
    "category_name"     : "シューズ:ブーツ",
    "country_code"      : "us",
    "language_code"     : "en",
    "page_name"         : "ホームページ",
    "page_type"         : "section",
    "product_on_page"   : ["PROD123", "PROD456"],
    "site_section"      : "衣料品",
    "tealium_event"     : "page_view"
}
カテゴリーページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| category_view | 通常、製品のリストを表示するカテゴリーページ。 | http://www.example.com/top-level/sub-level/ | 
サンプル:
{
    "brand_name"           : "Ralph Lauren",
    "browse_refine_type"   : ["サイズ", "カラー"],
    "browse_refine_value"  : ["XL", "赤"],
    "cart_total_items"     : "4",
    "cart_total_value"     : "77.96",
    "category_id"          : "243",
    "category_name"        : "シューズ:ブーツ",
    "country_code"         : "us",
    "language_code"        : "en",
    "page_name"            : "ホームページ",
    "page_type"            : "category",
    "product_on_page"      : ["PROD123", "PROD456"],
    "site_section"         : "衣料品",
    "tealium_event"        : "category_view"
}
製品ページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| product_view | 製品の詳細ページ。 | http://www.example.com/top-level/sub-level/product.html | 
サンプル:
{
    "cart_total_items"        : "4",
    "cart_total_value"        : "77.96",
    "category_id"             : "243",
    "category_name"           : "シューズ:ブーツ",
    "country_code"            : "us",
    "language_code"           : "en",
    "page_name"               : "ホームページ",
    "page_type"               : "product",
    "product_brand"           : ["Ralph Lauren", "Lucky"],
    "product_category"        : ["シャツ", "パンツ"],
    "product_id"              : ["PROD123", "PROD456"],
    "product_image_url"       : ["//domain.com/path/image.gif"],
    "product_name"            : ["製品1", "高級製品2"],
    "product_on_page"         : ["PROD123", "PROD456"],
    "product_original_price"  : ["29.99", "1015.00"],
    "product_price"           : ["12.99", "1010.98"],
    "product_sku"             : ["PR-RED-1234", "PR-BLK-6789"],
    "product_subcategory"     : ["Tシャツ", "ドレスパンツ"],
    "product_url"             : ["//domain.com/cat/prod/prod123.html", "//domain.com/cat/prod/prod456.html"],
    "site_section"            : "衣料品",
    "tealium_event"           : "product_view"
}
検索ページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| search | 検索結果ページ。 | http://www.example.com/search?query=term | 
サンプル:
{
    "browse_refine_type"   : ["サイズ", "カラー"],
    "browse_refine_value"  : ["XL", "赤"],
    "cart_total_items"     : "4",
    "cart_total_value"     : "77.96",
    "country_code"         : "us",
    "language_code"        : "en",
    "page_name"            : "ホームページ",
    "page_type"            : "search",
    "product_on_page"      : ["PROD123", "PROD456"],
    "search_keyword"       : "カーゴ",
    "search_results"       : "42",
    "site_section"         : "衣料品",
    "tealium_event"        : "search"
}
カートページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| cart_view | ショッピングカートページで、カート内の商品の内容を表示する。 | http://www.example.com/cart | 
サンプル:
{
    "cart_total_items"         : "2",
    "cart_total_value"         : "2524.00",
    "country_code"             : "us",
    "language_code"            : "en",
    "page_name"                : "ショッピングバッグ",
    "page_type"                : "cart",
    "product_brand"            : ["Ralph Lauren", "Lucky"],
    "product_category"         : ["シャツ", "パンツ"],
    "product_discount_amount"  : ["2.98", "0.00"],
    "product_id"               : ["PROD123", "PROD456"],
    "product_image_url"        : ["//domain.com/path/image123.gif", "//domain.com/path/image456.gif"],
    "product_name"             : ["製品1", "高級製品2"],
    "product_price"            : ["12.00", "1250.00"],
    "product_promo_code"       : ["SHIRT10OFF",""],
    "product_quantity"         : ["2","2"],
    "product_sku"              : ["PR-RED-1234", "PR-BLK-6789"],
    "product_subcategory"      : ["Tシャツ", "ドレスパンツ"],
    "product_url"              : ["//domain.com/cat/prod/prod123.html", "//domain.com/cat/prod/prod456.html"],
    "tealium_event"            : "cart_view"
}
チェックアウトページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| checkout | 通常、配送、支払い、請求情報のページであるチェックアウトページ。 | http://www.example.com/checkout/billing/shipping | 
サンプル:
{
    "cart_total_items"  : "2",
    "cart_total_value"  : "2524.00",
    "country_code"      : "us",
    "language_code"     : "en",
    "page_name"         : "チェックアウト:支払い",
    "page_type"         : "checkout",
    "tealium_event"     : "checkout"
}
注文確認ページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| purchase | 注文確認(「ありがとうございます」)ページ。 | http://www.example.com/checkout/success/order.html | 
サンプル:
{
    "cart_total_items"         : "2",
    "cart_total_value"         : "2524.00",
    "country_code"             : "us",
    "customer_city"            : "サンディエゴ",
    "customer_country"         : "アメリカ合衆国",
    "customer_email"           : "john.smith@example.com",
    "customer_first_name"      : "John",
    "customer_id"              : "8237572",
    "customer_last_name"       : "Smith",
    "customer_postal_code"     : "92101",
    "customer_state"           : "CA",
    "language_code"            : "en",
    "order_currency_code"      : "USD",
    "order_discount_amount"    : "10.00",
    "order_id"                 : "ORD123456",
    "order_payment_type"       : "paypal",
    "order_promo_code"         : "SPRFREE,PROMO10",
    "order_shipping_amount"    : "6.99",
    "order_shipping_type"      : "UPS",
    "order_store"              : "モバイルウェブ",
    "order_subtotal"           : "2524.00",
    "order_tax_amount"         : "25.00",
    "order_total"              : "2549.00",
    "page_name"                : "注文確認 - ありがとうございます",
    "page_type"                : "order",
    "product_brand"            : ["Ralph Lauren", "Lucky"],
    "product_category"         : ["シャツ", "パンツ"],
    "product_discount_amount"  : ["5.00", "0.00"],
    "product_id"               : ["PROD123", "PROD456"],
    "product_image_url"        : ["//domain.com/path/image123.gif", "//domain.com/path/image456.gif"],
    "product_name"             : ["製品1", "高級製品2"],
    "product_price"            : ["12.00", "1250.00"],
    "product_promo_code"       : ["SHIRT10OFF",""],
    "product_quantity"         : ["2","2"],
    "product_sku"              : ["PR-RED-1234", "PR-BLK-6789"],
    "product_subcategory"      : ["Tシャツ", "ドレスパンツ"],
    "product_url"              : ["//domain.com/cat/prod/prod123.html", "//domain.com/cat/prod/prod456.html"],
    "tealium_event"            : "purchase"
}
アカウントページ
| イベント名 | 説明 | サンプルURL | 
|---|---|---|
| page_view | ユーザーアカウントのプロファイルページ。 | http://www.example.com/account/profile | 
サンプル:
{
    "cart_total_items"      : "4",
    "cart_total_value"      : "77.96",
    "country_code"          : "us",
    "customer_city"         : "サンディエゴ",
    "customer_country"      : "アメリカ合衆国",
    "customer_email"        : "johnsmith@example.com",
    "customer_first_name"   : "John",
    "customer_id"           : "8237572",
    "customer_last_name"    : "Smith",
    "customer_postal_code"  : "92101",
    "customer_state"        : "CA",
    "language_code"         : "en",
    "page_name"             : "ホームページ",
    "page_type"             : "account",
    "tealium_event"         : "page_view"
}
トラッキングされるイベント
カートに追加
| イベント名 | 説明 | 
|---|---|
| cart_add | カートに追加するアクション。 | 
サンプル:
{
    "cart_product_id"          : ["PROD123", "PROD456"],
    "cart_product_price"       : ["12.00", "25.99"],
    "cart_product_quantity"    : ["2", "2"],
    "cart_product_sku"         : ["PR-RED-123", "PR-BLK-456"],
    "product_category"         : ["シャツ"],
    "product_id"               : ["PROD678"],
    "product_image_url"        : ["//domain.com/path/image.gif"],
    "product_name"             : ["製品3"],
    "product_price"            : ["18.00"],
    "product_quantity"         : ["2"],
    "product_sku"              : ["PR-BLU-678"],
    "product_subcategory"      : ["Tシャツ"],
    "tealium_event"            : "cart_add"
}
カートから削除
| イベント名 | 説明 | 
|---|---|
| cart_remove | カートから削除するアクション。 | 
サンプル:
{
    "cart_product_id"          : ["PROD123", "PROD456"],
    "cart_product_price"       : ["12.00", "25.99"],
    "cart_product_quantity"    : ["2", "2"],
    "cart_product_sku"         : ["PR-RED-123", "PR-BLK-456"],
    "product_category"         : ["シャツ"],
    "product_id"               : ["PROD456"],
    "product_image_url"        : ["//domain.com/path/image.gif"],
    "product_name"             : ["製品2"],
    "product_price"            : ["12.00"],
    "product_quantity"         : ["2"],
    "product_sku"              : ["PR-BLK-456"],
    "product_subcategory"      : ["Tシャツ"],
    "tealium_event"            : "cart_remove"
}
ユーザー登録
| イベント名 | 説明 | 
|---|---|
| user_register | ユーザー登録が成功した場合。 | 
サンプル:
{
    "customer_city"         : "サンディエゴ",
    "customer_country"      : "アメリカ合衆国",
    "customer_email"        : "john.smith@example.com",
    "customer_first_name"   : "John",
    "customer_id"           : "8237572",
    "customer_last_name"    : "Smith",
    "customer_postal_code"  : "92101",
    "customer_state"        : "CA",
    "tealium_event"         : "user_register"
}
ユーザー情報の更新
| イベント名 | 説明 | 
|---|---|
| user_update | ユーザープロファイル情報の更新が成功した場合。 | 
サンプル:
{
    "customer_city"         : "サンディエゴ",
    "customer_country"      : "アメリカ合衆国",
    "customer_email"        : "john.smith@example.com",
    "customer_first_name"   : "John",
    "customer_id"           : "8237572",
    "customer_last_name"    : "Smith",
    "customer_postal_code"  : "92101",
    "customer_state"        : "CA",
    "tealium_event"         : "user_update"
}
メールサインアップ
| イベント名 | 説明 | 
|---|---|
| email_signup | メールニュースレターのサインアップが成功した場合。 | 
サンプル:
{
    "customer_email"  : "john.smith@example.com",
    "tealium_event"   : "email_signup"
}
カスタムクリック
| イベント名 | 説明 | 
|---|---|
| custom_click | ページ上の特定のクリックインタラクションのトラッキング。 | 
サンプル:
{
    "link_category"  : "ヘッダー",
    "link_name"      : "ログイン",
    "tealium_event"  : "custom_click"
}
最終更新日 :: 2024年March月29日