Add Telegram live chat with Google Tag Manager
Already use Google Tag Manager? Add the chat as one tag, with no change to your site’s code.
Your line
Every website has its own line, which you get in step 3 of setup. It looks like this, with your site’s code in place of your-site-id:
<script src="https://signalgood.com/s/your-site-id.js" async></script>Start free to get your lineYour own line is under Install in Your websites.
Add it to Google Tag Manager in three steps
- Step 1: Go to Tags › New › Tag Configuration › Custom HTML.
- Step 2: Paste your line and set the trigger to All Pages.
- Step 3: Save, then Submit and Publish the container.
Tag Manager adds the line after your page loads, which is fine: the chat loads the same way.
Check it works
Open your website in a new tab and look for the chat button in the corner. Send yourself a message: it arrives in Telegram from the SignalGood bot.
Questions about Google Tag Manager
Does it matter that Tag Manager loads it late?
No. The chat is meant to load after your page, so nothing changes for your visitors.
Do I need a consent trigger?
The chat sets no cookies and stores nothing until a visitor sends a message, so All Pages is usually right. Your own policy decides.
If the button doesn’t show
- Wait up to 10 minutes after a change.
- Clear your cache plugin or CDN.
- Check the line is on every page, not just one.
- Make sure the address in SignalGood matches your site, with or without
www.
For developers
If your site has a Content Security Policy, allow https://signalgood.com in script-src, connect-src and frame-src.
Take it off again
Remove the line, and the chat is gone from your site.
Related guides
New to this? Read how Telegram live chat works, or see every platform. It’s $5 a month per website after 14 days free.