Segment Connections

Connect all of your customer data in one platform

Collect, unify, and activate all your first-party data in a single platform to power personalized customer experiences.

Please provide your company email address.
Please enter a valid email address.
Please provide an individual corporate email address.
Please provide a valid full name.
Please provide your phone number.
That phone number is too short.
That phone number is too long.
Please provide a valid phone number.

For information about how Segment handles your personal data, please see our privacy policy.

Thank you, you're all set!

We'll get back to you shortly. For now, you can create your workspace by clicking below.

Thank you for submitting your request for a demo! Answer 4 more questions to help us pinpoint exactly what your team needs to get started with Segment.

Please provide a valid job title.
Please provide a company size.
Please provide the estimated web traffic.
Please provide a timeline.

For information about how Segment handles your personal data, please see our privacy policy.

Diagram showing data flow from sources like Segment, Node.js, and Google Analytics to various destinations like IBM and Facebook.

Join 25,000+ companies using the Segment platformes

How Segment Connections works

Profile card showing user details and icons representing connected services and tools.

Collect first-party data from every touch point and send it to any tool to get a full view of customers across your app, sales, support, payment, and messaging experiences.

  • Implement new tools fast

    Activate new tools in minutes, not weeks. No setup headaches, no need to push code, and no wait for App Store approvals—even for tools without their own mobile SDKs.

  • Focus on product work now

    Segment effortlessly plugs into your tech stack with over 450 integrations.

  • Maintain governance and control

    Debug, replay, and observe customer data with data governance and control tools that help ensure ongoing quality and security throughout the data lifecycle.

Connections use cases

Connect data across any tool to create customer profiles, activate tools, and accelerate compliance.

Customer data collection

Understand customers better when you collect data from multiple sources. Track how users interact with your product, identify new or existing customers, and locate what page they were on or what device they were using when they performed an action.

FOX turned to Twilio Segment to align all brands around a single source of truth for customer data, gain a universal view of all users, and personalize digital touch points across diverse channels.

Piggy bank

$1.2M

value of time saved annually

Person trending down

75%

reduction in data engineering hours

Features

Get all the tools you need to manage your customer data

  • Sources

    Collect user events from any platform with our analytics API.

  • Destination

    Integrate your data to 450+ apps with just a few clicks.

  • Reverse ETL

    Seamlessly move warehouse data to your applications.

  • Functions

    Build any custom integration with Segment, with just ten lines of JavaScript.

  • Debugger

    Access a live stream of event data flowing from your app to Segment.

  • Replays

    Replay existing data to try new tools quickly and eliminate vendor lock-in.

  • Delivery overview

    View event pipeline performance at every stage of event delivery.

  • Alerting

    Trigger customizable alerts to monitor for volume changes and delivery rates.

User ID ab247204 data deletion status for Segment and Android App Connections including Amplitude and Amazon S3.

Streamline regulatory compliance and consent management

Accelerate compliance with GDPR, CCPA, and other regulations using automated data rights management. Integrate built-in consent enforcement to create a single source of truth for user consent—whether your customers want to delete or modify their data or stop allowing it to be collected entirely.

Start connecting your customer data with code

Getting setup with Segment Connections is as easy as 10 lines of code.

<script type="text/javascript">
(function() {
  // define the key where the global analytics object will be accessible
  // customers can safely set this to be something else if need be
  var globalAnalyticsKey = "analytics"

  // Create a queue, but don't obliterate an existing one!
  var analytics = window[globalAnalyticsKey] = window[globalAnalyticsKey] || [];

  // If the real analytics.js is already on the page return.
  if (analytics.initialize) return;

  // If the snippet was invoked already show an error.
  if (analytics.invoked) {
    if (window.console && console.error) {
      console.error("Segment snippet included twice.");
    }
    return;
  }

  // Invoked flag, to make sure the snippet
  // is never invoked twice.
  analytics.invoked = true;

  // A list of the methods in Analytics.js to stub.
  analytics.methods = [
    "trackSubmit",
    "trackClick",
    "trackLink",
    "trackForm",
    "pageview",
    "identify",
    "reset",
    "group",
    "track",
    "ready",
    "alias",
    "debug",
    "page",
    "screen",
    "once",
    "off",
    "on",
    "addSourceMiddleware",
    "addIntegrationMiddleware",
    "setAnonymousId",
    "addDestinationMiddleware",
    "register"
  ];

  // Define a factory to create stubs. These are placeholders
  // for methods in Analytics.js so that you never have to wait
  // for it to load to actually record data. The `method` is
  // stored as the first argument, so we can replay the data.
  analytics.factory = function(e) {
    return function() {
      if (window[globalAnalyticsKey].initialized) {
        // Sometimes users assigned analytics to a variable before analytics is done loading, resulting in a stale reference.
        // If so, proxy any calls to the 'real' analytics instance.
        return window[globalAnalyticsKey][e].apply(window[globalAnalyticsKey], arguments);
      }
      var args = Array.prototype.slice.call(arguments);
      
      // Add buffered page context object so page information is always up-to-date
      if (["track", "screen", "alias", "group", "page", "identify"].indexOf(e) > -1) {
        var c = document.querySelector("link[rel='canonical']");
        args.push({
          __t: "bpc",
          c: c && c.getAttribute("href") || undefined,
          p: location.pathname,
          u: location.href,
          s: location.search,
          t: document.title,
          r: document.referrer
        });
      }

      args.unshift(e);
      analytics.push(args);
      return analytics;
    };
  };


  // For each of our methods, generate a queueing stub.
  for (var i = 0; i < analytics.methods.length; i++) {
    var key = analytics.methods[i];
    analytics[key] = analytics.factory(key);
  }

  // Define a method to load Analytics.js from our CDN,
  // and that will be sure to only ever load it once.
  analytics.load = function(key, options) {
    // Create an async script element based on your key.
    var t = document.createElement("script");
    t.type = "text/javascript";
    t.async = true;
    t.setAttribute("data-global-segment-analytics-key", globalAnalyticsKey)
    t.src = "https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";

    // Insert our script next to the first script element.
    var first = document.getElementsByTagName("script")[0];
    first.parentNode.insertBefore(t, first);
    analytics._loadOptions = options;
  };
  analytics._writeKey = "YOUR_WRITE_KEY";

  

  // Add a version to keep track of what's in the wild.
  analytics.SNIPPET_VERSION = "5.2.1";

  // Load Analytics.js with your key, which will automatically
  // load the tools you've enabled for your account. Boosh!
  analytics.load("YOUR_WRITE_KEY");

  // Make the first page call to load the integrations. If
  // you'd like to manually name or tag the page, edit or
  // move this call however you'd like.
  analytics.page();
})();
</script>

Need help building? 
No problem.

Work with one of our trusted partners to get coding support or explore a pre-built customer data solution. View partners

Get started with a free trial. No credit card required. 

The Segment CDP is proven and trusted at scale. Start connecting all of your customer data today with a free Twilio Segment account.

700+

pre-built connectors

400K

events ingested per second

400B

rows synced per day

99.99%

system uptime

Frequently asked questions

Every marketing and analytics app runs on the same three types of first-party data: who your users are, what they are doing, and where they are when they're doing it. Collect it all at once with Segment Connections and send it to any tool.

A first-party data collection platform is a tool that allows you to collect data from people who visit your website, use your products, or visit your physical locations. Governing how and where first-party data can be used is the key to first-party data privacy.

Segment helps collect, clean, and consolidate first-party data at scale and in real time. With unified profiles, businesses gain a 360-degree view of their customers to understand their behavior, preferences, and trends. This can be used to create highly nuanced audience segments and to orchestrate personalized experiences based on people’s behavior.

Segment uses a single API to collect customer event data and to enrich that data with information stored in a data warehouse, CRM, payment systems, internal databases, and more. You can connect your data Sources in-app, or programmatically with the Segment API.

Connections offers more than 450 pre-built integrations that include storage systems (e.g., Snowflake, BigQuery, Amazon S3, Redshift), business intelligence tools, and marketing automation tools. With Functions, teams can also create their own custom sources and destinations.