Install the tracker.

By the end of this page the snippet is on every page you want measured.

What you need

  • Project key Issued when the project is created. It names the project in every request.
  • Project One key belongs to one project. Create it before the install.
  • Domain The hostname the tracker will run on, including the subdomain.
  • Head access Edit access to the document head, or a tag manager that can inject there.

Steps

4 steps

Create the project

In the dashboard, open Projects and create one. Copy the key shown for that project. The key can be rotated without changing the project.

Copy the snippet

The snippet carries the key and loads asynchronously. It does not block rendering, and it writes nothing to the device.

Paste it into the document head

Add it before the closing head tag on every page you want measured. A tag manager works if it injects into the head before the first route renders.

Load one page and check the session list

Open the site in a clean tab. The first pageview appears in the session list with its path, referrer and device fields. Replay appears only when it is enabled for the project.

html, in the head of every page

<script defer src="/_fr/t.js"
        data-project="pk_live_000000"></script>
<script>
  frioda.track("pageview", { path: location.pathname });
</script>

Next steps

3 pages