@hellotext/hellotext 2.1.5 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -100,6 +100,7 @@ Hellotext.removeEventListener(eventName, callback)
100
100
  ### List of events
101
101
 
102
102
  - `session-set`: This event is fired when the session value for `Hellotext.session` is set. Either through an API request, or if the session was found in the cookie.
103
+ - `utm-set`: this event is fired when the UTM value is collected, useful to store the UTM on your side.
103
104
  - `forms:collected` This event is fired when forms are collected. The callback will receive the array of forms collected.
104
105
  - `form:completed` This event is fired when a form has been completed. A form is completed when the user fills all required inputs and verifies their OTP(One-Time Password). The callback will receive the form object that was completed, alongside the data the user filled in the form.
105
106
  - View Webchat events [here](/docs/webchat.md#events)