Click to active widget

The chat application of Trengo (and all other chat applications for that matter) has quite some impact on the SEO and page speed statistics. With our webdevelopers we created a small solution for that, which launches the application on a click on the chatbutton. But everytime I'd like to change the icon, color or text of the chat I'd have to go to them for it to realize. 

Therefor I'd like to know if it's possible to create a function 'Click to start' or something which launches the application on a click rather than right away when the website loads. This will increase the performances of websites dramaticly.

If there are already solutions for this build in the app, i'd like to know as well.

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Would you want to share this method?

    Like
  • We noticed this also. Very big impact on pagespeed etc. Solution @Trengo?

    Like
  • Zepig Boy Brabander We have done everything we can to keep the widget loading time as fast as possible. For example, our widget is 100% minified, gzipped and cached. In addition, the widget is loaded via an async script tag, so that the loading of the website and the first response are not blocked. The widget that is loaded is in fact a mini-website, so that the widget can avoid taking longer than the other website scripts that are loaded separately into the website.
     

    However, installing the website widget using Google Tag manager gives you a variety of options for ways to trigger the widget, for example by clicking a url (which you can embed behind a button) or with a delay. You can refer to our help center article here for instructions on how to install the widget. Hope this helps!

    Like
  • We noticed the delay as well. My developer did this to solve, maybe it helps for other developers:

    "For some external JavaScript files we have delayed load, these are only loaded when someone clicks or scrolls with the mouse or other form of interaction"

    Like
Like2 Follow
  • 2 Likes
  • 13 days agoLast active
  • 4Replies
  • 31Views
  • 5 Following