Skip to content

Fetch Options

All JamComments integrations share the same set of configuration options for fetching comments. Here’s what each one does:

Your site’s domain as configured in your JamComments account. Do not include the protocol (“https://”).

Example: your-site.com

Your API key from your account settings. This authenticates requests and identifies which site the comments belong to.

Set this to "production" to enable live comments. Any other value enables development mode, which shows dummy comments and silently accepts submissions without saving them.

Common values:

  • "production" — Live comments, real submissions
  • "development" — Dummy comments, silent submissions

Most integrations automatically detect your environment from standard environment variables (like NODE_ENV), but you can override it here.

By default, comment dates are shown in UTC time, which might look odd depending on where you live. Use the tz option to display dates in your local timezone.

Any valid timezone identifier works. For example:

  • "America/Chicago" — US Central Time
  • "Europe/London" — UK time
  • "Asia/Tokyo" — Japan time

Without this option, a comment submitted at 6 PM in Chicago might display as “11:00 PM” (UTC time).