---
title: Add Facebook Pixel
description: Add your Facebook Pixel to your Razorpay Webstore to track payments and conversions from your Facebook advertisements.
---

# Add Facebook Pixel

You can add your Facebook Pixel to your Webstore to track payments and conversions from your Facebook advertisements.

**Available Tracking Metrics**

Metrics | Description
---
Page Views | When a customer lands on your Webstore. This is the default metric to track page visits.
---
Add to Cart | When a customer clicks on an add-to-cart button. 
---
Initiate Checkout | When a customer clicks on a checkout button.
---
Purchase | When a customer finishes the purchase or checkout flow and lands post-payment success page. 

## Prerequisites
[Create a Facebook Pixel](https://www.facebook.com/business/help/952192354843755?id=1205376682832142&recommended_by=1700857106877546).

## Add Facebook Pixel to Your Webstore

To add Facebook Pixel to your Webstore:
1. Navigate to your Webstore in the edit mode.
2. Click **Page Settings**.
3. Go to **Plugins and Add-ons** and click **Configure**.
    
4. Add the details:
    1. **Facebook Pixel ID**: Enter the Facebook Pixel ID.
    2. Select the metrics you want to track from the following:
        - Page Views
        - Initiate Payment
        - Add to Cart
        - Payment Complete
    
5. Click **Save**.

### Related Information
- [Add Facebook Pixel to your payment success page](https://razorpay.com/docs/build/llm-docs/payments/webstore/plugins-add-ons/fb-payment-success.md)
- [Add Google Analytics Tracking ID](https://razorpay.com/docs/build/llm-docs/payments/webstore/plugins-add-ons/google-analytics.md)
