Tags

Insights

Collects, processes, and reports website performance metrics through its own privacy-focused API and infrastructure.

Usage

The nano-insights tag is used to embed the performance insights functionality into your web application. It allows you to track real user website performance metrics securely.

Installation

Install the insights npm package:

npm install nano-insights

Embedding

To embed the insights functionality, include the following script in your top-level HTML (e.g., index.html):

<script>
  import "nano-insights";
</script>
 
<nano-insights userId="USER_ID" projectKey="PROJECT_KEY" />
Edit on GitHub

Last updated on

On this page