> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/message-links-explained.md).

# メッセージリンクの解説

<a href="https://pxa.impact.com/student/activity/2359755?sid=0c0e3e5c-54c9-4435-9bee-ebcdccb7f292&#x26;sid_i=0?utm_source=app.impact.com&#x26;utm_medium=owned-platform&#x26;utm_content=&#x26;utm_campaign=help-center" class="button primary">PXAコースを受講する</a>

メッセージリンクを使用すると、顧客アドボケイトは、あらかじめフォーマットされたメッセージをさまざまなソーシャルメディアプラットフォームで共有できます。各メッセージには事前に作成した文面が含まれ、アドボケイト固有の共有リンクを含めることもできます。メッセージリンクは以下に含めることができます:

* プログラムウィジェット
* トランザクションメール
* 埋め込みリンクまたはボタンとして、アプリやウェブサイトに
* 外部のメールキャンペーン

<details>

<summary>メッセージリンクの内容を調整</summary>

1. 左側のナビゲーションメニューで、 ![](/files/7ddd72d8e69e7055d9408cf4847c5c54abf9f71d) **\[Engage] → プログラムルール**.
2. 〜の上で *プログラムルール* 画面で、次の項目を選択し **共有** タブ。
3. 〜を使用している場合、 *ホスト型の* Open Graphソースを使用している場合は、次を更新します **タイトル**, **説明**、および **画像** がエンドユーザーに表示されます。
4. 〜で *追加の共有媒体* セクションで、メッセージを設定したい関連する共有媒体をすべて選択し、メッセージを入力します *共有本文* セクション。

   <div data-with-frame="true"><figure><img src="/files/ab4dea7797cd18ae99379ae02a13d0827cb2eea7" alt="" width="563"><figcaption></figcaption></figure></div>
5. 選択 **共有メッセージを保存** してコンテンツを保存します。

これで、メッセージリンクを紹介プログラムのウィジェットやトランザクションメールに含めたり、ウェブサイト、アプリ、メールキャンペーンのほかの場所に埋め込んだりできます。

</details>

<details>

<summary>プログラムの接点にメッセージリンクを追加する</summary>

コンテンツエディターでは、メッセージリンクを次の場所に追加できます: [プログラムウィジェット](/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-experiences/customize-program-widgets.md) および [トランザクションメール](/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/email-experiences/create-and-customize-advocate-program-emails.md) 追加設定は最小限で済み、必要なのはプログラムIDのみです。ほかの場所にメッセージリンクを挿入する場合は、以下の形式に従うリンクを埋め込めます。

```programlisting
https://app.referralsaasquatch.com/a/ 
{tenant_alias}/message/redirect/{share_medium}
?engagementMedium={engagement_medium}&accountId= 
{accountId}&userId={userId}&programId=
{program_ID}&rsLandingPage= {rsLandingPage}
```

中かっこ内の情報 **{ }** は、サポートされているパラメーター値のいずれかに置き換える必要があります。

{% hint style="info" %}
**注:** その `accountId` および `userId` 値は、プログラムデータから動的に入力する必要があります。データの取り込みでお困りの場合は、開発チームにご相談ください。
{% endhint %}

| パラメーター               | 例                                    | 説明                                                                                                                                                                                                                                                                                                                         |
| -------------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `tenant_alias`       | `test_bpinhag9gag`                   | <p>プログラムのテナントエイリアスです。テナントエイリアスを確認するには:</p><p>1. 上部ナビゲーションバーから、次を選択します <img src="/files/173ecabf39fd91e83f3ac16fba44d8e9c845708d" alt=""> <strong>\[ユーザープロフィール] → \[設定]</strong>.</p><p>2. 左側の <em>Advocate 設定</em>、選択します <strong>一般</strong>.</p>                                                                          |
| `share_medium`       | `WHATSAPP`                           | <p>アドボケイトがこの紹介を共有する媒体。</p><p>サポートされている値:</p><p>• <code>EMAIL</code></p><p>• <code>FACEBOOK</code></p><p>• <code>FBMESSENGER</code></p><p>• <code>LINEMESSENGER</code></p><p>• <code>LINKEDIN</code></p><p>• <code>PINTEREST</code></p><p>• <code>SMS</code></p><p>• <code>TWITTER</code></p><p>• <code>WHATSAPP</code></p> |
| `engagement_medium`  | `EMBED`                              | <p>アドボケイトが紹介プログラムに参加する媒体（例: 埋め込みウィジェット）。</p><p>サポートされている値:</p><p>• <code>EMAIL</code></p><p>• <code>EMBED</code></p><p>• <code>MOBILE</code></p><p>• <code>POPUP</code></p>                                                                                                                                                |
| `accountId`          | \[メールアドレスに基づくハッシュID]                 | このメッセージリンクを作成しているアカウントIDです。ほとんどの参加者では、ユーザーIDとアカウントIDの値は同じです。                                                                                                                                                                                                                                                               |
| `userId`             | \[メールアドレスに基づくハッシュID]                 | このメッセージリンクを作成しているユーザーIDです。ほとんどの参加者では、ユーザーIDとアカウントIDの値は同じです。                                                                                                                                                                                                                                                                |
| `programId`          | `21789`                              | プログラムIDです。 **プログラムルール** プログラム名の下のページで確認できます。                                                                                                                                                                                                                                                                               |
| `rsLandingPage` （任意） | `https://example.com/driver-program` | <p>プログラムのランディングページを上書きして、生成される共有リンクを別のURLにリダイレクトします。</p><p>サポートされているのは、プログラムのランディングページURL内の異なるパスのみです。セキュリティ上の理由により、リダイレクト先を別のドメインにすることはできません。</p>                                                                                                                                                                          |

{% hint style="info" %}
**例：** 上記の形式を使用すると、ユーザーIDとアカウントIDを持つ参加者のメッセージリンクURLは次のようになります `messageLink` impact.comデモプログラムの `klip-referral-program`。このリンクはメールで提供され、参加者がモバイルリンクを通じて共有できるようになります。

```programlisting
https://app.referralsaasquatch.com/a/test_aut32av0b11uc
/message/redirect/EMAIL?engagementMedium=
MOBILE&accountId=messageLink&userId=
messageLink&programId=klip-referral-program
```

{% endhint %}

</details>


---

# 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://help.impact.com/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/message-links-explained.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.
