Websites
Statalog organizes analytics data by site. Each website you want to track is added as a separate site in your account, gets its own tracking snippet, and stores its data independently.
Adding a site
- Click Add Site from the dashboard or from Account → Websites.
- Enter your site's domain (for example,
example.com). Do not includehttps://or a trailing slash — just the bare domain. - Choose your site's timezone. All time-based charts, daily breakdowns, and email reports use this timezone. Select the timezone where your audience is primarily located, or the timezone your team works in. You can change it later, but historical data will be re-bucketed going forward rather than retroactively.
- Click Create Site. Your site is created and you are shown the tracking snippet.
Your site ID
Every site is assigned a unique identifier in the format ST- followed by six alphanumeric characters — for example, ST-A1B2C3. This ID is:
- Required as the
site_idparameter in all REST API requests - Embedded in your tracking snippet as the
data-siteattribute - Used in the dashboard URL
You can find the site ID at any time under Account → Websites → [site name] or in the tracking snippet shown on the site's settings page.
Per-site settings
Each site has its own settings panel at Account → Websites → [site name] → Settings:
Timezone — adjusts which UTC offset is used when grouping pageviews into days and hours. Changing the timezone does not alter stored data; it changes how future data is bucketed.
Public dashboard — when enabled, anyone with the link can view your analytics dashboard without logging in. The public URL is shown in the settings panel. Useful for sharing stats with clients or displaying them on a public status page.
Subdomain grouping — when enabled, pageviews from www.example.com, blog.example.com, and any other subdomain are all tracked under the root domain example.com. When disabled, each subdomain is tracked as a distinct hostname.
Bot filtering — the tracker excludes known bots and crawlers by default. The track_bots toggle lets you include bot traffic in your data if you need it for debugging or auditing purposes. Leave it off for production analytics.
Tracking snippet
Each site has its own snippet. Find it at Account → Websites → [site name] → Tracking Snippet. Place the snippet in the <head> of every page you want to track:
<script async src="https://app.statalog.com/st.js" data-site="ST-A1B2C3"></script>
If you are self-hosting, replace https://app.statalog.com with your own domain. See the Tracking snippet (self-hosted) article for details.
Deleting a site
Warning: deleting a site permanently and irreversibly deletes all analytics data associated with it — every pageview, session, event, and heatmap record. This cannot be undone.
To delete a site:
- Go to Account → Websites → [site name] → Settings.
- Scroll to the Danger Zone section and click Delete Site.
- Type the site domain to confirm.
- Click Confirm Delete.
After deletion, the site ID is retired and cannot be reused. Remove the tracking snippet from your website immediately after deletion to prevent stale tracking requests.