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.

Sunco
If the customer has a widget which is on v2 of chat and has a handover to Zendesk via Sunco then migrating to v3 requires the following steps to be completed:

  1. The customer must remove the sunco script they are referencing in their page: https://chat-assets.digitalgenius.com/dgchat.sunco.1.0.0.min.js
  2. Add crmSDKPlatorm: "sunco" to the chat config