If you run an online store, then you’ve probably come across the term ‘WooCommerce Facebook Pixel.’
In case you haven’t, here’s something to bring you up to speed: Ever wondered how a product’s ad that revolves around your interests pops up on your Facebook timeline? How you’ve wanted a new mouse for your PC, and suddenly you see ads for a mouse on Facebook? It’s no coincidence.
That was probably Facebook pixel at work, not black magic like I initially used to think.
This article will explain what Facebook Pixel is and how to install Facebook pixel on your WooCommerce store to take advantage of this great tool.
- What Is Facebook Pixel?
- Why Use Facebook Pixel?
- How to Create Facebook Tracking Pixel
- What Is the Difference Between a Pixel and Cookie?
- How to Create a Custom Conversion
- How to Create a Custom Audience (Including Retargeting)
- Set up WooCommerce Store Business on Facebook Business Manager
- Create a Facebook Ad Campaign
Facebook Marketing Checklist
Everything You Need to Create & Initiate Facebook Campaigns
Your Checklist Is on Its Way to Your Inbox.
What Is Facebook Pixel?
Facebook Pixel is probably one of the most useful tools for monitoring your Facebook advertising campaign’s performance.
It allows you to track your website visitors, whether on your blog, landing pages, product pages, etc. Facebook has its own pixel feature that combines the power of the conversion pixel and custom audience pixel and uses them to create highly effective ads.
In essence, a Facebook pixel is a line of code you add to your website, and it can retarget as well as track conversions through the ads you run on the platform. You can do a lot more than, though, so let’s find out.
Why Use Facebook Pixel?
You can use WooCommerce Facebook Pixels for the reasons mentioned above and for the following purposes as well:
- Retargeting visitors who visited your ecommerce store.
- Measure the effectiveness of your advertising campaigns and conversion rate.
- Optimize ads to reach people who are more likely to convert.
- Create an audience similar to the people who visited your store or a specific page on your WooCommerce store.
- Obtain in-depth user data through Audience Insights.
Silicon Dales – Case Study
Read How Cloudways Helped WooCommerce Agency by Providing Them a Simplified AWS Hosting.
Your Ebook is on its Way to Your Inbox.
How to Create Facebook Tracking Pixel
In this section, I will tell you how you can install and set up your WooCommerce Facebook pixels. First, you need to go to your Facebook business account to manage your ads and generate pixels.
Facebook Business Manager
- Go to Facebook Business Manager and log in to your account. Click on Pixels under the Measure and Report section in the Facebook Ads panel.
Once you’re on the Facebook Pixel page (as shown in the screenshot below), click on the Create a Pixel button.
Note: You can only create one WooCommere Facebook Pixel per account.
- Once the pop-up shown below appears, add a Pixel Name, your Website URL, and then click on the Create button.
Voila! You have successfully created your pixel. Now let’s move to the next step.
Installing the Facebook Tracking Pixel Code
To install the WooCommerce Facebook Pixel code, you need to insert the code in your web pages or your entire website. In the next window, you’ll see three options to let you install Facebook Pixel on your WooCommerce store.
- Connect a Partner Platform: If you use e-commerce platforms like WooCommerce, Magento, BigCommerce, Shopify, Squarespace, or Wix, etc, then you can set up your pixel without having to edit your website’s code.
- Manually Install Pixel Code Yourself: You can simply copy and paste the WooCommerce Facebook pixel code to your website in the header section.
- Email Instruction to a Developer: If you’re working with a developer who can help you edit your website code, then this option allows you to send the instruction to the developer via email.
Here’s how the options look:
For this article, I’m using the first option, Connect a Partner Platform.
Why Speed Is Crucial For SEO & UX?
These Expert Tips Will Show You How to Improve The Speed of Your WooCommerce Stores.
Your Ebook is on its Way to Your Inbox.
Connect a Partner Platform
- Click on Connect a Partner Platform to choose a partner. Since this tutorial is for WooCommerce, that’s what we’re going to choose.
- In the next window, you will see the download instructions to help you select the pixel you want to use and configure the WooCommerce Facebook Pixel Extension in your account.
- Click on the Download button to download the Facebook Pixel Extension and you’ll get the zip file on your PC.
Install Facebook Pixel on WooCommerce
- Log in to your Cloudways account (or sign up if you don’t have an account yet) and launch your WooCommerce store.
- Go to Applications from the top menu and select your WooCommerce application.
- In the Application Management section, you’ll get the Access Details of your WooCommerce store.
- Open the URL and copy/paste the credentials to your admin page and click the Log In button.
- Go to your WooCommerce Dashboard and navigate to Plugins → Add New.
- Next, click Upload Plugin → Choose File and upload the zip file that you downloaded and then click on Install Now.
- Click on Activate after you’ve uploaded and installed the plugin.
- Go to WooCommerce → Settings → Integration and click on Get Started.
- A welcome window will appear on your screen. Click on Next.
- You need to select the page for which you wish to to set up your Facebook Pixel. Just choose your page and then click Next. As an example, I’ve chosen the ABC Store.
- Facebook Pixel has now been installed. Make sure Use of Advanced Matching is selected, then click Next.
- The following window is for importing products. Facebook automatically imports all the products on your Facebook page, making the process a lot easier for you. Now just click on Finish.
Congratulations! Your Facebook Pixel setup is complete.
- Now go back to the Connect Partner Platform window and click on Verify. If everything has been set up correctly, you’ll see the status as Active (as shown in the image below).
- Now just click on Continue and you’re done!
- Close the window and move on to the next step.
Validate Facebook Pixel
Now let’s check whether Facebook Pixel for WooCommerce is working successfully on your website or not. The best way to validate it is by installing the Facebook Pixel Helper Chrome extension.
Once you’ve installed the WooCommerce Facebook Pixel Helper extension, click on it in the top right corner of your Chrome’s screen (see image below). It should say something on the lines of ‘One pixel found on ABC store.’
Next, go to the Checkout Page (or any other page). Here, you will see there is only one event (Page View) that is included on the page.
But when I go and complete the checkout form, and then I click on my pixel helper, it’ll now show two events and not just the page view. This means that my WooCommerce Facebook pixel has been successfully implemented, and it’s firing the complete checkout only on orders received, so it’s all working.
Go back to your Facebook account and refresh your page a few times. In the image below, you can see that Facebook Pixel has been fired, and the two events are active; the first one is Page View, and the other is Add to Cart.
What Is the Difference Between a Pixel and Cookie?
If you’re wondering the difference between Pixel and Cookie, they’re almost similar and used to track user behavior. However, there are slight differences discussed below.
A cookie is a short bit of text that your browser sends to the website, so the website remembers you, and you don’t have to enter the same information every time.
On the other hand, a pixel sends information to servers, whereas cookies are saved in your browser. So a pixel can follow a user across devices, but a cookie can’t. It means that anyone can visit your website with its pixel on their desktop, and you can serve them retargeting ads later on their mobile devices.
How to Create a Custom Conversion [Easy Steps]
Custom conversion allows you to track specific website pages, perfect for running a successful campaign where you want to track specific users as they convert on a given web page.
Let’s see how you can create custom conversions in the next step.
Create Custom Conversion
- In your Facebook Pixel dashboard, click on Create Custom Conversion option in the top menu bar.
- In the proceeding pop-up, you need to define the URL or keywords.
You have two options; URL Equal or URL Contains.
- URL Equals: you can add a complete URL, including the domain name with “https” (e.g., https://abcstore.com/page-name).
- URL Contains: you can add a part of the URL (ex: URL contains /order-confirmed.php for an order-confirmed page after purchase).
Now enter custom conversation name, description, category, and value, and click on the Create button.
Note: Conversion Value also allows you to view your return on ad spend in your reports.
Your custom conversion has been successfully created!
How to Create a Custom Audience (Including Retargeting)
Back in your Facebook Pixel dashboard, you can see the Create Audiences option in the top menu bar.
Next, you have to perform the following actions:
- Include people who meet any or all of the selecting criteria.
- Choose your Pixel from the dropdown.
- Choose the type of visitors.
- Enter the number of days you want people to remain in your audience after they visit your website.
- Give your audience a name and click Create Audience.
How to Set up WooCommerce on Facebook Business Manager
Facebook Business Manager is free and easy to use. It allows you to manage your businesses from a single dashboard. Before using it, though, you must have a Facebook account to verify the business account.
Follow the steps below:
- Go to Facebook Business
- Click Create Account
- Add your business details such as name and email, etc.
- Enter your business details such as country, city, website, etc., and then click on Submit.
- You’ll now see the Dashboard as shown in the image below. That’s all! Let’s move to the next step.
Configure Facebook Business Manager
- Click on Business Settings in the top menu bar. Here, you can manage all of your projects, accounts, and pages, etc.
How to Create a Facebook Ad Campaign
In this section, I will walk you through the steps of setting up an ad campaign from the Facebook ad manager.
Use Facebook Ads Manager
Facebook Ads Manager is a free tool that lets you manage all your ad campaigns. Here are some benefits of Facebook Ads Manager:
- Set up Facebook ad campaigns.
- Create new ads and manage the existing ones.
- Manage Facebook ad bids.
- Optimize your ad campaign.
- Track your ad campaign performance.
There are two ways to access the Facebook Ads Manager.
The first one is through your Facebook account; click on Manage Ads from the dropdown in the top-right arrow option (as in the image below).
Next, click on the drop-down option in the top-left corner, and click on Ads Manager.
Or, you can simply use this link to access Ads Manager.
How to Set up a Facebook Ad Campaign
- To create your Facebook Ad Campaign, go to the Campaigns tab and click on the Create button.
- Next, choose your campaign’s objective.
Note: Facebook offers different advertising options to help people reach their audience, so make sure you know what you want people to do when they see your ads.
Campaign Objective List
Here is the list of campaign objectives:
- Brand Awareness
- App Installs
- Video Views
- Lead Generation
- Catalog Sales
- Store Visits
I’d recommend that you focus on the type of campaign that will reach the most number of people in terms of traffic, engagement, and conversion.
Select Campaign Objective
In my case, I’ve selected Consideration → Traffic. However, you can choose according to your requirement.
Next, add your campaign name. For example, if you sell fitness products like treadmills, then you can choose a name like Traffic Treadmills or something similar.
Now click on Continue to go to the Ad Set to create your ad campaigns.
Set up Audience Targeting
In this section, you have different options available that you can use to set the target audience.
- Create a New Target Audience: Use this option for targeting new reach.
- Use a Saved Audience: Use this option if you have already saved your target audience.
- Custom Audience: Choose a custom audience if you have previously created one in the audience manager.
- Location: Select the country you want to target. You can also target multiple countries or cities as well.
- Age: Select the minimum and maximum age of the people for your ad.
- Gender: Select the gender you want to target if it’s a gender-specific product.
- Detailed Targeting: Include or exclude interest and behavior.
- Connections: Choose people who have a specific kind of connection to your page or event.
- Save Audience: You can save your audience if you wish to use it in a future ad campaign.
Set up Placements
You can set your ad campaign to the right audience from this option. Here, you have two options available; automatic placement and edit placement.
- Automatic Placement: Facebook can automatically place your ad in different apps and places like Instagram, Messenger, etc.
- Edit Placement: Using this option, you can filter the apps or places you want to show your ads. If you want your ads on Facebook only, you can uncheck the rest of the apps.
Set up Budget and Schedule
Here, you need to define your budget and schedule for the ad set.
- Budget: Set the amount you wish to spend on the ad.
- Schedule: Set the duration of the campaign.
After finalizing your ad campaign, click on Continue.
Set up Facebook Ads
Finally, you can select how you want your ad to look. You can select from the options shown in the image below.
And you’re all done! You have successfully created your first ad campaign.
Slow store = Bad Conversions
Try Cloudways and maximize the performance of your WooCommerce Store.
This blog has explained Facebook Pixel and the steps to integrate it on a WooCommerce website to take full advantage of the audience that visits your site. Let’s go through the highlights of this article and what you have learned:
- Facebook Pixels (What, Why, and How to Create and Integrate)
- Integrate Facebook Pixel on WooCommerce Store
- Facebook Business Manager
- Create a Custom Conversion
- Create Ad Campaign
Facebook provides you an excellent opportunity to increase your online store’s sales through Facebook Pixel for WooCommerce. So what are you waiting for? Integrate WooCommerce Facebook Pixel on your store and start retargeting your audience!
Don’t forget to share your experience in the comments section below if this article helped you!
Download Free Instagram Marketing Ebook
Enter your email address and get our free ebook now!
Your Ebook Is on Its Way to Your Inbox.
Saud is the WordPress Community Manager at Cloudways - A Managed WooCommerce Hosting Platform. Saud is responsible for creating buzz, spread knowledge, and educate the people about WordPress in the Community around the globe. In his free time, he likes to play cricket and learn new things on the Internet. You can email him at [email protected]