Session URL Retrieval

Retrieve and utilize the current session URL dynamically with Zipy's getCurrentSessionUrl function.

Retrieve the current session URL with Zipy's getCurrentSessionUrl function, enabling you to obtain and utilize the session's URL dynamically. Here is a sample code snippet:

const url = window.zipy.getCurrentSessionUrl();
console.log('Current session URL:', url);

This function can be useful for tracking and analyzing user behavior within your application.

To Retrieve the current session URL with the Timestamp of your events:

const url = window.zipy.getCurrentSessionURL({ withCurrentTimestamp: true });
console.log('Current session URL:', url)

Last updated