Configuration Options

Indie Analytics provides several configuration options to customize how analytics are integrated with your WordPress site. All settings can be found in the WordPress admin under the "Indie Analytics" menu.

General Settings

Analytics Provider

Select your preferred analytics provider from the dropdown menu. Available options:

  • Umami
  • Plausible
  • Swetrix
  • Matomo
  • Fathom

Each provider has its own specific setup requirements. See the Analytics Providers documentation for details on each provider.

Site ID / Tracking ID

Enter the unique identifier for your website in your analytics provider's system. This may be called:

  • Website ID (Umami)
  • Domain name (Plausible)
  • Project ID (Swetrix)
  • Site ID (Matomo)
  • Site ID (Fathom)

Tracking Script URL

Enter the URL to your analytics provider's tracking script. Default URLs are provided for most providers, but you may need to customize this if you're using a self-hosted version.

Default script URLs:

  • Umami: URL from your Umami dashboard
  • Plausible: https://plausible.io/js/plausible.js
  • Swetrix: https://swetrix.org/swetrix.js
  • Matomo: URL to your Matomo installation, e.g., https://example.org/matomo/matomo.js
  • Fathom: https://cdn.usefathom.com/script.js

Custom Domain (Optional)

If you use a custom domain for your analytics provider (for example, to bypass ad-blockers), enter it here. This is supported for:

  • Umami
  • Plausible
  • Fathom

Exclude Admins

When enabled, this option prevents tracking of visits from logged-in WordPress administrators. This is useful to avoid counting your own visits while managing the site.

Validations

The plugin performs basic validation of your settings:

  • Checks that the selected provider is supported
  • Verifies that Site ID is not empty
  • Ensures the tracking URL is a valid URL
  • Performs provider-specific validations:
    • Umami: Validates UUID format for Website ID
    • Plausible: Validates domain name format
    • Matomo: Verifies Site ID is numeric

Saving Settings

After configuring your settings, click the "Save Changes" button to apply them. The analytics tracking code will be automatically added to your website header once settings are saved.

Indie Analytics