Skip to content

Align docs examples to DeFi flows: swaps, deposits, mints, and quests#89

Merged
yosriady merged 4 commits into
mainfrom
codex/update-track-section-with-example-.track-call
Jun 23, 2026
Merged

Align docs examples to DeFi flows: swaps, deposits, mints, and quests#89
yosriady merged 4 commits into
mainfrom
codex/update-track-section-with-example-.track-call

Conversation

@yosriady

@yosriady yosriady commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Motivation

  • Update documentation examples to reflect DeFi-focused user flows (swaps, deposits, mints, quests) instead of generic e‑commerce/button examples.
  • Make reserved analytics properties (e.g., volume, revenue, points) and event property examples clearer for crypto apps.

Description

  • Replaced generic examples across the docs with DeFi-specific examples such as Swap Completed, Swap Started, Deposit, NFT Minted, and Quest Completed in data, features, and sdks pages.
  • Updated sample payloads and .track() snippets to include DeFi properties like pair, token_in, token_out, amount_in, amount_out, volume, and revenue.
  • Adjusted event naming guidance and metadata examples to use swap-related fields (e.g., pair=ETH/USDC).
  • Files changed include data/concepts.mdx, data/events/track.mdx, data/metrics.mdx, features/product-analytics/custom-events.mdx, sdks/mobile.mdx, sdks/server.mdx, and sdks/web.mdx with corresponding snippet and example updates.

Testing

  • Built the documentation site with npm run build to validate rendered pages and the build completed successfully.
  • Ran Markdown/Docs linting with npm run lint:md and the lint checks passed.

Codex Task


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@mintlify

mintlify Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
formo 🟢 Ready View Preview Jun 23, 2026, 2:38 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@yosriady yosriady merged commit ec48f14 into main Jun 23, 2026
6 checks passed
@yosriady yosriady deleted the codex/update-track-section-with-example-.track-call branch June 23, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant