2022年の8月に、GA4のイベントタグの「詳細設定」に「『e コマース』 『e コマースデータを送信』」が実装されました。
GA4のイベントタグの「詳細設定」に「『e コマース』 『e コマースデータを送信』」が実装されました。
これまでは、GTMによるGA4のeコマースのイベント設定では、「変数」を設定し、それをカスタム イベントタグの「イベント パラメータ」に設定する必要がありました。今後は、Google推奨のeコマースの変数(後述)で適切なデータレイヤーの記述を行えば、「変数の設定」もカスタムイベントタグの「イベント パラメータ」の設定も不要になりました。
eコマースの「推奨イベント」
eコマースの「推奨イベント」は下記の通りです。
イベント | この記事に設定方法の解説がある? | 発火タイミング |
---|---|---|
add_payment_info | 支払い情報送信 | |
add_shipping_info | 配送情報送信 | |
add_to_cart | Yes | カートに商品を追加 |
add_to_wishlist | 欲しい物リストに商品を追加 | |
begin_checkout | Yes | 購入手続きを開始 |
generate_lead | 問い合わせのためにフォームまたはリクエストを送信した時 | |
purchase | Yes | 購入完了 |
refund | Yes | 払い戻し実行 |
remove_from_cart | Yes | カートから商品を削除 |
select_item | Yes | リストから商品を選択 |
select_promotion | Yes | プロモーションを選択 |
view_cart | カートを表示 | |
view_item | Yes | 商品詳細を表示 |
view_item_list | Yes | 商品一覧を表示 |
view_promotion | Yes | プロモーションが表示された |
ECに関わるイベントの流れの例
ECのイベントは上記すべてを計測する必要はありません。サイトの実情に合わせて、必要なものを組み合わせます。たとば、例として下記のような流れが考えられます。
上記の各イベントに「パラメータ」「itemパラメータ」が紐づきます。
GA4のデータは「イベント」と「パラメータ」で構成されていますが、eコマースのデータは「推奨イベント」「パラメータ」の他に商品情報を「itemパラメータ」(後述)で取得します。(2022年8月28日時点では「itemパラメータ」で取得したデータを「カスタム ディメンション」に登録できません。スコープ「商品」で「カスタム ディメンション」を設定することが出来ないためです。GA4のデフォルトで用意されているディメンションを使用する必要があります。)
eコマースの「パラメータ」
パラメータ名 | タイプ | 必須 | サンプルの値 | 説明 |
---|---|---|---|---|
currency | string | ○* | JPY | イベントに関連付けられた商品アイテムの通貨(3 文字の ISO 4217 形式)。 * 収益の指標が正確に計算されるように currency を指定する必要があります。 |
value | number | ○* | 10000 | 金額合計。イベントの金銭的価値。 * 収益の指標が正確に計算されるように currency を指定する必要があります。 |
coupon | string | – | Summer01 | イベントに関連づけられたクーポンの名前。 |
payment_type | string | – | Credit Card | 支払い方法 |
shipping_tier | string | – | Yamato | 購入された商品アイテムの配送方法 |
affiliation | string | – | Google Store | 仕入れ先業者や実店舗を指定する商品アフィリエーション。 |
shipping | string | – | 700 | 送料 |
transaction_id | string | ○ | T_12345 | 取引、注文ID |
tax | string | – | 800 | 税金 |
item_list_id | string | – | w01 | 商品が表示されたリストの ID |
item_list_name | string | – | Wish_List | 商品が表示されたリストの名前 |
creative_name | string | – | Summer_GIG_01 | プロモーションのクリエイティブの名前 |
creative_slot | string | – | featured_app_1 | 商品アイテムに関連付けられたプロモーション用のクリエイティブ スロットの名前。 |
location_id | string | – | L_12345 | 商品アイテムに関連付けられた場所。関連するアイテムに対応する Google プレイス ID を使用することをおすすめします。カスタムの地域 ID も使用できます。 |
promotion_id | string | – | P_12345 | プロモーションの ID |
promotion_name | string | – | Summer Sale | プロモーションの名前 |
eコマースの「itemパラメータ」
サンプルは、下記を参考にしました。
https://developers.google.com/tag-manager/ecommerce-ga4?hl=ja#measure_viewsimpressions_of_productitem_details
itemパラメータ名 | タイプ | 必須 | サンプルの値 | 説明 |
---|---|---|---|---|
item_id | string | 〇* | SKU_12345 | 商品アイテムの ID。 * item_id または item_name が必要です。 |
item_name | string | 〇* | Stan and Friends Tee | 商品アイテムの名前。 * item_id または item_name が必要です。 |
price | number | – | 10000 | 指定された通貨パラメータの単位で表した商品アイテムの価格。 |
quantity | number | – | 1 | 商品アイテムの数量 |
affiliation | string | – | Google Store | 商品元や店舗を指定する商品アフィリエーション |
coupon | string | – | SUMMER_FUN | 商品に関連したクーポン名 |
currency | string | – | JPY | 通貨(3 文字の ISO 4217 形式) |
discount | number | – | 100 | 商品に対する割引額 |
item_variant | string | – | green | 商品アイテムのバリエーションまたは固有のコード、あるいはその他の詳細やオプションに関する説明 |
item_brand | string | – | Amazon | 商品アイテムのブランド |
item_category | string | – | Apparel | 商品アイテムのカテゴリや分類 |
item_category2 | string | – | Adult | 商品アイテムのカテゴリや分類 |
item_category3 | string | – | Shirts | 商品アイテムのカテゴリや分類 |
item_category4 | string | – | Crew | 商品アイテムのカテゴリや分類 |
item_category5 | string | – | Short sleeve | 商品アイテムのカテゴリや分類 |
index | number | – | 3 | リスト内の商品アイテムのインデックスまたは位置 |
item_list_id | string | – | related_products | ユーザーに商品アイテムが表示されたリストの ID。 |
item_list_name | string | – | Related products | ユーザーに商品アイテムが表示されたリストの名前。 |
location_id | string | – | L_12345 | 商品アイテムに関連付けられた場所。関連するアイテムに対応する Google プレイス ID を使用するか、カスタムの地域 ID も使用できます。 |
promotion_id | string | – | P_12345 | 商品アイテムに関連付けられたプロモーションの ID。 |
promotion_name | string | – | Summer Sale | 商品アイテムに関連付けられたプロモーションの名前。 |
Google推奨のeコマースの変数については、こちらをご参照ください。
e コマース(GA4)デベロッパー ガイド
https://developers.google.com/tag-manager/ecommerce-ga4?hl=ja
1. view_item GTMイベント設定
まずは、view_itemについて、見てみます。
変数とパラメータの設定が必要だった時は、view_itemのイベントタグの設定は上記にようになっていました。
現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント view_item のトリガー
トリガーのタイプは、「カスタム イベント」を使用しています。
view_itemのデータレイヤーのサンプルは下記の通りです。
データレイヤーに適切な値が出力されるようにするには、システム開発が必要です。
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null });
dataLayer.push({ event: "view_item",
ecommerce: {
items: [{
item_name: "Donut Friday Scented ",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
item_list_name: "Search Results",
item_list_id: "SR123",
index: 1,
quantity: 1
}]
} });
</script>
レポート > ライフサイクル > 収益化 > eコマース購入数
にて、翌日以降データを確認すると、
view_itemイベントで、「アイテム名」「アイテム ID」「アイテムのカテゴリ」「アイテムのカテゴリ 2~5」「アイテムのブランド」が計測できていることが確認できます。
2. purchase GTMイベント設定
変数とパラメータの設定が必要だった時は、purchaseのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント purchase のトリガー
トリガーのタイプは、「カスタム イベント」を使用しています。
purchaseのデータレイヤーのサンプルは下記の通りです。
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null });
dataLayer.push({event: "purchase",
ecommerce: {
transaction_id: "T20220829_0933",
affiliation: "Online Store",
value: "20000",
tax: "1600",
shipping: "1000",
currency: "JPY",
coupon: "SUMMER_SALE",
items: [{
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_variant: "Black",
quantity: 1
}, {
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933_2",
price: 10000, item_brand: "Amazon",
item_category: "Apparel",
item_variant: "Red",
quantity: 1
}]
}
});
</script>
3. view_promotion GTMイベント設定
変数とパラメータの設定が必要だった時は、view_promotionのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント view_promotion のトリガー
トリガーのタイプは、「カスタム イベント」を使用しています。
view_promotionのデータレイヤーのサンプルは下記の通りです。
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "view_promotion",
ecommerce: {
items: [{
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
promotion_id: "abc123",
promotion_name: "summer_promo",
creative_name: "instore_suummer",
creative_slot: "1",
location_id: "hero_banner",
index: 1,
quantity: 1
}]
}
});
</script>
4. select_promotion GTMイベント設定
変数とパラメータの設定が必要だった時は、select_promotionのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント select_promotion のトリガー
トリガーは「クリック – リンクのみ」を使用しています。
トリガーの「Click Classess 等しい Select_Promotion」の「Select_Promotion」は、下記のselect_promotionのHTMLのソースのサンプルに記述してあります。
「select_promotion」のHTMLのソースのサンプルは下記の通りです。view_promotion.pngというボタンがクリックされると、必要なデータレイヤーが生成されるようになっています。下記の例はあくまでもサンプルで、記述方法は、ウェブサイトの実装担当の方にご相談ください。
<html lang="ja">
<head>
<script>
function onPromotionClick() {
var dataset = JSON.parse(JSON.stringify(this.dataset));
var item = Object.getOwnPropertyNames(dataset).reduce(function(prev, current) {
var key = current.replace(/[A-Z]/g, function(char){ return '_' + char.toLowerCase();});
prev[key] = /price|index|quantity/.test(key) ? Number(dataset[current]) : dataset[current];
return prev
}, {});
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "select_promotion",
ecommerce: {
items: [ item ]
}
});
}
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WKLP4D3');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8" />
<link rel="stylesheet" href="css/general.css"/>
<title>EC_select_promotion | EC_test</title>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKLP4D3"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<h1>ECテスト select_promotion</h1>
<p>
<a class="Select_Promotion" href="view_item_list.html"
data-item-name="Donut Friday Scented T-Shirt"
data-item-id="ii20220829_0933"
data-price=10000
data-item_brand: "Google",
data-item_category: "Apparel",
data-item_category2: "Mens",
data-item_category3: "Shirts",
data-item_category4: "Tshirts",
data-item_variant: "Black",
data-promotion_id: "abc123",
data-promotion_name: "summer_promo",
data-creative_name: "instore_suummer",
data-creative_slot: "1",
data-index="1"
data-quantity="1"
onclick="onPromotionClick()"
><img src="images/view_promotion.png"></a>
</p>
</body>
</html>
5. view_item_list GTMイベント設定
変数とパラメータの設定が必要だった時は、view_item_listのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント view_item_list のトリガー
トリガーのタイプは、「カスタム イベント」を使用しています。
view_item_listのデータレイヤーのサンプルは下記の通りです。
<script>
window.dataLayer = window.dataLayer || [];
// Measure product views / impressions
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
event: "view_item_list",
ecommerce: {
items: [
{
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
item_list_name: "Search Results",
item_list_id: "SR123",
index: 1,
quantity: 1
},
{
item_name: "Donut Friday Scented T-Shirt_2",
item_id: "ii20220829_0933_2",
price: 10000,
item_brand: "Amazon",
item_category: "Apparel_2",
item_category2: "Mens_2",
item_category3: "Shirts_2",
item_category4: "Tshirts_2",
item_variant: "Red",
item_list_name: "Search Results_2",
item_list_id: "SR123_2",
index: 2,
quantity: 1
}]
}
});
</script>
6. select_item GTMイベント設定
変数とパラメータの設定が必要だった時は、select_itemのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント select_item のトリガー
トリガーは「クリック – リンクのみ」を使用しています。
トリガーの「Click Classess 等しい productdetails」の「Select_Promotion」は、下記のselect_itemのHTMLのソースのサンプルに記述してあります。
「select_item」のHTMLのソースのサンプルは下記の通りです。「Donut Friday Scanted T-Shirt」というリンクがクリックされると、必要なデータレイヤーが生成されるようになっています。下記の例はあくまでもサンプルで、記述方法は、ウェブサイトの実装担当の方にご相談ください。
<html lang="ja" >
<head>
<script>
function onProductClick() {
var dataset = JSON.parse(JSON.stringify(this.dataset));
var item = Object.getOwnPropertyNames(dataset).reduce(function(prev, current) {
var key = current.replace(/[A-Z]/g, function(char){ return '_' + char.toLowerCase();});
prev[key] = /price|index|quantity/.test(key) ? Number(dataset[current]) : dataset[current];
return prev
}, {});
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "select_item",
ecommerce: {
items: [ item ]
}
});
}
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WKLP4D3');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8" />
<link rel="stylesheet" href="css/general.css"/>
<title>EC_select_item | EC_test</title>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKLP4D3"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<h1>ECテスト select_item</h1>
<p>
<a class="productdetails" href="items/productdetails.html"
data-item-name="Donut Friday Scented T-Shirt"
data-item-id="ii20220829_0933"
data-price="10000"
data-item-brand="Google"
data-item-category="Apparel"
data-item-category2="Mens"
data-item-category3="Shirts"
data-item-category4="Tshirts"
data-variant="Black"
data-item-list-name="Search Results"
data-item-list-id="SR123"
data-index="1"
data-quantity="1"
onclick="onProductClick()"
>Donut Friday Scanted T-Shirt</a>
</p>
</body>
</html>
7. add_to_cart GTMイベント設定
変数とパラメータの設定が必要だった時は、add_to_cartのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント select_item のトリガー
トリガーは「クリック – リンクのみ」を使用しています。
トリガーの「Click Classess 等しい add_to_cart」の「add_to_cart」は、下記のadd_to_cartのHTMLのソースのサンプルに記述してあります。
「add_to_cart」のHTMLのソースのサンプルは下記の通りです。
<a class="add_to_cart" href="cart/cart.html"><strong>Donut Friday Scented T-Shirt</strong>をカートに入れる</a>
という記述内の、「class=”add_to_cart”」の部分をトリガーが見ています。
下記の例はあくまでもサンプルで、記述方法は、ウェブサイトの実装担当の方にご相談ください。
<html lang="ja" >
<head>
<script>
window.dataLayer = window.dataLayer || [];
// Measure when a product is added to a shopping cart
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
event: "add_to_cart",
ecommerce: {
items: [{
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
item_list_name: "Search Results",
item_list_id: "SR123",
index: 1,
quantity: 1
}]
}
});
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WKLP4D3');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8" />
<link rel="stylesheet" href="css/general.css"/>
<title>EC_add_to_cart | EC_test</title>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKLP4D3"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<h1>ECテスト add_to_cart</h1>
<p>
<a class="add_to_cart" href="cart/cart.html"><strong>Donut Friday Scented T-Shirt</strong>をカートに入れる</a>
</p>
</body>
</html>
8. remove_from_cart GTMイベント設定
変数とパラメータの設定が必要だった時は、add_to_cartのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント remove_from_cart のトリガー
トリガーは「クリック – リンクのみ」を使用しています。
トリガーの「Click Classess 等しい remove_from_cart」の「remove_from_cart」は、下記のremove_from_cartのHTMLのソースのサンプルに記述してあります。
「remove_from_cart」のdataLayerのサンプルは下記の通りです。
<script>
window.dataLayer = window.dataLayer || [];
// Measure the removal of a product from a shopping cart.
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "remove_from_cart",
ecommerce: {
items: [{
item_name: "Donut Friday Scented T-Shirt 20220829_0933",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
item_list_name: "Search Results",
item_list_id: "SR123",
index: 1,
quantity: 1
}]
}
});
</script>
9. begin_checkout GTMイベント設定
変数とパラメータの設定が必要だった時は、begin_checkoutのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント begin_chekout のトリガー
トリガーは「クリック – リンクのみ」を使用しています。
トリガーの「Click Classess 含む begin_checkout」の「begin_checkout」は、下記のbegin_checkoutのHTMLのソースのサンプルに記述してあります。
「begin_checkout」のdataLayerのサンプルは下記の通りです。
<html lang="ja" >
<head>
<script>
function onCheckout() {
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null }); // Clear the previous ecommerce object.
dataLayer.push({
event: "begin_checkout",
ecommerce: {
items: [{
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
item_list_name: "Search Results",
item_list_id: "SR123",
index: 1,
quantity: 1
}]
}
});
}
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-WKLP4D3');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8" />
<link rel="stylesheet" href="css/general.css"/>
<title>EC_begin_checkout | EC_test</title>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WKLP4D3"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<h1>ECテスト begin_checkout</h1>
<p>
<a class="begin_checkout" onclick="onCheckout()" href="purchase.html">チェックアウトプロセスを開始する。</a>
</p>
</body>
</html>
10. refund GTMイベント設定
変数とパラメータの設定が必要だった時は、refundのイベントタグの設定は上記にようになっていました。
(繰り返しになりますが、)現在の設定方法では、Google推奨のeコマースの変数を使っていれば、変数の設定が不要となります。また、イベントタグに「イベント パラメータ」を記述する必要もありません。「e コマースデータを送信」にチェックを入れて、データソースは「Data Layer」を選択します。
イベント refund のトリガー
トリガーは「カスタム イベント」を使用します。
「refund」のdataLayerのサンプルは下記の通りです。
<script>
window.dataLayer = window.dataLayer || [];
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: "refund",
ecommerce: {
transaction_id: "20220830-1350", // Transaction ID.
items: [{
item_name: "Donut Friday Scented T-Shirt",
item_id: "ii20220829_0933",
price: 10000,
item_brand: "Google",
item_category: "Apparel",
item_category2: "Mens",
item_category3: "Shirts",
item_category4: "Tshirts",
item_variant: "Black",
item_list_name: "Search",
item_list_id: "SR123",
index: 1,
quantity: 1
}]
}
});
</script>
Goodd post. I leatn something totally neew and challenging oon sitres I stumbleupon on a aily basis.
It’s alwayus useful too rread through atticles from other wriuters and prqctice
a little something fom tbeir webb sites.
With havin so muh ccontent annd articles ddo yyou ecer run into any issues
oof plagorsm or copyright violation? My site has a llot of uniue contenmt
I’ve either create myself oor oufsourced butt it looks like a loot oof iit iss popping iit
up all over the wweb without my authorization. Do you know any methods
too help prevent content frfom being stolen? I’d genuiinely appreciate
it.
I’m impressed, I hhave to admit. Seldom do I encouunter a
blo that’s both eaually educative and amusing, and withouyt a doubt, you’ve hiit tthe nasil onn the head.
The problem is ann issue thhat not enough men andd women aree speaking
intelligently about. I’m very happy that I came across this
in my hunt for something relating to this.
I’m extremely inspred togethdr with yor writing
abilities as neatoy as wkth the layout to yohr weblog.
Is this a paid ubject mattter or didd you
modify it yor self? Anyway keep up the nice hig quality writing, it iis rre to peer a nice blog lie this one today..
I’m not sure whhere you’re geting your information, but great topic.
I needs to spend some time learning much more or understanding more.
Thanks for wondetful innformation I was looking for thiks information foor my mission.
I think this is a real great blog post.Thanks Again. Much obliged.
Awesome blog article. Fantastic.
Thanks so much for the article post. Cool.
This is one awesome blog post. Really Cool.
Great post. Really Cool.
That is a great tip particularly to those fresh to the blogosphere. Short but very precise infoÖ Appreciate your sharing this one. A must read post!
This is one awesome article.Really looking forward to read more. Much obliged.
I really enjoy the blog.Much thanks again. Much obliged.
A round of applause for your blog article.Much thanks again. Much obliged.
I have been reading out a few of your articles and i must say pretty nice stuff. I will definitely bookmark your blog.
Im thankful for the article.Really looking forward to read more. Cool.
Excellent post. I was checking constantly this blog and I’m impressed!Extremely helpful information particularly thelast part 🙂 I care for such information much. Iwas seeking this certain info for a very long time. Thank you andbest of luck.
Pretty! This has been an extremely wonderful article. Thank you for supplyingthese details.Here is my blog post: Leaf Boss CBD Review
cold and asthma iproven blood pressure monitorstromectol for humans dit86t
Really appreciate you sharing this blog article. Will read on…
Very good article.Much thanks again. Awesome.
Fantastic blog.Thanks Again. Will read on…
Oh my goodness! an incredible article dude. Thank you Nonetheless I am experiencing problem with ur rss . Don’t know why Unable to subscribe to it. Is there anyone getting similar rss problem? Anyone who knows kindly respond. Thnkx
It’s going to be end of mine day, except before ending I am reading this impressive paragraph to improve my experience.
A big thank you for your article. Really Cool.
I’m still learning from you, while I’m trying to reach my goals. I certainly liked reading everything that is written on your blog.Keep the aarticles coming. I enjoyed it!
Excellent forum posts. Kudos!write essays for me best dissertation phd writer
This is a very good tip especially to those fresh to the blogosphere. Simple but very precise informationÖ Appreciate your sharing this one. A must read article!
Hi, I do believe this is a great blog. I stumbledupon it 😉 I’m going to come back once again since i have bookmarked it. Money and freedom is the best way to change, may you be rich and continue to guide other people.
With thanks, I like this!custom essay writing canadahelp writing thesis statement
Undeniably believe that which you stated. Your favorite reason seemed to be on the net the simplest thing to be aware of. I say to you, I definitely get irked while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top and defined out the whole thing without having side effect , people can take a signal. Will likely be back to get more. Thanks
Thanks a lot. Numerous knowledge.how to write a transfer essay how to write a thesis paragraph for an essay phd writing service
wall street market darknet url how to create a darknet market
Nicely put. Many thanks! canada online pharmacies
I am so happy to read this. This is the kind of manual that needs to be given and not the random misinformation that is at the other blogs. Appreciate your sharing this greatest doc.
how long does sildenafil sildenafil how to take
This is one awesome blog post.Really looking forward to read more. Keep writing.
Thanks for discussing your ideas. Something is that individuals have an option between fed student loan and also a private student loan where it can be easier to decide on student loan debt consolidation reduction than with the federal education loan.
I loved your blog post. Thanks for creating it. I’m a big fan of your stuff.
When I activated the Reset button, my changesfor date posted and radius were saved, but my minimum salary was not.
Hello, after reading tnis amazinng article i am as welll happyto shaqre my faniliarity here with mates!
It?s actually a cool and useful piece of information. I?m glad that you shared this useful info with us. Please keep us informed like this. Thanks for sharing.
Really enjoyed this blog.Really thank you! Really Cool.
I’m truly enjoying the design and layout of your blog. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Fantastic work!
Hey, thanks for the blog post.Thanks Again. Awesome.
I do agree with all the ideas you’ve presented in your post. They are really convincing and will certainly work. Still, the posts are very short for starters. Could you please extend them a bit from next time? Thanks for the post.
365 benadryl allegra medication – how much is zyrtec
Thanks for sharing, this is a fantastic article post.Thanks Again. Awesome.
preserve apartments apartments in worcester ma spanish trace apartments
With every little thing which seems to be developing within this specific subject matter, your opinions happen to be somewhat stimulating. However, I appologize, because I can not subscribe to your whole strategy, all be it radical none the less. It would seem to us that your comments are actually not totally validated and in actuality you are generally yourself not really entirely confident of the argument. In any case I did appreciate reading it.
Fine way of describing, and fastidious article to take facts on the topic of my presentation focus, which i am going to present in college.
Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I acquire in fact enjoyed account your blog posts.Anyway I’ll be subscribing to your augment and even I achievementyou access consistently rapidly.
I prefer the relevant details program forth in your posts.
I really like looking through an article that will make people think. Also, thanks for permitting me to comment!
Im no professional, but I consider you just made an excellent point. You clearly comprehend what youre talking about, and I can seriously get behind that. Thanks for being so upfront and so truthful.
Good way of describing, and good paragraph to get data regarding my presentation subject, which i am going to convey in school. Aggy Byrom Woodward
Thank you ever so for you article post.Thanks Again.
Very nice post. I just stumbled upon your blog and wished to say that I’ve really enjoyed browsing your blog posts. After all I?ll be subscribing to your rss feed and I hope you write again soon!
Yeah bookmaking this wasn at a bad decision great post!.
Howdy! I know this is somewhat off topic but I was wondering if you knewwhere I could get a captcha plugin for my comment form?I’m using the same blog platform as yours and I’mhaving trouble finding one? Thanks a lot!
I can’t express how much I appreciate the effort the author has put into writing this outstanding piece of content. The clarity of the writing, the depth of analysis, and the abundance of information provided are simply astonishing. His passion for the subject is obvious, and it has certainly struck a chord with me. Thank you, author, for providing your insights and enhancing our lives with this incredible article!
Hey there would you mind stating which blog platform you’re using? I’m looking to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique. P.S Sorry for getting off-topic but I had to ask!
I’m really enjoying the design and layout of your blog. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a developer to create your theme? Great work!
Im obliged for the post.
I loved your article post.Thanks Again. Really Great.
Very great post. I simply stumbled upon your weblog and wanted to say that I’ve truly loved browsing your weblog posts. In any case I?ll be subscribing on your feed and I am hoping you write once more very soon!
สล็อตเป็นอีกหนึ่งเกมที่ได้รับความนิยมเป็นอย่างมาก เพราะวิธีการเล่นแสนง่าย แค่กด Spin ไปเรื่อยๆ ก็สามารถได้รับรางวัล แถมยังมีรางวัลแจ็ตพ็อตสูง.อิอิ
Your house is valueble for me. Thanks!?
Hello mates, its impressive article regarding teachingand fully explained, keep it up all the time.
Im grateful for the post.Really thank you! Want more.
Very good blog post.Thanks Again. Really Cool.
herbal ed treatment medication for ed dysfunction
scoliosisTouche. Solid arguments. Keep up the amazing spirit. scoliosis
Pretty! This has been an extremely wonderful post. Many thanks for providing these details.
Wonderful post however , I was wondering if you could write a litte more on this subject? I’d be very grateful if you could elaborate a little bit more. Many thanks!
Hey! Do you use Twitter? I’d like to followyou if that would be ok. I’m absolutely enjoying your blog and look forward to new updates.
I wanted to thank you for this good read!! I absolutely enjoyed every bit of it.I have you bookmarked to check out new things you post…
Nearly all of whatever you articulate is astonishingly appropriate and that makes me wonder the reason why I had not looked at this with this light before. This particular article truly did turn the light on for me personally as far as this subject goes. Nonetheless at this time there is just one factor I am not really too comfy with so while I try to reconcile that with the actual main idea of your issue, let me observe just what the rest of your visitors have to say.Nicely done.
is amoxicillin penicillin fish mox amoxicillin fish mox amoxicillin
Thanks for the blog article.Thanks Again. Really Great.
Thanks-a-mundo for the blog.Really thank you! Want more.
I am so grateful for your blog post.Much thanks again. Really Cool.Loading…
wow, awesome article. Great.
Major thankies for the article post. Want more.
Thanks for sharing, this is a fantastic blog.
Hi there! I’m at work surfing around your blog frommy new iphone 3gs! Just wanted to say I love reading your blogand look forward to all your posts! Carry on the great work!
ivermectin rx ivermectin canada – ivermectin 12
Almanya’nın en iyi medyumu haluk hoca sayesinde sizlerde güven içerisinde çalışmalar yaptırabilirsiniz, 40 yıllık uzmanlık ve tecrübesi ile sizlere en iyi medyumluk hizmeti sunuyoruz.
Thanks so much for the blog article.Much thanks again. Really Great.Loading…
I?d have to test with you here. Which isn’t something I often do! I enjoy studying a submit that will make folks think. Additionally, thanks for allowing me to comment!
Wow, great post.Much thanks again. Want more.
I really liked your blog article.Much thanks again. Will read on
Almanya’nın en çok tercih edilen medyumu haluk yıldız hoca olarak bilinmektedir, 40 yıllık tecrübesi ile sizlere en iyi bağlama işlemini yapan ilk medyum hocadır.
Really appreciate you sharing this article. Great.
Great, thanks for sharing this blog article. Much obliged.
Have you ever considered publishing an ebook or guest authoring on other sites? I have a blog based on the same topics you discuss and would really like to have you share some stories/information. I know my visitors would value your work. If you’re even remotely interested, feel free to send me an e-mail.
Merhaba Ben Haluk Hoca, Aslen Irak Asıllı Arap Hüseyin Efendinin Torunuyum. Yaklaşık İse 40 Yıldır Havas Ve Hüddam İlmi Üzerinde Sizlere 100 Sonuç Veren Garantili Çalışmalar Hazırlamaktayım, 1964 Yılında Irak’ın Basra Şehrinde Doğdum, Dedem Arap Hüseyin Efendiden El Aldım Ve Sizlere 1990 lı Yıllardan Bu Yana Medyum Hocalık Konularında Hizmet Veriyorum, 100 Sonuç Vermiş Olduğum Çalışmalar İse, Giden Eşleri Sevgilileri Geri Getirme, Aşk Bağlama, Aşık Etme, Kısmet Açma, Büyü Bozma Konularında Garantili Sonuçlar Veriyorum, Başta Almanya Fransa Hollanda Olmak Üzere Dünyanın Neresinde Olursanız Olun Hiç Çekinmeden Benimle İletişim Kurabilirsiniz.
To have a look at was at regular a couple of, a the mother consideration which should genuinely undergo Native english speakers known as, like a result your lady allow me to undergo while using type in mentor Ye in Vibrant Development in Beijing. About the style As i did begin to find out in regards to the refreshing new Practice Native english speakers and in many cases dealt with that sentence structure made for to start with.
Yes! Finally something about mobile legends bilet nedir bilet ne işe yarar.
Hello there! This is my first comment here so I just wanted
to give a quick shout out and say I truly enjoy
reading through your articles. Can you recommend any other blogs/websites/forums that deal
with the same topics? Thank you so much!
Feel free to visit my page :: vpn special code
magnificent points altogether, you simply gained a new reader.
What might you suggest in regards to your submit
that you simply made some days ago? Any positive?
Feel free to surf to my web blog; vpn code 2024
My programmer is trying to convince me to move to
.net from PHP. I have always disliked the idea because of the
expenses. But he’s tryiong none the less. I’ve been using Movable-type on numerous websites for about
a year and am concerned about switching to another platform.
I have heard very good things about blogengine.net. Is there a way I can import
all my wordpress posts into it? Any kind of help would be greatly appreciated!
Hi there, I enjoy reading through your article. I wanted to
write a little comment to support you.
Also visit my website :: vpn special coupon code 2024
Hello Dear, are you in fact visiting this site regularly, if
so afterward you will absolutely get fastidious
experience.
Great, thanks for sharing this blog article.Really looking forward to read more. Really Great.
Wow, great post.Really looking forward to read more. Want more.
Thanks for ones marvelous posting! I seriously enjoyed reading it,
you might be a great author. I will always bookmark your blog and definitely will come back
later in life. I want to encourage you to definitely continue your great job, have a
nice day!
Hello There. I discovered your blog the usage of msn. That is
an extremely neatly written article. I will be sure to bookmark
it and come back to read extra of your helpful information. Thank you for the post.
I’ll definitely comeback.
I enjoy reading through an article that can make men and women think.
Also, thank you for permitting me facebook vs eharmony to find love online comment!
This paragraph is really a nice one it helps new the web viewers,
who are wishing in favor of blogging.
Also visit my site … eharmony special coupon code 2024
I go to see each day a few web sites and sites to read posts, except this web
site provides quality based posts.
Feel free to visit my blog post – nordvpn special coupon code 2024
When I initially commented I clicked the “Notify me when new comments are added” checkbox and now
each time a comment is added I get four e-mails with the same comment.
Is there any way you can remove me from that service?
Thanks a lot!
comprar medicamentos en línea en Brasil Fortbenton Siegen Acheter médicaments sans risque
farmaci in Italia Galpharm Viry-Châtillon médicaments en vente libre
en France
I think this is a real great article.Thanks Again. Really Great.
médicaments en vente en ligne en France ranbaxy Lleida medicamentos
recommandé par les experts en fertilité
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://accounts.binance.com/es-MX/register?ref=JHQQKNKN
I learned something new today. Thank you! What Is Cryptocurrency Bitcoin
médicaments disponible en ligne sans ordonnance zydus Eeklo compra farmaci a Catania online
помповый опрыскиватель отзывы,
опрыскиватель из светофора отзывы дін тану 9 сынып кітап,
дінтану 9 сынып ктж балапан мен тарғыл мысық, балапан мен мысық
адамның қолы неге ұйып қалады, сол
жақ қол ұйыса
ёлгиз куйинг музыка скачать, ёлгиз куйинг кино безвозмездная передача товара
рк, безвозмездная передача имущества это капельник 5 серия,
капельник 3 серия смотреть бесплатно 2 кг алма мен 1
кг банан 1000 теңге, математикалық сауаттылық жауаптарымен 2022
лай суға май бітпес қой өткенге ашық сабақ али талай талай
тандарды откиземиз екеумиз скачать, али талай
талай тандарды скачать текст жүйке жүйесінде
түзілетін ұрық жапырақшасы, биология тест 9 сынып онлайн батыс
қыпшақ бірлестігі құрылған, қыпшақ хандығы
шаруашылығы
марс венера земля удаленность
от солнца фэнтези читать онлайн бесплатно факультеты академии
магии четыре тройки значение
гороскоп на 1992 год по знакам зодиака и по
году рождения на что снится лифт
магазин анна анна алматы, анна анна кз депозит в долларах народный банк, выгодный депозит в
долларах жабайы алма ағашы, жабайы алма онлайн оқу дүниежүзінің ең ылғалды ең құрғақ жері,
ең ылғалды құрлық
acheter des médicaments aux États-Unis sans ordonnance Amneal Solothurn medicamentos disponible en línea en España
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
подработка для пенсионеров в
ижевске свежие вакансии подработка для студентов без официального трудоустройства штукатурка декоративная для наружных работ фото домов
заработать в интернете без вложений с телефона с
выводом денег на
арманы гой талайдын скачать, арғымағы адайдың текст шебер актобе график работы, шебер курылыс актобе тек екідайлы оксидтердің қатары, қышқылдық
оксидтер тізімі деректерді шифрлау дегені не, шифрлау алгоритмінің параметрі