CleitonDeLima / django-tawkto

Tawk.to chat for django
MIT License
16 stars 2 forks source link

Issue 1 different widget #2

Closed ronflima closed 5 years ago

ronflima commented 5 years ago

Implementation suggestion for the Issue #1

This implementation adds a new parameter for the template tag. This parameter is _widgetid, which can be obtained from Tawk.to widget configurations. It is the last part of the direct chat link.

This parameter is optional. If not provided, it will fallback to the default widget. Otherwise, will render the javascript code with the proper widget.