📄️ Hide
The hide action is used to conceal the widget from the page. Unlike the destroy action it does not remove the iframe from the page or clean up any resources. This is useful when you need to temporarily hide the widget without losing context. Once a widget has been hidden you can call the show action to reveal it again.
📄️ Show
The show action is used to reveal the widget after it has been hidden using the hide action or display the widget in a specific UI state.
📄️ Extend Context
The extendContext action is used to add any additional context, information, or metadata to be used within the widget. This can be used to influence user flows, user logic, and more.
📄️ Extend Tracking Parameters
The extendTrackingParameters action is used to add tracking parameters to be appended to any outgoing links within the widget. This can be used to for better user tracking.
📄️ Destroy
The destroy action is used to remove the widget from the page and clean up any resources it was using. This is useful when you no longer need the widget and want to ensure it does not consume memory or other resources.
📄️ Initialize
The init action initializes the widget. It is automatically called by the installation script. However, you may need to call the init action if the destroy action was previously executed and you want to show the widget again.