Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Slow tag loading hurting LCP and INP: how to find and fix it

TRK-387Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A tag is a small script that sends data to a platform such as GA4, Google Ads, Meta or TikTok. Each one is downloaded and run by the visitor's browser. The browser has one main thread for most of its work, so a heavy tag can block it from drawing your page or reacting to input.

Two Core Web Vitals (Google's page experience measures) are affected. LCP (Largest Contentful Paint) is how long the biggest visible element, often a hero image or headline, takes to appear. INP (Interaction to Next Paint) is how long the page takes to visibly respond after a click, tap or key press. Google's published guidance treats LCP of 2.5 seconds or less and INP of 200 milliseconds or less as good.

Why it costs you leads or sales

Visitors from ads often arrive on mobile, on average hardware and mid-range connections. If the page looks blank for a few seconds, some leave before they see your offer. If they tap a button or open a form field and nothing happens, they tap again, give up or leave. The irony is that tags meant to measure your funnel end up hurting it.

How slow tags lose a lead
  1. Ad clickVisitor lands on the page
  2. Tags load firstSeveral scripts block the main thread
  3. Hero appears lateLCP is slow
  4. Form feels laggyINP is slow
  5. Lead submittedNever reached

Tags that run before the page is usable delay the hero and the form, so the visitor leaves before converting.

Main-thread time added by tagsExample numbers
Main-thread time added by tags (example)No tags: 150 ms; GA4 only: 300 ms; GA4 + Ads + Meta: 700 ms; Plus chat, heatmap, TikTok: 1,400 ms05371,0731503007001,400No tagsGA4 onlyGA4 + Ads + MetaPlus chat, heatmap, T…ms

Example: illustrative blocking time on a mid-range phone as tags are added. Your numbers will differ.

How to check if your site has it

Find which tags slow your page
  1. Run PageSpeed Insights

    Test your landing page on mobile. Open the diagnostics and look at 'Reduce the impact of third-party code', 'Reduce unused JavaScript' and 'Minimize main-thread work'.

  2. Record a trace in Chrome DevTools

    Open the Performance panel, enable CPU throttling (4x slowdown) and reload with recording on. Look for long tasks (red corners) and see which script URLs own them.

  3. Block the tags and compare

    In the Network panel, right-click a tag request and choose 'Block request domain', then reload. If LCP drops clearly, that tag is a cause.

  4. Check real-user data

    Look at the Core Web Vitals report in Google Search Console, or the CrUX data shown in PageSpeed Insights, to see whether real visitors are affected.

  5. List every tag

    Open your tag manager and note each tag, its trigger and its owner. Tags nobody can explain are candidates for removal.

How to fix it

The order matters: remove first, then delay, then slim down. Never delay your conversion tags so far that a fast visitor leaves before they fire.

Reduce the tag cost
  1. Remove tags you don't use

    Delete old pixels, retired test tools and duplicate analytics. Each removed script is the cheapest speed gain.

  2. Stop duplicates

    Make sure GA4 or the Meta pixel isn't installed both in the theme and in the tag manager.

  3. Load non-essential tags later

    Chat widgets, heatmaps and session recorders can wait until the page is interactive or the first user input.

  4. Keep conversion tags reliable

    Fire page view and conversion tags on 'Page View' or 'Window Loaded' rather than being held back by long delays.

  5. Break up long tasks in your own code

    If a custom event handler runs heavy work on click, defer non-urgent work so the page can respond first.

  6. Re-test and compare

    Run the same page on the same settings and compare LCP, INP and Total Blocking Time with your earlier results.

Do it on your platform
  1. Audit triggers

    Change non-essential tags from 'All Pages - Page View' to 'Window Loaded' or a custom trigger that fires after first interaction.

  2. Use Preview mode

    Open Preview and check which tags fire on which event, and pause or delete unused ones.

  3. Trim the container

    Remove unused variables, triggers and Custom HTML tags that load third-party libraries.

Load a non-essential script after first interactionjavascript
function loadChat() {
  var s = document.createElement('script');
  s.src = 'https://example.com/chat-widget.js';
  s.async = true;
  document.head.appendChild(s);
}
['pointerdown', 'keydown', 'scroll'].forEach(function (e) {
  window.addEventListener(e, loadChat, { once: true, passive: true });
});
setTimeout(loadChat, 8000);
Tag setup before and after

Before

  • Eight tags fire on page view
  • Chat and heatmap load before the hero
  • Duplicate GA4 in theme and tag manager
  • Buttons feel laggy on mobile

After

  • Only needed tags fire on page view
  • Chat and heatmap load after first interaction
  • One GA4 install
  • Conversion tags still fire on submit

How to confirm it's fixed

Fix verification
  • PageSpeed Insights shows lower LCP and Total Blocking Time on mobile than before
  • DevTools Performance trace shows fewer long tasks from third-party scripts
  • Tag manager Preview shows conversion tags still fire on form submit or purchase
  • GA4 DebugView or the platform's test tool receives the conversion event
  • A test lead still reaches your inbox and CRM
  • Search Console Core Web Vitals trend improves over the following weeks

Field data in Search Console is based on a rolling window of real visits, so it takes weeks to reflect a change. Judge the fix with lab tests first.

How to prevent it happening again

Habits that keep tags light
  • Give every tag an owner and a reason to exist
  • Review the tag manager each quarter and delete unused tags
  • Test page speed before and after adding any new tag
  • Set a performance budget for key landing pages
  • Use a staging container or Preview mode before publishing
  • Check new app or plugin installs for scripts they add

How FunnelGuard handles this

FunnelGuard detects this today. Its robot visitor loads your pages on a schedule as part of your funnel journeys and checks them against a Core Web Vitals budget, so a page that becomes slow after a new tag is added can be flagged. If a check fails, it is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause.

FunnelGuard flags the problem; it does not remove or delay your tags for you. It also checks that the tracking hits to GA4, Google Ads, Meta and other platforms still fire, which helps you confirm a speed fix did not break conversions. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans have a 3-day free trial.

Questions people ask

Why are my marketing tags slowing down my website?

Each tag is a script the browser must download and run, often on the same main thread that draws the page and handles clicks. Several tags firing at page load can delay the hero content (LCP) and make interactions feel laggy (INP). Chat widgets, session recorders and ad pixels are common heavy ones.

How do I find which tag is hurting LCP or INP?

Run PageSpeed Insights and read the third-party code and main-thread diagnostics. Then record a Performance trace in Chrome DevTools with CPU throttling and see which script URLs own the long tasks. Blocking one domain at a time in the Network panel shows its effect.

Does Google Tag Manager slow down my site?

The container itself is small, but the tags inside it can be heavy. A container with many tags firing on every page view will slow the page. Cleaning unused tags and changing triggers for non-essential ones usually helps.

Is it safe to delay Google Ads or Meta conversion tags?

Delay them only a little, if at all. If a visitor converts before the tag loads, the conversion can be missed. Delay chat, heatmaps and other non-essential scripts instead, and always test that conversions still fire.

What is a good LCP and INP score?

Google's guidance treats an LCP of 2.5 seconds or less and an INP of 200 milliseconds or less as good, measured at the 75th percentile of real visits. Lab tests are only a guide, so check field data as well.

How long until Core Web Vitals improve in Search Console?

Search Console uses real-user data over a rolling period, so changes take weeks to show fully. Use lab tests straight after the fix to confirm the improvement, then watch the field trend.

Can FunnelGuard tell me when a new tag slows my page?

Yes. FunnelGuard checks your pages against a Core Web Vitals budget on a schedule and alerts you if a check fails, after re-checking from a second region. It reports the problem and a likely cause, but you make the changes to your tags.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: cwv_budget.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.