Generate chat button HTML
The primary connection between Bold360 and your chat customers is a snippet of HTML code that you generate together with a chat button and insert to your site.
- Which button or link are you showing to customers?
- Are you collecting information about customers so you can analyze and react to visits even before they chat?
- Are you tracking conversion events so you can relate specific chats to actual sales or other milestones?
- Are you inviting customers to chat based on characteristics of their visit such as page visited, length of visit, and more.
Here's how to set up a Bold360 chat button HTML snippet to create a "gate" between customers and Bold360. For this first test we'll create a Floating Chat button.
- At admin.bold360.com, choose the type of HTML code to generate:
Option Description Floating Chat Button Select Channels > Chat > Chat Buttons (Floating) when you want to implement a floating chat button and/or monitor customers before chat and/or invite users to chat based on characteristics of their visit. Static Chat Button Select Channels > Chat > Chat Buttons (Static) when you want to implement a fixed-position chat button or link on your site. Conversion Tracking HTML Select Customers > Conversion Codes when you want to track conversion events so you can relate specific chats to actual sales or other milestones.
- Apply settings to your HTML and associated entities. Tip: This article focuses on the "big picture" of how to implement an HTML snippet rather than the potentially long chain of settings that you can make to the various Bold360 entities that can be associated with an HTML snippet, such as Chat Button definitions, Chat Window definitions, Website definitions, Department definitions, Invitation Rulesets, Conversion Codes, and more.
- Click Generate HTML and then Copy to Clipboard.
- Paste the code to your site. Important: Modifications to the generated HTML code may cause unexpected behavior and is not supported. For assistance or questions regarding the HTML snippet, contact Support.
When pasting the HTML code to your site, consider the following in light of your actual site architecture:
Tip: If you are sending the code snippet to a web developer via email, do not paste the code directly into an email message. Save the HTML code in a text file (Notepad, for example) and attach it to an email.
- To activate the code on all pages, paste the code into the footer include of your website before the closing <body> tag.
- To activate the code per page (on a single page or multiple pages individually), paste the code into any page before the closing <body> tag.
- If the chat button associated with your HTML uses a layered chat window, make sure your pages start with a <!DOCTYPE html> tag. Without this tag, some versions of Internet Explorer will use quirks mode and open the layered chat window in a pop-up.
You must re-copy and re-insert your HTML code after making any of the following changes:
- When you associate a new chat button (static or floating) with your HTML (rather than modifying an existing chat button)
- When you associate a new website with your HTML (rather than modifying an existing website)
- When you toggle Pass custom information about customer on/off
- When you change the Conversion Code associated with your HTML
- When you change the invitation rule set associated with your HTML