Documentation

Calls and stores.

Every call and every sale at the till, joined to the visit and the ad that brought it.

Calls and stores

Call tracking

Your site shows each visitor their own phone number, so a call joins the visit and the ad that brought it.

Connect your own Twilio or Vonage account under Metrics, then Systems, and add numbers to the pool, ones the account already has or new ones you choose. Your provider bills its own account for each number and each minute, as it does today. Mode never buys a number you did not name. Set the number calls are put through to and the numbers your site shows today. Mode's snippet then replaces those numbers on every page, in the text and in tel: links, with a number from the pool held for that visitor, and keeps the same one for their whole visit.

Pools split numbers by where visitors came from. A rule matches on the campaign tags, an ad click id or the referring site, so visitors from Google can be shown one set and everyone else another. When every number of a pool is held, the one shown longest ago is shared, and calls to it are marked shared.

A call to a pool number is answered by Mode and put through to your business. It is recorded as $call_started, $call_answered with how long you talked, and $call_ended with its length and status, each joined to the visitor who held the number when it rang. A call that lasts at least the seconds you set is a conversion under your goal, sent on to the ad platforms like any conversion.

Nothing is leased or swapped before a visitor gives analytics consent where your site asks for it, and the page keeps its own number when the pool has none free. Add data-mode-noswap to any element whose number must never change.

Calls and stores

Recording calls

Recording is off until you turn it on, and the recordings stay in your own telephony account.

With recording on, a caller hears a notice before anything is recorded. Several US states (California, Connecticut, Delaware, Florida, Illinois, Maryland, Massachusetts, Michigan, Montana, Nevada, New Hampshire, Pennsylvania and Washington) require every party to agree. The notice plays on every recorded call unless you choose to play it by state, and then it is skipped only when both your business and the caller are known to be in states that let one party agree. Mode keeps a link to each recording, never the audio.

Calls and stores

CallRail and CallTrackingMetrics

Already tracking calls? Connect the tracker and its calls join the same people.

Connect CallRail with its webhook signing key, or CallTrackingMetrics with its API secret, and paste the address Mode shows into the tracker's webhooks. Each call comes with the campaign tags, ad click id and landing page the tracker saw, and the caller's number, which is hashed the moment it arrives and never stored.

Calls and stores

Sales at the till

Receipts from your point of sale become purchases, joined to the shopper who visited your site or clicked your ad.

SystemHow Mode reads itWhat you give
Square POSWebhooks, with each sale's items, discounts and customer read from SquareThe webhook signature key and an access token
Shopify POSThe store's order and refund webhooks, sales at the shop onlyThe webhook key Shopify shows
CloverRead every few minutesAn API token and the merchant ID
ToastRead every few minutesStandard API access credentials and the restaurant GUID
Lightspeed RetailRead every few minutesA personal token and the store's address prefix

A sale is $purchase with its value, tax, items, location and whether it was at the till or online, and money given back is $refund. Both count toward revenue, lifetime value and return on ad spend. A shopper is joined by the email address or phone number on the receipt, hashed on arrival and never stored, matched against the people who gave the same address on your site. A sale is counted once, even when your site's tags saw the same order.

Calls and stores

Coupons and QR codes

Every code redeemed at the till is recorded, so a printed offer is measured to the sale.

Each discount code on a receipt is $coupon_redeemed with the code, the discount and the sale. Print a QR code from a Mode short link on a flyer, a sign or packaging, and use the same code at the till, and the scan and the sale are counted on the same code.

Calls and stores

Store visits from Google Ads

The store visits Google Ads measures for your campaigns arrive with each day's spend.

A connected Google Ads account that has store visit conversions brings its visits and their value by campaign and day into the store_visits table, beside spend. Google estimates them from people who turned on location history, so they are counts per campaign, never a person.

Calls and stores

From the API and agents

The pool is in the HTTP API and the Metrics MCP server too. The systems themselves are connected and set as on the Systems page.

DoHTTPMCP tool
List the poolGET /v1/metrics/calls/numberscall_numbers
List the account's numbersGET /v1/metrics/systems/{id}/numberscall_numbers_owned
Find numbers for saleGET /v1/metrics/systems/{id}/numbers/availablefind_call_numbers
Add a numberPOST /v1/metrics/systems/{id}/numbersadd_call_number
Move, rename or pause onePATCH /v1/metrics/calls/numbers/{id}set_call_number
Take one out of the poolDELETE /v1/metrics/calls/numbers/{id}remove_call_number

Let AI run your marketing.

Mode Agent does the daily work. You approve the spend.

Get early access