> 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>アドボケート設定</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です。ほとんどの参加者では、user ID と account ID の値は同じです。                                                                                                                                                                                                                                                           |
| `userId`             | \[メールアドレスに基づくハッシュ化ID]                | このメッセージリンクの対象となるユーザーIDです。ほとんどの参加者では、user ID と account ID の値は同じです。                                                                                                                                                                                                                                                            |
| `programId`          | `21789`                              | プログラムIDです。次の場所で確認できます: **プログラムルール** プログラム名の下のページ。                                                                                                                                                                                                                                                                            |
| `rsLandingPage` （任意） | `https://example.com/driver-program` | <p>プログラムのランディングページを上書きして、生成される共有リンクを別のURLにリダイレクトします。</p><p>サポートされているのは、プログラムのランディングページURL上の異なるパスのみです。セキュリティ上の理由により、リダイレクト先を別ドメインにすることはできません。</p>                                                                                                                                                                             |

{% hint style="info" %}
**例：** 上記の形式を使用すると、user ID と account 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.
