---
updatedAt: 2025-12-08T15:12:37.000Z
---

# Add event pixels manually

Add event pixels manually to your web pages

# Overview

The recommended flow for setting up event pixels is via [Google Tag Manager ](https://developers.taboola.com/pixel/docs/add-event-pixels-in-gtm)(or our [Shopify App](https://developers.taboola.com/pixel/docs/conversion-tracking-for-shopify), if you are using Shopify).

If Google Tag Manager does not fit your needs, you can use the manual method described below.

> 👍
>
> This flow requires custom development.

# Realize setup

## Edit an existing conversion

If you already created a conversion in **Realize**, open it and copy the relevant code snippet:

1. Open <a href="https://ads.realizeperformance.com/tracking" target="_blank">Realize</a>, and select the account (*top, left*) that you will use to track conversions.
2. In the sidebar (*left*), select `Tracking`.
3. Click on the `Edit` icon for the relevant event-based conversion rule.
4. Scroll down to the **`Event Code`** section.  Mouse over the code snippet and click on `COPY TO CLIPBOARD`.
5. Keep **Realize** open and continue with the **Web page setup** [below](#web-page-setup).

## Create an event-based conversion

If you have not yet created a conversion in **Realize**, create it now, and copy the relevant code snippet:

> 📘
>
> The instructions below illustrate the steps for setting up a **registration event**.
>
> Other conversions - e.g. a **purchase event** - require slightly different steps.
>
> ***
>
> For additional guidelines, see the <a href="https://help.taboola.com/hc/en-us/articles/360003484314-Defining-and-Creating-Conversions" target="_blank">Help Center</a>.

1. Open <a href="https://ads.realizeperformance.com/tracking" target="_blank">Realize</a>, and select the account (*top, left*) that you will use to track conversions.
2. In the sidebar (*left*), select `Tracking`.
3. Click on `+ New Conversion` (*far right*).
   > Select `Create conversions using code` and click `Continue`.
4. Type in a `Conversion Name` of your choice - e.g. `Complete Registration`.
   > This is a descriptive name for your convenience. It need not match any value in **GTM**.
5. For `Conversion Type`, select `EVENT`:

   ![](https://files.readme.io/5f13e3507036a532e31d31a0edc75535996be4f8391738dbb59470b0549bbffd-image.png)
6. If relevant, fill in a `Fixed Value`.
   > **Tip**: If the event includes a dynamic value - e.g. a purchase event - leave this field blank. For additional guidelines, see the <a href="https://help.taboola.com/hc/en-us/articles/360003484314-Defining-and-Creating-Conversions" target="_blank">Help Center</a>.
7. Select the relevant `Category` - e.g. `Complete Registration`.
8. Confirm that the `Event Name` is `complete_registration`.
   > 🚧
   >
   > Your web page must refer to the `Event Name`, *exactly* as entered here.\
   > Otherwise, **Taboola** will not be able to receive events passed by your web page.
9. (*Optional*) If desired, edit the following fields:
   1. `Click Through Conversion Window`
   2. `View Through Conversion Window`
10. (*Optional*) If relevant, clear the `Include in total conversions` checkbox.
    > **Tip**:  Always include the most important conversions, so that the **Taboola** algorithm will optimize towards them. For additional guidelines, see the <a href="https://help.taboola.com/hc/en-us/articles/360003484314-Defining-and-Creating-Conversions" target="_blank">Help Center</a>.
11. (*Optional*) If relevant, clear the `Include in total value` checkbox.
12. (*Optional*) If desired, edit the following fields:
    1. `Audience Properties`
    2. `Aggregation Type`
13. Under  the **`Event Code`** section:
    1. (*Optional*) If relevant, select 1 or more `dynamic parameters`.
       > Note how the code snippet updates accordingly.\
       > For detailed guidelines, see: [Track dynamic conversion values](https://developers.taboola.com/pixel/docs/track-dynamic-values)
    2. Mouse over the code snippet and click on `COPY TO CLIPBOARD`.
14. Review your chosen settings, and click on **`Create`** (*bottom, right*):

    ![](https://files.readme.io/fa269a77ee497993379a201ca8816e4adccba89378d05b21619087e2462ca812-image.png)
15. Keep **Realize** open and continue with the **Web page setup** below.

# Web page setup

For each event in your conversion funnel, fire the relevant event pixel:

```html Event pixel
<script>
    _tfa.push({
        notify: 'event',
        name: '<event_name>',
        id: <account_id>
    });
</script>
```

> 📘 Params
>
> * Replace `<event_name>` with the `Event Name`, *exactly* as it appears in **Realize**.
> * Replace `<account_id>` with your *numeric* **Taboola** Account ID.
>
> ***
>
> To copy a *prefilled* code snippet from **Realize**, refer to the **Realize setup** section ([*above*](#realize-setup)).
>
> For additional tips and techniques, see below.

# What's next?

Well done! You have added an *event* pixel!

Next, you should [verify](https://developers.taboola.com/pixel/docs/verification-overview) that everything is running smoothly.

# Tips & techniques

## Send an email with *prefilled* code snippets

To send an email with *prefilled* code snippets for *all* your conversions in **Realize**:

1. Open <a href="https://ads.realizeperformance.com/tracking" target="_blank">Realize</a>, and select the account (*top, left*) that you will use to track conversions.
2. In the sidebar (*left*), select `Tracking`.
3. Click on `Account Tracking Setup` (*top, right*):

   ![](https://files.readme.io/75ed47f71d7e83a8ed10a7bf8006a9046165d3cb612a1a3fd57439a6c5128380-image.png)
4. Select `Manually` as the `Setup Method`, and click on `Continue`.
5. Scroll down to the **`Email instructions`** section.
6. Click on the **`Select Email Address`** button.
7. Fill in the relevant email address and click `SEND`.
8. Once you are done, click `CLOSE`.

## Obtain your Account ID

To obtain your *numeric* **Taboola** Account ID:

1. Open **Realize**, and select the account (*top, left*) that you are using to track conversions.

   <Callout icon="🚧" theme="warn">
     Make sure to select the **Taboola** account that you are using to track conversions.

     ***

     **Network Pixel:**

     For **network-level conversions**, you must create conversions under your **Network Account** in **Realize** (_top, left_).

     Note that **all sub-accounts** in your network can use the conversion rules and audiences created at the network level.

     Learn more: [Network-level conversions](https://developers.taboola.com/pixel/docs/network-pixel)
   </Callout>
2. In the sidebar (*left*), select <a href="https://ads.realizeperformance.com/tracking" target="_blank">`Tracking`</a>.
3. Copy the numeric `Account ID` on the screen (*top, left*):

   <Image align="center" border={true} src="https://files.readme.io/db26a703f9ff5ac23a9fe20ef891f7830cd91ca237b3ed7c8348bcb7e8dc0792-image.png" className="border" />