Setting up the Conversion API to track Mr Yum orders on Facebook & Instagram

Setting up to track Mr Yum orders on Facebook and Instagram

Before starting, make sure that you have Admin access to Facebook Business Manager, and are logged into the Manage Mr Yum Portal.

We’re going to be using some terms in this guide that it’s important for you to understand: 

Facebook Business Manager: Business Manager is a Facebook tool that helps you organize and manage your business. It is where you create your campaigns, ad sets and ads. You can access it from this link.

Facebook Pixel: The Facebook Pixel is a piece of code that you place on your website. It collects data that helps you track conversions from Facebook ads, optimize ads, build targeted audiences for future ads and remarket to people who have already taken some kind of action on your website. You can access your pixel from this link.

Facebook Access Token: To track purchases, we need to install an additional code on your Mr Yum Menu. Imagine the Facebook Access Token to work as a link between Mr Yum and Facebook Business Manager. This code will pass the information that you will need to understand the performances of your campaigns.

image (38)

Make sure you have 2 tabs open:

  1. Facebook Business Manager
  2. Manage Mr Yum > select Your Venue, then head to Marketing Social Media Integrations


Let's start!

Step 1: Add the FB Pixel to Mr Yum

Follow this guide to add your Facebook Pixel ID to Mr Yum. Great start!

Step 2: Create Conversion API Event

On Facebook, go to the Events Manager section by clicking this link.


If you have/manage multiple pixels, select the one that you want to use to track conversion. 

Make sure that the same pixel is entered in Manage, under Marketing → Social Media Integrations → Facebook Pixel ID.

Go back to Facebook Business Manager. Your view should look like this:

The next step is to click the button Add Events, highlighted in the image above, and select Using the Conversion API.

Click Install code manually from this pop-up window.

You will see a list of events that you can select.

Select Purchase.

On the bottom right corner click Continue.

In the next window, tick all the boxes as per the image below.

Click Continue --> Confirm Setup --> Open Implementation Guide


This will open a new tab in your browser that will look like this:

Before proceeding to the next step please go back to the previous tab and click Finish on the bottom right corner.

Now let’s go back to the new tab and implement the Conversion API.

Step 3: Generate Access Token and Add to Mr Yum

Here's a video of the step below:

This step is really simple - we need to create an Access Token (which will be the link between the Mr Yum menu and your Facebook Business Manager).

Click Get Started

Click the blue button Generate Access Token



Copy the Access Token and move to the Manage Tab we have previously opened ( --> Marketing --> Social Media Integrations

Now, paste the Access Token into the Facebook Access Token box inside manage.

Click save!

Now go back to Facebook business manager, where you have copied the Facebook Access Token, scroll to the end of the page and click Finish.


Step 4: Delete your browser event

The final step is to remove the events that are triggered by the pixel. We are doing this to avoid Facebook processing the same event multiple times creating deduplication.

To do so, go back to Event Manager and select the pixel you want to use (the same one you are using on Mr Yum Manage).

Once you are there click the event Purchase.

Once the purchase settings are open, click Manage Event.


Once here, delete (if any) all the events by clicking the Bin icon on the right.

That's it!


What's next?

Now that we installed the Conversion API and deleted the browser events we need to allow Facebook up to 24h to link the 2 servers.

You won't be able to see any result if orders are not made so, place a couple of orders (or wait for your venue to open) to make sure the integration is working!


How do I know if it’s ready to be used in ads?

To understand if the Conversion API is working correctly, you should be able to see (after 24h) a new Connection Method in Events Manager.

Let’s have a look at what good looks like in the image below:


Connection Method → as you can see it now shows, together with Browser, Server which means that it is receiving data from the server.

Data reception → as you can see the line changed from dark blue (left) to light blue (right). The blue line indicates that the events are passed to Facebook by using the Facebook PIxel while the light blue line indicates that the events are now using a server connection

Parameters → as we mentioned before we are now sending 3 parameters back to Facebook. 


In this next Help Doc, we will go through a step by step guide on how you can take advantage of this integration.