For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
LogoLogo
Help CenterAPI KeysStatusSign in
GuidesAPI ReferenceChangelog
GuidesAPI ReferenceChangelog
  • Getting started
    • Overview
  • Messaging API
    • Send transactional SMS
    • Send transactional WhatsApp
  • Domains & API keys
    • Add a domain
    • Create an API key
  • Webhooks
  • Tracker & events
    • Getting started
      • Overview
      • Identify users
      • Track page views
      • Track link clicks
      • Track custom events
      • Overview
      • Identify users
      • Track link clicks
      • Track page views
      • Track custom events
    • Legacy tracker documentation
      • Overview
      • Event endpoints
  • Accounts & settings
      • Overview
      • Sender creation and management
      • Domain creation and management
      • Domain authentication and validation
    • User activity logs
      • Overview
      • External feeds management
      • Overview
      • Invited users management
    • Status | API & Platform
  • Overview
  • Overview
  • Framework guides
  • Node.js
  • Next.js
  • Remix
  • Nuxt
  • Astro
  • SvelteKit
  • React (Vite)
  • Vue
  • Express
  • Fastify
  • Hono
  • Koa
  • NestJS
  • RedwoodJS
  • Bun
  • Cloudflare Workers
  • Vercel Functions
  • AWS Lambda
  • Deno
  • Electron
  • Key concepts
  • Pagination
  • Errors
  • Overview
  • API key authentication
  • Overview
  • Handling rate limits
  • Overview
  • Node.js
  • Rust
  • Ruby
  • Go
  • Python
  • PHP
  • MCP Server
  • Overview
  • Batch send emails
  • Batch email idempotency
  • Schedule emails
  • Sandbox mode
  • Weekly event exports
  • Overview
  • Postfix integration
  • Node.js SMTP example
  • Delete transactional logs
  • Parse inbound email
  • Send transactional SMS
  • Send transactional WhatsApp
  • Add a domain
  • Create an API key
  • Campaigns
  • Templates
  • Landing pages
  • Contacts
  • Companies
  • Deals
  • Conversations
  • Automations
  • Overview
  • Email webhooks
  • SMS webhooks
  • WhatsApp webhooks
  • Secure webhooks
  • Retry mechanism
  • Getting started
  • Overview
  • Identify users
  • Track page views
  • Track link clicks
  • Track custom events
  • Overview
  • Identify users
  • Track link clicks
  • Track page views
  • Track custom events
  • Overview
  • Event endpoints
  • Overview
  • Sender creation and management
  • Domain creation and management
  • Domain authentication and validation
  • User activity logs
  • Overview
  • External feeds management
  • Overview
  • Invited users management
Help CenterAPI KeysStatusSign in
On this page
  • Next steps
Tracker & eventsJavaScript implementation

JavaScript implementation

Install the Resent JavaScript tracker and start sending events from the browser.

Install the Resent JavaScript tracker and start sending events from the browser.

This guide is part of the Resent developer docs. See the API Reference for endpoint details.

Next steps

Quickstart

Send your first message in minutes.

API reference

Full endpoint documentation.

Was this page helpful?
Previous

Getting started

Next

Identify users

Built with