Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this page
Looking for more inspiration?Visit the

Bucket Web (Actions) Destination


(information)

Additional versions of this destination are available

This page is about the Bucket Web (Actions) Destination. See below for information about other versions of the Bucket destination:

  • Bucket (Classic)

Bucket(link takes you to an external page) is a feature-focused analytics software that empowers software teams with a repeatable approach to shipping features that satisfy customers.

Bucket maintains this destination. For any issues with the destination, contact the Bucket Support team(link takes you to an external page).

(warning)

Warning

If you are using both the Bucket Web (Actions) destination and the server side Bucket destination on the same source, avoid duplicate event tracking by disabling the "Track Event" mapping in Bucket Web (Actions).


Benefits of Bucket Web (Actions) compared to Bucket Classic

benefits-of-bucket-web-actions-compared-to-bucket-classic page anchor

Bucket Web (Actions) provides the following benefits over the classic Bucket destination:

  • 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.
  • Automatically enables Live Satisfaction(link takes you to an external page) prompts in your app, giving you fully-automated customer satisfaction scores and feedback on your features.

  1. From the Destinations catalog page in the Segment App, click Add Destination.
  2. Search for "Bucket Web" in the Destinations Catalog, and select the Bucket Web (Actions) destination.
  3. Select a source to send data to the Bucket destination.
  4. Go to Bucket's Settings(link takes you to an external page) and find and copy the Publishable Key on the Tracking page.
  5. Enter the Publishable Key as Publishable Key in the "Bucket Web (Actions)" destination settings in Segment.

Content security policies (CSP)

content-security-policies-csp page anchor

If you are running with strict Content Security Policies active on your website, you must enable these directives in order to use this destination:

DirectiveValuesModuleReason
script-src-elemhttps://cdn.jsdelivr.net(link takes you to an external page)bootstrapLoads the Bucket tracking SDK from a CDN
connect-srchttps://tracking.bucket.co(link takes you to an external page)trackingUsed for all tracking methods: analytics.identify(), analytics.group() and analytics.track()
connect-srchttps://livemessaging.bucket.co(link takes you to an external page)live satisfactionServer sent events from the Bucket Live Feedback service, which allows for automatically collecting feedback when a user used a feature.
style-src'unsafe-inline'feedback UIThe feedback UI is styled with inline styles. Not having this directive results unstyled HTML elements.

As HTTP-header:

Content-Security-Policy: script-src-elem https://cdn.jsdelivr.net; connect-src https://livemessaging.bucket.co https://tracking.bucket.co; style-src 'unsafe-inline'

As <meta>-tag:

<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'">