This article only applies to the new designer. Not sure which designer you have? Check here.
Using a Facebook tracking pixel, you can track how well Facebook ads perform in terms of real purchases on your site.
Cratejoy sites built with the new designer have built-in support for adding a Facebook pixel without any coding required! Let's get started.
Create a pixel via Facebook Ad Manager
Assuming you already have a Facebook Ads account setup, go to Ads Manager to create a new pixel. Click on the green "Create a Pixel" button.
Name your pixel and click the "Create Pixel" button.
Next, copy the "Pixel ID" under the name of your new pixel. Make sure to only grab the numbers!
Add the Pixel ID to your theme
First, open the "Design" tab on the main Cratejoy sidebar
Next, open the Designer for the theme you want to change
Next, open the SEO Settings section
Next click on the "Site Settings" section and paste the Pixel ID into the "Facebook Pixel ID" field.
That's it! Let's make sure to save our changes:
The following events are recorded with the built-in integration:
- PageView on every page
- InitiateCheckout on the checkout page, with the order value, currency, and number of items
- Purchase on the thank you page, which is the page customers are directed to upon successful purchase, also with the order value, currency, and number of items
If the customer is logged in, their name and email will be recorded.