> 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/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-experiences/shopify-post-checkout-widget.md). Agents can also search and read this documentation through its [MCP server](https://help.impact.com/~gitbook/mcp).

# Shopify 结账后组件

推荐通常来自流量较高的结账后页面，因此这些页面是推广推荐计划的理想位置。Shopify 结账后小组件可让您在客户购买后立即与其互动，从而增加推荐量。借助 Shopify 的可扩展性框架，该小组件能提供流畅且符合品牌形象的体验，最大限度地提升计划成效。

如果您的计划未显示在此处，您可能会错失宝贵的互动机会，并落后于已经利用这些位置的竞争对手。

#### 什么是 Shopify 结账后小组件？

我们的结账后小组件利用 **Shopify Checkout Extensibility** 在结账后页面上放置符合品牌形象的推荐号召性用语 (CTA)。它与广受欢迎的 [即时访问小组件](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-experiences/set-up-an-instant-access-widget.md) 类似，并支持：

* 嵌入式显示
* 弹出式模态窗口显示

两个版本都包含两种主要的小组件状态：

* 收集电子邮件 / 识别用户
* 包含推荐详情的分享页面

#### 主要功能

Shopify 结账后小组件旨在最大限度地提升推荐互动。它采用两步流程：首先，如果用户尚未登录，小组件会收集其电子邮件地址以识别用户；随后显示个性化推荐链接或代码，以及分享按钮。对于已登录 Shopify 的用户，将完全跳过电子邮件步骤，带来更流畅的体验。

小组件支持嵌入式和弹出式两种显示方式，您可以选择最适合商店布局和客户体验的形式。它与您的推荐计划无缝衔接，可创建或更新参与者档案，并获取所需的推荐数据，例如分享链接、推荐代码和社交分享选项。最多可显示 3 个分享按钮，支持电子邮件、Facebook、WhatsApp、Messenger、LinkedIn、X（原 Twitter）和短信等平台。

自定义是此小组件的一项核心功能。您可以针对每个步骤调整内容，包括标题、副标题、CTA 按钮和分享消息。您还可以在小组件顶部添加图片，以进一步体现品牌形象。重要的是，所有这些设置都可以在 Shopify 页面编辑器中配置，无需离开 Shopify 后台即可轻松调整。

此外，该小组件旨在沿用您网站的品牌样式，因此无需手动配置颜色或字体。这可确保其外观和风格与商店其他部分保持一致。

#### 将小组件添加到您的网站

要将 Advocate 小组件添加到 Shopify 商店，请执行以下操作：

1. 前往 *主题编辑器*.
2. 选择屏幕顶部的 **页面导航器** ，然后选择 **结账和客户账户**.
3. 对 *感谢* 页面重复上述步骤。
4. 在主区域中，选择 **添加区块**，然后在 impact.com 集成部分中选择 **Advocate 推荐小组件** 。

#### 小组件流程

小组件体验旨在通过两个简单步骤引导用户完成操作。

{% stepper %}
{% step %}

#### **第 1 步：**

系统会提示客户输入姓名和电子邮件地址；如果客户已登录 Shopify，则会自动跳过此步骤。收集到用户信息后，系统会将其作为新参与者加入您的计划，或者在其已加入计划的情况下更新其资料。

<div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-061bb6690e6b6dfa4a077b1ec06087f561906dac%2F571f95c03ce48a5309bb35fa3dfb1dd9f52648a8250997c9c024c97d40539df8.png?alt=media" alt="" width="484"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

#### **第 2 步：**

系统会向客户显示其推荐详情。根据计划配置，这些详情包括唯一推荐链接或推荐代码。小组件还会显示最多 3 个分享按钮；您也可以在推荐信息上方添加简短消息，鼓励客户分享并强调计划的优势。

<div data-with-frame="true"><figure><img src="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-6a0f04d21deba06ba46938c9470f105773008db9%2F4629f5cdc1fb6845cb83f3e4a6b50b677072e4915ce88d4aa69726630b9c96bb.png?alt=media" alt="" width="492"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}

**自定义选项**

您可以配置所有视觉内容，以体现品牌风格。为方便使用，这些自定义选项可直接在 **Shopify 页面编辑器** 中进行设置。

| 自定义项       | 可编辑部分                                                                                                                                                                                                                                                                                                                   |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 小组件的两种状态共用 | <p>• 图片 URL（可选）</p><p>• 标题（必填）</p><p>• 副标题（可选）</p><p>• 条款与条件链接（可选）</p>                                                                                                                                                                                                                                                  |
| 弹出窗口专属选项   | • CTA 按钮标签（例如“立即开始”）                                                                                                                                                                                                                                                                                                    |
| 邮箱收集选项     | <p>• “开始推荐”按钮 CTA</p><p>• 姓名字段（可选）</p>                                                                                                                                                                                                                                                                                  |
| 分享信息选项     | <p>• 链接上方的自定义文本</p><p>• 最多选择 3 种分享按钮方式：</p><p>• 电子邮件</p><p>• 短信</p><p>• Facebook</p><p>• Facebook Messenger</p><p>• WhatsApp</p><p>• LinkedIn</p><p>• X（Twitter）</p><p>• 直接链接</p><p>• 电子邮件</p><p>• 短信</p><p>• Facebook</p><p>• Facebook Messenger</p><p>• WhatsApp</p><p>• LinkedIn</p><p>• X（Twitter）</p><p>• 直接链接</p> |


---

# 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/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/widget-experiences/shopify-post-checkout-widget.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.
