Skip to content
All documentation pages

Get started

Quickstart

Three steps, no build step and no server code.

1. Create a project

  1. Create an account. Every account starts on the free plan.
  2. Create a project and enter your site’s domain, such as example.com. Events are accepted from that domain and its subdomains, so www.example.com and shop.example.com both count. The domain rules explain the details.
  3. Copy the write key from the install panel. It starts with wm_w_, and it is safe to publish: it can only send events, and only to this project.

2. Add the script

3. Check that it works

  1. Open your site in a browser that does not send Do Not Track or Global Privacy Control. The tracker sends nothing from a browser that signals either.
  2. The first page view is sent within about five seconds, or as soon as you leave the page.
  3. Open Overview in the dashboard. The install panel changes to a confirmation when the first event lands.
  4. Nothing after a minute? Open your browser’s developer tools, find the request to https://in-stg.webmetric.io/e in the Network tab and look at its status. Troubleshooting explains each one.

Next steps

  • Send custom events for the actions a page view cannot show, such as a completed sign-up.
  • Build a funnel from the pages and clicks you are already recording.
  • Read what the tracker collects and never stores, and exclude your own office from your numbers.
  • If your site sends a Content Security Policy, add the two sources the tracker needs.