Jump to content

Unused Facebook javascript.. what's the deal?

Recommended Posts

Site URL: https://www.ome.design

Hello all. 

I've seen a few threads regarding this sort of subject already, and that often the conclusion is that there's nought to be done regarding the slow loading times related to 'unused javascript' on SS sites. 

Just as a preface, I'm a noob when it comes to coding so forgive my ignorance. 

Now, when assessing my site's speed on PageInsights (and various other tools), unused javascript files are cited as my main issue. Diving into this deeper, I see there are a bunch of facebook javascript files that seem to be slowing down my website???

Now, I have taken away my FB pixel.. and besides that I can't really imagine what's happening to cause this. Is it because I've social sharing icons and links to FB? Do FB links somehow insert their own javascript that could slow my website? (again, noob)

These are the links provided by Google when referencing the unused java files:










Any help would be most appreciated. 

Link to comment
  • Replies 2
  • Views 2.5k
  • Created
  • Last Reply

I don't have any solutions.

I'm not surprised that there may be unused Javascript files being loaded. SS is a general purpose web site editing tool. So although you may not use a particular feature SS may load up some files that others using a feature would need.

In a perfect world SS would only load what is needed for your site of course.

If you are pretty sure SS shouldn't be loading up certain files when you aren't using a feature then I suggest contacting customer support with your observations. I think SS is interested in reducing load times. If enough people report a similar issue some action may be taken.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
12 hours ago, JoeRees said:

I see there are a bunch of facebook javascript files that seem to be slowing down my website???

I don't see these being loaded for your site. I see the standard Squarespace scripts and the Shopify Buy Button script.

If you are seeing Facebook scripts, try your tests again in another browser or in private/incognito mode where extensions are disabled. If they persist, temporarily remove all code from your site and test it again. This will confirm whether your code is to blame. If the issue remains after all the code has been removed, contact Squarespace Customer Care.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.