3
votes
Accepted
Exception #0 (Exception): Notice: Undefined variable: fp in Backend
You encountered this error because the variable $fp is declared inside the foreach loop, but you are trying to access it outside of the loop.
To resolve this issue, move the code fclose($fp); from ...
2
votes
Facebook pixel question
You would require a separate extension. Facebook pixel is for tracking purposes.
2
votes
Accepted
Magento 2 - Facebook pixel tracking on AddToCart event
If you know the ID/Class of the add to cart button why not just create a custom on page javascript something like
$('.addtocart.btn').on('click', function()
{
// Do the Magic
});
you may ...
1
vote
Accepted
ViewContent meta Pixel not passing product name parameter
Hello @Baby in Magento
In the below file,
src/components/ProductFullDetail/ProductFullDetail.Js
Add this code hope this will work for you
const productMeta = () => {
fbq('track', 'ViewContent', ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
facebook-pixel × 10magento2 × 3
magento-1.9 × 2
facebook × 2
pixel-tracking × 2
magento2.4.5 × 2
php × 1
module × 1
database × 1
error × 1
extensions × 1
multistore × 1
magento2.4 × 1
pwa × 1
linux × 1
ajaxaddtocart × 1
venia × 1
multisite × 1