> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.adnabu.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 如何設置Nabu:Meta和Facebook像素

## 配置您的 Facebook Pixel 以獲得最佳追蹤效果的逐步指南。

### 使用 Facebook 帳戶設置

1. 登入您的 Facebook 帳戶

使用包含您想追蹤的 Pixels 的商業帳戶登入 Facebook。

![](https://storage.crisp.chat/users/helpdesk/website/-/e/b/1/4/eb146ac45ce84800/image_m0i8x8.png =800x471)

2. 選擇您的 Pixels。從下拉選單中選擇商業帳戶和 Pixel。如果您沒有 Pixel,請使用 Nabu 的 "**Create Pixel**" 功能。確保您已在事件管理器中接受 Pixel 條款和條件。如果未選擇 Pixel 條款和條件,您可能會遇到錯誤。

![](https://storage.crisp.chat/users/helpdesk/website/73e9f622a55eb00/54df4952-9b02-49e8-ad86-7b19e5_enz3g0.png =800x470)

3. 添加 Conversion API Token(可選)。
輸入您的 Conversion API token 以進行伺服器端追蹤。這可確保在 iOS 14+ 設備上進行準確追蹤。使用 "Visit Event Manager" 按鈕快速訪問事件管理器。

![](https://storage.crisp.chat/users/helpdesk/website/f2263e5b5ff25000/eccc1a3c-8eb3-4c7c-9876-7a6da4_uzzc0q.png =800x468)

4. 啟用 App Embed Block(必須)。
啟用嵌入塊以實現無縫追蹤。點擊 "Go to theme",開啟應用嵌入並保存設置。選擇 "App embed block is enabled" 並點擊下一步。

![](https://storage.crisp.chat/users/helpdesk/website/de7960a6cbf87800/fd1061fe-9307-4c94-9136-b84420_1988pcd.png =800x580)

5. 選擇要追蹤的事件
選擇您想監控的事件。目前我們支持以下事件:Page View、View Content、Add to Cart、View Cart、Initiate Checkout、Add Payment Info、Purchase 和 Search。選擇事件後點擊 "Done",您的設置完成,Pixel 已準備好在您的 Shopify 商店中進行追蹤。

![](https://storage.crisp.chat/users/helpdesk/website/-/e/b/1/4/eb146ac45ce84800/image_1gbzpds.png =800x530)

### 手動設置

如果您無法訪問 Facebook 帳戶,您可以手動添加您的 Pixel:

1. 選擇 "Manually Add Pixel"。輸入所需的 Pixel 名稱和 ID 以進行追蹤。您可以選擇任何符合您追蹤需求的名稱。

![](https://storage.crisp.chat/users/helpdesk/website/97847826b8f46800/a882db92-0256-4438-b2bd-abb890_1o858cx.png =800x513)

2. 添加 Conversion API Token(可選)
輸入您的 Conversion API token 以增強追蹤。使用 "Visit Event Manager" 按鈕獲取 token。

3. 啟用 App Embed Block(必須)
開啟嵌入塊以實現無縫追蹤。

4. 選擇要追蹤的事件並點擊 "Done"。您的設置完成,Pixel 已準備好在您的 Shopify 商店中進行追蹤。
