Recently, we’ve had a lot of requests to fire a tracking or conversion pixel for Facebook or Bing. You can fire a pixel for every call using a webhook, or you can fire a pixel for a set of tracking numbers using a voice menu.

Before we setup a webhook or voice menu, we need to find the URL that the webhook or voice menu will GET. (When you fire a pixel, you are actually GETting the pixel.)

The URL for Facebook will be the “src” attribute within the <noscript> section of the code Facebook gives you for the ad.

<noscript><img height="1" width="1" alt="" style="display:none" src="[value]=10.00&cd[currency]=USD&noscript=1"/></noscript>

In this case, the URL we would use for Facebook would be[value]=10.00&cd[currency]=USD&noscript=1

Bing will have a similar <noscript> portion of their code:

<noscript><img src="//" height="0" width="0" style="display:none; visibility:hidden;"/></noscript>

We would use this //, but you will need to add “https:” in front of the “//” making it

Now that we have the URL for the pixel, we can setup a webhook or voice menu.

To setup a webhook to fire a pixel, navigate to Settings > Account Settings > Advanced Settings > Webhooks ( and click the “New Webhook” button in the upper right. In the Weburl input box, paste the URL from your ad.

You can leave the position of the “When should your webhook be sent” section at the default of “end.”

In the “Webhook Request Options” section, set the “Request Body Type” to “pixel” and the “HTTP Request Method” to “GET,” and click the “Save” button at the bottom.

With the webhook created, the pixel will be fired for EVERY call received by the account (i.e. every call that appears in the call log.)

If you do not want to fire a pixel for every call (because every call did not come from Facebook or Bing or whatever), then we need to setup a voice menu that will fire the pixel and then continue processing the call normally. You can assign one or more tracking numbers to use this pixel firing voice menu. Therefore, if you have a pool of numbers for Facebook, you could assign them all to the voice menu, and any calls for the Facebook tracking number will fire the pixel.

To setup a new voice menu, navigate to Numbers > Voice Menus ( and click the “New Menu” button in the upper right.

In the “Menu Setup” section, give your voice menu a name like “Facebook Pixel” or “Bing Pixel.” Leave the “Voice Prompt” empty and click the “Quick Voice Mail Setup” button in the bottom right of that section. That will add a voice menu option (that we will change) and also adjust the settings in the  “Input Handling” section in order for the call to continue quickly after firing the pixel.

Scroll down to the “Menu Options” section and you will see the option that was created for keypress 1 and is also the default option. The “Take Action” will be set to “Leave Message.” Change it to “Fire Pixel” and put your URL in the “Fire a pixel.” input box. Put a 2 in the “Continue with keypress” input box, and click the “Add Menu Option” at the bottom of the section. The new option should default to be for keypress 2. Now change the “Take Action” button to however you want the call processing to continue and fill in the appropriate options. Click the “Save & Edit” button at the bottom of the section.

Now, you can click the “Edit Assigned Tracking Numbers” in the “Tracking Numbers” section to assign the tracking numbers that should use this voice menu to fire the pixel. Make sure and click the “Save & Edit” button again to save your tracking numbers to the voice menu.

Now, calls to the assigned tracking numbers will be processed by the voice menu which will fire the pixel and handle the call as you setup in the second option. The timing impact of firing a pixel using the voice menu should be minimal.