Skip to content

Commit e545feb

Browse files
authored
Add custom data example (#18)
1 parent 0446056 commit e545feb

File tree

2 files changed

+440
-0
lines changed

2 files changed

+440
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,17 @@ With those changes made you can now launch the agent present demo.
4848

4949
In [recordings](recordings/) you can find useful scripts to programatically download or delete session recordings from your account.
5050

51+
## Add custom data to session
52+
53+
The example seen in [custom-data/index.html](custom-data/index.html) requires an Agent JWT Token to be passed as the `token` query parameter. Once set the dashboard should load and allow custom data to be added or deleted to an active session.
54+
55+
### To add custom data
56+
57+
Start a Cobrowse session and use the key and value input fields and click **Apply**.
58+
59+
### To remove custom data
60+
61+
Hover over the key you wish to delete and click the delete button.
62+
5163
## Questions?
5264
Any questions at all? Please email us directly at [[email protected]](mailto:[email protected]).

0 commit comments

Comments
 (0)