Application Programming Interface. In software, this term describes a way of interacting with software in an automated fashion, without the use of a user-interface designed for humans. In Segment, we call the standard calls (
group) our API. We also provide the Config API, which you can use to configure sources and destinations, and perform other functions in your workspace, without logging in using a web browser.
The app is what we call the main Segment web application, the part you log in to, and where you configure sources and destinations, see events in the debugger, manage your tracking plan, and so on.
Asynchronous means occurring without a specific order or sequence. In engineering, it’s most often used for things like when you have to ask a server for a piece of information. If that was a synchronous task, while you were waiting for the server to respond you wouldn’t be able to do anything else, you’d just be stuck waiting. But since it’s asynchronous, you can request information from a server, continue to go do a bunch of other tasks, and then when the server responds you can get back to what you were doing to start. Basically it lets you work on multiple things at once (in parallel) instead of needing to finish everything in the order it comes in. Think of it like one of the ways computers are able to multi-task.
Personas Audiences allow you to define cohorts of users or accounts based on their event behavior and traits that Segment then keeps up-to-date over time. Audiences can be built from your core tracking events, traits, or computed traits. These audiences can then be synced to hundreds of destinations or available using the Profile API.
Amazon Web Services, a large cloud service provider.
Segment’s list of available sources, destinations, and warehouses. You can access the catalog from the Segment website, and from inside the Segment app.
Content Delivery Network. CDNs are a network of servers which make downloading files faster for the user, by placing them all around the world to reduce data transit time. When you have servers in a CDN, they’re much closer on average to the end user. If someone is using Segment in Asia, they don’t have to download our files all the way from California, they can get them from a server much closer to them in the network.
Customer Data Platform: a central platform that brokers the flow of customer data through their application infrastructure so that they can build a central understanding of each customer’s interactions, comply with regulations that require them to carefully manage customer data, and ensure that their interactions with the customer are optimized.
document.cookie. Our analytics.js script sets up a cookie called
ajs_uid to store the user’s id.
Every time you make a request to a website, you send along the cookies that you have stored. It’s how the website figures out who you should be logged in as. You can think of it sort of like a passport as a form of ID. When you first enter your username and password, the website generates a secure cookie, and tells your browser to store it. From then on, your browser sends along the cookie as a way of identifying yourself to the website.
Cloud mode, (or Server-side) libraries send data to Segment, where it’s then sent on to destinations. Usually used in contrast to Device mode libraries, which send the data directly to the destination’s API endpoints.
Cloud mode libraries run on a server and are completely invisible to end users. You can find the full list of server-side languages Segment supports in the Sources catalog. These libraries can be used to track a user in realtime as they use your app, but are also able to run batches of calls to update many end users at once. Cloud-mode libraries do not maintain “state” which means every API call you make must include every detail you want to see inside of Segment.
Custom Traits are user or account properties collected from all the events you send to Personas. For example, you can add any properties that you send as a part of your track calls or identify calls (
last_name) as custom traits. You can then view them in the profile explorer, and use them in your audiences, computed traits and SQL traits.
This is the place in the app where you can see your events flowing through Segment
A destination is a target for Segment to forward data to, and represents a tool or storage destination.
Device mode, (or client-side) libraries are loaded on the on the user’s client (for example their web browser, or mobile device), which means they can collect contextual data about the user. The three main libraries that are considered “device mode” are Analytics.js, which is used on websites, our iOS SDK, and our Android SDK. Device mode libraries can maintain a cache of information about each user on the device so we know that device belongs to a consistent
userId, and has a consistent list of traits like name, email, etc.
Data management platform
Extract, Transform and Load. Referring to the process of extracting data from a production system, transforming it with enriching data into a new format, and then loading it into a data warehouse for analysis (a separate database from production).
An event can refer to either an action by a user, or something a user does which triggers a track call. Events have a name (for example “Product viewed”) and properties (for example the product name, price, and category), and take place in a single moment in time. (This is in contrast to “objects” which persist over a period of time, and which have properties that might change.)
a call that gathers information about who the user is.
A library is a reusable piece of code which acts as a building block for higher level pieces of code. It’s the software equivalent of a ‘tool’. For instance, take Instagram filters. In the good old days, to take a picture with an interesting filter, you had to adjust the aperture length, the focal length, the exposure and film speed to get the desired effect. But now, you can just use Instagram, and press a button to get the pre-tuned filter that you want. They’ve packaged those effects in software and made them re-usable.
The most common use case for this term at Segment is in reference to the libraries people use to send data to our API. A full list of libraries can be found in our docs. Libraries can collect either in “Device mode” or “Cloud mode”.
A “lookback window” limits the period of time in which data is considered when calculating a trait or audience. For example, you might set a lookback window of 7 days on an audience or trait like
new_users_7_days, but you would not add a lookback window to a trait that isn’t time-bounded, such as
A method is programming speak for “an action an object can take”. It’s a specific type of function that is attached to an object. All of our analytics tracking libraries create
analytics objects, and then
page, etc are methods you can invoke on those objects.
Monthly Tracked Users. You can find more about how they are calculated here but in short, they are calculated by adding the number unique userIds and number of unique anonymousIds that a customer tracks with Segment.
An object is a type of data that persists over time and can be updated, for example a Business or a User record. Objects have “traits” which record information about that object, and which can change over time. For example a “user” object could have a trait of “email” which doesn’t change often, but could also have a computed trait like
logged_in_last_7_days. (Objects are in contrast to “events” which happen at a single moment in time, and whose properties do not change.)
OTT (Over the Top)
Over the top (OTT) refers to content providers that distribute streaming media as a standalone product directly to viewers over the Internet, bypassing telecommunications, multichannel television, and broadcast television platforms that traditionally act as a controller or distributor of such content.
The Segment API call records that a user “viewed a page”. It’s recorded by calling
analytics.page(). You can optionally pass in a
name and a
An open-source SQL server
An analytics data warehouse from Amazon Web Services. Made for loading in tons of event data, and then analyzing it with complex queries. It’s designed to be fast and cheap.
How often we attempt to redeliver a payload before marking it as failed.
The ability to re-send your user data to new destinations and tools.
A schema is a word used to refer to the design of a database, including what fields there are, and what data types each one contains. If you were to think of a database as a spreadsheet, the schema would be the top row with the field labels, plus the data types and formatting rules for each column.
In Segment, you can send data to a Warehouse which has a schema based on the types of data you collect and route through Segment, and which updates as the data you collect changes.
Refers to a group of libraries that can send data to Segment, in Cloud mode, meaning through the Segment cloud. “Server side” can could refer to people sending data directly to our HTTP API without using a “library”. Usually used in contrast to Client Side.
Software Development Kit. This is a combination of libraries and used mostly in the context of building mobile or native apps.
(pronounced ‘sequel’) Structured Query Language. The standard language for retrieving information from a database. It’s often called “relational” because all the queries are related to relations between the data. For instance, find me all users who are named “Alice” would translate to…
select * from users where first_name equals "Alice"
SQL traits are per-user or per-account traits that you create by running queries against your data warehouse, which can include data not captured using your Segment implementation. Segment imports the results into Personas, and appends these traits to the user profile.
A website, server library, mobile SDK, or cloud application which can send data into Segment.
Short for “Specification”, the Segment Spec is our set of recommendations for what data to collect, and how to format it, for best
The number of API calls and Objects your account makes, per MTU. The limit on this number is defined by your account plan.
Type of API call (method) which records any actions that users perform on a web or mobile app.
A tracking plan is a tool that our customers use to keep track of their analytics setup. It contains all of the events, pages, traits and properties they want to record with information about how each is laid out. It’s often in a spreadsheet or document, but we’re actually building the functionality into the core product so that people can plan out their tracking setup right from inside Segment.
Traits are individual pieces of information that we know about an object. Objects persist over time, so traits can change over time.
Segment’s Data warehouse product. All event data can be sent to one of several Warehouses, where your team can use it to perform more complex analysis of the data.
This page was last modified: 05 Dec 2019
Questions? Problems? Need more info? Contact Segment Support for assistance!