Support Integration
How to include Zipy Session Replay links in the support tickets my customers create?
Synchronous Method
const sessionUrl = window.zipy.getCurrentSessionURL();
/* You can send this URL in an email/chat that is sent on form submission. */const handleLogin = (data) => {
let sessionURL = window.zipy.getCurrentSessionURL();
console.log("sessionURL", sessionURL);
setLoading(true);
};Asynchronous Method
window.zipy.getCurrentSessionURLAsync().then((sessionUrl) => {
console.log("Session URL: ", sessionUrl);
// Use this URL in form submission or send it to your support desk.
});const handleLogin = (data) => {
window.zipy.getCurrentSessionURLAsync().then((sessionURL) => {
console.log("sessionURL", sessionURL);
setLoading(true);
// Now, send this session URL along with login details or include it in the support ticket
});
};Last updated