Articles in this section
Category / Section

How to Add a Web Widget to the Customer Portal

Published:

The custom JS option allows you to add a widget to your BoldDesk customer portal. To achieve this,

Go to Admin > Customer Portal > Customization and paste the following custom JS code.

Custom JS code

(function () {
   var v = document.createElement('script');
   v.src = "https://{{yourdomain}}/widget/{{widgetId}}";
   v.type = "text/javascript"
   document.head.append(v);
})(); 
  • You can add your domain in the place of {{yourdomain}}. For ex: support.bolddesk.com
  • Replace the placeholder with the widget ID in the code.

Where to find the widget ID?

Go to Admin > Web Widgets. Click on the widget you want to add and copy the widget ID from the URL. Refer to the following screenshot.

WidgetID.png

Pasting the custom JS codes

To learn where to paste the above custom JS codes, refer to this article.

After customization

Widget_on_Customer_Portal.png

Related article

Restrict Agents Ticket Creation in Customer Portal

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied