> For the complete documentation index, see [llms.txt](https://docs.exoclick.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.exoclick.com/advertisers/ja/konbjontorakkingu/torakkingumanyuaru/cake-tracking.md).

# Cakeでコンバージョンをトラッキングする方法

*このガイドはCake専用です。S2Sトラッキングの一般的な手順については、以下を確認してください。* [*広告主セクション*](/advertisers/ja/konbjontorakkingu/konbjontorakkingu.md#using-conversion-tracking-api---s2s-recommended)*.*

ExoClickでは、グローバルトラフィックソース、ターゲティング機能、ビッグデータ、統計分析ツールを利用して、結果を絞り込み、キャンペーンを最適化できます。このマニュアルでは、トラッキングソフトウェアCakeを使用している場合に、ExoClickネットワーク上でコンバージョンをトラッキングする方法を説明します。オファーをトラッキングするには、CakeとExoClickがそれぞれのサーバーを通じて通信できるようにする必要があります。

追加情報を受け取りたい場合は、以下を確認してください [Cakeの統合ガイド。](https://support.getcake.com/support/solutions/articles/5000546121-a-guide-to-event-tracking)

## ステップ1：Postback URL用のGoal IDを作成する

ExoClickの管理パネルにログインし、以下に移動します **Campaigns > Conversions tracking**。これにより、次の項目で使用するコンバージョントラッキングコードを作成できます **postback URL**:

<figure><img src="/files/829d2bafd676035b311181155a9b9873dac563eb" alt=""><figcaption></figcaption></figure>

で使用する構造を取得できます。「New Conversion Goal」をクリックします。完了が必要な項目は3つあります： **名前**, **コンバージョン価値** と **順序**。 **名前**では、ゴール名を追加するだけです。たとえば「Postback」です。

利用可能なコンバージョン価値は次のとおりです：

* **値なし:** 値は0です
* **固定:** Goalの設定時に、コンバージョンの支払い額を手動で決定します。
* **動的:** 支払い額はPostback URLを通じて渡されます。動的な値の受け渡しについては、ガイドの後半で詳しく説明します。

**順序** は、アカウントで作成したさまざまなゴールを整理するために使用されます。複数のConversion Goalを作成している場合、順序はStatisticsおよびCampaigns Listでこれらのゴールをどのように表示するかを整理するのに役立ちます。

これらすべての項目を追加したら、「Create」ボタンをクリックします。管理パネルには、Postback URLの構造と、 **Goal ID** 先ほど作成したGoalに対応するIDが表示されます。次のように表示されるはずです:

```json
http://s.magsrv.com/tag.php?goal=66a8605e6cce49fbb8056f273f8e1a2e&tag=
```

また、以下も確認できます [コンバージョントラッキング](/advertisers/ja/konbjontorakkingu/konbjontorakkingu.md) ページで、Goal作成プロセスの詳細を確認してください。

## ステップ2：CakeのダッシュボードにPostback URLを追加する

A **Postback URL** は、キャンペーンでコンバージョンが発生したときに当社のサーバーへ通知するURLです。このURLをCakeに保存し、ユーザーがコンバージョンを生成するたびにExoClickのサーバーへ通知するように設定する必要があります。

CakeでPostback URLを追加する方法は2つあります。1つは **Offer設定** または **グローバルPostback** としてアカウントに設定します。

Offer設定内のPostback URLはそのOfferにのみ適用されますが、グローバルPostbackはすべてのOfferに適用されます。

### 特定Offer用Postback URL

特定のOfferにExoClickのPostback URLを追加するには、次の手順に従ってください：

{% stepper %}
{% step %}
Cakeダッシュボードにログインし
{% endstep %}

{% step %}
次をクリック **「Offers」**、次にPostbackを追加したいOfferを選択します。
{% endstep %}

{% step %}
次をクリック **「Test\&Tracking」**、次に **Postback URL** ExoClickで作成したものを追加します。
{% endstep %}

{% step %}
Postback URLの末尾に **#s2##s3##s4##s5#**&#x3092;追加します。これでPostback URLは次のようになります：

```json
http://s.magsrv.com/tag.php?goal=66a8605e6cce49fbb8056f273f8e1a2e&tag=#s2##s3##s4##s5#
```

**注**： **動的** をExoClickでゴール設定時に選択した場合は、 **\&value=#price#** もPostback URLの末尾に追加して、コンバージョンの価値を渡す必要があります。この場合、Postback URLは次のようになります：

```json
http://s.magsrv.com/tag.php?goal=66a8605e6cce49fbb8056f273f8e1a2e&tag=#s2##s3##s4##s5#&value=#price#
```

<figure><img src="/files/d6cdb9973c5b9e510bfa6cc2e5f4e9630a2450d1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
変更を保存するには「Save」をクリックします。
{% endstep %}
{% endstepper %}

### グローバルPostback URL

**注:** グローバルPostbackはアカウントで利用できない場合があります。Cakeのアカウントマネージャーに確認してください。

ExoClickのPostback URLをグローバルPostbackとして追加するには、次の手順に従ってください：

{% stepper %}
{% step %}
次の **「Set Up」** タブ > **「Settings」** > **「Tracking Settings」**

<figure><img src="/files/d00224bbdf820e7ea13df267a541b3d7e388f9fe" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
「Global Pixels & Postbacks」までスクロールし、ExoClickで作成したPostback URLを追加します
{% endstep %}

{% step %}
Postback URLの末尾に **#s2##s3##s4##s5#を追加します**。これでグローバルPostbackは次のようになります：

```json
http://s.magsrv.com/tag.php?goal=66a8605e6cce49fbb8056f273f8e1a2e&tag=#s2##s3##s4##s5#
```

**注:** もし **動的** をExoClickでゴール設定時に選択した場合は、 **\&value=#price#** もPostback URLの末尾に追加して、コンバージョンの価値を渡す必要があります。この場合、Postback URLは次のようになります：

```json
http://s.magsrv.com/tag.php?goal=66a8605e6cce49fbb8056f273f8e1a2e&tag=#s2##s3##s4##s5#&value=#price#
```

<figure><img src="/files/df013e698493b39faa8b39ec4ded428ca51b82bb" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
変更を保存してください。
{% endstep %}
{% endstepper %}

**注:** CAKEのプラットフォームでは、異なるトラッキング値を保存するために4つのサブID（s2、s3、s4、s5）を利用できますが、各サブIDの上限は **100文字です**。ExoClickのコンバージョントラッキング文字列は **140〜500文字**を含むため、CakeはExoClickのトラッキング文字列の文字をCAKEのサブID内に自動的に順次分配します。

## ステップ3：コンバージョントラッキングマクロをOfferリンクに追加する

へ移動し **「Offers」**、 **Offer ID** で宣伝したいものをクリックし、次に **「Get Link」** をクリックして **Offerリンク**

例:

```json
http://mypage.com/?a=14030&c=64375&=s1
```

<figure><img src="/files/9c8cc86dfa7ffcd645b5791e1fac7fffbd3b5776" alt=""><figcaption></figcaption></figure>

コンバージョンをトラッキングするには、 **s1** パラメータを **s2** に変更し、 **「={conversions\_tracking}」** をOfferリンクの末尾に追加する必要があります。以下のようになります：

```json
http://mypage.com/?a=14030&c=64375&s2={conversions_tracking}
```

このURLをExoClickでの **バリエーション** として使用します。 **追加のパラメータを加えないようにしてください** 。追加すると、Postback URLのコンバージョントラッキング文字列が壊れる可能性があります。

なお、 **{conversions\_tracking}** のみがコンバージョンのトラッキングに必要です。

## ステップ4：ExoClickでキャンペーンを設定する

前の手順で作成した **Offerリンク** を **「Variation」** としてExoClickキャンペーンに貼り付けます：

<figure><img src="/files/74fca83e2c1453ad224bbce07f1cd625573fd4f5" alt=""><figcaption></figcaption></figure>

キャンペーン設定を完了します。 **ExoClickでキャンペーンを作成する方法の詳細ガイド** [**こちら**](/advertisers/ja/kyanpn/kyanpnno/create-campaign-step1.md).

設定が正しく完了していれば、CakeとExoClickの両方でコンバージョンが表示され始めます。対応するGoal列を有効にするのを忘れないでください。 [キャンペーン一覧](/advertisers/ja/kyanpn/campaigns-list.md) と [統計](/advertisers/ja/advertiser-statistics.md)

Cakeでコンバージョントラッキングを設定する方法についてさらにサポートが必要な場合は、遠慮なく [Cakeサポート](https://support.getcake.com/support/tickets/new)。また、以下にも連絡できます [ExoClickのカスタマーサクセス](https://www.exoclick.com/contact/) これらの手順を確認するために。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.exoclick.com/advertisers/ja/konbjontorakkingu/torakkingumanyuaru/cake-tracking.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
