> 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. 選択してください **共有メッセージを保存** コンテンツを保存します。

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

</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
