測定タグ設定(A8.net)
A8.net
タグ設置例をご紹介しています。最新のタグはサービス提供元にお問い合わせください。
DNS設定を伴う広告計測システムをご利用いただく場合、お手続きが必要な場合がございます。詳しくは、お問い合わせください。
コマースクリエイターと以前からの管理画面の「任意測定タグ」「任意アフィリエイト」では、利用できる置換文字が異なります。
移設の際にはプロモーション管理(測定タグ) 置換文字対照表をご参照ください。
以下の設定を設定>プロモーション>測定タグ設定構築>プロモーション管理>測定タグ設定(コマースクリエイター)にて行ってください。
測定タグ設定
利用設定
「利用する」にチェックします。
設定名
「A8.net」と入力します。
共通置換文字設定
共通置換文字1
「pid(プログラムID)」または「eid(ECID)」の値を入力してください。
共通出力
全ページに出力されるタグです。
出力設定
「<head>タグ内に出力する」を選択してください。
出力内容
<script src="//statics.a8.net/a8sales/a8sales.js"></script> <script src="//statics.a8.net/a8sales/a8crossDomain.js"></script> <script src="//statics.a8.net/a8sales/a8shopForm.js"></script>
注文完了ページ ※pid(プログラムID)の場合
出力設定
「<body>タグ内(</body>の前)に出力する」を選択してください。
出力内容
<span id="a8sales"></span> <script src="//statics.a8.net/a8sales/a8sales.js"></script> <script> a8sales({ "pid": "{% analytics.placeholder1 %}", "order_number": "{% analytics.order_no %}", "currency": "JPY", "items": [ {% analytics.item_info %} ], "total_price":{% analytics.purchase_price_with_options_including_tax %}, }); </script>
商品情報置換文字の設定
{ "code": "{% analytics.product_no %}", "price": {% analytics.product.price_with_options_including_tax %}, "quantity": {% analytics.quantity %} }
区切り文字
「,」(半角カンマ)を入力します。
注文完了ページ ※eid(ECID)の場合
出力設定
「<body>タグ内(</body>の前)に出力する」を選択してください。
出力内容
<span id="a8sales"></span> <script src="//statics.a8.net/a8sales/a8sales.js"></script> <script> a8sales({ "eid": "{% analytics.placeholder1 %}", "order_number": "{% analytics.order_no %}", "currency": "JPY", "items": [ {% analytics.item_info %} ], "total_price":{% analytics.purchase_price_with_options_including_tax %}, }); </script>
商品情報置換文字の設定
{ "code": "{% analytics.product_no %}", "price": {% analytics.product.price_with_options_including_tax %}, "quantity": {% analytics.quantity %} }
区切り文字
「,」(半角カンマ)を入力します。
申込完了ページ ※pid(プログラムID)の場合
出力設定
「<body>タグ内(</body>の前)に出力する」を選択してください。
出力内容
<span id="a8sales"></span> <script src="//statics.a8.net/a8sales/a8sales.js"></script> <script> a8sales({ "pid": "{% analytics.placeholder1 %}", "order_number": "{% analytics.subscription_no %}", "currency": "JPY", "items": [ {% analytics.item_info %} ], "total_price":{% analytics.purchase_price_with_options_including_tax %}, }); </script>
商品情報置換文字の設定
{ "code": "{% analytics.product_no %}", "price": {% analytics.product.price_with_options_including_tax %}, "quantity": {% analytics.quantity %} }
区切り文字
「,」(半角カンマ)を入力します。
申込完了ページ ※eid(ECID)の場合
出力設定
「<body>タグ内(</body>の前)に出力する」を選択してください。
出力内容
<span id="a8sales"></span> <script src="//statics.a8.net/a8sales/a8sales.js"></script> <script> a8sales({ "pid": "{% analytics.placeholder1 %}", "order_number": "{% analytics.subscription_no %}", "currency": "JPY", "items": [ {% analytics.item_info %} ], "total_price":{% analytics.purchase_price_with_options_including_tax %}, }); </script>
商品情報置換文字の設定
{ "code": "{% analytics.product_no %}", "price": {% analytics.product.price_with_options_including_tax %}, "quantity": {% analytics.quantity %} }
区切り文字
「,」(半角カンマ)を入力します。