> For the complete documentation index, see [llms.txt](https://support.quizkitapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.quizkitapp.com/building-a-quiz/integrations/analytics-and-tracking/meta-pixel-facebook-pixel.md). Agents can also search and read this documentation through its [MCP server](https://support.quizkitapp.com/~gitbook/mcp).

# Meta Pixel (Facebook Pixel)

Learn about the Meta (Facebook) Pixel and how you can use it to track different actions on your quiz.

You can add your own Meta (Facebook) Pixel events to track different customer actions taken during your quiz, like quiz starts, completions, subscribes, and product added to cart events.

## In this section

* [Before you begin](#before-you-begin)
* [Connecting Quiz Kit to the Meta (Facebook) Pixel](#connecting-quiz-kit-to-the-meta-facebook-pixel)
* [Creating custom events](#creating-custom-events)

## Before you begin

Before you begin, you need to ensure you've enabled the Meta integration for your store, and have connected your tracking pixel.

You can learn more about [how to set up the integration](https://help.shopify.com/en/manual/promoting-marketing/analyze-marketing/meta-pixel).

***

## Connecting Quiz Kit to the Meta (Facebook) Pixel

**Steps:**

1. From the Quiz Kit dashboard, click **Integrations**.
2. On the **Analytics & Tracking** tab, go to **Facebook Pixel.**
3. Click **Enable**.

***

## Creating custom events

**Steps:**

1. From the quiz builder, click **Settings**.
2. Click **Tracking**.
3. On the **Facebook Pixel** tab, enter any custom event names for tracking information that you want.
4. Click **Save**.

Once setup is complete, events are tracked by the Facebook Pixel.&#x20;

{% hint style="success" %}
**Tip**:

You can test that the pixel is tracking accurately by installing [Meta's Pixel Helper](https://developers.facebook.com/docs/meta-pixel/support/pixel-helper/).
{% endhint %}


---

# 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://support.quizkitapp.com/building-a-quiz/integrations/analytics-and-tracking/meta-pixel-facebook-pixel.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.
