> For the complete documentation index, see [llms.txt](https://docs.zipy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zipy.ai/integration/segment.md).

# Segment

Add a Zipy session recording URL to Segment

```javascript
const zipySessionUrl = window.zipy.getCurrentSessionURL();

analytics.track('zipy', {
  sessionURL: zipySessionUrl,
});
```
