Site speed, 'Minimize request size' FB pixel code appears twice?

52 0 11

My site is rather slow, 40-50% on GTMetrix. One of the problems is this:


The requests for the following URLs don't fit in a single packet. Reducing the size of these requests could reduce latency.


Which question is, why do both these items show up twice? I've checked other shopify sites and ran it through gtmetrix but these huge URL requests only show up once


Shopify Expert
872 72 205

These files are small so from a performance perspective they aren't affecting your speed unless they're causing a problem. A few kb in file weight won't change anything.


From the screenshot the parameter strings are different lengths, so they might all be serving a purpose.


If you want to see where they're loading to get some clues you could try this:


- View the source code of the page you're testing (right click in a browser and select View Source).


- Then check your theme.liquid file or any apps that involve Facebook.


- If you're loading your FB pixel in your Online Store > Preferences area, and it's also loading somewhere else, then it may be a duplicate situation.


Investigating those 3 areas should give you some clues to understand the scripts and why they're loading.

Founder of Speed Boostr (Shopify optimization and dev agency).
Creator of Theme Scientist (A/B testing app).
Creator of Order Automator (app that auto tags + fulfills orders, send emails).
Creator of Tip Jar (add a tip button to your store).
Creator of Shopify Analyzer (first performance analysis tool specifically for Shopify sites).
My team also builds custom apps and automated solutions.
Enjoy the adventure!