Registry packagePublic

@rawctx/shopify-customers

Shopify customers, retention, and cohort semantic model

OSISchema 1.0Domain ecommerceSource shopifyOwner @pasar6987

Native (downloadable) · Latest 0.1.0 published Mar 3, 2026 · 2 datasets / 4 measures in the latest preview · Updated Mar 3, 2026

Snapshot

Registry facts before deep inspection

Format, origin, ownership, and release context surface first so the package can be qualified quickly.

Format

OSI

Latest release

0.1.0Published Mar 3, 2026

Origin

Native (downloadable)Managed directly in rawctx

Installability

DownloadableDirect rawctx snapshot download

Domain

ecommerce

Owner

@pasar6987

Organization

Independent

License

Apache-2.0

Visibility

Public

Tags

shopifyecommercecustomersretentioncohort

Schema preview

OSI 1.0

Model preview

Structure before documentation

Preview the package footprint first, then open the dedicated explorer if you need field-level inspection.

Models1
Datasets2
Measures4
Dimensions6
Relationships1
AI context1
models/shopifyCustomers.osi.yamlAI context included
2 datasets4 measures6 dimensions1 relationships

README

Package narrative and examples

Use documentation after the package qualifies on source, preview, and installability.

@rawctx/shopify-customers

Shopify semantic package for customer behavior, repeat purchase, and cohort retention.

Included datasets

  • customers from shopify.Customer
  • customerOrders from customer-scoped projection of shopify.Order

Metrics

  • repeatPurchaseRate: customers with 2+ orders divided by all customers
  • cohortCustomers: distinct first-order customers
  • retainedCustomers30d: distinct cohort customers with a repeat event in 30 days
  • retention30dRate: retainedCustomers30d / NULLIF(cohortCustomers, 0)

Key dimensions

  • customerTag (customers.tags)
  • customerState (customers.state)

Caveats

  • Cohort metrics require reliable isFirstOrder and daysSinceFirstOrder derivations.
  • Time-zone alignment should be standardized before retention reporting.

Topology

Semantic graph

Use the graph last, once the package has already qualified on release state, preview, and documentation.

Semantic Graph

Datasets 0 / Measures 0 / Dimensions 0 / Relationships 0

Loading semantic graph...

PackageDatasetMeasureDimensionRelationship