Website Building » Shopify » How Do I Add Facebook Convert API to Shopify?

How Do I Add Facebook Convert API to Shopify?

Last updated on October 2, 2022 @ 12:25 am

Are you looking to add Facebook’s Conversion API to your Shopify store? Doing so can help you better track conversions and optimize your advertising campaigns on Facebook. In this article, we’ll show you how to add the Facebook Conversion API to your Shopify store.

First, you’ll need to create a new Facebook Pixel. To do this, log into your Facebook account and go to the Pixels tab in the Events Manager. Then click the Create a Pixel button and give your pixel a name.

Once you’ve created your pixel, click on the Set Up button. On the next page, select “Shopify” as your platform and enter your shop’s URL. Then click on the Continue button.

On the next page, you’ll be given a piece of code to add to your Shopify theme. Copy this code and head over to your Shopify admin.

PRO TIP: The following note is a warning for anyone considering adding the Facebook Convert API to their Shopify account.

Adding the Facebook Convert API to your Shopify account can result in unexpected charges on your Facebook advertising account. It is important to be aware of this before proceeding, as you could end up with a large bill that you were not expecting.

In the left-hand sidebar, go to Online Store > Themes. Find the theme you’re currently using and click on the Actions button. Then select Edit code from the drop-down menu.

In the Edit HTML/CSS page, select the Layout folder from the left-hand sidebar. Find the theme.liquid file and click on it to open it in the code editor. Paste the code you copied from Facebook into this file and save your changes.

Now that you’ve added the Facebook Conversion API code to your Shopify store, you can start tracking conversions! To do this, go back to Events Manager in your Facebook account and click on the Conversion tracking tool from the left-hand sidebar. Then click on Create Conversion Event and follow the instructions on screen.

How Do I Add Facebook Convert API to Shopify?

Adding Facebook’s Conversion API to your Shopify store is a great way to track conversions and optimize your advertising campaigns on Facebook. To add the Facebook Conversion API to your Shopify store, simply create a new Facebook Pixel, copy some code into your Shopify theme, and start tracking conversions!

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.