> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goautofire.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta Pixel & Conversions API

> Connect your Meta pixel so your website reports visits, vehicle views, and leads to your Facebook and Instagram ads

Add your Meta pixel to your dealer website and Meta can see what shoppers do there. That lets you measure your Facebook and Instagram ads, build audiences from your website visitors, and run catalog ads that show shoppers the vehicles they looked at.

You do not paste any code. You add two values in your dashboard, and your website reports the events below on its own.

## What you need

* A Meta Business account with a **pixel** (Meta also calls it a **dataset**) in [Meta Events Manager](https://business.facebook.com/events_manager)
* Your **Pixel ID** (also shown as **Dataset ID**), a number that is usually 15 or 16 digits long
* A **Conversions API access token**. This is optional, but we recommend it.

## Set it up

**1. Copy your Pixel ID**

In Meta Events Manager, open **Data sources** and pick your pixel. Copy the ID shown under its name.

**2. Generate an access token**

With your pixel open, go to **Settings**. In the **Conversions API** section, under **Set up manually**, choose **Generate access token** and copy the token. Copy it before you leave the page. If you do not see the link, ask the admin of your Meta Business account: Meta shows it only to people with developer access to the business.

**3. Save both in AutoFire**

In your dashboard, open **Website → SEO & Analytics**. Under **Meta Pixel**, paste your **Pixel ID** and your **Conversions API access token**, then choose **Save Meta Pixel**.

**4. Check that events arrive**

Open your dealer website and view a vehicle. In Events Manager, open your pixel and choose **Test events**, or wait for the **Overview** tab to update. Browser events show within seconds. Server events can take up to 20 minutes to show in Overview.

Your pixel turns on within about a minute of saving. To turn it off, clear the **Pixel ID** and save.

> [!NOTE]
>
> Only owners and admins can change these settings. Your access token is stored encrypted and is never shown again. To replace it, paste a new one. To stop server events, choose **Remove access token**.

## What your website reports

| When a shopper… | Event sent to Meta | Details sent with it |
| - | - | - |
| Opens any page | `PageView` | The page address |
| Opens a vehicle page | `ViewContent` | The vehicle: VIN, make, model, year, price, new or used, and your ZIP code |
| Searches your inventory | `Search` | What they typed |
| Saves a vehicle (the heart button) | `AddToWishlist` | The vehicle |
| Taps your phone number or email link | `Contact` | Phone or email, and the vehicle if they were on a vehicle page |
| Sends an inquiry, a trade-in request, or a chat contact form | `Lead` | The form type, and the vehicle they asked about |
| Requests a test drive | `Lead` and `Schedule` | The vehicle they asked about |

A test drive request counts as both a `Lead` and a `Schedule`, so you can aim your ads at either one.

### Pixel and Conversions API together

With only a Pixel ID, events are sent from the shopper's browser. Ad blockers and some browsers stop many of those.

With an access token too, your website sends each event a second time from our servers. Both copies carry the same event ID, so Meta counts each event once. This is the setup Meta recommends.

### Catalog ads

If you send your inventory to Meta with the [Facebook Automotive feed](https://docs.goautofire.com/dealer-guide/distribution.md), connect the same pixel to that catalog in Meta Commerce Manager under **Events**. Vehicle events use the VIN as the vehicle ID, which matches the `vehicle_id` in your feed, so Meta can match what a shopper viewed to the vehicle in your catalog.

## What is not sent

* A shopper's name, email address, phone number, or message. Leads reach you in your dashboard and by email, not through Meta.
* Anything from a visitor outside the United States. Your website does not load the pixel or send server events for those visitors.
* Anything from a visitor whose browser sends a **Global Privacy Control** signal. The same applies.

Meta does receive the shopper's IP address, browser type, and Meta's own cookie IDs with each event. Meta uses those to match the event to a person.

> [!WARNING]
>
> Keep **Automatic Advanced Matching** turned off for this pixel in Meta Events Manager (your pixel's **Settings**). When it is on, Meta's own script reads the forms on your website and sends Meta a scrambled copy of the shopper's email, phone, and name. Your website's Privacy Notice tells shoppers that does not happen.

## Your Privacy Notice

While a Pixel ID is saved, the Privacy Notice on your website adds a short section that tells shoppers you use Meta's advertising tools and what Meta receives. It is removed when you clear the Pixel ID.

You are responsible for the notices and choices your state requires for advertising cookies. If your notice needs to say something different, email [privacy@goautofire.com](mailto:privacy@goautofire.com).

## Troubleshooting

| Problem | What to check |
| - | - |
| No events in Events Manager | Check the Pixel ID for a typo. Turn off any ad blocker in the browser you are testing with. Test from inside the United States, without a VPN set to another country. |
| Browser events show, server events do not | Generate a new access token in Events Manager and save it again. A token works only for the pixel it was made for. |
| "Meta did not accept that access token" | The token was copied wrong or was deleted in Meta. Generate a new one. |
| Events show twice | You may also have the pixel installed another way, such as through a tag manager. Use one method. |
| `Lead` events are missing but page views arrive | Meta limits some events for pixels it places in a restricted category, such as financial services. In Events Manager, open your pixel's **Settings** and check its data source category. You can ask Meta to review it there. |
| Catalog ads cannot match vehicles | Make sure the pixel is connected to your catalog in Commerce Manager and that your Facebook Automotive feed is active. |

> [!NOTE]
>
> AutoFire sends the events. It does not create or manage your ads. Your campaigns, audiences, and ad spend stay in your Meta account.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.