> 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. 左側のナビゲーションメニューで、 ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → プログラムルール**.
2. 上の *プログラムルール* 画面で、次の **共有** タブ。
3. 〜を使用している場合 *ホスト型の* Open Graphソースを使用している場合は、次を更新してください： **タイトル**, **説明**、および **画像** エンドユーザーに表示されます。
4. の中で *追加の共有媒体* セクションで、メッセージを設定したい関連する共有媒体をすべて選択し、メッセージを次の欄に入力してください： *共有本文* セクション。

   <div data-with-frame="true"><figure><img src="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F8RQe6UXQs1fTTb7ijE4n%2FScreenshot%202026-05-19%20at%2009.21.21.png?alt=media&amp;token=7078d3ab-d86c-4b02-90fe-5f6fc50f8b15" 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="https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2F210dEQa93qyQgoJDkieL%2FUser%20profile.svg?alt=media&amp;token=f84c5b17-fae4-4a30-990a-9de5e57a150b" 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です。ほとんどの参加者では、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.
