# Changelog

This is the markdown version of https://statlark.com/docs/changelog. Every docs and Learn page has one: add .md to its address. Index: https://statlark.com/llms.txt

What’s new in Statlark, newest first: features, docs and package releases.

## <a id="2026-11"></a>November 2026

### 21 Nov — Let an AI assistant update your annotations and targets

When you connect an assistant, an owner or admin can now let it add and remove annotations and set the primary goal and targets. Anything that replaces or removes what a person made waits for your approval in Statlark, and **Settings → Assistant changes** shows every change with Restore.

Read more: [AI assistants (MCP)](https://statlark.com/docs/mcp.md#changes)

### 20 Nov — A record of AI assistant calls

Statlark now keeps a 90-day record of the calls your connected assistants make: the tool, the argument names and fixed choices, the outcome and the assistant's name, never the text or your data. When a tool can't answer, its result now suggests telling us with `submit_feedback`.

Read more: [AI assistants (MCP)](https://statlark.com/docs/mcp.md#permissions)

### 19 Nov — Delayed Stripe payments and a test-mode switch

A one-time Checkout payment by ACH or SEPA Direct Debit now counts on the day it settles: if you connected Stripe before, add `checkout.session.async_payment_succeeded` to your endpoint, and stop recording those payments with the REST API. Payments from Stripe test mode and sandboxes are ignored unless you turn on **Count test-mode payments** for the site, and UGX and the three-decimal currencies (BHD, JOD, KWD, OMR, TND) are converted correctly.

Read more: [Revenue attribution](https://statlark.com/docs/revenue-attribution.md#stripe) · [Troubleshooting](https://statlark.com/docs/troubleshooting.md#payments) · [How to track Stripe revenue in your analytics](https://statlark.com/learn/track-stripe-revenue-in-analytics.md#zero-decimal-currencies)

### 17 Nov — Landing pages from Google

The Keywords tab has a **Landing pages** view: the pages Google sent clicks to, with the clicks whose search term Google hides and the measured revenue from those visitors. The REST API and `get_search_keywords` return the same rows as `pages`.

Read more: [Google Search Console](https://statlark.com/docs/search-console.md) · [REST API](https://statlark.com/docs/api.md#keywords) · [AI assistants (MCP)](https://statlark.com/docs/mcp.md)

### 17 Nov — @statlark/cli 0.2.0: search keywords

Run `statlark keywords` to list the Google search terms that brought clicks, with estimated revenue. Add `--page /pricing` for one landing page.

Read more: [Command line (CLI)](https://statlark.com/docs/cli.md)

### 17 Nov — Search keywords in the API and for your AI assistant

The REST API has `GET /api/v1/keywords` and the MCP server has `get_search_keywords`: your Google search terms with clicks and estimated revenue, and whether Search Console is connected. Any key or connected assistant with Read analytics can read them, and the privacy policy now says so.

Read more: [REST API](https://statlark.com/docs/api.md#keywords) · [AI assistants (MCP)](https://statlark.com/docs/mcp.md) · [Google Search Console](https://statlark.com/docs/search-console.md)

### 15 Nov — Totals and share of clicks in the Keywords tab

The **Keywords** tab now opens with the Google clicks in the range, how many of them have a named search, and the revenue from visitors who first arrived from Google search. Details has a **Share** column, and the tab says when Google hides every search, when a site has no Search Console property chosen and when an import is failing.

Read more: [Google Search Console](https://statlark.com/docs/search-console.md)

### 15 Nov — See which Google searches earn revenue

Connect Google Search Console in Settings and the Sources card gains a **Keywords** tab: search terms with clicks, impressions, position and an estimated revenue each. Search data is 2-3 days behind.

Read more: [Google Search Console](https://statlark.com/docs/search-console.md)

### 13 Nov — Tell us what your AI assistant couldn't answer

The MCP server has one new tool, `submit_feedback`: when no tool can answer a question, or a result looks wrong, your assistant can send us a short note, after asking you. It changes none of your data, and the notes are in your workspace export.

Read more: [AI assistants (MCP)](https://statlark.com/docs/mcp.md)

### 13 Nov — More answers from your AI assistant

The MCP tools take 90-day, last-week, last-month, last-quarter and quarter-to-date ranges, rank sources by UTM medium, campaign, term and content, and report pageviews. A custom event such as an outbound click can be split by the page it happened on or by where its visitors came from, with a rate, a trend and the previous period. Site context now says whether bot tracking is set up and which events arrive on their own.

Read more: [AI assistants (MCP)](https://statlark.com/docs/mcp.md)

### 13 Nov — Fixed: entry-page visitors

On the Entry pages view, Visitors counted everyone who viewed the page, so it could be more than its entries. It now counts the visitors who started a session there. The REST API's pages endpoint adds `entry_visitors` with the same count.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#entry-exit) · [REST API](https://statlark.com/docs/api.md#pages)

### 12 Nov — Fixed: Stripe subscription visitors and refunds

Subscription payments on newer Stripe API versions didn't pick up the visitor stamped at checkout, and their refunds never came off revenue. Both are fixed, refunds spread over several charges now add up, and an order ID in `client_reference_id` no longer takes the visitor's place. Subscription refunds need `invoice_payment.paid`: if you connected Stripe before, add it to your endpoint, and `charge.refunded` if it's missing.

Read more: [Revenue attribution](https://statlark.com/docs/revenue-attribution.md#stripe) · [Troubleshooting](https://statlark.com/docs/troubleshooting.md#payments)

### 11 Nov — Hand the docs to your AI tool

Every docs and Learn page has a markdown version: add `.md` to its address. Pages that describe a change in your code, such as installing the script, tracking goals or stamping Stripe Checkout, have a "Hand this to your AI" prompt to paste into Claude Code, Cursor or another coding tool. A prompt never asks for your API key.

Read more: [Docs](https://statlark.com/docs.md)

### 11 Nov — Fixed: words running together in the docs

In about 130 places a bold phrase, a link or a piece of code ran into the next word, such as "You added a card.The trial". The spaces are back.

### 11 Nov — A quickstart, install guides and troubleshooting

The docs have a sidebar and a quickstart that goes from sign-up to your first sale next to its source. Install guides cover Next.js, WordPress, Shopify, Webflow, Google Tag Manager and npm, and a troubleshooting page covers what to check when numbers look wrong.

Read more: [Quickstart](https://statlark.com/docs/quickstart.md) · [Install on your platform](https://statlark.com/docs/install.md) · [Troubleshooting](https://statlark.com/docs/troubleshooting.md)

### 11 Nov — Fixed: which AI crawlers to block

The AI discoverability guide said blocking `GPTBot` or `ClaudeBot` costs you citations. They're training crawlers; search and assistant fetches use other agents. The guide and its `robots.txt` example now keep them apart.

Read more: [AI discoverability](https://statlark.com/docs/ai-discoverability.md#crawlers)

### 11 Nov — Two Learn guides about AI

One shows how to see which AI crawlers read your site, and the other how to ask your AI assistant about your analytics.

Read more: [How to see which AI crawlers read your site](https://statlark.com/learn/see-which-ai-crawlers-read-your-site.md) · [How to ask your AI assistant about your analytics](https://statlark.com/learn/ask-ai-assistant-about-your-analytics.md)

### 10 Nov — @statlark/bots 0.1.3 and cleaner bot reports

@statlark/bots 0.1.3 skips `/mcp` and `/oauth` requests, reports `/api` paths only if you set `reportApi: true`, and works where server rendering fakes a browser. Card numbers in reported paths are now masked, and requests from private network addresses show as Can't be checked instead of Fake.

Read more: [Bot traffic](https://statlark.com/docs/bot-traffic.md)

### 10 Nov — @statlark/cli 0.1.1 and a login hint in Settings

After you create a read key, Settings → API keys shows the `npx @statlark/cli login` command. CLI 0.1.1 tells you plainly when your key has permissions it doesn't use.

Read more: [Command line (CLI)](https://statlark.com/docs/cli.md#log-in)

### 9 Nov — Fixed: days that started an hour off

In 31 time zones, including Sydney, Auckland and Jerusalem, days when the clocks changed started an hour off. Date ranges, Compare and annotations now use the right day boundaries.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#time-range)

### 9 Nov — @statlark/cli 0.1.0: your numbers in a terminal

Run `npx @statlark/cli` to read your overview, sources, pages, goals, realtime and bot traffic, read-only, from a terminal. Add `--json` for scripts and AI coding agents, and use the new `GET /api/v1/sites` endpoint to list the sites your key can read.

Read more: [Command line (CLI)](https://statlark.com/docs/cli.md) · [REST API](https://statlark.com/docs/api.md#sites)

### 8 Nov — Hand the install to your AI tool

Settings → Install now opens on an AI prompt: paste it into Claude Code, Cursor, Lovable or another AI tool and it adds the script. Settings → Bot tracking has one for bot tracking too.

Read more: [Quickstart](https://statlark.com/docs/quickstart.md#ai-prompt) · [Bot traffic](https://statlark.com/docs/bot-traffic.md#ai-prompt)

### 8 Nov — See which AI crawlers read your site

The Bot traffic card shows which companies' crawlers read which pages, grouped into AI answers, Indexing, Training and Other. Report them from your server with @statlark/bots 0.1.2 or a plain HTTP call, with 100,000 crawler requests a month included.

Read more: [Bot traffic](https://statlark.com/docs/bot-traffic.md) · [Plans, trial and billing](https://statlark.com/docs/billing.md#bot-tracking)

### 5 Nov — @statlark/react-native 0.1.2

The [app SDK](https://www.npmjs.com/package/@statlark/react-native) now keeps one client per site when its provider remounts, for example behind a sign-in screen. Sessions no longer split in two, and a screen is no longer counted twice.

### 5 Nov — Custom events on the Goals card

The Goals card has an Events tab for your `statlark.event()` calls and outbound link clicks, split by any property. Custom events are never billed.

Read more: [Goals & conversions](https://statlark.com/docs/goals-conversions.md#custom-events)

### 5 Nov — Bounce rate, session length and page titles

The Overview adds Bounce rate and Session length, and the Pages card adds page titles, exit pages and time on page. Sessions now span tabs and end after 30 minutes without activity, so session and entry-page counts are lower across your whole history.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#sessions) · [Script configuration](https://statlark.com/docs/script-configuration.md#leave-signal)

### 4 Nov — Connect AI assistants by signing in

Claude, ChatGPT, Cursor, VS Code and other assistants now connect with just the server URL: you sign in and choose which sites they can read. Settings → Connected apps lists each one so you can disconnect it.

Read more: [AI assistants (MCP)](https://statlark.com/docs/mcp.md#set-up)

### 3 Nov — Ask your AI tools about your numbers

Statlark's MCP server lets Claude Code, Cursor and other AI tools answer questions about your revenue, sources, goals and people, read-only, with an API key. Keys can now cover one site or every site in your workspace, and reading people's names and emails is its own permission.

Read more: [AI assistants (MCP)](https://statlark.com/docs/mcp.md) · [REST API](https://statlark.com/docs/api.md#authentication)

### 3 Nov — Targets, annotations and shareable views

Set a monthly or quarterly target for revenue, visitors or a goal under Settings → Targets, and the Overview shows your progress and pace. Mark launches and campaigns on the trend chart with Annotate, and links now keep the chart metric and card tabs you picked.

Read more: [Goals & conversions](https://statlark.com/docs/goals-conversions.md#targets) · [Reading your data](https://statlark.com/docs/reading-your-data.md#annotations)

## <a id="2026-10"></a>October 2026

### 26 Oct — Usage warnings and plan limits

At 80% and 100% of your monthly events the Overview shows a warning, and going over never stops tracking. Starter includes 1 site and Growth up to 30, and without an active plan tracking stops until you choose one.

Read more: [Plans, trial and billing](https://statlark.com/docs/billing.md#limits)

### 20 Oct — Unattributed revenue and filters on every card

Payments we can't match to a visitor show as an Unattributed row on the Sources card, so its rows add up to the headline revenue. Every card now follows every filter except its own.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#unattributed)

## <a id="2026-09"></a>September 2026

### 28 Sept — Bots and renewals no longer count as visitors

Visitor counts now leave out bots and Stripe renewals.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#what-counts-as-a-visitor)

### 25 Sept — See your usage in Settings

Settings → Plan & billing shows how many events you've used in this billing cycle and when the count resets. Custom events, outbound clicks, the goals Statlark records from Stripe, and bot hits never count.

Read more: [Plans, trial and billing](https://statlark.com/docs/billing.md#usage)

### 22 Sept — Plans, a free trial and a pricing page

New workspaces start with a 14-day free trial, no card needed. You add a card, change plan or cancel from Settings → Plan & billing, and the plans are listed on the pricing page.

Read more: [Plans, trial and billing](https://statlark.com/docs/billing.md) · [Pricing](https://statlark.com/pricing)

### 16 Sept — Payment amounts are checked

Payments must be a positive amount in major units, like 49 for $49, and anything else is now rejected. In the API, `/pages` renames `revenue_per_visitor` to `revenue_per_landing_visitor`, and `/breakdowns` adds OS.

Read more: [REST API](https://statlark.com/docs/api.md#writing) · [JavaScript SDK](https://statlark.com/docs/javascript-sdk.md)

## <a id="2026-08"></a>August 2026

### 2 Aug — An install check and safer deletes

The Overview now tells you when a site hasn't received any events, and shows its site ID so you can check your snippet. Removing a site or closing your account now asks you to type its name, plus an emailed code when data is at stake.

Read more: [Your account and your data](https://statlark.com/docs/your-account.md#remove-a-site)

### 1 Aug — A sturdier cookie banner

The consent banner keeps its state as pages change in single-page apps, and never loads the tracker twice. If it can't check the visitor's region or read their saved choice, it holds the tracker back.

Read more: [Cookie consent banner](https://statlark.com/docs/consent.md)

## <a id="2026-07"></a>July 2026

### 29 Jul — Learn guides

Short guides at statlark.com/learn explain revenue attribution, first-touch vs last-touch, paying conversion rate, revenue per visitor, lifetime value, and Stripe revenue in analytics.

Read more: [Learn](https://statlark.com/learn.md)

### 26 Jul — AI discoverability guide

A new guide shows how to help AI search and assistants find and quote your site, from robots.txt and llms.txt to structured data. Each docs page now shows when it was last reviewed.

Read more: [AI discoverability](https://statlark.com/docs/ai-discoverability.md)

### 25 Jul — Fixed: pinned script versions

Browsers were blocking the pinned script from Settings → Install, so pages that used it recorded nothing. It now loads.

### 25 Jul — @statlark/web 0.1.1: reset on sign-out

@statlark/web 0.1.1 and the script tag add `reset()`. Call it when someone signs out and the next activity starts as a new anonymous visitor, with no page reload.

Read more: [Script configuration](https://statlark.com/docs/script-configuration.md#sign-out) · [JavaScript SDK](https://statlark.com/docs/javascript-sdk.md)

### 21 Jul — Install from npm with @statlark/web

@statlark/web 0.1.0 lets you install from npm and start tracking with `initStatlark()`, with a typed API and a React provider. Settings → Install has a Script / npm switch with the code for your site.

Read more: [JavaScript SDK](https://statlark.com/docs/javascript-sdk.md)

### 21 Jul — Cookie consent banner

A cookie banner styled to match your site holds back the tracker until a visitor accepts. It shows only where consent is required, comes as a bar, corner card, modal or notice, and adds a link to change the choice later.

Read more: [Cookie consent banner](https://statlark.com/docs/consent.md)

### 19 Jul — Attribution badge

Add an "Analytics by Statlark" badge to your footer by pasting a snippet. It needs no JavaScript, makes no requests, and comes in five variants.

Read more: [Attribution badge](https://statlark.com/docs/badge.md)

### 18 Jul — Flags, icons and fuller Details

The Devices card adds an OS tab, and rows now show country flags and icons for browsers, devices, systems and sources. Details opens the full ranked list in a dialog you can filter from, and the chart's granularity moved to a dropdown in the toolbar.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md)

### 17 Jul — A filter menu

The filter button in the toolbar opens the top values for each filter, so you can filter on touch or from the keyboard. Every filterable row is now a link, so you can open a filtered view in a new tab.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#filtering)

### 16 Jul — Compare with the previous period

Turn on Compare to draw the previous period on the chart as a dashed line and show its numbers beside each figure at the top. The site switcher now sits in the toolbar, and stepping back a period shows its real dates.

### 15 Jul — A faster Overview

The Overview loads faster, especially with filters on. Filters, date ranges and site changes respond as soon as you click, with a loading indicator while the numbers update.

### 14 Jul — @statlark/react-native for mobile apps

[@statlark/react-native](https://www.npmjs.com/package/@statlark/react-native) 0.1.0 tracks screens, goals, events, identify calls and payments in React Native and Expo apps, and keeps events until the phone is back online. Version 0.1.1 adds `reset()` for sign-out.

### 13 Jul — More date ranges and a custom range

The range menu adds Now, a live view that refreshes every 15 seconds, and more presets from Yesterday to All time. Arrows step back or forward a period, and Custom range lets you pick any dates on a calendar.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#time-range)

### 12 Jul — Everything on one page

Every report is now a card on the Overview, each with a Details view, and the old separate screens open it. Click Revenue, Rev / visitor, Paying conv. or Visitors at the top to chart that metric.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md)

### 12 Jul — Click a row to filter the whole page

Click a source, page, country or device and every number on the page narrows to that slice. Filters stack, and each shows as a chip in the toolbar that you can clear.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md#filtering)

### 10 Jul — Reading your data guide

A new guide explains what the numbers mean: revenue per visitor, paying conversion, how channels are classified, the visitor journey, and people and lifetime value.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md)

### 10 Jul — More API endpoints and an OpenAPI spec

The REST API adds breakdowns, pages, goals, realtime and site details. An OpenAPI spec at `statlark.com/api/v1/openapi.json` describes every endpoint.

Read more: [REST API](https://statlark.com/docs/api.md)

### 8 Jul — Revenue is net of refunds

Subscribe your Stripe webhook to `charge.refunded` and refunds come off the original sale, so sources, pages and lifetime value show net revenue. The API can also record a refund or delete a payment sent by mistake.

Read more: [Revenue attribution](https://statlark.com/docs/revenue-attribution.md#refunds) · [REST API](https://statlark.com/docs/api.md#writing)

### 8 Jul — First-party proxy guide

A new guide shows how to serve the script and events from your own domain. Blockers that go by hostname then don't drop them, and visitor location still works.

Read more: [First-party proxy](https://statlark.com/docs/first-party-proxy.md)

### 7 Jul — People and lifetime value

Call `identify()` and Statlark keeps one profile per person, merged across their devices, with lifetime value from their payments. A People screen lists them with their full journey, and a new guide explains the setup.

Read more: [Identifying users](https://statlark.com/docs/identifying-users.md)

### 7 Jul — A REST API for your numbers

Create an API key under Settings → API keys and pull your overview, trend and sources over HTTP. Requests are rate-limited, and the response headers tell you your limit and when to retry.

Read more: [REST API](https://statlark.com/docs/api.md)

### 6 Jul — Send conversions from your server

With a write-enabled API key, your server can send payments, goals and identify calls, so ad blockers can't drop them. A payment is matched on your transaction ID, so a retry never counts twice and any payment provider works.

Read more: [REST API](https://statlark.com/docs/api.md#writing)

### 6 Jul — Cookieless mode

Add `data-cookieless="true"` to the script, or turn it on in Settings → Install, and nothing is stored on the visitor's device. Visitors get a server-side ID that resets every day, so no one can be followed from one day to the next.

Read more: [Script configuration](https://statlark.com/docs/script-configuration.md#cookieless)

### 6 Jul — Subdomain tracking and a script options guide

A visitor who moves to a subdomain like app.example.com now stays the same person and keeps their first source. A Subdomains breakdown appears once you track more than one host, and a new guide lists every `data-*` option.

Read more: [Script configuration](https://statlark.com/docs/script-configuration.md#subdomains)

### 5 Jul — Break a goal down by property

Send properties with a goal, like the plan someone picked, and Goals splits the conversions by each value.

Read more: [Goals & conversions](https://statlark.com/docs/goals-conversions.md#properties)

### 5 Jul — Leave out your own and test traffic

Add rules under Settings → Traffic exclusions to drop hits by path, hostname or country before they're counted. Open your site once with `?statlark_ignore=1` to stop counting your own browser.

Read more: [Excluding traffic](https://statlark.com/docs/excluding-traffic.md)

## <a id="2026-06"></a>June 2026

### 29 Jun — Stripe goals, a #1 KPI and conversion alerts

Once Stripe is connected, payments we can tie to a visitor also fire goals (`payment`, `subscription_started`, `subscription_renewed`), with no code. You can pick one goal as your #1 KPI in Settings, and get an email when a goal fires under Settings → Conversion alerts.

Read more: [Goals & conversions](https://statlark.com/docs/goals-conversions.md)

### 28 Jun — Countries, cities, devices and browsers

The Visitors screen adds top countries, cities, devices and browsers, and the Live feed shows each visitor's city.

### 28 Jun — Visitor location with no setup

Country and city now work with the plain one-line install. Events go to collect.statlark.com, which looks up the location from the visitor's IP address and doesn't store the address.

Read more: [First-party proxy](https://statlark.com/docs/first-party-proxy.md#default)

### 27 Jun — The dashboard on your phone

The dashboard now fits a phone: the menu opens from a button and wide tables scroll sideways. If a page breaks, you get an error page with a Try again button.

### 23 Jun — Export your data or delete your account

Settings → Your data lets you download everything in your workspace as a JSON file, or permanently delete your account and its data.

Read more: [Your account and your data](https://statlark.com/docs/your-account.md#export)

### 23 Jun — See which landing pages convert

Goals shows a conversion trend and which landing pages convert, and Pages shows the conversion rate of each entry page.

Read more: [Goals & conversions](https://statlark.com/docs/goals-conversions.md)

### 21 Jun — Public docs

The docs are live at statlark.com/docs, starting with a step-by-step guide to revenue attribution.

Read more: [Docs](https://statlark.com/docs.md) · [Revenue attribution](https://statlark.com/docs/revenue-attribution.md)

### 21 Jun — Sign up on your own

Anyone can now sign up and create a workspace. You sign in with a 6-digit code we email you, so there's no password to remember.

### 19 Jun — Connect Stripe yourself

Settings → Revenue (Stripe) walks you through adding a webhook in Stripe, and you paste in only its signing secret. We never ask for an API key, and you can disconnect at any time.

Read more: [Revenue attribution](https://statlark.com/docs/revenue-attribution.md#stripe)

### 19 Jun — Pin a script version or use your own domain

Settings → Install offers a pinned copy of the script with an integrity hash, so it never changes under you. It also shows how to serve the script and its events from your own domain.

Read more: [First-party proxy](https://statlark.com/docs/first-party-proxy.md)

### 13 Jun — The first dashboard

Sign in to see revenue, visitors and your top sources by revenue on the Overview. Separate screens cover Sources, Pages, Goals, Visitors (with each visitor's journey and payments) and a Live feed.

Read more: [Reading your data](https://statlark.com/docs/reading-your-data.md)

### 12 Jun — An install screen with a live check

Settings → Install gives you a one-line snippet to copy and waits for your first event, so you know the install works. You can add more sites on the same page.

Read more: [Revenue attribution](https://statlark.com/docs/revenue-attribution.md#install)

## <a id="2026-05"></a>May 2026

### 31 May — Stripe payments credited to their source

Statlark reads your Stripe webhooks and credits each payment, one-time or subscription, to the visitor and the marketing source that first brought them.

Read more: [Revenue attribution](https://statlark.com/docs/revenue-attribution.md#stripe)

### 31 May — The tracking script

One script tag tracks page views, including in single-page apps, and clicks on outbound links. From your own code you can also send goals, custom events, identify calls and payments.

Read more: [Script configuration](https://statlark.com/docs/script-configuration.md)

Last reviewed 21 November 2026
