Trackers Lens API

Landing integration log

Date: 2026-05-13

Public URLs

  • Website: https://trackerslens.com
  • API: https://api.trackerslens.com
  • Dashboard: https://app.trackerslens.com

Implemented on the landing

  • Login button opens an in-page modal matching the landing style.
  • Login modal calls GET /sanctum/csrf-cookie, then POST /api/login.
  • Register tab calls POST /api/register.
  • Successful auth redirects to https://app.trackerslens.com.
  • CTA buttons scroll to the launch/newsletter area and focus the email input.
  • Newsletter form stores the launch email locally and shows user feedback until a real API endpoint is added.
  • Footer links no longer use # placeholders. Existing sections use anchors; API reference uses https://api.trackerslens.com/docs/api-contract; contact/blog use mailto:hello@trackerslens.com.
  • Social links point to public Trackers Lens profiles/placeholders.

API routes used by the landing

  • GET /sanctum/csrf-cookie
  • POST /api/login
  • POST /api/register
  • GET /docs/api-contract
  • GET /docs/api-contract?format=md
  • GET /docs/landing-integration
  • GET /docs/landing-integration?format=md

Required production environment

For Sanctum cookie auth across the public domains, production .env should include values equivalent to:

APP_URL=https://api.trackerslens.com
FRONTEND_URL=https://app.trackerslens.com
SESSION_DOMAIN=.trackerslens.com
SANCTUM_STATEFUL_DOMAINS=trackerslens.com,www.trackerslens.com,app.trackerslens.com,api.trackerslens.com

Pending API work

  • Add a persistent newsletter/waitlist endpoint, for example POST /api/newsletter-subscriptions.
  • Add rate limiting and spam protection for public auth/newsletter forms.
  • Decide final public URLs for blog, roadmap, changelog, privacy policy and terms pages if they should become standalone pages instead of landing anchors.