> ## Documentation Index
> Fetch the complete documentation index at: https://data-foundation.rockerbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Segment Integration

If you use Segment as your customer data platform to collect, clean, and control your customer data, you can use Rockerbox’s Segment integration to pull in purchases and onsite events as conversions.

### What does the Rockerbox-Segment integration do?

Once enabled, Rockerbox will automatically pull your events from Segment into your Rockerbox account. This allows you to create [conversions ](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/conversion-events-overview/conversions-1.md)within Rockerbox that track events in Segment. For example, if you have an ‘Added Product’ event in Segment, you’ll be able to create an ‘Add to Cart’ conversion in Rockerbox to track those events.

You can do the same for your other events in Segment, like creating a ‘Purchase’ conversion in Rockerbox that corresponds to your ‘Order Completed’ event in Segment, or an ‘Account Created’ conversion for your ‘User Signup Completed’ event.

### How does the integration work?

Segment sends data from Rockerbox in two ways:

* [**Onsite:** ](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/online-conversion-events/conversion-tracking-methods/segment/segment-pixel-implementation.md)data is passed via pixel
* [**Server-Side:** ](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/online-conversion-events/conversion-tracking-methods/segment/segment-server-side-data.md)data is passed via webhook

### Getting your Segment account ready for Rockerbox

In order to integrate your Segment data in Rockerbox, you’ll need to make some edits to your Segment account to start sharing data. **You will need** [**Source Admin**](https://segment.com/docs/segment-app/iam/roles/) **privileges on your Segment account** in order to set up the integration

### How do I set this up for my account?

1\) In your Rockerbox dashboard, go to [Settings > Integrations > Add Integration](https://app.rockerbox.com/v2/settings/integrations/view/gallery/all). Search for “Segment” and click **Connect**.

![](https://mintcdn.com/rockerbox-a0a04d23/Uljwe1x6jsho8VSM/images/help-docs/segment-integration/1659130697668-5070-bb-6-screen-shot-2021-02-02-at-2-39-37-pm.png?fit=max\&auto=format\&n=Uljwe1x6jsho8VSM\&q=85\&s=dc3bbee1b0ff7cb2a834ae4c760f3dff)

2\) Follow the [instructions to connect onsite data](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/online-conversion-events/conversion-tracking-methods/segment/segment-pixel-implementation.md) to Rockerbox

![](https://mintcdn.com/rockerbox-a0a04d23/Uljwe1x6jsho8VSM/images/help-docs/segment-integration/1659130698088-723-f-57-b-screen-shot-2021-02-02-at-2-41-30-pm.png?fit=max\&auto=format\&n=Uljwe1x6jsho8VSM\&q=85\&s=ccedf6bf473659b6b26679f08cb9f93d)

3\) Follow [the instructions to connect server-side data](https://data-foundation.rockerbox.com/help-docs/setup-and-technical-documentation/conversion-events/online-conversion-events/conversion-tracking-methods/segment/segment-server-side-data.md) to Rockerbox

![](https://mintcdn.com/rockerbox-a0a04d23/Uljwe1x6jsho8VSM/images/help-docs/segment-integration/1659130698471-836-ccf-0-screen-shot-2021-02-02-at-2-41-46-pm.png?fit=max\&auto=format\&n=Uljwe1x6jsho8VSM\&q=85\&s=cf03e6016fa89586be5c18e63e0ac95a)

4\) To verify that the webhooks are sending data to Rockerbox, you can view the [Segment Webhooks Status](https://app.rockerbox.com/v2/settings/integrations/view/segment/Webhook%20Data) page in your Rockerbox dashboard. It may take a few minutes to first appear — if you don’t see data at first, try refreshing again.

![](https://mintcdn.com/rockerbox-a0a04d23/Uljwe1x6jsho8VSM/images/help-docs/segment-integration/1659130698873-86438-b-3-screen-shot-2021-02-02-at-2-44-09-pm.png?fit=max\&auto=format\&n=Uljwe1x6jsho8VSM\&q=85\&s=c03df64f2ed94b8c489120eeb579852f)

### FAQs

###### I have multiple sources connected to Segment, should I connect them all?

###### Yes - you should connect both onsite and server-side sources.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.