Documentation

Migrating to chat V3

Migrating to chat V3


IMPORTANT
Migrating to v3 should never be performed directly on a customers live chat widget. Always make a copy and carry out the upgrade on that copy.


To migrate a v2 widget to v3 following these steps:

  1. Update the script tag in the customers page from:
<script src="https://chat-assets.digitalgenius.com/dgchatinit.widget.v2.x.x.min.js"></script>

to

<script src="https://chat.digitalgenius.com/init.js"></script>
  1. Remove the version, stable_version and embedVersion properties from the chat widget config. The chat widget will now be running on the latest stable version.