i have a problem with facebook pixel some dropshipping site owners on shopify are using the bookmarklet below to receive similar product ads in product mining tools
javascript:(function(){ var codigo = document.getElementById("ProductJson-product-template"); if(codigo == undefined){ content_id = meta["product"]["id"]; } else { var content_id = JSON.parse(codigo.text)["id"].toString(); } fbq('track', 'Purchase', { content_type: 'product_group', content_ids: '[' + content_id + ']' , value: 99.00, num_items: 1, currency: 'USD', }); console.log("O pixel de PUR foi ativado com sucesso para o content ID: " + content_id); })();
I need some way to block this code because it is affecting facebook campaigns negatively I tried to use CSP in the meta but it ends up blocking other necessary codes