Skip to content

Commit f791b2c

Browse files
authored
Cross-domain session tracking link
1 parent b8af6b6 commit f791b2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fern/docs/pages/sdks/web/methods.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ window.plugSDK.addSessionProperties({
177177

178178
## Get session details
179179

180-
You can use the `getSessionDetails` method to fetch the session ID and tab ID of currently ongoing session. These details can then be passed across different domains to maintain the journey as a single, continuous session.
180+
You can use the `getSessionDetails` method to fetch the session ID and tab ID of currently ongoing session. These details can then be passed across different domains to maintain the journey as a single, continuous session. For more details on how to fetch the session ID and tab ID, and pass them across different domains for a seamless journey, refer to [Cross-domain session tracking](https://devrev.ai/docs/plug/cross-domain-session).
181+
```jsx
181182

182183
```jsx
183184
const { sessionId, tabId } = window.plugSDK.getSessionDetails();

0 commit comments

Comments
 (0)