Items registered as favorites for EC site track We recommend that you do this.
Properly provide information about items that users put in favorites track By doing this, you can know the item that the user is interested in, and it becomes possible to remind, recommend, and report on the product based on it.

Favorite tag sample


<script type="text/javascript">
// 実際のアイテム数に応じて、全てのアイテム情報を出力してください
varitems= [{item_id: '0001', // 商品IDname: 'KARTE Tシャツ 黒', // 商品名price: 5000, // 商品単価
    item_url:'https://www.example.com/item/12345', //商品ページリンク先URL
    item_image_url:'https://image1.jpg', //商品画像のURL
    l_category_name: 'catA', //親カテゴリ名
    s_category_name: 'catB', //子カテゴリ名l_category_cd:'12', //親カテゴリコードs_category_cd:'1234', //子カテゴリコード
    brand_name:'brandA', //ブランド名brand_cd:'branda', //ブランドコード
    sku_id:'TQT-sss-xxx', //SKUID
    sku_url:'https://www.example.com/item/12345/?sku=1', //SKUリンク先URL
    sku_image_url:'https://www.example.com/item/12345.jpg' //SKU画像のURL
}, {item_id: '0002',name: 'KARTE Tシャツ 白',price: 5000,
    item_url:'https://www.example.com/item/45678', 
    item_image_url:'https://image2.jpg', 
    l_category_name: 'catC',
    s_category_name: 'catD',l_category_cd:'23',s_category_cd:'2345',
    brand_name: 'brandB',brand_cd: 'brandb',
    sku_id:'XD-wer-ssw',
    sku_url:'https://www.example.com/item/45678/?sku=2',
    sku_image_url:'https://www.example.com/item/45678.jpg'
}];

// itemsの各key毎の値の配列を生成
var item_ids =items.map( function(item) { returnitem.item_id; }); //配列指定
var item_names =items.map( function(item) { returnitem.name; }); //配列指定
varitem_ prices=items.map( function(item) { returnitem.price; }); //配列指定
var item_urls=items.map( function(item) { returnitem.item_url; }); //配列指定
var item_image_urls =items.map( function(item) { returnitem.item_image_url; }); //配列指定
var l_category_names =items.map( function(item) { returnitem.l_category_name; }); //配列指定
var s_category_names =items.map( function(item) { returnitem.s_category_name; }); //配列指定
var l_category_cds =items.map( function(item) { returnitem.l_category_cd; }); //配列指定
var s_category_cds =items.map( function(item) { returnitem.s_category_cd; }); //配列指定
var item_brand_names =items.map( function(item) { returnitem.brand_name; }); //配列指定
var item_brand_cds =items.map( function(item) { returnitem.brand_cd; }); //配列指定
var item_sku_ids =items.map( function(item) { returnitem.sku_id; }); //配列指定
var item_sku_urls =items.map( function(item) { returnitem.sku_url; }); //配列指定
var item_sku_image_urls =items.map( function(item) { returnitem.sku_image_url; }); //配列指定

krt("send", "favorite", {price: 9504, //お気に入り内商品の合計金額
    quantity: 2, //お気に入り内の商品数status: true, //お気に入り登録商品の有無
    added_item_id:'0001', //お気に入りに追加した商品ID
    added_item_sku_id:'0001-001', //お気に入りに追加したSKUID
    stock_status: true, // お気に入りに登録したSKU単位の在庫の有無items:items,
    item_ids: item_ids, //配列指定
    item_names: item_names, //配列指定item_ prices:item_ prices, //配列指定
    item_urls: item_urls, //配列指定
    item_image_urls: item_image_urls, //配列指定
    l_category_names: l_category_names, //配列指定
    s_category_names: s_category_names, //配列指定
    l_category_cds: l_category_cds, //配列指定
    s_category_cds: s_category_cds, //配列指定
    item_brand_names: item_brand_names, //配列指定
    item_brand_cds: item_brand_cds, //配列指定
    item_sku_ids: item_sku_ids, //配列指定
    item_sku_urls: item_sku_urls, //配列指定
    item_sku_image_urls: item_sku_image_urls //配列指定
});
</script>

Event reference

  • イベント名: favorite
  • Matters to keep in mind
    • お気に入りに商品が追加された時、削除された時にデータを送信してください。
    • We will send in bulk at the time of adding / deleting all products put in favorites.
    • When the product is added, "added_item_id", "added_item_sku_id" will be sent.
    • When the product is deleted, "deleted_item_id", "deleted_item_sku_id" will be sent.
    • stock_status is the time of registrationSKUPlease reflect the stock status of.

reference

推奨フィールドは業界によって異なります。
下記はECの場合の例です。

Supplement

イベントストアから各業界に推奨の favorite の定義を確認できます。詳細は「イベントストア」のドキュメントをご参照ください。

(reference)Event store

Field name Overview Examples Type
quantity Number of favorite products 5 Number
status Product registration true / false Logical value
added_item_id Product ID added to favorites "0001" string
added_item_sku_id SKU ID added to favorites "0001-001" string
deleted_item_id ID of the product deleted as a favorite "0002" string
deleted_item_sku_id ID of SKU deleted as favorite "0002-002" string
items.item_id Product ID "0001" string
items.name Product name "KARTE Tシャツ 黒" string
items.price Product unit price 5000 Number
items.item_url Product page link URL "https://www.example.com/item/12345" string
items.item_image_url Product image URL "https://image1.jpg" string
items.l_category_name Parent category name "catA" string
items.s_category_name Child category name "catB" string
items.l_category_cd Parent category code "12" string
items.s_category_cd Child category code "1234" string
items.brand_name brand name "KARTE" string
items.brand_cd Brand code "karte" string
items.sku_id SKU ID 12345 string
items.sku_url SKU URL "https://www.example.com/item/12345/?sku=1" string
items.sku_image_url Image URL of SKU "https://example.com/image/12345.jpg " string
You can scroll

Application example

  • Instruct users who have not yet used your favorites to use them.
  • Remind products that you have put in your favorites by site, email, or LINE.
  • Notify when the price of the item put in your favorite goes down.
  • Notify when the stock of the item put in favorite is running low.

Report

It enables analysis of CV correlations of users who have put in their favorites, and what products they have put in their favorites.

others

  • We recommend products based on the products you put in your favorites.