ScrapeBox Forum
How to scrape for Facebook pixels installed on URLs? - Printable Version

+- ScrapeBox Forum (https://www.scrapeboxforum.com)
+-- Forum: ScrapeBox Main Discussion (https://www.scrapeboxforum.com/Forum-scrapebox-main-discussion)
+--- Forum: General ScrapeBox Talk (https://www.scrapeboxforum.com/Forum-general-scrapebox-talk)
+--- Thread: How to scrape for Facebook pixels installed on URLs? (/Thread-how-to-scrape-for-facebook-pixels-installed-on-urls)



How to scrape for Facebook pixels installed on URLs? - thecashbag - 02-19-2019

I need to scrape a list of URLs and determine if they have a Facebook tracking pixel installed.

If the Facebook pixel is installed directly on the site I can use the Page Scanner to look at the source code for a footprint like "/fbevents.js" or "https://www.facebook.com/tr" to tell me if that the site has a Facebook pixel installed or not.

But if the site is using Google Tag Manager to install the Facebook pixel then the pixel tracking code is injected into the DOM, and it is not visible inside the source code.

How can I use scrape box another way to determine if a site has a Facebook Pixel installed (even when they're using Google Tag Manager)?

Maybe I can scrape for the Facebook cookie somehow?


RE: How to scrape for Facebook pixels installed on URLs? - loopline - 02-20-2019

Im not a super expert on DOM, but I think the answer is it can't be done, but Ill check and get back to you.

~~~~~

Support said

"I'm not aware of any pages running this to check, however if the code is added to the page dynamically after the page has load then no unfortunately ScrapeBox wouldn't be able to read the code injected after pageload unfortunately."


RE: How to scrape for Facebook pixels installed on URLs? - Mr.Billions - 01-05-2020

I am also keen to find out


RE: How to scrape for Facebook pixels installed on URLs? - gingerbreadman - 01-05-2020

i think its done with regex but i also want to find out


RE: How to scrape for Facebook pixels installed on URLs? - loopline - 01-10-2020

It can not be done at this time.