Added facebook pixel like they showed here here Now getting an error:
fbevents.js:9 Facebook Pixel Error: Duplicate Pixel ID: some-pixel-id
Canno
You should simply check if fbq is undefined before calling init.
fbq
init
if (typeof fbq === 'undefined') { fbq('init', 'your-pixel-ID'); }
Please note: don't wrap the full script with this if statement!
if