1. Add the snippet
Paste this before the closing head tag of your pages. The site is identified by its domain name.
<script async src="https://cdn.open-telemetry.net/t.js"
data-site="example.com"></script>Developers
Up and running in five minutes.
Paste this before the closing head tag of your pages. The site is identified by its domain name.
<script async src="https://cdn.open-telemetry.net/t.js"
data-site="example.com"></script>Mark an element as an ad placement to receive viewability and latency.
<div data-ot-ad="homepage-top" data-ot-network="my-network"></div>Fetch p75 LCP for the last 7 days.
curl -H "Authorization: Bearer $TOKEN" \
"https://api.open-telemetry.net/v3/sites/example.com/metrics?m=lcp&p=75&range=7d"