AI TARGETOLOG

Meta Pixel

How to connect Meta Pixel to your website

Find a Pixel, select it in AI TARGETOLOG, install the events, and verify the result.

Do you need a Pixel?

Pixel helps Meta see actions on your website. Connect it when a lead or payment happens on your site.

If you do not have a website, or only a CRM or manager records sales, you can continue without a Pixel.

Find or create a Pixel

Open Events Manager
  1. In Events Manager, choose Connect data → Web → Create.
  2. Give it a clear company or website name.
  3. Meta may call the source a Dataset. Its numeric Dataset ID is the Pixel ID you will use next.

Select the Pixel in AI TARGETOLOG

  1. Open Settings → Connection → Meta Pixel.
  2. Refresh the list and select the Pixel you found.
  3. A green status will appear beside the Pixel after it is saved.
Go to Pixel selection →

Install the Pixel on your website

Send this step to your developer or website builder. The code on this page does not run automatically.

Place the base code in <head> on every page to send PageView. Send Lead after a successful form and Purchase only after confirmed payment with the exact order amount and currency.
Base code and PageView
<!-- Meta Pixel base 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');
  fbq('track', 'PageView');
</script>
<noscript>
  <img height="1" width="1" style="display:none"
    src="https://www.facebook.com/tr?id=YOUR_PIXEL_ID&ev=PageView&noscript=1"
    alt=""
  />
</noscript>
Lead event
fbq("track", "Lead");
Purchase event
fbq("track", "Purchase", {
  value: ORDER_TOTAL,
  currency: "UAH"
});

Verify the events

  1. Open Events Manager → Test Events.
  2. Open your website in a new window.
  3. Submit a test lead.
  4. If possible, run a safe test payment.
  5. Confirm that PageView, Lead, and Purchase appear.
  6. Return to Pixel Health and run the check again.
Return to Meta Pixel →
How to connect Meta Pixel to your website — AI TARGETOLOG