Skip to content

Commit d970859

Browse files
authored
Merge pull request #5802 from segmentio/add-bucket-web-documentation
Add Bucket Web (Actions) documentation
2 parents 862d38f + 9122b51 commit d970859

File tree

2 files changed

+65
-1
lines changed

2 files changed

+65
-1
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: 'Bucket Web (Actions) Destination'
3+
hidden: true
4+
id: 656dc9330d1863a8870bacd1
5+
beta: true
6+
versions:
7+
- name: "Bucket (Classic)"
8+
link: '/docs/connections/destinations/catalog/bucket'
9+
---
10+
11+
{% include content/plan-grid.md name="actions" %}
12+
13+
[Bucket](https://bucket.co/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="blank"} is a feature-focused analytics software that empowers software teams with a repeatable approach to shipping features that satisfy customers.
14+
15+
Bucket maintains this destination. For any issues with the destination, [contact the Bucket Support team](mailto:[email protected]).
16+
17+
18+
> warning ""
19+
> If you are using both the Bucket Web (Actions) destination and the server side [Bucket destination](/docs/connections/destinations/catalog/bucket/) on the same source, avoid duplicate event tracking by disabling the "Track Event" mapping in Bucket Web (Actions).
20+
21+
22+
## Benefits of Bucket Web (Actions) compared to Bucket Classic
23+
24+
Bucket Web (Actions) provides the following benefits over the classic Bucket destination:
25+
26+
- Clearer mapping of data. Actions-based destinations let you define the mapping between the data Segment receives from your source and the data Segment sends to the destination.
27+
- Automatically enables [Live Satisfaction](https://bucket.co/live-satisfaction){:target="_blank"} prompts in your app, giving you fully-automated customer satisfaction scores and feedback on your features.
28+
29+
30+
## Getting started
31+
32+
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
33+
2. Search for "Bucket Web" in the Destinations Catalog, and select the Bucket Web (Actions) destination.
34+
3. Select a source to send data to the Bucket destination.
35+
4. Go to [Bucket's Settings](https://app.bucket.co){:target="blank"} and find and copy the Tracking Key on the Tracking page.
36+
5. Enter the Tracking Key as Tracking Key in the "Bucket Web (Actions)" destination settings in Segment.
37+
38+
{% include components/actions-fields.html %}
39+
40+
## Content security policies (CSP)
41+
42+
If you are running with strict Content Security Policies active on your website, you must enable these directives in order to use this destination:
43+
44+
| Directive | Values | Module | Reason |
45+
| --------------- | ------------------------------- | ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
46+
| script-src-elem | https://cdn.jsdelivr.net | bootstrap | Loads the Bucket tracking SDK from a CDN |
47+
| connect-src | https://tracking.bucket.co | tracking | Used for all tracking methods: `analytics.identify()`, `analytics.group()` and `analytics.track()` |
48+
| connect-src | https://livemessaging.bucket.co | live satisfaction | Server sent events from the Bucket Live Feedback service, which allows for automatically collecting feedback when a user used a feature. |
49+
| style-src | 'unsafe-inline' | feedback UI | The feedback UI is styled with inline styles. Not having this directive results unstyled HTML elements. |
50+
51+
As HTTP-header:
52+
53+
```http
54+
Content-Security-Policy: script-src-elem https://cdn.jsdelivr.net; connect-src https://livemessaging.bucket.co https://tracking.bucket.co; style-src 'unsafe-inline'
55+
```
56+
57+
As `<meta>`-tag:
58+
59+
```html
60+
<meta http-equiv="Content-Security-Policy" content="script-src-elem https://cdn.jsdelivr.net; connect-src https://livemessaging.bucket.co https://tracking.bucket.co; style-src 'unsafe-inline'">
61+
```

src/connections/destinations/catalog/bucket/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Bucket Destination
33
rewrite: true
44
id: 5fabc0b00f88248bbce4db48
5+
versions:
6+
- name: "Bucket Web (Actions)"
7+
link: '/docs/connections/destinations/catalog/bucket-web'
58
---
69

710
[Bucket](https://bucket.co/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="blank"} is feature-focused analytics. Bucket empowers software teams with a repeatable approach to shipping features that customers crave.
@@ -15,7 +18,7 @@ This destination is maintained by Bucket. For any issues with the destination, [
1518
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
1619
2. Search for "Bucket" in the Destinations Catalog, and select the Bucket destination.
1720
3. Choose which Source should send data to the Bucket destination.
18-
4. Go to [Bucket's Settings](https://bucket.co){:target="blank"} and find and copy the "Tracking Key" under Settings.
21+
4. Go to [Bucket's Settings](https://app.bucket.co){:target="blank"} and find and copy the "Tracking Key" under Settings.
1922
5. Enter the "Tracking Key" as "API Key" in the "Bucket" destination settings in Segment.
2023

2124
## Identify

0 commit comments

Comments
 (0)