> For the complete documentation index, see [llms.txt](https://manual.dxable.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.dxable.com/optimizely/platform/optimizely-data-platform/campaign-recipes/order-receipt.md).

# 注文受付

### 注文受付 <a href="#gjdgxs" id="gjdgxs"></a>

注記

2023 年 4 月より前にキャンペーンにアクセスしていた場合、Optimizely によってタブ名が**CampaignsからActivation**に更新されました。 すべての機能は同じままです。

Order Receipt キャンペーンは個々の顧客を関与させ、顧客が開始したトランザクションまたはプロセスを完了します。

### 例 <a href="#id-30j0zll" id="id-30j0zll"></a>

顧客は購入するとき、あなたが正しく請求し、商品を届けてくれることを信頼します。 取引の明確かつタイムリーな記録を顧客に提供することで、その信頼が強化されます。

注記

[プラットフォーム アドオンである](https://www.zaius.com/packages/)トランザクション メールが必要です。 この機能に興味がある場合は、詳細についてカスタマー サクセス マネージャーにお問い合わせください。

### キャンペーンを設定する <a href="#id-1fob9te" id="id-1fob9te"></a>

[すぐに使える e コマース統合](https://app.zaius.com/?#/integrations)のいずれかを使用している場合は、注文受領キャンペーンとその関連コンテンツを[レシピとともに生成できます](https://support.optimizely.com/hc/en-us/articles/4407774939789-Order-receipt#h_a4fbcfc5-6431-4c3a-81d3-253220949c8e)。 すぐに使えるソリューションを利用していない場合は、注文受付キャンペーンを[最初から作成する必要があります](https://support.optimizely.com/hc/en-us/articles/4407774939789-Order-receipt#h_3527754a-3dc1-4dce-92ff-a788a89184d4)。

### レシピを使用する <a href="#id-3znysh7" id="id-3znysh7"></a>

1. **\[アクティベーション] > \[エンゲージ] > \[新しいキャンペーンの作成]**&#x306B;移動します。
2. **\[トランザクション]**&#x3092;選択します。
3. 互換性のあるサードパーティ アプリと統合されている場合は、**注文受領書**を選択します。
4. キャンペーンの**登録**設定と**タッチポイントを構成します**。 デザイン、コンテンツ、送信者プロファイルなどのタッチポイントをカスタマイズする必要があります。
5. 変更を**保存し、準備ができたらライブに移行します**。

### ゼロから作成する <a href="#id-2et92p0" id="id-2et92p0"></a>

注文受付キャンペーンは、注文イベントの後に開始されるイベントトリガーのキャンペーンです。 すべてのアカウントには、デフォルトで**注文受領トリガーフィルター**が必要です。ただし、利用できない場合は手動で作成できます。

1. **三点アイコン**をクリックします。
2. **\[フィルター] > \[新しいフィルターの作成]**&#x3092;選択します。
3. フィルターの名前を指定します。
4. 必要なイベントベースのルールを追加します。 Optimizely Data Platform (ODP) レシピで使用されるデフォルトのフィルターを以下で確認できます。![](/files/jBv2j1z0asBH60mXKIFC)
5. **「保存」**&#x3092;クリックします。

フィルターが使用可能になったら、注文受付キャンペーンを最初から作成します。

1. **\[アクティベーション] > \[エンゲージ] > \[新しいキャンペーンの作成]**&#x306B;移動します。
2. **トランザクション**を選択します。
3. **\[登録]**&#x3067;、 **\[注文受領書]**&#x30D5;ィルターを選択します。![Enrollment\_triggers.png](/files/juIPGcuwNuhTb3bQ6OKs)
4. 既存のタッチポイントをクリックしてキャンペーンのコンテンツを作成します。 ブランドのヘッダーとフッターを含めます。![Add\_header\_and\_footer.gif](/files/YmdEcHBaQ3gW6MuNmYGr)
5. 電子メール本文に動的グリッドを追加します。 **\[液体に変換]**&#x3092;選択し、変数として**itemを入力し、**&#x914D;列参照として**order\_data.items を入力します。** グリッドの配置後に、グリッドのレイアウトをカスタマイズできます。![Dynamic\_grid\_example.gif](/files/j72aQYUCrGdYZnBNvggx)
6. 以下に概説する Liquid パーソナライゼーション タグを含めます。 これらの要素には、追加の顧客情報と注文情報が入力されます。

注記

*Custom Liquid*というラベルの付いたアイテムでは、**タグ**を選択する必要があります **アイコン**の後&#x306B;**「液体に変換」をクリックします**。 さらに、Liquid の例は[標準のイベント フィールドを参照しています](https://support.optimizely.com/hc/article_attachments/4407774945549/Sample_Event_Order_Data_Field_Values)。 カスタム フィールドを参照している場合は、それに応じて更新する必要があります。 Liquid テンプレート言語の活用に関する追加情報は、[ここで参照できます](https://shopify.github.io/liquid/)。

![Order\_components\_tagged.png](/files/fwbgfZrTur9yy4LfPefM)

| #  | 目的                 | Liquid                                                                                                                  |
| -- | ------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| 1  | 注文名が含まれます。         | {{ order\_data.order\_name }}                                                                                           |
| 2  | お客様のお名前が入ります。      | N/A - A default *First Name* [customer tag](https://support.optimizely.com/hc/en-us/articles/4407268754957).            |
| 3  | 動的なグリッドに製品が表示されます。 | Placement is reviewed above.                                                                                            |
| 4  | 商品画像も含まれます。        | {{ item.product.image\_url }} as the URL.                                                                               |
| 5  | 商品名が入ります。          | {{ item.product.name }}                                                                                                 |
| 6  | 商品価格を含みます。         | {% if item.item\_subtotal != blank %}${{ '%0.2f' \| format: item.item\_subtotal }}{% else %}{% endif %}                 |
| 7  | 注文小計が含まれます。        | {% if order\_data.order\_subtotal != blank %}${{ '%0.2f' \| format: order\_data.order\_subtotal }}{% else %}{% endif %} |
| 8  | 該当する送料が含まれます。      | {% if order\_data.order\_shipping != blank %}${{ '%0.2f' \| format: order\_data.order\_shipping }}{% else %}{% endif %} |
| 9  | 適用される割引が含まれます。     | {% if order\_data.order\_discount != blank %}${{ '%0.2f' \| format: order\_data.order\_discount }}{% else %}{% endif %} |
| 10 | 適用される税金が含まれます。     | {% if order\_data.order\_tax != blank %}${{ '%0.2f' \| format: order\_data.order\_tax }}{% else %}{% endif %}           |
| 11 | 注文合計が含まれます。        | {% if order\_data.order\_total != blank %}${{ '%0.2f' \| format: order\_data.order\_total }}{% else %}{% endif %}       |

**「変数」セクション**を見つけます。 **order\_var**という名前の変数を追加し、**{% assign order\_data = event.event\_order\_data | unescape | json\_parse %}**&#x3092;関連付けられた値として使用します。

![Order\_variable.png](/files/ufzNTIpRSWyYDUy4zoEr)

1. **「保存」**&#x3092;クリックします。
2. キャンペーンを[プレビューしてテストし、期待どおりであることを確認します。](https://support.optimizely.com/hc/en-us/articles/4407774939789-Order-receipt#h_20295d29-6f4f-4f13-b58e-ba7d6febac7c)
3. キャンペーンの準備ができたら[ライブを開始します。](https://support.optimizely.com/hc/en-us/articles/4407774939789-Order-receipt#h_cf1351a8-7fff-4875-a339-28db86a1ef46)

### キャンペーンをプレビューしてテストする <a href="#tyjcwt" id="tyjcwt"></a>

プレビュー機能を使用すると画面上でタッチポイントを確認でき、テスト機能を使用するとタッチポイント チャネルを通じてテストを送信できます。 両方のオプションをエディター内で表示できます。

![Preview\_\_\_Test.png](/files/OxshXFuJzVUhGwoufW1F)

### ライブに移行 <a href="#id-3dy6vkm" id="id-3dy6vkm"></a>

1. パンくずメニューからキャンペーンの名前を選択します。
2. **\[保存]**&#x3092;クリックして、すべてのタッチポイントが最新であることを確認します。
3. **\[ライブ配信]**&#x3092;クリックします。

![](/files/gsUPz4CI9Qi2AraRwmcS)

* [サンプルイベントオーダーデータフィールド](https://support.optimizely.com/hc/en-us/article_attachments/4407774945549)値 833 バイト


---

# 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://manual.dxable.com/optimizely/platform/optimizely-data-platform/campaign-recipes/order-receipt.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.
