# Facebook Pixel (beta)

{% embed url="<https://www.youtube.com/watch?v=xr3s6fFe-kI&t=2s&ab_channel=Botb%C3%A1nh%C3%A0ng>" %}

## Chức năng

Gắn Pixel vào kịch bản để đo lường lượng khách tương tác với các kịch bản, ngoài ra cũng có thể phục vụ việc tạo Đối tượng tuỳ chỉnh sau này khi tệp đủ lớn (Chính là Pixel của Facebook nhưng đo lường qua Kịch bản).

![](/files/-MMtUB8TPJalQEDIrSGo)

## Cài đặt

* Tại kịch bản chọn hành động Pixel Facebook (beta).

![Tại kịch bản chọn Pixel Facebook (Beta)](/files/-MMtUYex0nS41oxvF6kb)

* Điền các thông tin theo yêu cầu và điền tên Sự kiện theo Pixel để Đo lường khi kịch bản được kích hoạt.

![](/files/-MMtWF7CxZDv9x2nCSF5)

Ghi chú:

1. Điền Pixel ID.
2. Điền Pixel Token, có thế tham khảo cách lấy Pixel Token tại [*đây*](https://developers.facebook.com/docs/marketing-api/conversions-api/get-started?locale=vi_VN#via-events-manager).
3. Điền Tên sự kiện theo các Sự kiện của Google Pixel sao cho phù hợp với nhu cầu Sử dụng.

\=> Lưu để Hoàn tất cài đặt.


---

# Agent Instructions: 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:

```
GET https://docs.botbanhang.vn/xay-dung-chatbot-voi-bot-ban-hang/kich-ban/facebook-pixel-beta.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
