Do you need to update your Facebook pixel?
If your website runs on Shopify, you can create a Facebook pixel without having to edit any of your website's code.
Why should I use a Facebook pixel?
Reach the right people
Find new customers on Facebook, Instagram and the Audience Network. Optimize your ads for people likely to buy after they've visited your site. Learn more.
Measure the results of your ads
Understand the sales and revenue that resulted from your ads. Find out what data you can see from your Facebook pixel page.
Set up your Facebook pixel
1. Go to your Pixels tab in Ads Manager.
2. Click Create a Pixel.
3. Click Create in the box that appears to finish creating your pixel.
Add your pixel to your Shopify account
- Go to the Pixels section in Ads Manager.
- Click Set Up Pixel.
- Click Use an Integration or Tag Manager.
- Click Shopify.
- Click Enter your pixel ID.
- Copy your pixel ID.
- Go to your Shopify admin panel.
- Paste your pixel ID in the Facebook pixel section.
- Click Save.
Upload your products
Enable Facebook checkout from the Shopify admin and upload your product information to your Shopify account.
Note: Before getting started, your collections and products must be visible in your online store. See Shopify's instructions to make your collections and products visible on the Facebook channel.
- Log in to Shopify.
- Click the + symbol next to Sales channels in the Shopify admin.
- Click Learn more next to the Facebook channel.
- Click Add channel.
- Click Facebook from your Shopify admin.
- Click Get started.
- Click Connect account.
- Allow Shopify to connect with your business's Facebook Page and Facebook will verify your account information. After your account's verified, you can enable Facebook checkout using your Shopify admin.
You've now finished uploading your Shopify products to Facebook.
Note : If your business has more than one catalog or Facebook pixel, you'll need to specify which Facebook pixel you'd like associated with which catalog. To associate your pixel, navigate to the Settings page in Business Manager, click ‘Catalogs’, select your catalog and click Associate Sources. Select the pixel or app that you would like to map to this catalog.
Find new potential customers with a conversions ad
Create a campaign using the Conversions objective to attract new shoppers to your website. You can create audiences that look similar to people who have taken actions you care about (like making a purchase) and find new potential customers.
- Your product set should contain the products you want to promote. It could be something like "Items for New Year", or "All pink products", or just "All products". If you don't have a pixel or app event, you'll see instructions for creating one.
- Go to Ads Manager.
- Click Create Ad.
- Select Conversions as your marketing objective.
- Type in a Campaign Name and click Continue.
Choose the website or app you want to promote and select a conversion pixel or app event.Tip: We recommend choosing an event that happens at least 100 times everyday. For example, if usually make 3 online sales a day from your website, then we'd recommend picking an event like Add to Cart or View Content instead of
- Select your audience, placement, budget, and schedule. Then click Continue.
- Choose Conversions under Optimization of Delivery.
- Select your conversion window. Your conversion window should be based on how long it usually takes for someone to complete a valuable action (or conversion) after seeing your ad.
- Select Automatic as your bid amount to let Facebook optimize bids for your campaign, or you can choose Manual to set your own target cost per result.
- Type in a name for your ad set.
- Click Continue.
Once you've chosen your campaign preferences (like budget, audience, placement, and scheduling) then it's time to create your ad. Follow the steps below to get started:
1. Choose the Carousel format to showcase multiple products in a single ad.
2. Connect a Facebook Page and Instagram Account for your business if you have one.
3. Select Automatically fill ad creative using a template.
4. Select Automatically fill ad creative using a template if you'd like Facebook to create your ad using products from your catalog or website and optimize for performance. Otherwise, you can select Manually choose your ad creative if you have specific product images you'd like to use for your ad.
5. Select Fill template dynamically from a product set.
6. Click ... to choose your catalog and product set manually. You can also use the catalog and product set that are selected by default.
7. Type in your headline and link description. These fields are pre-populated to show your product name and product price by default.
8. Choose a call to action, like Shop Now.
Scale your ad creation with dynamic ads
If you're an e-commerce business that sells many products, and you'd like to reach people who have already visited your website, then dynamic ads may be right for you.
Once you upload your products to Facebook, you can use dynamic ads to:
Scale your ads creation
Create ads that are relevant to specific groups of people without having to manually set up each individual ad.
Find new potential customers
Keep reaching new people who have visited your website after you set up your campaign.
Show the right products
Show people relevant ads on Facebook and Instagram with products they viewed on your website. Learn more about Facebook dynamic ads.
Reach people anywhere, on any device
Show ads to people using mobile, desktop, and tablet devices on Facebook and Instagram.
Once you've finished setting up, you can start creating dynamic ads by going to your Ads Manager or by selecting Create Ad on the Facebook Ads Extension page.
1. From Ads Manager, click Create Ad.
2. Select Promote a catalog.
3. Select a catalog, then click Continue.
4. Select an existing product set or create a new one.
5. Select your audience, placement, budget and schedule. Then click Continue.
Note: For best practices on targeting the right audience for you, see Facebook's dynamic ads best practices.
6. Select your format, Facebook Page and Instagram account if you have one linked.
7. Enter your ad's text by typing directly, or use the + to select dynamic elements such as price.
8. Add a call-to-action button.
9. Preview your ad on the right. When you're ready, click Place Order.
If you've set up dynamic ads in Shopify but need to change the Facebook pixel you selected, follow these instructions:
- From your Shopify admin, click Online Store and choose Preferences.
- In the Facebook pixel section, click Change.
- Enter your new pixel ID in the Pixel ID field.
- Click Save.
You may be asked to associate your Facebook pixel or app to your catalog. This is necessary in cases where your business has more than one catalog, Facebook pixel or app. Associating your pixel or app tells Facebook which pixel or app will be matching to which catalog.
To associate your pixel, navigate to the Settings page in Business Manager, click ‘Catalogs’, select your catalog and click Associate Sources. Select the pixel or app that you would like to map to this catalog.
If you've already installed the Facebook pixel and are using it to run dynamic ads on Facebook, you don't need to take any other action.
If you set up your pixel by manually adding your code to your website, then you'll need to remove your old Facebook Pixel code from Shopify first to avoid seeing incorrect reporting data for your page. Keep in mind you'll have to manually remove your existing pixel code from your website before starting these steps, otherwise you'll have 2 versions of your pixel on your website.
Having 2 versions on the Facebook pixel can lead to:
Campaign results appearing to be doubled (twice the number of actual conversions)
Cost per result being halved in your reports
If you remove your existing pixel and start over with creating your pixel and catalog through Shopify, we recommend pausing your active campaigns first and re-installing right away. This way, you'll minimize any impact on your website Custom Audiences and conversion counts.
- That's fine. Just be sure that the third party is added as an administrator to the advertiser's Facebook page and ad account.