---
title: "Add The Meta (Facebook) Pixel To Joomla  - Tassos Code Snippets"
description: "You're running Facebook ads but can't track which visitors actually convert on your Joomla website. You need to see whether people who click your ads"
url: "https://www.tassos.gr/docs/tassos-code-snippets/howto/analytics-tracking/meta-pixel"
date: "2026-04-05T16:23:27+00:00"
language: "en-GB"
---

[ Home ](https://www.tassos.gr/index.php?option=com_content&view=category&layout=blog&id=24&Itemid=1088) / [ Tassos Code Snippets ](https://www.tassos.gr/index.php?option=com_content&view=category&id=120) / [ How-to Guides ](https://www.tassos.gr/index.php?option=com_content&view=category&id=125) / [ Analytics &amp; Tracking ](https://www.tassos.gr/index.php?option=com_content&view=category&id=140)

#  Add The Meta (Facebook) Pixel To Joomla

You're running Facebook ads but can't track which visitors actually convert on your Joomla website. You need to see whether people who click your ads actually buy, sign up, or take other action. Without proper tracking, you're flying blind with your ad spend. Setting up Facebook Pixel in Joomla might seem complex if you're not a developer. Hopefully, you don't need an extra plugin. You can easily add Facebook Pixel to Joomla using Tassos Code Snippets.

## [Get the Meta Pixel Base Code](#get-the-meta-pixel-base-code)

Before you can install the Pixel, you will need your Pixel's base code, which you can find in the [Ads Manager → Events Manager](https://developers.facebook.com/micro_site/url/?click_from_context_menu=true&country=GR&destination=https%3A%2F%2Fbusiness.facebook.com%2Fevents_manager&event_type=click&last_nav_impression_id=15BwJ796Br43NVnyt&max_percent_page_viewed=43&max_viewport_height_px=1235&max_viewport_width_px=2560&orig_http_referrer=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fmeta-pixel%2Fget-started%2F&orig_request_uri=https%3A%2F%2Fdevelopers.facebook.com%2Fajax%2Fdocs%2Fnav%2F%3Flocale%3Den_US%26path1%3Dmeta-pixel%26path2%3Dget-started%26qpl_event_join_key%3DAnBy37fYYRHcLMtTUvRub6Q_LEGACY_DEV_DOC_PAGE_LOAD&region=emea&scrolled=true&session_id=15oAYyNb7yvRs7pJO&site=developers). If you have not created a Pixel, [follow these instructions](https://developers.facebook.com/micro_site/url/?click_from_context_menu=true&country=GR&destination=https%3A%2F%2Fwww.facebook.com%2Fbusiness%2Fhelp%2F952192354843755&event_type=click&last_nav_impression_id=15BwJ796Br43NVnyt&max_percent_page_viewed=43&max_viewport_height_px=1235&max_viewport_width_px=2560&orig_http_referrer=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fmeta-pixel%2Fget-started%2F&orig_request_uri=https%3A%2F%2Fdevelopers.facebook.com%2Fajax%2Fdocs%2Fnav%2F%3Flocale%3Den_US%26path1%3Dmeta-pixel%26path2%3Dget-started%26qpl_event_join_key%3DAnBy37fYYRHcLMtTUvRub6Q_LEGACY_DEV_DOC_PAGE_LOAD&region=emea&scrolled=true&session_id=15oAYyNb7yvRs7pJO&site=developers) to create one. All you will need is the Pixel's base code, which contains your Pixel's ID in two places and looks like this:

 ```
<!-- Facebook Pixel Code -->
<script>
  !function(f,b,e,v,n,t,s)
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
  n.queue=[];t=b.createElement(e);t.async=!0;
  t.src=v;s=b.getElementsByTagName(e)[0];
  s.parentNode.insertBefore(t,s)}(window, document,'script',
  'https://connect.facebook.net/en_US/fbevents.js');
  fbq('init', '{your-pixel-id-goes-here}');
  fbq('track', 'PageView');
</script>
<noscript>
  <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->
```

## [Install the Meta Pixel in Joomla](#install-the-meta-pixel-in-joomla)

The Meta Pixel is a piece of code you add to the header section on every page of your Joomla website. To install it, follow the steps below:

1. Install [Tassos Code Snippets](https://www.tassos.gr/docs/tassos-code-snippets/getting-started/how-to-install) if it is not installed already.
2. Go to the Joomla Administrator.
3. Open Components → Tassos Code Snippets.
4. Click **New**.
5. Give your snippet a descriptive title, such as "Meta Pixel Tracking".
6. Select **HTML** snippet type.
7. Paste the Pixel code you copied from Facebook Events Manager.
8. Select Site Header as the **Insertion Method**.
9. Publish the snippet.

## [Verify the Meta Pixel Works](#verify-the-meta-pixel-works)

Once you have added it to your website, load a page that has the Pixel to track a PageView event in the Events Manager. Next, verify that this event was tracked by going to your Events Manager. Locate your Pixel and click its details — if you see a new PageView event, you have successfully installed the Pixel. If you do not see it, wait a few minutes and refresh the page. If your Pixel is still not working, use [Pixel Helper](https://developers.facebook.com/docs/meta-pixel/get-started/#pixel-helper) to diagnose the problem.

 Last updated on Mar 25th 2026 13:03

## Schema

```json
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://www.tassos.gr"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Home",
            "item": "https://www.tassos.gr/docs"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Tassos Code Snippets",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "How-to Guides",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets/howto"
        },
        {
            "@type": "ListItem",
            "position": 5,
            "name": "Analytics & Tracking",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets/howto/analytics-tracking"
        },
        {
            "@type": "ListItem",
            "position": 6,
            "name": "Add The Meta (Facebook) Pixel To Joomla",
            "item": "https://www.tassos.gr/docs/tassos-code-snippets/howto/analytics-tracking/meta-pixel"
        }
    ]
}
```

```json
{
    "@context": "https://schema.org",
    "@type": "Article",
    "mainEntityOfPage": {
        "@type": "WebPage",
        "@id": "https://www.tassos.gr/docs/tassos-code-snippets/howto/analytics-tracking/meta-pixel"
    },
    "headline": "Add The Meta (Facebook) Pixel To Joomla",
    "image": {
        "@type": "ImageObject",
        "url": "https://www.tassos.gr/"
    },
    "publisher": {
        "@type": "Organization",
        "name": "Tassos",
        "logo": {
            "@type": "ImageObject",
            "url": "https://www.tassos.gr/https://www.tassos.gr/media/brand/logo-text.png"
        }
    },
    "author": {
        "@type": "Person",
        "name": "Tassos Marinos",
        "url": "https://www.tassos.gr/docs/tassos-code-snippets/howto/analytics-tracking/meta-pixel"
    },
    "datePublished": "2026-03-25T09:08:26+02:00",
    "dateCreated": "2026-03-25T09:08:26+02:00",
    "dateModified": "2026-03-25T13:55:04+02:00"
}
```
