This project is not covered by Drupal’s security advisory policy.

Loading the Zendesk web widget is expensive and adds time to the TBT (total blocking time) metric in Light house.

This module adds a block that displays a copy of your Zendesk button but only loads the widget when it is clicked.

NOTE: as the Zendesk widget isn't loaded until the user requests it, chat initiated by the server will no longer work, so if you use this feature this module isn't for you.

In order to set up the module you will need the key value from the web widget. Once entered the module will download a copy of your configured button so that it will look exactly the same as your existing button.


Based on work documented here -
https://www.newmediacampaigns.com/blog/maintaining-great-site-performanc...
https://gideonpyzer.dev/blog/2019/07/13/lazy-loading-zendesk-saved-huddl...

Project information

Releases