Skip to main content

Custom JavaScript

Updated over 2 weeks ago

Easily insert your own JavaScript code – including third-party tools like Intercom, Google Analytics, or others – into the <head> of your community site. Configure this under Manage > Settings > JavaScript.

You can use the following placeholders to dynamically insert user-specific data into your code:

  • #######{{ name }}

  • #######{{ user_id }}

  • #######{{ user_status }}

  • #######{{ email }}

All placeholders are automatically wrapped in double quotes (""). If the user is not logged in (e.g. on signup pages), the value will be null.

Important: Do not include <script> tags – your code will be embedded automatically into the <head> of every page.

Common use cases:

  • Embedding analytics tools (e.g., Google Analytics, Matomo, Plausible)

  • Connecting live chat systems (e.g., Intercom, FreshDesk)

  • Tracking user actions or running A/B tests

This is what the interface looks like:

Note: This feature is only available to admins.

Did this answer your question?