Add Your Website
Before Statalog can track your traffic, you need to register your website and obtain a tracking snippet. This takes about a minute.
Adding a site
- Log in to your Statalog account at statalog.com.
- In the left sidebar, click Sites.
- Click Add site in the top-right corner.
- Enter your domain name — for example,
example.com. Do not includehttps://or a trailing slash. - Click Add site to confirm.
Statalog will create your site and take you directly to the installation screen.
Your site ID
Every site in Statalog is assigned a unique site ID in the format ST-XXXXXXXXXXXXXXX — the letters ST- followed by 13 alphanumeric characters. This ID is how the tracker script identifies which site a pageview belongs to.
Your site ID appears in two places:
- On the Installation screen immediately after adding the site
- In Site settings under the General tab at any time
Keep your site ID in the tracking snippet exactly as shown — it is case-sensitive.
Retrieving your tracking snippet
After adding your site, Statalog shows you a pre-filled tracking snippet with your site ID already inserted:
<script async src="https://cdn.statalog.com/st.js" data-site="ST-XXXXXXXXXXXXXXX"></script>
If you need to retrieve it later, go to Sites, click the site name, then open Settings → Installation. The snippet is always available there.
Subdomain tracking
By default, Statalog tracks all subdomains of your registered domain under a single site. Traffic from www.example.com, blog.example.com, and app.example.com is all recorded together when your site is registered as example.com.
This means you only need to install the snippet once per root domain and all subdomains will report into the same dashboard. If you want to track a subdomain separately — for example, if app.example.com is a distinct product — add it as its own site with its own site ID.
Tracking multiple websites
Statalog places no limit on the number of sites you can add to your account. Each site has its own tracking snippet, its own dashboard, and its own data set. Sites are completely isolated from one another — a visitor on site-a.com is never correlated with a visitor on site-b.com, even within the same Statalog account.
To switch between sites in the dashboard, use the site selector dropdown in the top navigation bar.
Next step
Once your site is created and you have your snippet, proceed to Install the tracking script to add it to your website.