> 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) **\[エンゲージ] → プログラムルール**.
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>

コンテンツエディターでは、次の場所にメッセージリンクを追加できます。 [プログラムウィジェット](https://help.impact.com/brand/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-experiences/customize-program-widgets.md) および [トランザクションメール](https://help.impact.com/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>アドボケイト設定</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 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.
