> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://socialhead.crisp.help/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).

# Get Started with Facebook in OnePixel

Articles on: [OnePixel](/en/category/onepixel-1lr293q/)

**Connect your Facebook Pixel to OnePixel for effortless tracking and enhanced ad performance.**

Setting up Facebook Pixel can be time-consuming and confusing, especially if you're not sure where to start. With **OnePixel**, integrating Facebook Pixel into your Shopify store becomes quick and hassle-free. This article will guide you step-by-step on how to connect your Facebook Pixel using two methods: **auto input** and **manual input**, and how to start tracking customer activity for better ad targeting and performance.

### Table of Contents

1. [What is Facebook Pixel and Why Use It?](#1-1-what-is-facebook-pixel-and-why-use-it)
2. [Prerequisites Before Setup](#1-2-prerequisites-before-setup)
3. [Method 1: Auto Input Pixel 'Recommended'](#1-3-method-1-auto-input-pixel-recommend)
* [Steps to Set Up](#3-steps)
4. [Method 2: Manual Input Pixel](#1-4method-2-manual-input-pixel)
* [Steps to Set Up](#3-steps)
5. [Verifying Your Pixel Installation](#1-5-verifying-your-pixel-installation)
6. [Viewing Event Data in Analytics](#1-6-viewing-event-data-in-analytics-auto-input-only)

# 1. What is Facebook Pixel and Why Use It?

**Facebook Pixel** is a piece of code that tracks visitor actions on your website and sends that data to **Facebook Event Manager**. This allows you to:

* Optimize ad targeting
* Measure campaign effectiveness
* Retarget visitors with personalized ads

**Events Tracked by Facebook Pixel** (automatically enabled in OnePixel):

* Page view
* View content
* Add to cart
* Initiate checkout
* Purchase
* Search
* View category
* View cart
* Add payment info (via [Conversion API only](https://help.onecommerce.io/en/article/how-to-enable-conversion-api-for-facebook-pixel-hb9ss3/))

For the AddpaymentInfo event, it is only available for the Conversion API. Please refer to [this article](https://help.onecommerce.io/en/article/how-to-enable-conversion-api-for-facebook-pixel-hb9ss3/) to enable Conversion API for Facebook pixel  

# 2. Prerequisites Before Setup

Before you start, make sure you have:

* A **Facebook account** connected to **Facebook Business Manager**
* A **Shopify store** with **Owner account permissions**

# 3. Method 1: Auto Input Pixel ( Recommend)
  
This method allows the system to automatically insert and manage your Facebook Pixel. Ideal for users who want a quick and error-free setup.

### Steps

1. **Login** to the correct Facebook account that manages the Pixel(s) you want to connect.
    
2. **Hover over the Facebook platform** in the OnePixel app, then click **Auto input pixel**.
    
    ![](https://storage.crisp.chat/users/helpdesk/website/5a2f5f69f8cdac00/a4eaaa94-e2dc-4325-bd86-029fb1_16ykr8d.jpeg)
    
3. In the Facebook modal, **choose your Facebook account**.

* You can change this later under **Settings**.
        
4. **Select your Business Manager account** from the connected Facebook account.

* ⚠️ *If you don't have a Business Manager account, you won't be able to use all app features.*

    ![](https://storage.crisp.chat/users/helpdesk/website/2366d6197fa5b000/4bd9b4b4-63b9-4147-b7bf-52ebac_24xxa0.png)
    
5. **Choose the Pixel** you want to set as your **Main Pixel**.

* This Pixel will be installed on **all pages** of your Shopify store.
        
6. Click **Finish** to complete setup.
    
    ![](https://storage.crisp.chat/users/helpdesk/website/b4b142e07c7aa000/cd3c16fb-93ed-4d48-ae73-70caf8_fg2803.png)

> ✅ The app will automatically insert your Pixel across the **entire website** by default.

# 4.Method 2 : Manual Input Pixel

Use this method if you prefer manual setup or don’t want to link your Facebook account directly.  
**Note:** This method **does not support** syncing event data with the **Analytics tab** in OnePixel.

### Steps

1. Go to the **Facebook platform** section in OnePixel.
    
2. Fill in the required fields:

* **Pixel name**
        
* **Facebook Pixel ID**
        
* **Target** (choose one):
        
* **Entire page**: Insert Pixel into all pages.

* **Collection**: Pixel tracks only products in selected collections.

* **Tag**: Pixel tracks products with a specific tag.

    ![](https://storage.crisp.chat/users/helpdesk/website/97f0cca374adb800/bcb8642b-a6e0-4f0a-aed7-6206af_1tb42ql.png)
    
3. Click **Save** to complete the process.

> ✅ Your Pixel is now live and tracking events on your selected pages.

# 5. Verifying Your Pixel Installation

To check if your Pixel is installed correctly:

* Use the **Facebook Pixel Helper** Chrome extension.
    Download it from the [Chrome Web Store](https://chromewebstore.google.com/detail/meta-pixel-helper/fdgfkebogiimcoedlicjlajpkdmockpc)
    
    ![](https://storage.crisp.chat/users/helpdesk/website/953f08830cd02800/3598528f-c702-4067-82d1-d040be_zoi1ym.png)
# 6. Viewing Event Data in Analytics (Auto Input Only)

If you used the **Auto input method**, OnePixel will pull event data from your Facebook Event Manager and display it in the **Analytics** tab.

![](https://storage.crisp.chat/users/helpdesk/website/8045e40866a2a000/4fc32bee-0bfd-4485-a16a-5054ac_datprs.png)

> ⚠️ *Event data may have a 24-hour delay due to Facebook's processing time.*
--- 
**Final Notes & Tips**

For full functionality, we highly recommend using the **Auto input method**.

If you're running **Conversion API** events (like AddPaymentInfo), make sure to follow this guide to enable it properly.
---

🚀 You're All Set!
With your Facebook Pixel now connected to OnePixel, you can start tracking valuable customer actions and improve your ad performance effortlessly. Whether you're running remarketing ads or analyzing purchase funnels, this integration gives you powerful insights to grow your store smarter.

If you have any further questions  don't hesitate to contact us via in-app live chat or email at [support@socialhead.io](mailto:support@socialhead.io).