Difference between revisions of "ATC/Current/SDK/Method reference"
From Genesys Documentation
DannaShirley (talk | contribs) (Published) |
DannaShirley (talk | contribs) (Published) |
||
Line 30: | Line 30: | ||
}}{{Section | }}{{Section | ||
|sectionHeading=Tracking methods | |sectionHeading=Tracking methods | ||
− | |anchor= | + | |anchor=TrackingMethods |
|alignment=Vertical | |alignment=Vertical | ||
|Media= | |Media= | ||
Line 52: | Line 52: | ||
{{!}}{{!}} | {{!}}{{!}} | ||
{{!}}} | {{!}}} | ||
+ | |structuredtextwide= | ||
+ | |FAQHeading= | ||
+ | |Status=No | ||
+ | }}{{Section | ||
+ | |sectionHeading=Session methods | ||
+ | |anchor=SessionMethods | ||
+ | |alignment=Vertical | ||
+ | |Media= | ||
+ | |image= | ||
+ | |structuredtext=For complete information about a method, including signature and arguments, click the method's name. | ||
+ | {{{!}} class="wikitable" | ||
+ | {{!}}- | ||
+ | {{!}}{{!}}'''Method''' | ||
+ | {{!}}{{!}}'''Description''' | ||
+ | {{!}}- | ||
+ | {{!}}{{!}}{{Link-SomewhereInThisVersion|manual=SDK|topic=api.session.getData}} | ||
+ | {{!}}{{!}}Returns an object that contains session information | ||
+ | {{!}}- | ||
+ | {{!}}{{!}}{{Link-SomewhereInThisVersion|manual=SDK|topic=api.sessiongetCustomerCookieId}} | ||
+ | {{!}}{{!}}Returns a string that contains the customer cookie Id | ||
+ | {{!}}- | ||
+ | {{!}}{{Link-SomewhereInThisVersion|manual=SDK|topic=api.session.getId}} | ||
+ | {{!}}Returns a string containing session Id | ||
+ | {{!}}}<br /> | ||
|structuredtextwide= | |structuredtextwide= | ||
|FAQHeading= | |FAQHeading= | ||
Line 57: | Line 81: | ||
}}{{Section | }}{{Section | ||
|sectionHeading=Utility methods | |sectionHeading=Utility methods | ||
− | |anchor= | + | |anchor=UtilityMethods |
|alignment=Vertical | |alignment=Vertical | ||
|Media= | |Media= |
Revision as of 10:46, June 2, 2020
This topic is part of the manual Journey JavaScript SDK for version Current of Genesys Predictive Engagement.
Contents
View a list of all methods in the Journey JavaScript SDK.
Initialization methods
For complete information about a method, including signature and arguments, click the method's name.
Method | Description |
init | Initializes the Genesys Predictive Engagement SDK |
destroy | Stops all Genesys Predictive Engagement SDK activity and removes all tracking information |
Tracking methods
For complete information about a method, including signature and arguments, click the method's name.
Method | Description |
pageview | Tracks page views |
record | Records custom website events |
identify | Adds information to a customer |
forms:track |
Session methods
For complete information about a method, including signature and arguments, click the method's name.
Method | Description |
api.session.getData | Returns an object that contains session information |
[[ATC/Current/SDK/api.sessiongetCustomerCookieId|]] | Returns a string that contains the customer cookie Id |
api.session.getId | Returns a string containing session Id |
Utility methods
For complete information about a method, click the method's name.
Method | Description |
Used for passing serialized data from a form. | |
dom - ready |
Allows you specify a function handler to run when the DOM has fully loaded. |
debug |
Sends helpful messages to the console. |
Comments or questions about this documentation? Contact us for support!