How to track Facebook Pixel events on WooCommerce

By 01/05/2016 June 1st, 2019 69 Comments
2 min read
Setting up the new Facebook Pixel for WooCommerce is easy as pie.
  1. Download and install our forever free plugin
  2. Add your Facebook Pixel ID
  3. You’re all set!
We also struggled setting up the new Facebook Pixels on our WooCommerce sites. We had to build our own solution, so we decided to make it available to everyone for free. This is how Facebook Pixel for WooCommerce born. There are no hidden fees, no monthly fees, this plugin is forever free, all features included.

Imporant: In 2016, Facebook will retire the old Facebook pixel, so this free plugin will be inevitable!

Activate the WooCommerce Facebook Pixel

  1. Click on Facebook Pixel in the left menu
  2. Add your Pixel ID How to find my pixel ID
  3. Check Events you want to track
  4. Save, and you’re all set!


How WooCommerce Facebook Pixel works by default

  • ViewContent will be triggered on every product page
  • AddToCart standard event will be triggered on the Cart page
  • AddToCart dynamic event will be enabled (it will trigger any time the add to cart button is clicked)
  • InitiateCheckout standard event will be added on the checkout page
  • Purchase standard event will be added on the thank you page (Please make sure that your PayPal is set to Auto-Return.)
  • You are now ready to create audiences optimized for each of these events.

How to track all your visitors

To track all your visitors, you need to go to Page Settings and create a Page with "/".

To track all your visitors, you need to go to Page Settings and create a Page with “/”.

Advanced Events Setup

You can create Standard Events for unique URLs:

  1. Set the page URL
  2. Select the Standard Event you’d like to trigger on that URL
  3. Create as much trigger as you need
  4. Save it, and you’re all set!

Our WooCommerce Facebook Pixel is not compatible with Facebook Dynamic ads. Yet.

Which event triggers what exactly? Here’s some help:

  • ViewContent: Track key page views (ex: product page, landing page or article)
  • Purchase: Track purchases or checkout flow completions (ex. landing on “Thank You” or confirmation page)
  • AddToCart: Track when items are added to a shopping cart (ex. click/landing page on Add to Cart button)
  • Search: Track searches on your website (ex. product searches)
  • InitiateCheckout: Track when people enter the checkout flow (ex. click/landing page on checkout button)
  • AddPaymentInfo: Track when payment information is added in the checkout flow (ex. click/landing page on billing info)
  • Lead: Track when a user expresses interest in your offering (ex. form submission, sign up for trial, landing on pricing page)
  • CompleteRegistration: Track when a registration form is completed (ex. complete subscription, sign up for a service)
  • AddToWishlist: Track when items are added to a wishlist (ex. click/landing page on Add to Wishlist button)


If you have any question, please shoot it below on the comments section! 🙂

Soma Toth

Soma Toth

Soma grows Recart, the future of ecommerce marketing. As CEO, he makes sure that all the 60,000 businesses powered by Recart stay successful and make more sales with Messenger marketing.