Difference between revisions of "ATC/Current/SDK/Destroy"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
m (Text replacement - "Genesys Cloud" to "Genesys Cloud CX") |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|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. | ||
− | |Dimension= initialization methods | + | |Dimension=initialization methods |
|ComingSoon=No | |ComingSoon=No | ||
− | |Platform= | + | |Platform=PureConnect, GenesysCloud, GenesysEngage-cloud |
− | |||
|Section={{Section | |Section={{Section | ||
+ | |alignment=Vertical | ||
+ | |structuredtext={{NoteFormat|1=This article only applies to customers using {{Link-AnywhereElse|product=ATC|version=Current|manual=AdminGuide|topic=About_web_chats|display text=web chat}}. If you are a Genesys Cloud CX 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.|2=}}<br /> | ||
+ | |Status=No | ||
+ | }}{{Section | ||
|sectionHeading=Description | |sectionHeading=Description | ||
− | |||
|alignment=Vertical | |alignment=Vertical | ||
− | |||
− | |||
|structuredtext=The <tt>destroy</tt> method stops all {{MINTYDOCSPRODUCT}} SDK activity and removes all tracking information. | |structuredtext=The <tt>destroy</tt> method stops all {{MINTYDOCSPRODUCT}} SDK activity and removes all tracking information. | ||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
|sectionHeading=Signature | |sectionHeading=Signature | ||
− | |||
|alignment=Vertical | |alignment=Vertical | ||
− | |||
− | |||
|structuredtext=<tt>ac('destroy')</tt> | |structuredtext=<tt>ac('destroy')</tt> | ||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
|sectionHeading=Arguments | |sectionHeading=Arguments | ||
− | |||
|alignment=Vertical | |alignment=Vertical | ||
− | |||
− | |||
|structuredtext=None. | |structuredtext=None. | ||
− | |||
− | |||
|Status=No | |Status=No | ||
}}{{Section | }}{{Section | ||
|sectionHeading=GDPR and destroyed data | |sectionHeading=GDPR and destroyed data | ||
− | |||
|alignment=Vertical | |alignment=Vertical | ||
− | + | |structuredtext=The <tt>destroy</tt> method stops all {{MINTYDOCSPRODUCT}} tracking immediately. It also removes all cookies that the SDK set; and doesn't offer anymore proactive engagements. Use the <tt>destroy</tt> method when a customer requests that you stop tracking their activities on your website. For more information about using {{MINTYDOCSPRODUCT}} in a GDPR-compliant manner, see {{#mintydocs_link:manual=AdminGuide|topic=GDPR|link text=GDPR}}. | |
− | |||
− | |structuredtext=The <tt>destroy</tt> method stops all {{MINTYDOCSPRODUCT}} tracking immediately. | ||
− | |||
− | |||
|Status=No | |Status=No | ||
}} | }} | ||
}} | }} |
Latest revision as of 21:28, November 9, 2021
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!