測定タグ設定(Criteo)

Criteo

タグ設置例をご紹介しています。最新のタグはサービス提供元にお問い合わせください。

DNS設定を伴う広告計測システムをご利用いただく場合、お手続きが必要な場合がございます。詳しくは、お問い合わせください。

※コマースクリエイターと以前からの管理画面の「任意測定タグ」「任意アフィリエイト」では、利用できる置換文字が異なります。
移設の際にはプロモーション管理(測定タグ) 置換文字対照表をご参照ください。

以下の設定を設定>プロモーション>測定タグ設定【コマースクリエイター移行中(切替前)】構築>プロモーション管理>測定タグ設定(コマースクリエイター)にて行ってください。


測定タグ設定

利用設定

「利用する」にチェックします。

設定名

「Criteo」と入力します。

アカウント名

CriteoのアカウントIDを入力してください。


デバイスタイプ

スマートフォン

「m」(半角)を入力します。

タブレット

「t」(半角)を入力します。

PC(その他)

「d」(半角)を入力します。


共通出力

出力設定

「<head>タグ内に出力する」を選択してください。

出力内容

<script type="text/javascript" src="//dynamic.criteo.com/js/ld/ld.js?a={% analytics.account_id %}" async="true"></script>

トップページ

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">
  window.criteo_q = window.criteo_q || [];
  window.criteo_q.push(
      { event: "setAccount", account: "{% analytics.account_id %}" }, 
      { event: "setSiteType", type: "{% analytics.device %}" }, 
      { event: "viewHome"},
      { event: "setCustomerId", id: "{@ member.id @}" }
  ); 
  </script>

商品一覧(商品グループ / バンドル商品 / クーポン対象商品)

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">
  window.criteo_q = window.criteo_q || [];
  window.criteo_q.push(
      { event: "setAccount", account: "{% analytics.account_id %}" }, 
      { event: "setSiteType", type: "{% analytics.device %}" }, 
      { event: "viewList", item: [
      {% analytics.item_info %}
  ] },
      { event: "setCustomerId", id: "{@ member.id @}" }
  );
  </script>

商品情報置換文字の設定

"{% analytics.product_id %}"

区切り文字

「,」(半角カンマ)を入力します。

最大出力件数

「3」を入力します。


商品検索結果一覧

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">
  window.criteo_q = window.criteo_q || [];
  window.criteo_q.push(
      { event: "setAccount", account: "{% analytics.account_id %}" }, 
      { event: "setSiteType", type: "{% analytics.device %}" }, 
      { event: "viewList", item: [
      {% analytics.item_info %}
  ] },
      { event: "setCustomerId", id: "{@ member.id @}" }
  );
  </script>

商品情報置換文字の設定

"{% analytics.product_id %}"

区切り文字

「,」(半角カンマ)を入力します。

最大出力件数

「3」を入力します。


商品詳細ページ

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">  
  window.criteo_q = window.criteo_q || []; 
  window.criteo_q.push(
      { event: "setAccount", account: "{% analytics.account_id %}" }, 
      { event: "setSiteType", type: "{% analytics.device %}" }, 
      { event: "viewItem", item: "{% analytics.product_id %}" },
      { event: "setCustomerId", id: "{@ member.id @}" }
  ); 
  </script>

ショッピングカートページ

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">
  window.criteo_q = window.criteo_q || [];
  window.criteo_q.push(
  { event: "setAccount", account: "{% analytics.account_id %}" }, 
  { event: "setSiteType", type: "{% analytics.device %}" }, 
  { event: "viewBasket", item: [
  {% analytics.item_info %}
  ]},
  { event: "setCustomerId", id: "{@ member.id @}" }
  );
  </script>

商品情報置換文字の設定

        {
        id: "{% analytics.product_id %}", 
        price: {% analytics.product.price_with_options_including_tax %},
        quantity: {% analytics.quantity %}
        }

区切り文字

「,」(半角カンマ)を入力します。


注文完了ページ

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">
window.criteo_q = window.criteo_q || []; 
window.criteo_q.push( 
        { event: "setAccount", account: "{% analytics.account_id %}" }, 
        { event: "setSiteType", type: "{% analytics.device %}" }, 
        { event: "setEmail", email: "{% analytics.mailaddress_sha256 %}", hash_method: "sha256" },
        { event: "trackTransaction", id: "{% analytics.order_no %}", item: [
{% analytics.item_info %}
]},
{ event: "setCustomerId", id: "{@ member.id @}" }
); 
</script>

商品情報置換文字の設定

        {
          id: "{% analytics.product_id %}", 
          price: {% analytics.product.price_with_options_including_tax %},
          quantity: {% analytics.quantity %}
        }

区切り文字

「,」(半角カンマ)を入力します。


申込完了ページ

出力設定

「<body>タグ内(<body>の後)に出力する」を選択してください。

出力内容

<script type="text/javascript">
window.criteo_q = window.criteo_q || []; 
window.criteo_q.push( 
        { event: "setAccount", account: "{% analytics.account_id %}" }, 
        { event: "setSiteType", type: "{% analytics.device %}" }, 
        { event: "setEmail", email: "{% analytics.mailaddress_sha256 %}", hash_method: "sha256" },
        { event: "trackTransaction", id: "{% analytics.subscription_no %}", item: [
{% analytics.item_info %}
]},
{ event: "setCustomerId", id: "{@ member.id @}" }
); 
</script>

商品情報置換文字の設定

{
  id: "{% analytics.product_id %}", 
  price: {% analytics.product.price_with_options_including_tax %},
  quantity: {% analytics.quantity %}
}

区切り文字

「,」(半角カンマ)を入力します。