Skip to content
Real User Monitoring

LCP Attribution

2 min read · Updated Oct 14, 2026

LCP Attribution in PerfBee's Real User Monitoring provides insights into which element is the Largest Contentful Paint for your users, helping you prioritize optimization efforts.

LCP Attribution

Understanding your website's performance from a real user's perspective is crucial. PerfBee's Real User Monitoring (RUM) provides valuable insights into how your website performs for your actual visitors. One of the most critical metrics is the Largest Contentful Paint (LCP), which measures the loading performance of the largest content element visible within the viewport. LCP Attribution helps you pinpoint which element is causing the delay, allowing for targeted optimization.

What is LCP Attribution?

LCP Attribution identifies the element that the browser considers the LCP element for your users: for each page view, PerfBee records its tag name (for example IMG or H1) and, for images and videos, the file's URL. This is important because optimizing the wrong element wastes valuable time and resources. PerfBee leverages the browser's PerformanceObserver API to gather this data. The data is then presented in the dashboard's LCP Element Attribution card.

Common LCP Elements

The LCP element can vary depending on your website's design and content. Some common examples include:

  • Hero Image: Often a large image prominently displayed on the homepage.
  • H1 Heading: The main heading of a page.
  • Above-fold Text Block: The first block of text visible to the user.
  • Video: Embedded videos can sometimes be the LCP element.

How Attribution Helps Prioritize Optimization

LCP Attribution data helps you focus your optimization efforts. For example, if your hero image appears in the attribution card with many occurrences and a slow LCP, optimizing that image should be a top priority. This might involve image compression or preloading.

The LCP Element Attribution card covers page views whose LCP took longer than 2.5 seconds. For each element it shows the tag name, the resource URL (for images and videos), the number of occurrences and the LCP P75, slowest first, up to 10 rows. The card is filled when "Last 7 days" is selected. This data allows you to:

  1. Identify the dominant LCP element type: Are the tags mostly images (IMG), text (such as H1, P or DIV), or something else?
  2. Locate the specific element(s): Use the resource URL to find the exact image or video. For text elements, the Top Pages card shows which pages have a slow LCP.
  3. Prioritize optimization: Target the elements with the most occurrences first.

Using Attribution Data to Target the Right Fix

Consider this scenario: PerfBee's LCP Element Attribution card lists IMG elements at the top, with the most occurrences. This indicates that optimizing your images will have the most significant impact on improving your users' perceived performance. You could then focus on image optimization techniques like:

  • Compressing images without sacrificing quality.
  • Serving images in modern formats like WebP.
  • Implementing lazy loading for images below the fold.
  • Preloading the most important images.

By using LCP Attribution within PerfBee's RUM, you can make data-driven decisions to improve your website's performance and provide a better user experience. Visit the PerfBee Dashboard to get started.