Skip to main content

Add your webchat widget to a website

Embed your webchat widget on your site by inserting the auto-generated code we provide you into your site's source code.

Written by Gareth Burroughes
Updated over 2 weeks ago

The Dotdigital Tag

The Dotdigital Tag simplifies the process of adding Dotdigital scripts to your site.

Access webchat widget code

  1. Expand the User menu, then go to Settings > Chat > Widget.

  2. Once you've customised your widget, select VIEW CODE.

  3. Select YES or NO for Auth Callback.

  4. On the pop-up side panel, select COPY TO CLIPBOARD.

  5. Paste the copied script into the head section on the pages of your website where you want the chat widget to appear.
    The script is compatible with tag managers, like Google Tag Manager.

The widget appears on the bottom right-hand side of your website. Visit your page to see chat in action.

Auth Callback explained

Auth Callback allows you to integrate the chat widget into your existing authentication system. When you configure auth callback, any contacts created in your account using Chat have the same user ID as in their corresponding accounts on your website.

If you're not sure about how to use Auth Callback, we recommend using the chat widget with Auth Callback set to No – you still get all the great features of Chat.

Did this answer your question?