What strategy should a site use to negotiate with ad-tech vendors for lighter script implementations when current tags are the primary cause of INP failures?
Answered 3-minute answer rooted in 1 page
Negotiate with evidence, a specific request and a measurable acceptance test. A trace that shows a vendor’s script running a long task during a visitor’s tap gives the vendor something specific to fix, which a complaint that “the ads are slow” does not. The strategy has three parts: prove which vendor’s code is responsible for the slow interactions, ask for changes the vendor can actually make, and agree on how success will be measured in field data, with a date.
Part 1: Build the case
Before any conversation, isolate the vendor’s share of the problem with field attribution, lab traces and controlled removal, as described in the companion guide on isolating individual tags. The evidence pack for each vendor should contain:
- Field data: the share of slow interactions (over Google’s 200 millisecond INP threshold) in which the vendor’s scripts were active, from INP attribution and the Long Animation Frames API.
- A lab trace: a recorded slow interaction showing the vendor’s script running during it, with the duration of its tasks. web.dev’s long tasks guide defines any task over 50 milliseconds as long; tasks well above that are the core of the case.
- A removal test: the INP change when only that vendor’s tag is blocked, under the same conditions.
- Scope: which templates and devices are affected, and how many page views that represents.
The removal result does not depend on attribution logic, which makes it the strongest piece of evidence.
Part 2: Ask for specific changes
General requests (“make it lighter”) produce general replies. Ask for changes tied to what the trace showed:
| What the trace showed | Request to the vendor |
|---|---|
| A long task during startup that overlaps early interactions | Defer initialization, or split it into smaller tasks |
| The vendor's listener runs inside the visitor's click | Remove or narrow the listener, or move its work out of the interaction |
| Large script evaluated on every page | A lighter build, or loading only on templates where the product is used |
| Ad or widget injection shifting content | Fixed-size slots and no layout changes after render |
| Several vendor scripts doing similar jobs | Consolidation into one tag |
Ask also for the vendor’s own guidance on performance-sensitive implementation, and whether its product has configuration options that reduce main-thread work.
Part 3: Agree on acceptance criteria
Make the target measurable and tied to field data the site controls:
- Name the metric and segment. For example: mobile INP on article templates, measured by the site’s RUM.
- Set the threshold. The vendor’s script should not appear in more than an agreed share of interactions slower than 200 milliseconds, or the vendor’s long tasks should stay under an agreed duration in the lab test.
- Set the timeline and the review. A date for the change and a review of the field data after enough traffic has accumulated.
What the site can do in parallel
The site does not have to wait for the vendor:
- Control when the tag loads. Delay non-essential tags until after the page is interactive or until they are needed.
- Reserve space for ad slots so injected ads do not shift content.
- Limit where the tag runs to the templates that need it.
- Prepare an alternative. A credible option to switch vendors or remove the tag changes the conversation.
A negotiation built this way gives the vendor a clear problem to fix and gives the site a clear way to tell whether it was fixed.
Answers that share these roots
- How should large single-page applications restructure event handlers to reduce INP without sacrificing interactivity on complex filtering interfaces? shares 1 page
- How do third-party scripts affect Core Web Vitals when they load asynchronously but still compete for main-thread execution time during user interactions? shares 1 page
- What diagnostic approach should you use when INP scores are poor at the 75th percentile but good at the median, indicating a long-tail interaction problem? shares 1 page
- What is the mechanism by which total JavaScript payload size affects INP even when the initial page load appears fast and LCP is within the good threshold? shares 1 page
Leave a Reply