Lcp Attributes

4 attributes in this category. 4 stable

Stable Attributes

lcp.element

string PII: Maybe OTel: False

The dom element responsible for the largest contentful paint.

Example img
Raw JSON
{
  "key": "lcp.element",
  "brief": "The dom element responsible for the largest contentful paint.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "img"
}

lcp.id

string PII: Maybe OTel: False

The id of the dom element responsible for the largest contentful paint.

Example #hero
Raw JSON
{
  "key": "lcp.id",
  "brief": "The id of the dom element responsible for the largest contentful paint.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "#hero"
}

lcp.size

integer PII: Maybe OTel: False

The size of the largest contentful paint element.

Example 1234
Raw JSON
{
  "key": "lcp.size",
  "brief": "The size of the largest contentful paint element.",
  "type": "integer",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1234
}

lcp.url

string PII: Maybe OTel: False

The url of the dom element responsible for the largest contentful paint.

Example https://example.com
Raw JSON
{
  "key": "lcp.url",
  "brief": "The url of the dom element responsible for the largest contentful paint.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "https://example.com"
}