Skip to main content
Bily gives your website one programmable layer for customer data and activation. Connect once to collect consistent events, route trusted data, and power browser, server, and AI workflows. Bily Apps — install capabilities, not scripts. Discover what you need, review its permissions, and install it through the Bily connection you already manage. You can observe, update, or revoke any Bily App without rebuilding that connection.

What is Bily?

See how one data and activation layer connects every Bily developer surface.

Explore Bily Apps

Add reusable capabilities through the website connection you already control.

Install Bily

Choose your installation path and send your first event.

Track page views

Record the first page automatically and every later SPA route once.

Track product activity

Track products, carts, checkouts, and completed orders with typed payloads.

Use the SDK reference

Find every exported method, event, and payload type.

Build with the Bily API

Discover your user, organization, and store, then build trusted server workflows.

Connect an AI client

Discover supported operations and run scoped analytics or actions through MCP.

Choose the right surface

Use the SDK in the browser. It installs Bily and sends page, commerce, and custom events. Use the API on your server. It authenticates your backend, respects organization and store boundaries, and exposes Bily data and supported actions. Use MCP in a compatible AI client. It discovers the current operation catalog and runs scoped work through two stable tools. All three share the same Bily data and activation layer. You can evolve Bily Apps without replacing the website integration.

Build with confidence

Plan the implementation

Define outcomes, ownership, identity boundaries, and release gates before you write code.

Model events and data

Give every event and field a stable, reviewable contract.

Validate each boundary

Prove loading, event behavior, API scope, and MCP execution one boundary at a time.

Read the customer FAQ

Find clear answers about implementation, identity, attribution, privacy, API, and MCP.

Install Bily once

HTML

Add the exact Bily script to a site without an application bundler.

Vanilla JavaScript

Initialize Bily in a browser application built with npm.

React Router

Mount one SDK integration at the root of your router.

Next.js

Use one shared component with App Router, Pages Router, or both.

Choose another framework

Install Bily in Vue, Nuxt, SvelteKit, Angular, Astro, Remix, and more.

Move to first-party tracking

Replace the tracking URL after Bily validates your customer subdomain.
Use one Bily loader per website surface. Let @bilyai/js load it unless the framework guide reserves one script element for the SDK to reuse. A second unmanaged tag can duplicate the initial page view.

Let the SDK handle the details

  • Preserves the exact tracking URL and every query parameter you copy from Bily.
  • Queues calls safely while Bily loads.
  • Generates an event ID and timestamp when you do not provide them.
  • Autocompletes known Bily events while accepting your own event names.
  • Imports safely during server rendering.

Start with the quickstart

Connect your website and verify your first event.