Difference between revisions of "ATC/Current/SDK/Destroy"
(Published) |
(Published) |
||
Line 3: | Line 3: | ||
|DisplayName=destroy | |DisplayName=destroy | ||
|TocName=destroy | |TocName=destroy | ||
− | |Context=Learn how to use the <tt>destroy</tt> method to stop all Journey JavaScript SDK activity and remove all tracking information. | + | |Context=Learn how to use the <tt>destroy</tt> method to stop all Journey JavaScript SDK activity and remove all tracking information.{{BarbFeatureTemp|Feature=Web messaging}}This article only applies to customers using web chat. If you are a Genesys Cloud customer, we encourage you to use the new {{Link-AnywhereElse|product=ATC|version=Current|manual=AdminGuide|topic=About_web_messaging|display text=web messaging}} feature to replace web chat. |
|Dimension=initialization methods | |Dimension=initialization methods | ||
|ComingSoon=No | |ComingSoon=No |
Revision as of 18:30, April 28, 2021
Learn how to use the destroy method to stop all Journey JavaScript SDK activity and remove all tracking information.
This article only applies to customers using web chat. If you are a Genesys Cloud 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.