I'm using magento 2 and I'm trying to add the facebook pixel code into it , what's the right file to add it ?
Magento 2.0 – How to Add Facebook Pixel Code
facebookmagento-2.0magento2
facebookmagento-2.0magento2
I'm using magento 2 and I'm trying to add the facebook pixel code into it , what's the right file to add it ?
Best Answer
It has not changed much from Magento 1, I reckon you should use the
app/code/Magento/Checkout/view/frontend/templates/success.phtml
NB: don't change that file directly as your changes will be overriden by Magento upgrades, override the template in your theme or module.