# Facebook Meta Pixel

## General Information

The Facebook Meta Pixel is an analytics tool used to track actions taken by website visitors and measure the effectiveness of advertising. Technically, the Facebook Meta Pixel is a JavaScript code snippet.

## Configuration of Facebook

### Creating the Facebook Meta Pixel

* To start creating your Facebook Meta Pixel, open the [Meta Events Manager](https://www.facebook.com/events_manager) in Facebook.
* Create your Facebook Meta Pixel by following the steps in the guide below:

{% embed url="<https://de-de.facebook.com/business/help/952192354843755?id=1205376682832142>" %}

### Integrating the pixel into your website

To integrate the pixel into your website, follow the steps in the second section of the same guide:

{% embed url="<https://de-de.facebook.com/business/help/952192354843755?id=1205376682832142>" %}

## Configuration of Payrexx

To integrate Facebook’s tracking pixel into Payrexx, please follow these steps:

1. Log in to your Payrexx account.
2. In the main menu, navigate to **Settings > General Settings**.
3. Scroll down to the "Analytics" section and click "Edit":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FrJAXMsCCLbYSeoySuq05%2Fimage.png?alt=media&#x26;token=a88a14ff-fe66-4f82-b8e9-6340753000b7" alt=""><figcaption><p>Creating an analytics integration in Payrexx</p></figcaption></figure></div>

A new window will open, containing the following two tabs:

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FXfZg5cjYAQ3jfmIivccU%2Fimage.png?alt=media&#x26;token=4ce92ece-7a1b-47dd-a75d-10f436703c4d" alt="" width="563"><figcaption><p>Choosing between website and checkout tracking</p></figcaption></figure></div>

#### Website tracking and analytics feeds

If the Facebook Pixel ID is entered in this tab, the website tracking code will be loaded on every page view in order to analyze user behavior accordingly.

#### Checkout tracking

If the Facebook Pixel ID is entered in this tab, the tracking code will only be triggered after successful transactions. This allows for tracking completed purchases. The amount and currency can also be tracked, and will be included with each successful order.

To enter the Facebook Pixel ID, simply paste it into the "Facebook Pixel ID" field in the desired tab and click "Save":

<div align="left"><figure><img src="https://1455115231-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYJhU4qriZCz_Wxs0T0-887967055%2Fuploads%2FILfZL8Q9LEN9Ouh5oMfx%2Fimage.png?alt=media&#x26;token=ef4cac0a-e14e-44ae-8950-90b6c8854861" alt=""><figcaption><p>Storing the Facebook pixel ID in Payrexx</p></figcaption></figure></div>

{% hint style="info" %}
Payrexx transmits the following values to Facebook: Transaction ID, instance name, total amount, and currency.
{% endhint %}
