Skip to main content

How to Add a Facebook (Meta) Pixel to a Website

This article explains how to track Meta (Facebook) Pixel events on a Kyrios website using the built-in Events tab and, when required, page-level tracking code.

Updated over 2 months ago

What You Need Before You Start

  • A Meta Business Manager account

  • A Meta Pixel ID

  • (Optional) A Meta Conversion API access token

  • A published Kyrios website

How Website-Level Meta Tracking Works

Kyrios provides native Meta Pixel tracking through the Events tab.

This method:

  • Automatically loads the Meta Pixel base script

  • Supports Meta Conversion API

  • Prevents duplicate events

  • Is the recommended setup for most websites

Open Your Website

  1. Go to Sites > Websites.

  2. Select the website you want to track.

What this image shows:
The Websites list, where you select a website to manage.

Open the Events Tab

  1. Inside the website, click the Events tab.

What this image shows:
The Events tab inside a website with no events added yet.

Add a Meta Pixel Event

  1. Click Add Event.

  2. Enter your Pixel ID.

  3. Choose a Tracking Level:

    • Website – tracks events across all pages

    • Page(s) – tracks events only on selected pages

  4. Choose whether to send event data via the Meta Conversion API.

  5. If enabled, paste your Access Token.

  6. Select the event(s) to capture (example: On pageview).

  7. Click Save.

What this image shows:
The Add Event modal shows Pixel ID, tracking level, Conversion API, and event selection.

Confirm Your Event Is Active

After saving, the event appears in the Events table.

The table displays:

  • Pixel ID

  • Tracking level

  • Events being tracked

What this image shows:
A successfully added Meta Pixel event is listed in the Events table.

When to Use Page-Level Event Code (Advanced)

Use page-level tracking only if:

  • You need a custom Meta event not available in the Events tab

  • You want to fire an event on a specific interaction

  • Meta support instructs you to add a custom event

Do not manually add the Meta Pixel base code if you are using the Events tab.

Add Meta Event Code to a Specific Website Page

  1. Open the website page where the event occurs.

  2. Click Edit.

  3. Click the Tracking Code icon.

  4. Open Footer Tracking.

  5. Paste only the event code.

  6. Click Save.

What this image shows:
The Tracking Code modal with Footer Tracking selected for adding event-only code.

<script>

fbq('track', 'Lead');

</script>

Important:
This works only if the Meta Pixel base script is already loaded (which the Events tab handles automatically).

Common Issues and Fixes

Duplicate Events in Meta

Cause:
Meta base Pixel code added manually, and Events tab enabled.

Fix:
Remove all manually added base Pixel scripts.

Events Not Appearing in Meta

Cause:
Incorrect Pixel ID or Access Token.

Fix:
Verify both values in Meta Events Manager and re-save the event.

Conversion API Not Working

Cause:
Expired or invalid access token.

Fix:
Generate a new token in Meta and update the event.

FAQ

What is the Meta (Facebook) Pixel?

The Meta Pixel tracks visitor actions on your website and sends them to Meta for ad optimization and reporting.

Do I need to paste the Meta Pixel base code manually?

No. Kyrios automatically loads the base Pixel when you use the Events tab.

Can I track multiple events or Pixel IDs?

Yes. You can add multiple Pixel IDs and events to the same website.

What is the difference between Pixel and Conversion API?

The Pixel uses browser-based tracking. Conversion API sends events server-side. Using both provides the most accurate data.

How do I verify my Pixel is working?

Use Meta Events Manager or the Meta Pixel Helper browser extension.

Did this answer your question?