πŸŽ‰ Beta is now open

Book a free demo
Skip to main content

Installing the text widget on your website

One script tag adds a Text Us button, alert subscriptions, and quick keywords.

Updated

The HelloCivic Text widget is a small floating button on your website. Residents click it to see your texting number, subscribe to alert topics, or open their SMS app with a prefilled keyword β€” no app download required.

Get the embed code

  1. Open HelloCivic Text β†’ Installation.
  2. Copy the <script> snippet shown in the Website widget card.
  3. Paste it just before </body> on every page where you want the widget (usually your global site template or footer include).

The snippet includes your workspace's embed token β€” don't share it publicly outside your site.

Configure the widget

Open HelloCivic Text β†’ Settings β†’ Website widget to customize:

  • Title and intro β€” headline and short description in the panel.
  • Button label β€” text on the floating launcher (default: "Text us").
  • Position β€” bottom-left or bottom-right.
  • Theme color β€” matches your brand hex color.
  • Quick actions β€” which keyword buttons appear (ALERTS, TRASH, REPORT, etc.).
  • Allowed domains β€” restrict which hostnames can load the widget (recommended for production).

What residents see

  • Text us β€” your active civic number + an sms: link with your default keyword.
  • Get alerts β€” phone number field, topic checkboxes, and a required consent checkbox.
  • Quick actions β€” one-tap shortcuts to open Messages with common keywords.
  • Ask a question / Report an issue β€” open SMS with prefilled text (staff handles replies in the inbox; AI answers coming in a later phase).

Live preview

On the Installation page, click Live preview to inject the widget into your current browser session without publishing to your public site.

Verify it's working

After embedding, visit your site and look for the launcher in the configured corner. Open the panel, confirm your number appears, and try the subscribe flow with your own phone.

Troubleshooting

  • Widget doesn't appear β€” check allowed domains, confirm the embed token is correct, and hard-refresh.
  • No phone number shown β€” your workspace needs an ACTIVE assigned number.
  • Subscribe fails β€” topic may be inactive, or platform ops may have paused widget subscriptions temporarily.

Was this article helpful?

Your feedback helps us improve our docs.