EarnedStats Docs

Get started

Quickstart

From sign up to your first visit in about two minutes.

1. Add your site

Sign in at earnedstats.com/login and add your domain, for example example.com. Each account can hold three sites.

2. Paste the script

Put this tag inside <head> on every page. Your site id is filled in for you under Settings, Tracking.

index.html
<script defer data-website-id="YOUR_SITE_ID"
  src="https://earnedstats.com/js/script.js"></script>

Using a framework or a site builder? Install the script has the exact place for each.

3. Open your site

Visit your site in a normal browser window. The dashboard shows the visit within a few seconds and the setup banner turns green.

Note

Visits from localhost are not counted unless you add data-allow-localhost. See Test your setup.

4. Next steps