-
Notifications
You must be signed in to change notification settings - Fork 3
**WIP** method getSessionDetails() added #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🌟 EkLine ReviewerHello! I’m here to help improve your docs. I’ve reviewed your pull request, and left in-line suggestions for quick fixes. For details, visit the Analytics Page. For questions or feedback, please email support@ekline.io. |
Published docs preview URL: https://devrev-preview-f8dbb8ed-5802-4666-8e9d-446051557797.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-a71d8d13-bdfe-4b11-96e9-e94b165bbde1.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-755b88d4-e9d1-423c-a03e-0dbca4f1e7f0.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-f406dd4e-30f2-4aa7-b5e6-b02f953b51ee.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with a couple suggestions.
@@ -165,9 +175,17 @@ window.plugSDK.addSessionProperties({ | |||
}); | |||
``` | |||
|
|||
## Get session details | |||
|
|||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | |
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. |
window.plugSDK.isSearchAgentOpen | ||
``` | ||
|
||
This returns true if the search agent is open and false if it is closed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This returns true if the search agent is open and false if it is closed. | |
This returns `true` if the search agent is open and `false` if it is closed. |
set identifier without session token
Published docs preview URL: https://devrev-preview-b0e7f95f-bb12-4f86-9ce0-0f5a0c11cc0c.docs.buildwithfern.com |
add bind hotkey example
Published docs preview URL: https://devrev-preview-0cda0e61-8def-4e2b-a4ac-b77910b2d32d.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)
|`widget_alignment` |The PLuG widget can be positioned on either the left or right side of the launcher. You can also adjust the widget alignment through the PLuG settings at app.devrev.ai. If alignment settings are configured in both places, the value from app.devrev.ai will override the launcher setting. |left or right | |
Published docs preview URL: https://devrev-preview-0ec0bde2-4238-4879-b860-75d745afd51a.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions:
- Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)
|`custom_launcher_selector` |A CSS selector string is used to match the element to which the widget will be attached. You can also set this selector from the PLuG settings on app.devrev.ai. If both sources are set, this value will be considered the definitive source. |Boolean (True or False) | |
Published docs preview URL: https://devrev-preview-8d5e634f-2b1f-42c3-8924-c8aea750b557.docs.buildwithfern.com |
Published docs preview URL: https://devrev-preview-72edeebb-b8a0-4943-b983-c72645aa8174.docs.buildwithfern.com |
Remove frontend id method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestions:
- Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)
Once the `shutdown()` method is called, all other widget functionalities, such as session recording and Nudges, will also be stopped. You will need to reinitialize the widget to reactivate these features. |
Published docs preview URL: https://devrev-preview-a7c2b74d-5b05-45d4-96fb-eb6a38273774.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where possible, do not structure sentences in future tense. Use present tense instead. (EK00005)
|`spacing` |Padding from the launcher: This padding can also be set in the PLuG settings on app.devrev.ai. If a value is specified in both places, this value will be considered the definitive source. Bottom: Padding from the bottom of the launcher. Side: Spacing from the sides of the launcher |object `{bottom: string; side: string;}` | |
Published docs preview URL: https://devrev-preview-94240239-831f-4a15-a181-14921acc0f26.docs.buildwithfern.com |
WorkItem: https://app.devrev.ai/devrev/works/ISS-161669
Add PLuG web SDK methods