English · IndiaLog in
Rackwave Technologies
Request quote Free consultation
DataUpdated 26 Nov 2026

Segment Sources and Tracking Plan: Design Guide

Segment sources and tracking plan: source types, naming, rollout, identity and governance.

Written by Rohan Verma
  • Published24 Nov 2026
  • Read time6 min
  • Length1,307 words
Share this guide

What are Segment sources and tracking plan basics? In Segment, a source is any place that sends data into the platform, such as a website, a mobile app, a server or a cloud application, and a tracking plan is the document that defines which events and properties those sources should send, with their names, types and rules. Segment sources and tracking plan decisions together decide whether the data that reaches your tools is consistent and useful. A source without a plan produces noise, and a plan without enforcement drifts as teams ship new features. This guide explains source types, how to design a tracking plan, how to name events and properties, how to implement and validate it, how to govern changes and which mistakes lead to messy data. Capabilities change, so confirm details in current Segment documentation.

Short answer: Segment sources collect the data, and the tracking plan defines it. Design the plan from business questions, use consistent naming, validate in code and govern changes.

What are Segment sources and a tracking plan?

They are the entry point of what is Segment and a key part of any customer data platform. Enforcement is covered in Segment Protocols, and delivery in Segment destinations. Browser and web implementation is covered in Analytics.js.

Types of source

Diagram of Segment sources and tracking plan: web, mobile, server and cloud sources, a tracking plan defining events and properties, validation and downstream destinations
Figure 1. Sources send events that are validated against the tracking plan before they are delivered to destinations and the warehouse.
Source typeTypical dataNotes
WebsitePage views, clicks, formsUse the JavaScript library
Mobile appScreens, taps, purchasesUse native SDKs for iOS and Android
ServerOrders, payments, subscription changesMost reliable for important events
Cloud appSupport, billing, CRM objectsPulled in through connectors
Reverse ETLWarehouse tablesUsed to send modelled data to tools
FunctionsCustom or third party feedsCode that receives and shapes data

Designing a tracking plan

  • Start from business questions, such as which step of checkout loses customers.
  • List the events and properties needed to answer them.
  • Choose one naming pattern and use it everywhere.
  • Define the data type and allowed values for each property.
  • Record which source sends each event and who owns it.
  • Mark which events are essential and which are optional.

Naming conventions

ElementGood practiceExample
Event namesObject and past tense verb in title caseOrder Completed
PropertiesLowercase with underscoresorder_value
TraitsConsistent with property rulesplan_type
CurrencySeparate field with a standard codecurrency: USD
BooleansPrefix with is or hasis_trial
DatesStandard format with time zoneISO 8601

How to build and roll out a tracking plan

  1. Gather questions. Interview product, marketing and analytics owners.
  2. Draft the plan. List events, properties, types and owners in a shared sheet or in Protocols.
  3. Review. Agree names and priorities with engineering and data teams.
  4. Instrument. Add tracking calls to web, mobile and server code.
  5. Validate. Check events against the plan in a development environment.
  6. Release gradually. Monitor volumes and violations after launch.
  7. Maintain. Review the plan monthly and retire unused events.

Common mistakes

  • Tracking every click without a purpose.
  • Different names for the same action across web and app.
  • Changing property types after launch.
  • Putting personal data into properties without need.
  • No owner, so nobody approves changes.
  • Relying on client side events for revenue.

Our data analytics service designs tracking plans and our API development service builds server side tracking.

A worked example: an online marketplace

A marketplace wants to understand search to purchase conversion. The team lists the events needed: Search Performed, Product Viewed, Product Added, Checkout Started and Order Completed, each with product, category, price and currency properties. They agree names, types and owners, and write the plan in Protocols.

Web and mobile send the browsing events, while the server sends Order Completed from the order system, so that revenue is reliable. Validation catches a mobile build that sends price as a string, and the fix is released before it affects reports. The plan is reviewed monthly and each new event needs an owner and a use case.

Client side and server side tracking

Client side tracking captures browsing and interaction, but it can be blocked by browsers, extensions or connection problems. Server side tracking is more reliable for important events such as payments and subscriptions, and it can include data the client does not know. Use both where it makes sense, and make sure they share identifiers so that events join up. Document which events come from which side, so that analysts understand the strengths and limits of each.

Identity in the tracking plan

Define how users are identified in each source. Use an anonymous identifier before login and a stable user ID after, and call identify when the user signs in. For business products, also use group calls to link users to accounts. Decide what happens on logout and on shared devices, and test merges. A tracking plan without identity rules produces events that cannot be joined, which weakens every report and audience built on them.

Governance and change control

Treat the plan as a product. Use a request process for new events, with a purpose, an owner and a review by data and engineering. Version the plan, record the date of each change and communicate changes to teams that use the data. Retire events that are no longer sent, and document the reason. Link this with wider data governance practice, so that definitions survive team changes.

Testing and quality assurance

Test tracking in development and staging with a debugger, and check each event for name, type and required properties. Compare event counts with other analytics for a period, since gaps often point to errors. Add checks to the release process, so that new features cannot ship without the agreed tracking. Keep test users and a script for key journeys, and repeat the checks after changes to the app or the website.

Privacy and data minimisation

Collect only what you need. Avoid sending sensitive data in events and traits unless there is a clear legal basis, and hash or omit identifiers where possible. Include consent information in the data, and make sure destinations respect it. Prepare a way to find and delete data about a person across the warehouse and destinations. See what is GDPR for the principles behind these practices.

Documenting and sharing the plan

A plan only works if people can find and read it. Keep it in one shared place, with a short guide to naming rules, a list of owners and examples of correct calls. Add the plan to onboarding for new engineers and analysts, and link it from the release checklist. Record decisions about why an event exists, since the reason is often forgotten while the event stays in the code for years.

Evolving the plan as the product grows

Products change, and so do the questions asked of the data. Review the plan after major launches, add events for new features and retire those that no longer apply. When you change a property, add a new one and deprecate the old rather than altering meaning in place, so that history stays understandable. A plan that evolves in a controlled way remains trusted, while one that is never touched slowly stops describing the product.

Key takeaways

  • Segment sources send data in, and the tracking plan defines what that data should be.
  • Design the plan from business questions, with consistent names, types and owners.
  • Use server side tracking for critical events and share identifiers across sources.
  • Validate in development, monitor in production and control changes.
  • Minimise personal data and apply consent.

Quick glossary

TermMeaning
SourceA place that sends data into Segment
Tracking planA document defining events, properties and rules
EventA record of an action taken by a user
TraitAn attribute of a user or account
ViolationAn event that does not match the tracking plan

Read next: BigQuery vs Snowflake: Which Cloud Data Platform? · BigQuery Streaming Inserts: Real-Time Ingestion Guide · BigQuery Access Control: IAM, Policy Tags and Row Security

Frequently asked questions

What is a source in Segment?

It is a website, app, server or cloud tool that sends data into Segment.

What is a tracking plan?

It is a document that defines events, properties, types and owners.

How should I name events?

Use one pattern, such as object plus past tense verb, and apply it everywhere.

Should I track on the client or server?

Use both, with server side tracking for critical events such as payments.

How do I validate tracking?

Use a debugger and tools such as Protocols to check events against the plan.

Who owns the plan?

A named data or analytics lead, with review from engineering.

How often should I review it?

Review it monthly and retire unused events.

Can I avoid sending personal data?

Yes, minimise traits, avoid sensitive fields and use consent controls.

Was this guide helpful?Your answer helps us decide what to improve. It is not linked to you.

#segment sources and tracking plan#segment tracking plan#segment sources#segment event naming#segment data design

About the author

Rohan Verma

Data Platforms Consultant

Rohan works across CDP, data warehouse, and analytics platform implementations, helping clients figure out which data infrastructure actually fits their scale rather than defaulting to whatever's currently trending.

Data Platforms & Technical Architecture

Ready to put AI and data to work?

Book a free consultation and leave with a plan, not a pitch.

Get a free consultationRequest quote