Remove Unused JavaScript Code

How to optimize 4mationskins.com

Shopify SiteScore: 30/100Analyzed June 2026Re-analyze this site

Remove Unused JavaScript Code

High Impact+20 points estimated

Why It Matters

1,151 KiB of unused JavaScript delays LCP by 150ms and blocks main thread execution.

How to Fix

Remove or defer the unused Gokwik cart scripts that are 90% unused. Audit Google Analytics implementation to reduce unused code. Use Shopify's Script Tag API to load third-party scripts only when needed instead of on every page load.

0Poor

What This Score Means

A score of 30 falls in the "Poor" range (50-89). While it is better than poor (0-49), you should aim for 90+ to provide an optimal user experience and maximize SEO benefits.

This site is slower than approximately 35% of similar sites. The main issues affecting performance are image optimization, JavaScript execution time, and layout stability.

Addressing these issues could improve your conversion rate by 15-20% and boost your search engine rankings.

Core Web Vitals Analysis

LCP

Largest Contentful Paint

7.9s
Poor

Good: < 2.5s

Measures how long it takes for the main content to appear on screen

INP

Interaction to Next Paint

159ms
Good

Good: < 200ms

Measures how quickly the page responds to user interactions

CLS

Cumulative Layout Shift

0.90
Poor

Good: < 0.1

Measures visual stability - how much content shifts during page load

AI Performance Analysis

This Shopify store has severe performance issues with a score of 30/100, indicating a very poor user experience. The biggest problem is massive amounts of unused JavaScript (over 1,100 KB) that's blocking the page from loading efficiently, causing your Largest Contentful Paint to take 7.9 seconds - nearly three times longer than recommended. The site also suffers from major layout shifts (0.897 CLS score) primarily caused by unsized images and videos that move content around as they load. Removing or deferring unused JavaScript, properly sizing images and videos, and optimizing the cart functionality from GoKwik could dramatically improve your Core Web Vitals and reduce the 29.5-second Time to Interactive.

Other Optimization Recommendations

Fix Major Layout Shifts

High Impact+25 points estimated

Why It Matters:

Poor CLS score of 0.897 severely impacts user experience and Core Web Vitals.

How to Fix:

Add explicit width and height dimensions to the unsized video element causing layout shifts. Set fixed dimensions for the main content area during load. Reserve space for dynamic content with CSS min-height properties to prevent content jumping.

Optimize Critical CSS Loading

High Impact+15 points estimated

Why It Matters:

Render-blocking CSS files delay First Contentful Paint by 260ms.

How to Fix:

Inline critical above-the-fold CSS directly in the HTML head. Use Shopify's liquid {% style %} tags for critical styles. Defer non-critical CSS like Font Awesome (99% unused) and component styles using media='print' onload technique.

Keep Your Site Fast After Optimization

Once your site is optimized, maintain that speed. Use DeployHQ for zero-downtime, automated deployments—so performance fixes and updates go live safely every time, without breaking your site.

Explore DeployHQ →Trusted by engineering teams shipping high-performance sites

Want to Analyze YOUR Website?

Get AI-powered performance insights with actionable fixes in 30 seconds

More Shopify Speed Tests

Shopify Performance Resources

Frequently Asked Questions