destroy
From Genesys Documentation
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.
Learn how to use the destroy method to stop all Journey JavaScript SDK activity and remove all tracking information.
Important
This article only applies to customers using web chat. If you are a Genesys Cloud CX customer, we encourage you to use the new web messaging feature to replace web chat.Description
The destroy method stops all Genesys Predictive Engagement SDK activity and removes all tracking information.
Signature
ac('destroy')
Arguments
None.
GDPR and destroyed data
The destroy method stops all Genesys Predictive Engagement tracking immediately. It also removes all cookies that the SDK set; and doesn't offer anymore proactive engagements. Use the destroy method when a customer requests that you stop tracking their activities on your website. For more information about using Genesys Predictive Engagement in a GDPR-compliant manner, see GDPR.
Comments or questions about this documentation? Contact us for support!