Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76b7f14

Browse files
authored
Highlight Live Satisfaction (#73)
- Use new modal screenshot in documentation - Remove documented usage of `bucket.feedback` at the top of the README
1 parent db10fea commit 76b7f14

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

FEEDBACK.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The Bucket SDK includes a UI you can use to collect feedback from user about particular features.
44

5-
![image](https://github.com/bucketco/bucket-tracking-sdk/assets/331790/0a8814ff-a803-4734-9e86-3eb19e96d050)
5+
![image](https://github.com/bucketco/bucket-tracking-sdk/assets/34348/c387bac1-f2e2-4efd-9dda-5030d76f9532)
66

77
## Global feedback configuration
88

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var bucket = require("@bucketco/tracking-sdk");
2222

2323
Other languages than Javascript/Typescript are currently not supported by an SDK. You can [use the HTTP API directly](https://docs.bucket.co/reference/http-tracking-api)
2424

25-
## Usage
25+
## Basic usage
2626

2727
```js
2828
// init the script with your Tracking Key
@@ -36,15 +36,6 @@ bucket.company("acme_inc", { name: "Acme Inc", plan: "pro" }, "john_doe");
3636

3737
// track events
3838
bucket.track("sent_message", { foo: "bar" }, "john_doe", "company_id");
39-
40-
// collect qualitative feedback
41-
bucket.feedback({
42-
featureId: "my_feature_id",
43-
userId: "john_doe",
44-
companyId: "acme_inc", // String (optional)
45-
score: 5, // Number: 1-5 (optional)
46-
comment: "Absolutely stellar work!", // String (optional)
47-
});
4839
```
4940

5041
**NOTE**: When used in the browser, you can omit the 3rd argument (userId) to the `company` and `track` methods. See [persisting users](#persisting-users) for more details.
@@ -77,7 +68,7 @@ You can find all the options to make changes to the default behaviour in the [Bu
7768

7869
Bucket can assist you with collecting your user's feedback by offering a pre-built UI, allowing you to get started with minimal code and effort.
7970

80-
![image](https://github.com/bucketco/bucket-tracking-sdk/assets/331790/519c2236-bcf6-497a-bf0e-c2f171b6f697)
71+
![image](https://github.com/bucketco/bucket-tracking-sdk/assets/34348/c387bac1-f2e2-4efd-9dda-5030d76f9532)
8172

8273
[Read the Bucket feedback UI documentation](./FEEDBACK.md)
8374

0 commit comments

Comments
 (0)