Adding the Facebook pixel to your store

Last updated

The Facebook pixel is a piece of code from Facebook that you can add to your website or online store to retarget, optimize, and track the effectiveness of your Facebook advertising campaigns.

Using the Facebook pixel can be a bit challenging, but we try to make it simple. With Ecwid, you can install the Facebook pixel to your store without touching any code and run ad campaigns right away.

The Facebook pixel integration is available on Ecwid paid plans. Upgrade to get this feature

Before you start

If you haven't done so already, go to Facebook and sign up for a Facebook account. You can also read the Facebook setup instructions and FAQ about the Facebook pixel.

Remove the old Facebook pixel code from your store

Adding a Facebook pixel account ID to your Ecwid store when you have a pixel code already embedded could result in duplicated or partial data.

To make sure a pixel isn't already installed, check the Tracking code on "Thank you for your order" section in Ecwid Control Panel → Settings → General → Cart & Checkout.

Ecwid_Control_Panel_2017-07-24_12-55-24.png

Create the Facebook pixel

To create the Facebook pixel:

  1. Go to your Facebook pixel tab in Ads Manager and click Create a Pixel.
  2. Enter a name for your pixel. You can have only one pixel per ad account, so choose a name that represents your business.
  3. Check the box to accept the terms.
  4. Click Create Pixel.
  5. On the next screen, click Copy and Paste the Code.

Screen_Shot_2017-07-18_at_18.14.14.png

6. Copy the pixel code, paste it into a .doc or .txt file, select your Pixel ID, and copy it.

Pixel_ID.jpg

Add the Facebook pixel ID to your Ecwid store

Now you can easily add your Facebook pixel to your Ecwid store. Go to your Ecwid Сontrol Panel → Settings → General → Tracking & Analytics and paste your Facebook pixel ID there. Save the changes.

fb_px.png

The installed pixel will support the most of standard events automatically:

  • ViewContent: a product or a category page is viewed
  • Search: a product search query is made
  • AddToCart: a product is added to the shopping cart (a click on the "Add to cart" button)
  • InitiateCheckout: a person enters the checkout flow (a click on the "Checkout" button)
  • AddPaymentInfo: a person is halfway through the checkout flow (payment information is saved)
  • Purchase: an order is is completed (landing on the "Thank you for your order" page)

Connecting the Facebook pixel to Facebook shop

Upon importing the product catalog from Ecwid, you may want to associate your Facebook Pixel with this catalog.

By default, the imported product catalog is attached to Ecwid as its Business Manager. This only allows the account owner or partner access to the Catalog data feed and editing features. Under these settings, you must use the Ads Manager page to connect the pixel.

  1. Go to your Facebook Ads Manager or Power Editor and select Catalogue Sales:

Select Catalog sales in Facebook Ads manager

  1. Select the Facebook Product catalog you want to use and click Set up Ad Account:

Click Set up ad account

  1. In the Ad Account setup, click Continue to see the settings page.
  2. Select your audience.
  3. Click Associate pixel
  4. In the pop-up select the pixel and click Save:

pixel__1_.png

  1. That's it! Your pixel is now linked to your product catalog.

Check the Facebook pixel status

To verify that your Facebook pixel is working, run through the following steps:

  1. Navigate to your store to get the pixel triggered.
  2. Go back to the Pixels tab in Facebook Ad Manager and check your pixel’s status. The green light means it’s active.

Facebook pixel status

It may take up to twenty minutes to activate your pixel.

All your Facebook pixel activity will be displayed in your Ads Manager profile as a graph showing how many times the pixel was triggered. Below are the tabs with the stats for the pixel events.

pasted_image_0__2_.png

To make advertising more effective, you can also add your products to Facebook Product Catalog.
Back to top
Has the article answered your question?

Awesome! Thanks for your feedback!

Please send us that question. We will be happy to help by email.

Send a message