← Documentation

Segment Integration

Stream every pass event — with first-touch campaign attribution — into your Segment workspace, and from there to Adobe Analytics, Google Analytics 4, Mixpanel, Amplitude, your data warehouse, and 300+ other destinations.

Setup — about two minutes

  1. In your Segment workspace, go to Connections → Sources → Add source and choose HTTP API (available on every Segment plan, including free).
  2. Copy the source's write key.
  3. In Pass Studio, open Settings → Integrations → Segment, paste the write key, and click Connect.
  4. Click Send test event, then open the Debugger tab of your Segment source — you should see Pass Studio Test Event arrive within seconds.

That's it — no Segment catalog app or approval required. Events flow from the moment you connect; destinations you've wired in Segment (Adobe, GA4, warehouses) receive them through your own routing and consent settings.

Events we send

EventFires whenKey properties
Pass ViewedA share page is openedpassId, shareToken, utm*, full landing query
Pass InstalledA pass is added to a walletpassId, platform, utm*, acquisition*
Pass RedeemedA redemption on any channel — online checkout, Square register, POS counter scan, API scan, or loyalty reward consumption (loyalty: true)source, orderId, locationId, discountCode, acquisition*
Pass RemovedA holder deletes the pass from their walletpassId, platform
Order CompletedAny order processed by the order engine (Segment e-commerce spec)order_id, total, currency, products[], coupon
Loyalty Points Earned / Loyalty Reward Unlocked / Loyalty Pass IssuedLoyalty loop stage transitionsprogramId, earned, balance
Pass Journey AdvancedA pass transforms to its next journey stepfromPassId, toPassId

Every event carries acquisitionSource / acquisitionMedium / acquisitionCampaign when known — the first-touch campaign that originally acquired the holder, stamped at issuance and preserved across journey transitions and loyalty loops. Redemptions arrive pre-attributed: no joins required in your warehouse.

Order Completed follows Segment's e-commerce spec, so revenue-aware destinations (Adobe, GA4) recognize totals and products natively.

Customer profiles — three privacy modes

The Customer profiles setting controls whether we also send identify calls that build per-customer personas in your destinations:

  • Events only — no profiles; pure event analytics.
  • Anonymous personas (default) — profiles keyed by the opaque Pass Studio holder ID with non-contact traits only: acquisition campaign, first-seen date, platform, pass count. Profile stitching, cohorts, and LTV-by-campaign with no email or phone number ever leaving Pass Studio.
  • Full identity — adds email and member ID when the holder is identified (from an order, form, or loyalty enrollment). Use when your Segment routing feeds a CRM or email tool and your privacy posture allows it.

When our identity engine merges two holder records (e.g. an anonymous install later matched to a customer), we send an alias call so the person's complete history stitches onto one profile in supported destinations.

Notes

  • Delivery is best-effort with a short timeout — Segment being unreachable never affects passes, redemptions, or your data in Pass Studio (BigQuery-backed analytics are unaffected).
  • Segment accepts events asynchronously, so an invalid write key still returns success at send time — always confirm with the source Debugger after connecting.
  • Streaming starts at connect time; historical events aren't replayed.
  • Wallet-plumbing events (device registrations, pass re-fetches) are deliberately not forwarded.