Remove Unused JavaScript Code

How to optimize joinswitch.com

Generic SiteScore: 76/100Analyzed March 2026Re-analyze this site

Remove Unused JavaScript Code

High Impact+8 points estimated

Why It Matters

338 KB of unused JavaScript wastes bandwidth and delays LCP by 750ms while blocking the main thread.

How to Fix

Audit Google Tag Manager configuration to remove unused tags and triggers. Implement code splitting to load TikTok and Facebook pixels only when needed. Use tree-shaking to eliminate dead code from analytics scripts, focusing on the 64KB+ waste from each major script.

0Needs Improvement

What This Score Means

A score of 76 falls in the "Needs Improvement" 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

5.2s
Poor

Good: < 2.5s

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

INP

Interaction to Next Paint

202ms
Needs Improvement

Good: < 200ms

Measures how quickly the page responds to user interactions

CLS

Cumulative Layout Shift

0.00
Good

Good: < 0.1

Measures visual stability - how much content shifts during page load

AI Performance Analysis

This website has concerning performance issues with a score of 76/100, but several critical problems are holding it back. The biggest issue is multiple redirects that are adding over 1 second of delay before the page even starts loading - the site redirects from HTTP to HTTPS and then again to add a trailing slash, wasting precious loading time. Additionally, the Largest Contentful Paint takes 5.2 seconds (should be under 2.5s) and Time to Interactive reaches nearly 12 seconds, meaning users wait far too long to actually use the page. The site is also loading 330KB of unused JavaScript from Google Analytics, TikTok Pixel, and other tracking scripts that could be optimized or deferred. Fixing the redirect chain alone could improve loading speed by over 1 second, while cleaning up the unused JavaScript and legacy code could significantly boost the overall user experience.

Other Optimization Recommendations

Eliminate Multiple Page Redirects

High Impact+12 points estimated

Why It Matters:

Multiple redirects delay page load by 1.15 seconds, directly harming both LCP and FCP by over 1 second each.

How to Fix:

Configure your server to redirect http://joinswitch.com/landing/ directly to https://joinswitch.com/landing/ in a single hop. Update all internal links to use the final HTTPS URL format. Set up proper canonical URLs to avoid the redirect chain entirely.

Add Image Dimensions Attributes

Medium Impact+4 points estimated

Why It Matters:

Missing width and height attributes on images cause layout shifts that hurt user experience and CLS scores.

How to Fix:

Add explicit width and height attributes to all brand logo images in the marquee section. Calculate aspect ratios for Who What Wear and Cosmopolitan logos and set dimensions in CSS. Use responsive image techniques with srcset to maintain proper sizing across devices.

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 Generic Speed Tests

Generic Performance Resources

Frequently Asked Questions