DocsGetting started
Get started

Getting started

Spin up a project, grab your public key, paste one script tag, and you're live.

  1. Add an analytics connection

    Head to the Analytics tab in your dashboard and click Add Connection. Each connection is a URL you want to instrument, tracked independently so you can compare marketing pages, product pages, and side projects.

    yourdomain.com
    + Add Connection
    Page Views
    12,480
    Unique Visitors
    3,214
    Bounce Rate
    42%
  2. Find your project key

    Every project has a public key, a UUID that lives on the script tag. It's safe to embed in client HTML.

    Where to find it
    Dashboard → Analytics → select your project → Install tab. The ready-to-paste snippet is right there with your key pre-filled.
  3. Install the snippet

    Paste this inside <head> of every page you want tracked. Replace <YOUR_PROJECT_KEY> with the UUID from the previous step.

    index.htmlhtml
    <script async src="https://www.grademypage.com/api/analytics/script.js?projectId=<YOUR_PROJECT_KEY>"> </script>
    Next.js / framework users
    Drop the tag into your root layout once and you're done. The script is async, so it won't block rendering.
  4. What's next

    Pick the guide that matches what you want to measure: