Skip to content

General settings

Core identity for a site: tracking snippet, canonical URL, timezone. Find them at Site settings → General.

Tracking code

Each site has a unique numeric ID baked into the script URL (/js/<id>/s.js). The snippet is generated once and never changes.

<script src="https://statable.com/js/YOUR_SITE_ID/s.js" defer></script>

Drop it into <head> on every page you want to measure. About 2.5 KB gzipped, loads async, exposes window.statable.t() for manual events.

To copy:

  1. Open Site settings → General.
  2. Find the Tracking Code card.
  3. Click Copy.

The card is read-only. The data-id cannot be regenerated. Need a new ID? Create a new site.

Site URL

The canonical domain Statable associates with the site. Used as the default link target in dashboards, in shared screenshots, and during installation checks.

Rules:

  • Must start with http:// or https://. HTTPS is recommended for production sites.
  • No trailing slash. Statable strips it on save.
  • One hostname per site. For multi-domain setups, use the hostname allowlist.

To change it:

  1. Click Change domain on the Site URL card.
  2. Enter the new URL (e.g. https://app.example.com).
  3. Confirm. The change applies immediately.

The data-id stays the same. Only the canonical URL is rewritten. Verify the snippet is still installed on the new domain.

Timezone

Events are stored in UTC and converted to your site's timezone for display. One IANA zone per site (Europe/Kyiv, America/Los_Angeles, Asia/Tokyo, etc.).

Pick the timezone where your team analyzes data, not where servers run. It affects:

  • Hourly and daily buckets in the chart.
  • "Today" / "Yesterday" presets.
  • Goal and event aggregation windows.
  • CSV exports.

Switching after data has accumulated re-buckets historical reports. A "9 AM peak" in America/New_York shifts to "6 AM" if you switch to America/Los_Angeles. Underlying events aren't modified, only the rendering.

Save with Update timezone. Takes effect on the next dashboard refresh.

Edit widget settings

If you've embedded a public widget (live counter, globe, country map), its visual options live behind Edit widget settings. Jump to the configurator without leaving the site context.

What General doesn't control

Permissions

Only owners and admins can edit General settings. Read-only members see the snippet and timezone but can't change them.


Ready to take control of your web analytics? Try Statable free for 30 days — no credit card required, full feature access, GDPR-compliant by default. Start your free trial or view a live demo.