We’ve migrated our documentation to a new site, which means some URLs have changed.
Audience

A/B Testing と Control Group

image-20220107-035447.png

A/B テストでは同じWebページの複数の別バージョンを同時に比較し、どちらが最高の結果を生み出すか確認することができます。CCEでは "Evolve" モジュールで作成することによって、簡単にA/Bテストを実行することができます。



Control Group

control group はテストされる変数に接触していないユーザのセグメントです。テストバリアントとして Control Group を選択することでそれを定義することができます。

image-20220107-035534.png

Control Group 内のユーザはCCEインプレッションリクエストに渡される、コントロールリンクから確認できます。"コントロールリンク"は `targetElementId` div にあるリンクです。
以下例です。

<div id="target_element">
  <div class="item">
    <a class="imageLink" href="https://www.example.com/news/trump-fires-bolton.html"><img src="https://www.example.com/images/trump-fires-bolton-a.jpg"></a>
    <a class="itemTitle" href="https://www.example.com/news/trump-fires-bolton.html">Trump Fires John Bolton</a>
    <a class="fbShareLink" href="https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.example.com%2Fnews%2Ftrump-fires-bolton.html" target="_blank"><img src="https://www.example.com/images/fb-icon.png"></a>
  </div>
  <div class="item">
    <a class="itemTitle" href="https://www.example.com/news/apple-unveils-iphone11.html">Apple unveils new iPhone 11</a>
    <a class="fbShareLink" href="https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.example.com%2Fnews%2Fapple-unveils-iphone11.html" target="_blank"><img src="https://www.example.com/images/fb-icon.png"></a>
  </div>
</div>
 
[...]
cX.CCE.run({
	widgetId: '<widgetId>',
	targetElementId: 'target_element',
    ctrlLinksCss: '.itemTitle, .imageLink'
});

[...]

上の例では`target_element` div にあるアイテムがリクエストに渡され、 レポーティング/トラッキング 目的 でクライアントに送り返されます。 重複は自動的に削除されることにご注意ください。上の例で `imageLink` と `itemTitle` は同じURLを示していますが、このような重複を削除するために特別に注意を払う必要はありません。

オプション `ctrlLinksCss` の使用にもご注意ください。特定のタグ内にあるリンクをコントロールリンクとして使いたい場合、タグの名前とIDをここで指定します。 `ctrlLinksCss` を指定すると、他のタグに現れるリンク(例では "fbSharedLink" )は無視され、コントロールリンクとして扱われません。

Last updated: