How To Test Facebook Conversion API Integration for Shopify Stores

Before going live, see how to test your server events in Facebook's Events Manager.

Overview

Learn how to test Facebook Conversion API Integration for Shopify Stores.


How to test Facebook Conversion API Integration for Shopify Stores

Access Server Test Code:

  • Begin on your Facebook Events Manager homepage and use the left-hand menu to click on the "Data Sources".
    • A list will appear with your stores, locate and click on the store you would like to test.
    • Once in the store Data Sources settings, use the top navigation menu to click on the "Test Events" tab.
    • Navigate to the section of the page titled "Confirm your server's events are set up correctly" and click on the "Copy" button located next to the test code.
      • (See Figure 1)

Step 1 screenshot

Figure 1

Access Facebook Destination:

  • Once you have copied the test code, navigate to the Elevar homepage and use the left-hand menu to click on the "My Tracking" tab.
  • Locate the list of your destination and click on the Facebook destination.
    • (See Figure 2)

Step 3 screenshot_Figure 2_### Enter Test Mode:

  • Once in the Facebook destination, use the "Setup Steps" box to click on the "Overview" tab.
  • Navigate to the section of the page titled "Facebook Server-Side Integration".
    • First click on the "Go Offline" button and then click on the "Enter Test Mode" button.
    • An additional pop-up window will appear titled "Test Mode Configuration". Use the text box to enter the test code you copied from the Facebook Events Manager page.
    • Once you have entered the test code, click on the "Enter Test Mode" button located at the bottom of the window.
      • (See Figure 3)

Step 5 screenshot

_Figure 3_

Navigate Your Website like a Shopper:

  • Once you have entered test mode, proceed to navigate your website and place a test order.
  • You should see your server events displayed in Facebook Events Manager.
  • It can take a few minutes before your test events appear here. If you see the successful purchase event and the data is accurate then you are good to go!
    • (See Figure 4)

Figure 4

🚧

Don't forget to disable Test Mode and publish your Facebook CAPI Integration after you're done testing!