getSessionUrlCallback()
This API allows Relicx session replay URL to be programmatically integrated with external monitoring, analytics, and online customer support systems.
Relicx application uses the above functionality to provide in-product support. When the user clicks on the chat window on the lower right-hand side, the user's current session replay URL is attached to the support ticket. We provide a getSessionUrlCallback function which takes a callback as a parameter. The callback is of the form: (string) => void. The callback is called when the relicx SDK is initialized.
This done via the following code snippet
![Document image Document image](https://images.archbee.com/TK24Pi0IzdXKBLm-pUBmm/bYWHoiY0Mg9xyFtRmeVzn_image.png?format=webp)
Customer support can now view the session replay by clicking on the attached session replay URL link.
![Document image Document image](https://images.archbee.com/TK24Pi0IzdXKBLm-pUBmm/FO3xrzClpc8wDDIgCaJwH_image.png?format=webp)
Here is a quick video demo of how the integration works for Relicx
๏ปฟ
![Doc contributor](https://s3.amazonaws.com/archbee-animals/dog.png)
![Doc contributor](https://s3.amazonaws.com/archbee-animals/tiger.png)