How to add Facebook pixel
Learn how to set up Facebook pixel in Finqu online store.
About Facebook pixel
Facebook pixel is a helpful tool if you advertise your online store on Facebook. It helps you reach your target audience better and gives you information about your ads' efficiency.
You can generate the pixel code by following the instructions on Facebook's support pages.
Adding the code to the online store
Go to Online store > Snippets.
Click Add on the Javascript (JS) section.
Paste the code into the field and click Save.
Adding the code to the online store's checkout page
You can add the code also to the online store's checkout page. Then you can see information about customers' purchases and the conversions of your ads.
Go to Settings > Checkout.
Click Add on the Javascript (JS) section.
Paste the code into the field and click Save.
Adding a purchase event to the thank-you page
You can also use a purchase event when you add the pixel to the Thank you page (code below). Insert the event just before the </script> tag at the end of the pixel.
Here's the purchase code that you can add to the thank you page:
fbq('track', 'Purchase', {value: {{ checkout.order.total }}, currency: 'EUR'});
Testing the Facebook pixel
It's worthwhile to test the Facebook pixel after you've added it to the online store. There's a Pixel helper tool available for that purpose.