Messages

Where do I put the Messages script?

Last updated: November 14, 2016

Available For:

Marketing: N/A
Sales: Professional

In Beta

When setting up Messages, you will be required to place a small JavaScript embed code onto your website.

The embed script can be found by navigating to Sales Tools > Messages. Within the Messages tool, select Get Embed Script.

Please note: This beta version of Messages is being retired. To request access to the new beta version of Messages, which includes live chat functionality, go here and fill out the form.


Installing the embed script

Embed this JavaScript snippet immediately before the closing body tag (</body>) on any page you want to display the Messages widget. If you are a marketing customer using the HubSpot COS, you can install it in your Site Footer HTML.

If you have your website hosted on another platform, please check the following article for a walk through of exactly where to place this embed code: How to install the tracking code 

Free HubSpot Sales Software Training Learn HubSpot CRM & HubSpot Sales Tools from the experts at HubSpot Academy.