Hello!
Have any of you guys ever heard about it? Many people here in Brazil are using a script inside Shopify stores to emulate a sale after they see the ad on Facebook.
Basically, they see the ad on Facebook using MyAdFinder or whatever, access the product page and then fire the script, which is located on a favorited page in the browser. This makes the Facebook Pixel marks a sale and supposedly show them more related ads (for product mining), since Facebook recognizes this behaviour as a person that makes a lot of online purchases.
Is there any way I can block this script inside my Shopify store? Since this f*cks up the Facebook pixel.
Here is the culprit:
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); })();
Thanks!