Shopify Theme Cleanup — Remove Orphaned App Code & Improve Page Speed

Posted 4 weeks ago

Worldwide

Summary

I run hollywoodmirrors.co.uk, a Shopify store on a custom theme. Over the past 10 years I've installed and uninstalled many apps. The uninstalled apps have left orphaned JavaScript, CSS, and Liquid snippets inside my theme files that continue to load on every page visit and are significantly slowing the store down. A GTmetrix audit recorded: Page weight: 7.38MB (target under 3MB) LCP: 4.0 seconds (target under 2.5s) Total Blocking Time: 531ms (target under 200ms) JavaScript execution time: 5.4 seconds 20 long main-thread tasks on the homepage A tracking specialist recently completed a separate GTM/Consent Mode V2 cleanup. That work is done and must not be touched. This job is purely about removing dead app code and reducing page weight. What I need done Phase 1 — Audit (before touching anything) Go through theme.liquid, all template files, snippets/, and sections/ and produce a documented list of every third-party script, CSS import, and Liquid snippet you find. For each item, confirm whether it belongs to an active app or an uninstalled app. Share this with me before making any changes. Phase 2 — Remove orphaned code from these uninstalled apps: Feefo (loaded 15+ separate JS files from register.feefo.com — the single worst performer on the site) Triple Whale (remove app block from theme AND check GTM container for any Triple Whale tags) AfterSell (ReConvert is the kept post-purchase app) HubSpot (hs-script-loader.min.js, hs-instantload.min.js) Tidio live chat Cookiebot (Consentmo is the active consent tool) Wunderkind / BounceX Yahoo Dot advertising pixel Shoplift A/B testing (cdn.intelligems.io — render-blocking) Attentive Carro Phase 3 — Additional cleanup jQuery: audit whether any remaining active app still depends on it. If not, remove it (361ms CPU, 21.4KB unused per GTmetrix) FancyBox: remove if not actively used Judge.me CSS: currently loads globally — restrict to product pages only Unused theme CSS: 31.6KB unused in main stylesheet — strip or defer Font audit: 4 font families loading on homepage — identify and remove any not actually used in the theme Hyperspeed configuration: must be set to exclude googletagmanager.com/gtm.js from script deferral (this was flagged by the previous developer but not yet actioned) What you must not touch A tracking specialist has recently completed a full GTM and Consent Mode V2 implementation. The following must be left completely alone: GTM snippet (currently at line 9 of theme.liquid — do not move it) Consent Mode V2 defaults snippet above GTM Consentmo app and all its settings ProfitMetrics (3 active custom pixels) Shopify Facebook & Instagram native channel Blotout (TikTok channel active + Klaviyo identity resolution in use — Meta channel already disabled) Heatmap.com scripts Klaviyo ReConvert Judge.me Microsoft Clarity Simprosys (Google Shopping feeds) Klarna / Clearpay Deliverables I expect Pre-work audit document listing every script found and its status Theme backup created before any changes are made (non-negotiable) All orphaned code removed across all template files GTmetrix report run after cleanup showing new LCP, TBT, and page weight Before/after comparison of JavaScript payload size Screenshot confirming zero console errors after cleanup Plain-English summary of everything removed and from which file Notes on anything that could not be safely removed and why Important notes for your proposal Do not touch the Google Shopping feed or product titles under any circumstances A theme backup must be created before any work begins I will want to see the audit document and agree on it before you start making changes If during the audit you believe a migration to a fresh Shopify 2.0 theme would be more efficient than cleanup, flag it with a cost comparison — I am open to either approach Please confirm in your proposal that you have read this brief in full and tell me which file you would check first when looking for Feefo's orphaned code That last point is a test. Anyone who knows Shopify theme cleanup will answer it correctly. Anyone sending a generic proposal won't mention it. Skills required Shopify theme file editing (Liquid, theme.liquid, snippets, sections, templates) JavaScript and CSS debugging GTmetrix / PageSpeed Insights interpretation Experience with Shopify app code cleanup specifically — not just general web performance Timeline: Within 2 weeks preferred.

  • $300.00

    Fixed-price
  • Intermediate
    Experience Level
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
Divi
Shopify
HTML
Web Development
Activity on this job
  • Proposals:20 to 50
  • Last viewed by client:3 weeks ago
  • Hires:
    1
  • Interviewing:
    14
  • Invites sent:
    18
  • Unanswered invites:
    1
About the client
Member since Mar 27, 2018
  • United Kingdom
    Mirfield7:18 PM
  • $76K total spent
    36 hires, 17 active
  • 6,562 hours
  • Mid-sized company (10-99 people)

Explore similar jobs on Upwork

Ecommerce exicutiveFixed-price‐ Posted 3 weeks ago
Amazon Seller Central
Shopify
Shopify Lead Magnet IntegrationFixed-price‐ Posted 3 weeks ago
Shopify
HTML
Shopify Templates
JavaScript

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo