Ha Tang Chat

By phucnd

0+ active installationsVersion 0.2.3

Adds the Ha Tang Support live chat widget to your site, sharing one inbox with Zalo, Facebook, Instagram, TikTok, WhatsApp, Telegram and email.

Description

Ha Tang (Hạ Tầng) is a shared customer-support inbox for businesses in Việt Nam. This plugin places the chat bubble on every page of your site so visitors can message you, and your team answers from the Ha Tang dashboard at https://app.hatang.dev, alongside Zalo (Official Account and personal), Facebook Messenger, Instagram, TikTok, TikTok Shop, WhatsApp, Telegram, X, LINE and email conversations.

  • Paste your site id and the widget appears on every page.
  • Choose the bubble position and language: follow the WordPress language page by page (Polylang, WPML), the visitor’s browser, or fixed Vietnamese / English.
  • Logged-in WordPress users are shown by name and email in the inbox (optional).
  • Developers can sign identities with the hatang_chat_identity_hash filter so the inbox marks them verified.

You need a Ha Tang account (free plan available) to use this plugin.

Step-by-step setup: https://hatang.dev/help/integrations/wordpress. Developer guide (identity signing, filters): https://hatang.dev/docs/guides/integrations/wordpress.

External services

This plugin loads the chat widget script from Ha Tang (https://chat.hatang.dev/widget.js) on the public pages of your site and connects visitors to Ha Tang’s chat service so their messages reach your inbox. The following data is sent to Ha Tang when a visitor loads a page with the widget: the page URL and title, the visitor’s browser language, and, if you enable it, the name and email of logged-in users. Terms: https://hatang.dev/legal/terms. Privacy policy: https://hatang.dev/legal/privacy.

Installation

  1. In WordPress, go to Plugins → Add New Plugin, search for “Ha Tang Chat”, click Install Now, then Activate.
  2. Go to Settings → Ha Tang Chat and paste the Site ID from Customer Support → Channels → your website in your Ha Tang dashboard.

FAQ

Where do I find my Site ID?

In the Ha Tang dashboard, open Customer Support → Channels, pick your website, and copy the id from the install snippet on its Settings tab.

Which conversations land in the same inbox?

Chats from this website, plus every channel you connect in Ha Tang: Zalo (Official Account and personal), Facebook Messenger, Instagram, TikTok, TikTok Shop, WhatsApp, Telegram, X, LINE and email. See https://hatang.dev/chat.

Does it slow my site down?

The widget loader is under 1 KB and loads asynchronously; the chat app itself is about 15 KB compressed and loads only after the page is ready.

Changelog

Unreleased

0.2.3

  • The plugin’s author link points to hatang.dev; the readme links the setup guide and the developer guide.

0.2.2

  • The plugin is now called Ha Tang Chat (Hạ Tầng in Vietnamese).
  • The plugin’s homepage is the help article at hatang.dev/help/integrations/wordpress.
  • The settings page and readme name the dashboard’s Customer Support → Channels.

0.2.1

  • The settings page and readme point to Support → Channels, where the Hatang dashboard now lists your websites.
  • The readme lists every channel that shares the inbox: Zalo (OA and personal), Facebook, Instagram, TikTok, TikTok Shop, WhatsApp, Telegram, X, LINE and email.

0.2.0

  • Language setting can follow the WordPress language of each page (works with Polylang and WPML); new hatang_chat_locale filter.
  • Settings page translated into Vietnamese.

0.1.1

  • Load the widget through wp_enqueue_script.

0.1.0

  • First release: widget snippet, position and language settings, logged-in user identification.