> For the complete documentation index, see [llms.txt](https://docs.avada.io/cookie-help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avada.io/cookie-help-center/integrations/integrate-with-meta-pixel.md).

# Integrate with Meta Pixel

Hello there! We're thrilled to guide you through the process of integrating with Meta Pixel. This integration allows you to customize how Facebook and Instagram track your visitors based on their consent status. Don't worry, we'll walk you through each step, making it as easy as possible. Let's get started!

### Step 1: Setting Up for Integration[​](https://help.avada.app/cookie/how-to-integrate-with-meta-pixel/#step-1-setting-up-for-integration) <a href="#step-1-setting-up-for-integration" id="step-1-setting-up-for-integration"></a>

First things first, we need to set up your Meta Pixel script. Here's how you can do it:

1. Please copy your Meta Pixel script. You can follow the instructions [here](https://developers.facebook.com/docs/meta-pixel/get-started/#base-code) to get that code. You can use script or Meta Pixel IDs (multiple Meta Pixel IDs, separated by commas)
2. Next, paste it into the input field.
3. Finally, don't forget to hit the 'Save' button.

{% hint style="info" %}
**Skip adding Meta Pixel that already load from your theme.liquid**
{% endhint %}

Here are some images to guide you through the process:

<figure><img src="/files/iuC6m7xGQnkeSLBNoOxy" alt=""><figcaption><p>Meta Pixel Script</p></figcaption></figure>

<figure><img src="/files/E3qraB5sZmGsdWs3BkGF" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/iVKFLCaaw6oV9mwyGWZt" alt=""><figcaption><p>Set up integration</p></figcaption></figure>

### Step 2: Integrating with Meta Pixel[​](https://help.avada.app/cookie/how-to-integrate-with-meta-pixel/#step-2-integrating-with-meta-pixel) <a href="#step-2-integrating-with-meta-pixel" id="step-2-integrating-with-meta-pixel"></a>

Next, paste it into the input field. We only need the content between \<script> and \</script>, you should delete other lines. For [example](https://prnt.sc/N0_mx_ZXdGxJ)

Please click on 'Turn On' to start the integration process with Meta Pixel.

Here's an image to help you find the 'Turn On' button:

<figure><img src="/files/6MqHFtBJvijsjpHwve8X" alt=""><figcaption></figcaption></figure>

Once you've successfully integrated, you can choose to 'Turn Off' the integration with Meta Pixel at any time.

That's it! You've successfully integrated with Meta Pixel. If you have any questions or need further assistance, don't hesitate to reach out. We're here to help!


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avada.io/cookie-help-center/integrations/integrate-with-meta-pixel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
