The snippet is standard HTML: any platform that lets you insert custom code in your site’s <head> or
<body> will work. Menu names may vary between versions of each platform; if a step doesn’t match exactly
what you see, look for your platform’s custom code section — almost all of them have one.
Your own HTML / custom-built site
Section titled “Your own HTML / custom-built site”Paste the snippet directly into the template, before </head> or </body>. If your site uses a shared
template (a PHP layout, a header/footer include, a static-site generator like Jekyll or Hugo), paste it
there so it applies to every page at once.
WordPress
Section titled “WordPress”Two paths, depending on your profile:
- Appearance → Theme Editor: edit
header.phporfooter.phpof the active theme and paste the snippet before</head>or</body>. Requires a child theme (or similar) so the change isn’t lost on a theme update. - Code-insertion plugin (recommended if you’re not a developer): a plugin like WPCode (“Insert Headers and Footers”) adds the snippet to every page without touching the theme files.
If you build pages with Elementor: add an “HTML” widget to the global footer template and paste the snippet there.
Site Settings → Custom Code. Add a new code, paste the snippet, mark it to apply to every page and choose
the position (head or end of <body>), and publish the changes.
Squarespace
Section titled “Squarespace”Settings → Advanced → Code Injection. Paste the snippet into the Header field or the Footer field, and save.
Webflow
Section titled “Webflow”Project Settings → Custom Code. Paste the snippet into “Head Code” or “Footer Code”. Remember that in Webflow, custom code changes don’t go live until you publish the site.
Shopify
Section titled “Shopify”Online Store → Themes → Edit code, open theme.liquid and paste the snippet before </head> or right
before </body>. Save the file.
Google Tag Manager
Section titled “Google Tag Manager”Create a new “Custom HTML” tag, paste the snippet, choose the “All Pages” trigger, and publish the container.
Note — Better outside GTM if you can
A chat that must always be available depends on the GTM container firing correctly and, if you have cookie consent management enabled in Tag Manager itself, on that consent configuration. If your platform allows it, it’s more robust to insert the snippet directly into the site template than through GTM.
