【注意事項】
- 以下はecコンシェルタグの設置方法の一例となっておりますので、貴社テストサイト等での動作をご確認いただき、本番サイトに導入いただくようお願いいたします。
- WEBスキミング防止機能により、正常に接客出来ない場合や、正しく接客効果が計測できない場合があります。詳細はこちらをご参照下さい。
【導入手順】
以下の手順を1から順に実施をお願いいたします。
※タグを設置したページでは、カスタム属性を使った接客が可能となります。詳細は後述の【カスタム属性を登録する】をご参照ください。
- 【タグの設置場所を確認する】
- 【共通出力 に計測タグを設置する】
- 【商品一覧(商品グループ・バンドル商品・クーポン対象商品) にタグを設置する】
- 【商品検索結果一覧 にタグを設置する】
- 【商品詳細 にタグを設置する】
- 【ショッピングカートページ にカートタグを設置する】
- 【注文完了ページ にコンバージョンタグを設置する】
- 【会員登録完了 にタグを設置する】
- 【メールマガジン申込完了 にタグを設置する】
- 【カスタム属性を登録する】
【タグの設置場所を確認する】
- 管理画面左メニューより、「設定」>「プロモーション管理」>「測定タグ一覧」を押下します。
- 測定タグ一覧画面が表示され、「測定タグを追加する」ボタンを押下すると、タグの設定画面へ遷移します。
- 測定タグ設定画面の 利用設定 > 利用する にチェックを入れ、名称設定 > 設定名 に「ecコンシェル」と入力してください。
また、置換文字設定 > アカウント名 にはこちらから確認したサイト識別子を入力してください。
【共通出力 に計測タグを設置する】
共通出力 に計測タグを設置します。
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
◆出力内容に設置するタグ
<script>
(function(w,d,url,a,s,e){
w[a]= (w[a]||[]);
s = d.getElementsByTagName("script")[0];e = d.createElement("script");e.src=url;e.async=1;s.parentNode.insertBefore(e,s);
})(window,document,'//ec-concier.com/{% analytics.account_id %}/analytics.js','ara');
ara.push(['init','{% analytics.account_id %}', {subdomain:true}]);
ara.push(['custom_set', 'account_id', '{% analytics.account_id %}']);
ara.push(['custom_set', 'placeholder1', '{% analytics.placeholder1 %}']);
ara.push(['custom_set', 'placeholder2', '{% analytics.placeholder2 %}']);
ara.push(['custom_set', 'placeholder3', '{% analytics.placeholder3 %}']);
ara.push(['custom_set', 'device', '{% analytics.device %}']);
ara.push(['custom_set', 'login_flg', {@ member.logged_in @}]);
ara.push(['custom_set', 'member_id', {@ member.id @}]);
ara.push(['custom_set', 'member_stage_name', '{@ member.stage_name @}']);
ara.push(['custom_set', 'member_total_points', {@ member.total_points @}]);
ara.push(['custom_set', 'member_active_points', {@ member.active_points @}]);
</script>
【商品一覧(商品グループ・バンドル商品・クーポン対象商品) にタグを設置する】
商品一覧(商品グループ・バンドル商品・クーポン対象商品)ページに、カスタム属性連携用のタグを設置します。
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
- 商品情報置換文字の設定に、以下の「◆商品情報置換文字の設定に設置するタグ」をコピーして貼り付けます。
- 最大出力件数に「10」を入力します。
※商品置換文字の設定内容を出力する件数になります。入力が無い場合エラーになります。
※件数分の商品情報がカスタム属性にカンマ区切りの文字列で格納されます。10より大きい値(200まで)も設定可能ですが、20程度までが推奨です。
◆出力内容に設置するタグ
<script>
(function() {
var ITEM = {
PRODUCT_ID: 0, PRODUCT_NO: 1, PRODUCT_URL: 2, PRODUCT_NAME: 3, PRODUCT_IMAGE_PATH: 4,
PRODUCT_IMAGE_THUMB: 5, PRODUCT_PRICE_EXCLUDING_TAX: 6, PRODUCT_PRICE_INCLUDING_TAX: 7,
TAX: 8, PRODUCT_MEMBER_PRICE_INCLUDING_TAX: 9, PRODUCT_MEMBER_PRICE_EXCLUDING_TAX: 10,
PRODUCT_MEMBER_TAX: 11
}
var itemInfoArray = new Array(Object.keys(ITEM).length);
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = [];
}
{% analytics.item_info %}
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = itemInfoArray[i].filter(function(value, index, array) { return value.length > 0 }).join(',');
}
ara.push(['custom_set', 'catalog_category_name', '{% analytics.category.name %}']);
ara.push(['custom_set', 'catalog_category_url', '{% analytics.category_url %}']);
ara.push(['custom_set', 'bundle_name', '{% analytics.bundle.name %}']);
ara.push(['custom_set', 'bundle_url', '{% analytics.bundle.url %}']);
ara.push(['custom_set', 'search_product_id', itemInfoArray[ITEM.PRODUCT_ID]]);
ara.push(['custom_set', 'search_product_no', itemInfoArray[ITEM.PRODUCT_NO]]);
ara.push(['custom_set', 'search_product_url', itemInfoArray[ITEM.PRODUCT_URL]]);
ara.push(['custom_set', 'search_product_name', itemInfoArray[ITEM.PRODUCT_NAME]]);
ara.push(['custom_set', 'search_product_image_path', itemInfoArray[ITEM.PRODUCT_IMAGE_PATH]]);
ara.push(['custom_set', 'search_product_image_thumb', itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB]]);
ara.push(['custom_set', 'search_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'search_price_including_tax', itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'search_tax', itemInfoArray[ITEM.TAX]]);
ara.push(['custom_set', 'search_member_price_including_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'search_member_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'search_product_member_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_TAX]]);
})();
</script>
◆商品情報置換文字の設定に設置するタグ
itemInfoArray[ITEM.PRODUCT_ID].push('{% analytics.product_id %}');
itemInfoArray[ITEM.PRODUCT_NO].push('{% analytics.product_no %}');
itemInfoArray[ITEM.PRODUCT_URL].push('{% analytics.product.url %}');
itemInfoArray[ITEM.PRODUCT_NAME].push('{% analytics.product_name %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_PATH].push('{% analytics.product.image_path %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB].push('{% analytics.product.image_thumbnail_path %}');
itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX].push('{% analytics.product.price_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX].push('{% analytics.product.price_including_tax %}');
itemInfoArray[ITEM.TAX].push('{% analytics.tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX].push('{% analytics.product.member_price_including_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX].push('{% analytics.product.member_price_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_TAX].push('{% analytics.product.member_tax %}');
【商品検索結果一覧 にタグを設置する】
商品検索結果一覧ページに、カスタム属性連携用のタグを設置します。
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
- 商品情報置換文字の設定に、以下の「◆商品情報置換文字の設定に設置するタグ」をコピーして貼り付けます。
- 最大出力件数に「10」を入力します。
※商品置換文字の設定内容を出力する件数になります。入力が無い場合エラーになります。
※件数分の商品情報がカスタム属性にカンマ区切りの文字列で格納されます。10より大きい値(200まで)も設定可能ですが、20程度までが推奨です。
◆出力内容に設置するタグ
<script>
(function() {
var ITEM = {
PRODUCT_ID: 0, PRODUCT_NO: 1, PRODUCT_URL: 2, PRODUCT_NAME: 3, PRODUCT_IMAGE_PATH: 4,
PRODUCT_IMAGE_THUMB: 5, PRODUCT_PRICE_EXCLUDING_TAX: 6, PRODUCT_PRICE_INCLUDING_TAX: 7,
TAX: 8, PRODUCT_MEMBER_PRICE_INCLUDING_TAX: 9, PRODUCT_MEMBER_PRICE_EXCLUDING_TAX: 10,
PRODUCT_MEMBER_TAX: 11
}
var itemInfoArray = new Array(Object.keys(ITEM).length);
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = [];
}
{% analytics.item_info %}
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = itemInfoArray[i].filter(function(value, index, array) { return value.length > 0 }).join(',');
}
ara.push(['custom_set', 'search_product_id', itemInfoArray[ITEM.PRODUCT_ID]]);
ara.push(['custom_set', 'search_product_no', itemInfoArray[ITEM.PRODUCT_NO]]);
ara.push(['custom_set', 'search_product_url', itemInfoArray[ITEM.PRODUCT_URL]]);
ara.push(['custom_set', 'search_product_name', itemInfoArray[ITEM.PRODUCT_NAME]]);
ara.push(['custom_set', 'search_product_image_path', itemInfoArray[ITEM.PRODUCT_IMAGE_PATH]]);
ara.push(['custom_set', 'search_product_image_thumb', itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB]]);
ara.push(['custom_set', 'search_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'search_price_including_tax', itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'search_tax', itemInfoArray[ITEM.TAX]]);
ara.push(['custom_set', 'search_member_price_including_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'search_member_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'search_product_member_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_TAX]]);
})();
</script>
◆商品情報置換文字の設定に設置するタグ
itemInfoArray[ITEM.PRODUCT_ID].push('{% analytics.product_id %}');
itemInfoArray[ITEM.PRODUCT_NO].push('{% analytics.product_no %}');
itemInfoArray[ITEM.PRODUCT_URL].push('{% analytics.product.url %}');
itemInfoArray[ITEM.PRODUCT_NAME].push('{% analytics.product_name %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_PATH].push('{% analytics.product.image_path %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB].push('{% analytics.product.image_thumbnail_path %}');
itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX].push('{% analytics.product.price_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX].push('{% analytics.product.price_including_tax %}');
itemInfoArray[ITEM.TAX].push('{% analytics.tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX].push('{% analytics.product.member_price_including_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX].push('{% analytics.product.member_price_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_TAX].push('{% analytics.product.member_tax %}');
【商品詳細 にタグを設置する】
商品詳細ページに、カスタム属性連携用のタグを設置します。
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
◆出力内容に設置するタグ
<script>
ara.push(['custom_set', 'goods_category_name', '{% analytics.category.name %}']);
ara.push(['custom_set', 'goods_category_url', '{% analytics.category_url %}']);
ara.push(['custom_set', 'goods_system_code', {% analytics.product_id %}]);
ara.push(['custom_set', 'goods_product_no', '{% analytics.product_no %}']);
ara.push(['custom_set', 'goods_original_code', '{% analytics.product.url %}']);
ara.push(['custom_set', 'goods_product_name', '{% analytics.product_name %}']);
ara.push(['custom_set', 'goods_product_image_path', '{% analytics.product.image_path %}']);
ara.push(['custom_set', 'goods_product_image_thumb', '{% analytics.product.image_thumbnail_path %}']);
ara.push(['custom_set', 'goods_price_excluding_tax', {% analytics.product.price_excluding_tax %}]);
ara.push(['custom_set', 'goods_price_including_tax', {% analytics.product.price_including_tax %}]);
ara.push(['custom_set', 'goods_tax', {% analytics.tax %}]);
ara.push(['custom_set', 'goods_member_price_including_tax', {% analytics.product.member_price_including_tax %}]);
ara.push(['custom_set', 'goods_member_price_excluding_tax', {% analytics.product.member_price_excluding_tax %}]);
ara.push(['custom_set', 'goods_product_member_tax', {% analytics.product.member_tax %}]);
ara.push(['custom_set', 'goods_earn_points', {% analytics.earn_points %}]);
</script>
【ショッピングカートページ にカートタグを設置する】
ショッピングカートページ にカートタグを設置します。
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
- 商品情報置換文字の設定に、以下の「◆商品情報置換文字の設定に設置するタグ」をコピーして貼り付けます。
◆出力内容に設置するタグ
<script>
(function (){
var ITEM = {
CATEGORY_NAME: 0, CATEGORY_URL: 1, PRODUCT_ID: 2, PRODUCT_NO: 3, PRODUCT_SKU: 4,
PRODUCT_URL: 5, PRODUCT_PATH: 6, PRODUCT_JAN_CODE: 7, PRODUCT_NAME: 8,
PRODUCT_IMAGE_PATH: 9, PRODUCT_IMAGE_THUMB: 10, PRODUCT_PRICE_EXCLUDING_TAX: 11,
PRODUCT_PRICE_INCLUDING_TAX: 12, PRODUCT_PRICE_WITH_OPTIONS_EXCLUDING_TAX: 13,
PRODUCT_PRICE_WITH_OPTIONS_INCLUDING_TAX: 14, PRODUCT_MEMBER_PRICE_INCLUDING_TAX: 15,
PRODUCT_MEMBER_PRICE_EXCLUDING_TAX: 16, QUANTITY: 17
}
var itemInfoArray = new Array(Object.keys(ITEM).length);
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = [];
}
{% analytics.item_info %}
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = itemInfoArray[i].filter(function(value, index, array) { return value.length > 0 }).join(',');
}
var format = function(str) {
str = str !== '' ? str.substring(0, 4) + '-' + str.substring(4, 6) + '-' + str.substring(6, 8) : false;
return str ? new Date(str) : '';
}
ara.push(['cart', {cartPrice:{% analytics.purchase_price_with_options_including_tax %}}]);
ara.push(['custom_set', 'param1', '{% analytics.param1 %}']);
ara.push(['custom_set', 'param2', '{% analytics.param2 %}']);
ara.push(['custom_set', 'param3', '{% analytics.param3 %}']);
ara.push(['custom_set', 'timestamp', {% analytics.timestamp %}]);
ara.push(['custom_set', 'prefecture', '{% analytics.prefecture %}']);
ara.push(['custom_set', 'gender', '{% analytics.gender %}']);
ara.push(['custom_set', 'birthday', format('{% analytics.birthday %}')]);
ara.push(['custom_set', 'age', {% analytics.age %}]);
ara.push(['custom_set', 'age_group', {% analytics.age_group %}]);
ara.push(['custom_set', 'member_times_purchased', {% analytics.member.times_purchased %}]);
ara.push(['custom_set', 'first_buy_date', format('{% analytics.first_buy_date %}')]);
ara.push(['custom_set', 'cart_total_quantity', {% analytics.total_quantity %}]);
ara.push(['custom_set', 'cart_totalprice_including_tax', {% analytics.purchase_price_including_tax %}]);
ara.push(['custom_set', 'cart_totalprice_with_options_including_tax', {% analytics.purchase_price_with_options_including_tax %}]);
ara.push(['custom_set', 'cart_totalprice_with_options_excluding_tax', {% analytics.purchase_price_with_options_excluding_tax %}]);
ara.push(['custom_set', 'cart_quantity_list', '{% analytics.quantity_list %}']);
ara.push(['custom_set', 'google_adwords_prodid', "{% analytics.google_adwords_prodid %}"]);
ara.push(['custom_set', 'google_adwords_totalvalue', {% analytics.google_adwords_totalvalue %}]);
ara.push(['custom_set', 'cart_category_name', itemInfoArray[ITEM.CATEGORY_NAME]]);
ara.push(['custom_set', 'cart_category_url', itemInfoArray[ITEM.CATEGORY_URL]]);
ara.push(['custom_set', 'cart_product_id', itemInfoArray[ITEM.PRODUCT_ID]]);
ara.push(['custom_set', 'cart_product_no', itemInfoArray[ITEM.PRODUCT_NO]]);
ara.push(['custom_set', 'cart_product_sku', itemInfoArray[ITEM.PRODUCT_SKU]]);
ara.push(['custom_set', 'cart_original_code', itemInfoArray[ITEM.PRODUCT_URL]]);
ara.push(['custom_set', 'cart_product_url', itemInfoArray[ITEM.PRODUCT_PATH]]);
ara.push(['custom_set', 'cart_product_jan_code', itemInfoArray[ITEM.PRODUCT_JAN_CODE]]);
ara.push(['custom_set', 'cart_product_name', itemInfoArray[ITEM.PRODUCT_NAME]]);
ara.push(['custom_set', 'cart_image_path', itemInfoArray[ITEM.PRODUCT_IMAGE_PATH]]);
ara.push(['custom_set', 'cart_product_image_thumb', itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB]]);
ara.push(['custom_set', 'cart_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'cart_price_including_tax', itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'cart_product_price_with_options_excluding_tax', itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_EXCLUDING_TAX]]);
ara.push(['custom_set', 'cart_product_price_with_options_including_tax', itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_INCLUDING_TAX]]);
ara.push(['custom_set', 'cart_member_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'cart_member_price_including_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'cart_quantity', itemInfoArray[ITEM.QUANTITY]]);
})();
</script>
◆商品情報置換文字の設定に設置するタグ
itemInfoArray[ITEM.CATEGORY_NAME].push('{% analytics.category.name %}');
itemInfoArray[ITEM.CATEGORY_URL].push('{% analytics.category_url %}');
itemInfoArray[ITEM.PRODUCT_ID].push('{% analytics.product_id %}');
itemInfoArray[ITEM.PRODUCT_NO].push('{% analytics.product_no %}');
itemInfoArray[ITEM.PRODUCT_SKU].push('{% analytics.product.sku %}');
itemInfoArray[ITEM.PRODUCT_URL].push('{% analytics.product.url %}');
itemInfoArray[ITEM.PRODUCT_PATH].push('{% analytics.product_path %}');
itemInfoArray[ITEM.PRODUCT_JAN_CODE].push('{% analytics.product.jan_code %}');
itemInfoArray[ITEM.PRODUCT_NAME].push('{% analytics.product_name %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_PATH].push('{% analytics.product.image_path %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB].push('{% analytics.product.image_thumbnail_path %}');
itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX].push('{% analytics.product.price_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX].push('{% analytics.product.price_including_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_EXCLUDING_TAX].push('{% analytics.product.price_with_options_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_INCLUDING_TAX].push('{% analytics.product.price_with_options_including_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX].push('{% analytics.product.member_price_including_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX].push('{% analytics.product.member_price_excluding_tax %}');
itemInfoArray[ITEM.QUANTITY].push('{% analytics.quantity %}');
【注文完了ページ にコンバージョンタグを設置する】
注文完了ページ にコンバージョンタグを設置します。
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
- 商品情報置換文字の設定に、以下の「◆商品情報置換文字の設定に設置するタグ」をコピーして貼り付けます。
◆出力内容に設置するタグ
<script>
(function (){
var ITEM = {
CATEGORY_NAME: 0, CATEGORY_URL: 1, PRODUCT_ID: 2, PRODUCT_NO: 3, PRODUCT_SKU: 4,
PRODUCT_URL: 5, PRODUCT_PATH: 6, PRODUCT_JAN_CODE: 7, PRODUCT_NAME: 8,
PRODUCT_IMAGE_PATH: 9, PRODUCT_IMAGE_THUMB: 10, PRODUCT_PRICE_EXCLUDING_TAX: 11,
PRODUCT_PRICE_INCLUDING_TAX: 12, PRODUCT_PRICE_WITH_OPTIONS_EXCLUDING_TAX: 13,
PRODUCT_PRICE_WITH_OPTIONS_INCLUDING_TAX: 14, PRODUCT_MEMBER_PRICE_INCLUDING_TAX: 15,
PRODUCT_MEMBER_PRICE_EXCLUDING_TAX: 16, QUANTITY: 17
}
var itemInfoArray = new Array(Object.keys(ITEM).length);
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = [];
}
{% analytics.item_info %}
for (var i = 0; i < itemInfoArray.length; i++) {
itemInfoArray[i] = itemInfoArray[i].filter(function(value, index, array) { return value.length > 0 }).join(',');
}
var format = function(str) {
str = str !== '' ? str.substring(0, 4) + '-' + str.substring(4, 6) + '-' + str.substring(6, 8) : false;
return str ? new Date(str) : '';
}
ara.push(['conversion_type', {conversion_type:'goal', sumValue:{% analytics.purchase_price_with_options_including_tax %}}]);
ara.push(['custom_set', 'param1', '{% analytics.param1 %}']);
ara.push(['custom_set', 'param2', '{% analytics.param2 %}']);
ara.push(['custom_set', 'param3', '{% analytics.param3 %}']);
ara.push(['custom_set', 'timestamp', {% analytics.timestamp %}]);
ara.push(['custom_set', 'prefecture', '{% analytics.prefecture %}']);
ara.push(['custom_set', 'gender', '{% analytics.gender %}']);
ara.push(['custom_set', 'birthday', format('{% analytics.birthday %}')]);
ara.push(['custom_set', 'age', {% analytics.age %}]);
ara.push(['custom_set', 'age_group', {% analytics.age_group %}]);
ara.push(['custom_set', 'member_times_purchased', {% analytics.member.times_purchased %}]);
ara.push(['custom_set', 'first_buy_date', format('{% analytics.first_buy_date %}')]);
ara.push(['custom_set', 'purchase_totalquantity', {% analytics.total_quantity %}]);
ara.push(['custom_set', 'purchase_totalprice_including_tax', {% analytics.purchase_price_including_tax %}]);
ara.push(['custom_set', 'purchase_totalprice_with_options_including_tax', {% analytics.purchase_price_with_options_including_tax %}]);
ara.push(['custom_set', 'purchase_totalprice_with_options_excluding_tax', {% analytics.purchase_price_with_options_excluding_tax %}]);
ara.push(['custom_set', 'purchase_quantity_list', '{% analytics.quantity_list %}']);
ara.push(['custom_set', 'google_adwords_prodid', "{% analytics.google_adwords_prodid %}"]);
ara.push(['custom_set', 'google_adwords_totalvalue', {% analytics.google_adwords_totalvalue %}]);
ara.push(['custom_set', 'purchase_order_no', {% analytics.order_no %}]);
ara.push(['custom_set', 'purchase_first_purchase', {% analytics.first_purchase %}]);
ara.push(['custom_set', 'purchase_total_postage', {% analytics.total_postage %}]);
ara.push(['custom_set', 'purchase_product_name_list', '{% analytics.product_name_list %}']);
ara.push(['custom_set', 'purchase_product_no_list', '{% analytics.product_no_list %}']);
ara.push(['custom_set', 'purchase_original_code_list', '{% analytics.product_url_list %}']);
ara.push(['custom_set', 'purchase_product_sales_price_list', '{% analytics.product_sales_price_list %}']);
ara.push(['custom_set', 'purchase_line_total_list', '{% analytics.line_total_list %}']);
ara.push(['custom_set', 'purchase_sku_list', '{% analytics.sku_list %}']);
ara.push(['custom_set', 'purchase_jan_code_list', '{% analytics.jan_code_list %}']);
ara.push(['custom_set', 'purchase_used_coupon_id_list', '{% analytics.used_coupon_id_list %}']);
ara.push(['custom_set', 'purchase_product_category', itemInfoArray[ITEM.CATEGORY_NAME]]);
ara.push(['custom_set', 'purchase_category_url', itemInfoArray[ITEM.CATEGORY_URL]]);
ara.push(['custom_set', 'purchase_system_code', itemInfoArray[ITEM.PRODUCT_ID]]);
ara.push(['custom_set', 'purchase_product_no', itemInfoArray[ITEM.PRODUCT_NO]]);
ara.push(['custom_set', 'purchase_product_sku', itemInfoArray[ITEM.PRODUCT_SKU]]);
ara.push(['custom_set', 'purchase_original_code', itemInfoArray[ITEM.PRODUCT_URL]]);
ara.push(['custom_set', 'purchase_product_path', itemInfoArray[ITEM.PRODUCT_PATH]]);
ara.push(['custom_set', 'purchase_product_jan_code', itemInfoArray[ITEM.PRODUCT_JAN_CODE]]);
ara.push(['custom_set', 'purchase_product_name', itemInfoArray[ITEM.PRODUCT_NAME]]);
ara.push(['custom_set', 'purchase_product_image_path', itemInfoArray[ITEM.PRODUCT_IMAGE_PATH]]);
ara.push(['custom_set', 'purchase_product_image_thumb', itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB]]);
ara.push(['custom_set', 'purchase_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'purchase_price_including_tax', itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'purchase_product_price_with_options_excluding_tax', itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_EXCLUDING_TAX]]);
ara.push(['custom_set', 'purchase_price_with_options_including_tax', itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_INCLUDING_TAX]]);
ara.push(['custom_set', 'purchase_member_price_including_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX]]);
ara.push(['custom_set', 'purchase_member_price_excluding_tax', itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX]]);
ara.push(['custom_set', 'purchase_quantity', itemInfoArray[ITEM.QUANTITY]]);
})();
</script>
◆商品情報置換文字の設定に設置するタグ
itemInfoArray[ITEM.CATEGORY_NAME].push('{% analytics.category.name %}');
itemInfoArray[ITEM.CATEGORY_URL].push('{% analytics.category_url %}');
itemInfoArray[ITEM.PRODUCT_ID].push('{% analytics.product_id %}');
itemInfoArray[ITEM.PRODUCT_NO].push('{% analytics.product_no %}');
itemInfoArray[ITEM.PRODUCT_SKU].push('{% analytics.product.sku %}');
itemInfoArray[ITEM.PRODUCT_URL].push('{% analytics.product.url %}');
itemInfoArray[ITEM.PRODUCT_PATH].push('{% analytics.product_path %}');
itemInfoArray[ITEM.PRODUCT_JAN_CODE].push('{% analytics.product.jan_code %}');
itemInfoArray[ITEM.PRODUCT_NAME].push('{% analytics.product_name %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_PATH].push('{% analytics.product.image_path %}');
itemInfoArray[ITEM.PRODUCT_IMAGE_THUMB].push('{% analytics.product.image_thumbnail_path %}');
itemInfoArray[ITEM.PRODUCT_PRICE_EXCLUDING_TAX].push('{% analytics.product.price_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_INCLUDING_TAX].push('{% analytics.product.price_including_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_EXCLUDING_TAX].push('{% analytics.product.price_with_options_excluding_tax %}');
itemInfoArray[ITEM.PRODUCT_PRICE_WITH_OPTIONS_INCLUDING_TAX].push('{% analytics.product.price_with_options_including_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_INCLUDING_TAX].push('{% analytics.product.member_price_including_tax %}');
itemInfoArray[ITEM.PRODUCT_MEMBER_PRICE_EXCLUDING_TAX].push('{% analytics.product.member_price_excluding_tax %}');
itemInfoArray[ITEM.QUANTITY].push('{% analytics.quantity %}');
【会員登録完了 にタグを設置する】
会員登録完了ページに、カスタム属性連携用のタグを設置します。
※会員登録完了ページをコンバージョン計測する方法はこちら
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
◆出力内容に設置するタグ
<script>
(function() {
var format = function(str) {
str = str !== '' ? str.substring(0, 4) + '-' + str.substring(4, 6) + '-' + str.substring(6, 8) : false;
return str ? new Date(str) : '';
}
ara.push(['custom_set', 'param1', '{% analytics.param1 %}']);
ara.push(['custom_set', 'param2', '{% analytics.param2 %}']);
ara.push(['custom_set', 'param3', '{% analytics.param3 %}']);
ara.push(['custom_set', 'timestamp', {% analytics.timestamp %}]);
ara.push(['custom_set', 'prefecture', '{% analytics.prefecture %}']);
ara.push(['custom_set', 'gender', '{% analytics.gender %}']);
ara.push(['custom_set', 'birthday', format('{% analytics.birthday %}')]);
ara.push(['custom_set', 'age', {% analytics.age %}]);
ara.push(['custom_set', 'age_group', {% analytics.age_group %}]);
})();
</script>
【メールマガジン申込完了 にタグを設置する】
メールマガジン申込完了ページにカスタム属性連携用のタグを設置します。
※メールマガジン申込完了ページをコンバージョン計測する方法はこちら
- 出力設定で「<head>タグ内に出力する」を選択します。
- 出力内容に、以下の「◆出力内容に設置するタグ」をコピーして貼り付けます。
◆出力内容に設置するタグ
<script>
(function() {
var format = function(str) {
str = str !== '' ? str.substring(0, 4) + '-' + str.substring(4, 6) + '-' + str.substring(6, 8) : false;
return str ? new Date(str) : '';
}
ara.push(['custom_set', 'param1', '{% analytics.param1 %}']);
ara.push(['custom_set', 'param2', '{% analytics.param2 %}']);
ara.push(['custom_set', 'param3', '{% analytics.param3 %}']);
ara.push(['custom_set', 'timestamp', {% analytics.timestamp %}]);
ara.push(['custom_set', 'newsletter_member_id', {% analytics.newsletter_member_id %}]);
ara.push(['custom_set', 'prefecture', '{% analytics.prefecture %}']);
ara.push(['custom_set', 'gender', '{% analytics.gender %}']);
ara.push(['custom_set', 'birthday', format('{% analytics.birthday %}')]);
ara.push(['custom_set', 'age', {% analytics.age %}]);
ara.push(['custom_set', 'age_group', {% analytics.age_group %}]);
ara.push(['custom_set', 'member_times_purchased', {% analytics.member.times_purchased %}]);
ara.push(['custom_set', 'first_buy_date', format('{% analytics.first_buy_date %}')]);
})();
</script>
ここまでのタグ設置が完了したら、「保存する」ボタンを押下してください。
以上でタグの設置は終了です。
【カスタム属性を登録する】
ecコンシェルでは、futureshop コマースクリエイターで利用できる置換文字をカスタム属性に登録することで、様々な条件の接客に利用することができます。
例えば「ユーザーの好みのカテゴリーの商品を訴求したい」「特定の商品をカートに投入した場合に接客したい」等の場合にオススメです。
最新の置換文字はこちらをご参照ください。以下の一覧表より増えている場合があります。
【登録するカスタム属性】
登録は任意となりますが、「◆商品詳細ページで取得できる値」、「◆ショッピングカートページで取得できる値」、「◆注文完了ページで取得できる値」は、後述の様な効果的な接客事例に活用できる項目となっておりますので、ぜひご登録ください。
接客事例は、【カスタム属性を使用した効果的な接客事例】をご参照ください。
◆全ページで取得できる値
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例 |
---|---|---|---|
アカウント名 | account_id | 文字列 | (測定タグ設定で入力した値) |
共通置換文字1 | placeholder1 | 文字列 | (測定タグ設定で入力した値) |
共通置換文字2 | placeholder2 | 文字列 | (測定タグ設定で入力した値) |
共通置換文字3 | placeholder3 | 文字列 | (測定タグ設定で入力した値) |
デバイス | device | 文字列 | (測定タグ設定で入力した値) |
ログイン状態 | login_flg | 数値 | 会員なら"1" 非会員なら"0" |
会員ID | member_id | 数値 | 10 |
会員ステージ | member_stage_name | 文字列 | ゴールド Aランク |
保有ポイント | member_total_points | 数値 | 1150 |
利用可能ポイント数 | member_active_points | 数値 | 100 |
◆商品一覧(商品グループ / バンドル商品 / クーポン対象商品)ページで取得できる値
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例(※2) |
---|---|---|---|
商品グループ名(メイン) | catalog_category_name | 文字列 |
アパレル レディース |
商品グループURLコード(メイン) | catalog_category_url | 文字列 |
fashion ladies |
バンドル販売名 | bundle_name | 文字列 |
レディースバンドル,SALEバンドル |
バンドル販売URLコード | bundle_url | 文字列 | Ladies_set,SALE_set |
商品ID (※1) |
search_product_id (※1) |
文字列 | 1,2 |
商品番号 (※1) |
search_product_no (※1) |
文字列 | blueT,gd17 |
商品URLコード (※1) |
search_product_url (※1) |
文字列 | URL001,URL002 |
商品名 (※1) |
search_product_name (※1) |
文字列 | クッション,デニム |
商品画像URL (※1) |
search_product_image_path (※1) |
文字列 | https://example/product/000.jpg?t=xxxxx,https://example/product/111.jpg?t=xxxxx |
サムネイル画像URL (※1) |
search_product_image_thumb (※1) |
文字列 | https://example/product/000.jpg?t=xxxxx,https://example/product/111.jpg?t=xxxxx |
商品単価(オプション価格除く・税抜) (※1) |
search_price_excluding_tax (※1) |
文字列 | 3000,2000,1000 |
商品単価(オプション価格除く・税込) (※1) |
search_price_including_tax (※1) |
文字列 | 3300,2200,1100 |
消費税(販売価格) (※1) |
search_tax (※1) |
文字列 | 300,200,100 |
会員価格(税込) (※1) |
search_member_price_including_tax (※1) |
文字列 | 1100,550,220 |
会員価格(税抜) (※1) |
search_member_price_excluding_tax (※1) |
文字列 | 1000,500,200 |
消費税(会員価格) (※1) |
search_product_member_tax (※1) |
文字列 | 100,50,20 |
※1:同名のカスタム属性を既に登録済みの場合、登録は不要です。
※2:カンマ区切りで記載している値について:商品が複数表示されている場合、各商品情報がカンマ区切りの一つの文字列として連携されます。
◆商品検索結果一覧ページで取得できる値
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例(※4) |
---|---|---|---|
商品ID (※3) |
search_product_id (※3) |
文字列 | 1,2,77,53 |
商品番号 (※3) |
search_product_no (※3) |
文字列 | blueT,gd17,redT |
商品URLコード (※3) |
search_product_url (※3) |
文字列 | URL001,URL002 |
商品名 (※3) |
search_product_name (※3) |
文字列 | クッション,デニム |
商品画像URL (※3) |
search_product_image_path (※3) |
文字列 | https://example/product/000.jpg?t=xxxxx,https://example/product/111.jpg?t=xxxxx |
サムネイル画像URL (※3) |
search_product_image_thumb (※3) |
文字列 | https://example/product/000.jpg?t=xxxxx,https://example/product/111.jpg?t=xxxxx |
商品単価(オプション価格除く・税抜) (※3) |
search_price_excluding_tax (※3) |
文字列 | 3000,2000,1000 |
商品単価(オプション価格除く・税込) (※3) |
search_price_including_tax (※3) |
文字列 | 3300,2200,1100 |
消費税(販売価格) (※3) |
search_tax (※3) |
文字列 | 300,200,100 |
会員価格(税込) (※3) |
search_member_price_including_tax (※3) |
文字列 | 1100,550,220 |
会員価格(税抜) (※3) |
search_member_price_excluding_tax (※3) |
文字列 | 1000,500,200 |
消費税(会員価格) (※3) |
search_product_member_tax (※3) |
文字列 | 100,50,20 |
※3:同名のカスタム属性を既に登録済みの場合、登録は不要です。
※4:カンマ区切りで記載している値について:商品が複数表示されている場合、各商品情報がカンマ区切りの一つの文字列として連携されます。
◆商品詳細ページで取得できる値
・最後に閲覧した商品の情報が連携され、他ページへの遷移後や再訪問時にも接客条件に利用が可能です。
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例 |
---|---|---|---|
閲覧_商品グループ | goods_category_name | 文字列 | レディース |
閲覧_商品グループURLコード(メイン) | goods_category_url | 文字列 | ladies |
閲覧_システム商品コード | goods_system_code | 文字列 | 1 |
閲覧_商品番号 | goods_product_no | 文字列 | blueT |
閲覧_独自商品コード | goods_original_code | 文字列 | aloha_ladies |
閲覧_商品名 | goods_product_name | 文字列 | クッション |
閲覧_商品画像URL | goods_product_image_path | 文字列 | https://example/product/000.jpg?t=xxxxx |
閲覧_サムネイル画像URL | goods_product_image_thumb | 文字列 | https://example/product/000.jpg?t=xxxxx |
閲覧_商品価格(税抜) | goods_price_excluding_tax | 数値 | 3000 |
閲覧_商品価格(税込) | goods_price_including_tax | 数値 | 3300 |
閲覧_消費税(販売価格) | goods_tax | 数値 | 300 |
閲覧_会員価格(税込) | goods_member_price_including_tax | 数値 | 1100 |
閲覧_会員価格(税抜) | goods_member_price_excluding_tax | 数値 | 1000 |
閲覧_消費税(会員価格) | goods_product_member_tax | 数値 | 100 |
閲覧_付与ポイント数 | goods_earn_points | 数値 | 75 |
◆ショッピングカートページで取得できる値
・最後に確認したカート内の商品情報が連携され、他ページへの遷移後や再訪問時にも接客条件に利用が可能です。
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例(※6) |
---|---|---|---|
外部流入パラメータ1 (※5) |
param1 (※5) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ2 (※5) |
param2 (※5) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ3 (※5) |
param3 (※5) |
文字列 | (測定タグ設定で入力した値) |
タイムスタンプ (※5) |
timestamp (※5) |
数値 | 20190926143913 |
都道府県 (※5) |
prefecture (※5) |
文字列 | 東京都 |
性別 (※5) |
gender (※5) |
文字列 | 女性 |
生年月日 (※5) |
birthday (※5) |
日付 | 19910529 |
年齢 (※5) |
age (※5) |
数値 | 28 |
年代 (※5) |
age_group (※5) |
数値 | 10代:"1" , 20代:“2” , 30代:“3” , 40代:"4" , 50代:"5" , 60代:"6" , 70代:"7" , 80代:"8" , 90代:"9" , 100歳以上/未入力:"10"をそれぞれ出力 |
総購入回数 (※5) |
member_times_purchased (※5) |
数値 | 20 |
初回購入日 (※5) |
first_buy_date (※5) |
日付 | 20191122 |
カート_商品グループ | cart_category_name | 文字列 | アパレル,レディース |
カート_商品グループURLコード(メイン) | cart_category_url | 文字列 | fashion,ladies |
カート_商品ID | cart_product_id | 文字列 | 1,2 |
カート_商品番号 | cart_product_no | 文字列 | blueT,gd17 |
カート_独自商品コード | cart_original_code | 文字列 | Tshirts001,denim002 |
カート_商品名 | cart_product_name | 文字列 | クッション,デニムのズボン |
カート_商品画像パス | cart_image_path | 文字列 | https://example/product/000.jpg?t=xxxxx, https://example/product/111.jpg?t=xxxxx |
カート_サムネイル画像URL | cart_product_image_thumb | 文字列 | https://example/product/000.jpg?t=xxxxx, https://example/product/111.jpg?t=xxxxx |
カート_商品価格(オプション価格除く・税抜) | cart_price_excluding_tax | 文字列 | 3000,2000 |
カート_商品価格(オプション価格含む・税抜) | cart_product_price_with_options_excluding_tax | 文字列 | 4000,3000 |
カート_商品価格(オプション価格除く・税込) | cart_price_including_tax | 文字列 | 3300,2200 |
カート_商品価格(オプション価格含む・税込) | cart_product_price_with_options_including_tax | 文字列 | 4400,3300 |
カート_会員価格(税抜) | cart_member_price_excluding_tax | 文字列 | 300,200 |
カート_会員価格(税込) | cart_member_price_including_tax | 文字列 | 1100,550 |
カート_商品購入数量合計 | cart_total_quantity | 数値 | 3 |
カート_商品購入金額合計(オプション価格除く・税込) | cart_totalprice_including_tax | 数値 | 4400 |
カート_商品購入金額合計(オプション価格含む・税込) | cart_totalprice_with_options_including_tax | 数値 | 5500 |
カート_商品購入金額合計(オプション価格含む・税抜) | cart_totalprice_with_options_excluding_tax | 数値 | 5000 |
カート_全商品購入数量 | cart_quantity_list | 文字列 | 1|2|5 |
Google Adwordsリマーケティングタグ(ecomm_prodid) (※5) |
google_adwords_prodid (※5) |
文字列 | ['4','4','5'] |
Google Adwordsリマーケティングタグ(ecomm_totalvalue) (※5) |
google_adwords_totalvalue (※5) |
数値 | 5500 |
カート_商品番号(商品番号+バリエーション枝番号(横)+バリエーション枝番号(縦)) | cart_product_sku | 文字列 | aloha_ladies0403,blueT02 |
カート_商品URL | cart_product_url | 文字列 | https://example.jp/c/fashion/aloha_ladies, https://example.jp/c/fashion/blue_tshirts |
カート_JANコード | cart_product_jan_code | 文字列 | 1111111111111,2222222222222 |
カート_商品購入数量 | cart_quantity | 文字列 | 3,4 |
※5:同名のカスタム属性を既に登録済みの場合、登録は不要です。
※6:カンマ区切りで記載されている値について:商品が複数カートに投入されている場合、各商品情報がカンマ区切りの一つの文字列として連携されます。
◆注文完了ページで取得できる値
・前回購入(最後に購入)した商品の情報が連携され、他ページへの遷移後や再訪問時にも接客条件に利用が可能です。
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例(※8) |
---|---|---|---|
外部流入パラメータ1 (※7) |
param1 (※7) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ2 (※7) |
param2 (※7) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ3 (※7) |
param3 (※7) |
文字列 | (測定タグ設定で入力した値) |
タイムスタンプ (※7) |
timestamp (※7) |
数値 | 20190926143913 |
都道府県 (※7) |
prefecture (※7) |
文字列 | 東京都 |
性別 (※7) |
gender (※7) |
文字列 | 女性 |
生年月日 (※7) |
birthday (※7) |
日付 | 19910529 |
年齢 (※7) |
age (※7) |
数値 | 28 |
年代 (※7) |
age_group (※7) |
数値 | 10代:"1" , 20代:“2” , 30代:“3” , 40代:"4" , 50代:"5" , 60代:"6" , 70代:"7" , 80代:"8" , 90代:"9" , 100歳以上/未入力:"10"をそれぞれ出力 |
総購入回数 (※7) |
member_times_purchased (※7) |
数値 | 20 |
初回購入日 (※7) |
first_buy_date (※7) |
日付 | 20191122 |
購入_商品購入数量合計 | purchase_totalquantity | 数値 | 3 |
購入_受注コード | purchase_order_no | 数値 | 100000003897 |
購入_初回購入フラグ | purchase_first_purchase | 数値 | ・初回購入の場合は"1"を出力 ・2回目以降/ゲスト購入の場合は"0"を出力 |
購入_商品カテゴリー | purchase_product_category | 文字列 | アパレル,レディース |
購入_商品グループURLコード(メイン) | purchase_category_url | 文字列 | fashion,ladies |
購入_システム商品コード | purchase_system_code | 文字列 | 1,2 |
購入_商品番号 | purchase_product_no | 文字列 | blueT,gd17 |
購入_独自商品コード | purchase_original_code | 文字列 | Tshirts001,denim002 |
購入_商品名 | purchase_product_name | 文字列 | クッション,デニムのズボン |
購入_商品画像URL | purchase_product_image_path | 文字列 | https://example/product/000.jpg?t=xxxxx, https://example/product/111.jpg?t=xxxxx |
購入_サムネイル画像URL | purchase_product_image_thumb | 文字列 | https://example/product/000.jpg?t=xxxxx, https://example/product/111.jpg?t=xxxxx |
購入_商品価格(税抜) | purchase_price_excluding_tax | 文字列 | 3000,2000 |
購入_商品価格(オプション価格含む・税抜) |
purchase_product_price_with_options_excluding_tax | 文字列 | 4000,3000 |
購入_商品価格(税込) | purchase_price_including_tax | 文字列 | 3300,2200 |
購入_商品価格(オプション価格含む・税込) | purchase_price_with_options_including_tax | 文字列 | 4400,3300 |
購入_会員価格(税込) | purchase_member_price_including_tax | 文字列 | 300,200 |
購入_会員価格(税抜) | purchase_member_price_excluding_tax | 文字列 | 1100,550 |
購入_商品購入金額合計(オプション価格除く・税込) | purchase_totalprice_including_tax | 数値 | 4400 |
購入_商品購入金額合計(オプション価格含む・税込) | purchase_totalprice_with_options_including_tax | 数値 | 5500 |
購入_商品購入金額合計(オプション価格含む・税抜 | purchase_totalprice_with_options_excluding_tax | 数値 | 5000 |
購入_全商品購入数量 | purchase_quantity_list | 文字列 | 1|2|5 |
購入_送料合計 | purchase_total_postage | 数値 | 300 |
購入_全商品名 | purchase_product_name_list | 文字列 | アロハ(レディース)|デニムのズボン|腕時計 |
購入_全商品番号 | purchase_product_no_list | 文字列 | gd8|gd7|gd8 |
購入_全商品独自商品コード | purchase_original_code_list | 文字列 | aloha_ladies|gd7|gd8 |
購入_全商品販売価格 | purchase_product_sales_price_list | 文字列 | 1728|5000|1728 |
購入_全販売価格*購入数量 | purchase_line_total_list | 文字列 | 1080|3000|2800 |
購入_全商品管理番号(バリエーション枝番あり) | purchase_sku_list | 文字列 | gd880blue|gd7 |
購入_全JANコード | purchase_jan_code_list | 文字列 | JAN123456|JAN0000 |
購入_利用された全クーポンID | purchase_used_coupon_id_list | 文字列 | C19092600000005|C19092600000001 |
Google Adwordsリマーケティングタグ(ecomm_prodid) (※7) |
google_adwords_prodid (※7) |
文字列 | ['4','4','5'] |
Google Adwordsリマーケティングタグ(ecomm_totalvalue) (※7) |
google_adwords_totalvalue (※7) |
数値 | 5500 |
購入_商品番号(商品番号+バリエーション枝番号(横)+バリエーション枝番号(縦)) | purchase_product_sku | 文字列 | aloha_ladies0403,blueT02 |
購入_商品URL | purchase_product_path | 文字列 | https://exampleshop.jp/c/fashion/aloha_ladies, https://exampleshop.jp/c/fashion/blue_tshirts |
購入_JANコード | purchase_product_jan_code | 文字列 | 1111111111111,2222222222222 |
購入_商品購入数量 | purchase_quantity | 文字列 | 3,4 |
※7:同名のカスタム属性を既に登録済みの場合、登録は不要です。
※8:カンマ区切りで記載されている値について:商品が複数購入された場合、各商品情報がカンマ区切りの一つの文字列として連携されます。
◆会員登録完了ページで取得できる値
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例 |
---|---|---|---|
外部流入パラメータ1 (※9) |
param1 (※9) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ2 (※9) |
param2 (※9) |
文字列 | >(測定タグ設定で入力した値) |
外部流入パラメータ3 (※9) |
param3 (※9) |
文字列 | (測定タグ設定で入力した値) |
タイムスタンプ (※9) |
timestamp (※9) |
>数値 | 20190926143913 |
都道府県 (※9) |
prefecture (※9) |
文字列 | 東京都 |
性別 (※9) |
gender (※9) |
文字列 | 女性 |
生年月日 (※9) |
birthday (※9) |
日付 | 19910529 |
年齢 (※9) |
age (※9) |
数値 | 28 |
年代 (※9) |
age_group (※9) |
>数値 | 10代:"1" , 20代:“2” , 30代:“3” , 40代:"4" , 50代:"5" , 60代:"6" , 70代:"7" , 80代:"8" , 90代:"9" , 100歳以上/未入力:"10"をそれぞれ出力 |
※9:同名のカスタム属性を既に登録済みの場合、登録は不要です。
◆メールマガジン申込完了ページで取得できる値
カスタム属性名 | カスタム属性のキー | データ種別 | 値の一例 |
---|---|---|---|
外部流入パラメータ1 (※10) |
param1 (※10) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ2 (※10) |
param2 (※10) |
文字列 | (測定タグ設定で入力した値) |
外部流入パラメータ3 (※10) |
param3 (※10) |
文字列 | (測定タグ設定で入力した値) |
タイムスタンプ (※10) |
timestamp (※10) |
数値 | 20190926143913 |
メールマガジン会員ID (※10) |
newsletter_member_id (※10) |
文字列 | 〈1〉m5(会員IDが5の場合) 〈2〉“空白” 〈3〉12 |
都道府県 (※10) |
prefecture (※10) |
文字列 | 東京都 |
性別 (※10) |
gender (※10) |
文字列 | 女性 |
生年月日 (※10) |
birthday (※10) |
日付 | 19910529 |
年齢 (※10) |
age (※10) |
数値 | 28 |
年代 (※10) |
age_group (※10) |
数値 | 10代:"1" , 20代:“2” , 30代:“3” , 40代:"4" , 50代:"5" , 60代:"6" , 70代:"7" , 80代:"8" , 90代:"9" , 100歳以上/未入力:"10"をそれぞれ出力 |
総購入回数 (※10) |
member_times_purchased (※10) |
数値 | 20 |
初回購入日 (※10) |
first_buy_date (※10) |
日付 | 20191122 |
※10:同名のカスタム属性を既に登録済みの場合、登録は不要です。
【カスタム属性の登録例】
上記の表を利用したカスタム属性の登録を行います。
管理画面上から「属性データ」>「カスタム属性」を押下します。
以下の画像を参考に設定を行います。
※画像は「閲覧_商品名」を利用する場合の設定例になります。

◆カスタム属性登録後のイメージ
5件のカスタム属性を設定した場合の状態になります。
◆カスタム属性の接客条件指定イメージ
キャンペーン編集画面 > だれに > カスタム属性・インポート属性によるセグメント に設定します。
「会員」の内、「都道府県」が東京都かつ「性別」が女性のユーザに接客する場合のイメージです。
キャンペーン設定「だれに」の登録方法はこちらをご参照ください。
【カスタム属性を利用した効果的な接客事例】
例1:閲覧商品の関連商品を訴求
閲覧した商品と同じ商品グループの商品や関連商品を訴求することで、購入を促進します。
配信条件の設定例は以下となります。
例2:リピートユーザーに同じジャンルの商品を訴求
前回購入商品と同じジャンルの限定商品を訴求し、購入を促進します。
配信条件の設定例は以下となります。