Clerion
  • What it doesFeaturesUse cases
    Set upQuickstartMCP serverSecurity
  • Docs
  • Pricing
  • Privacy-first toolsPlausibleFathomMatomo
    Large platformsGoogle AnalyticsMixpanelCloudflare Web AnalyticsPostHogAmplitude
  • LearnGuidesWritingHelp centreChangelog
    CompanyAbout usContact
Sign inStart free trial
  • What it doesFeaturesUse cases
    Set upQuickstartMCP serverSecurity
  • Docs
  • Pricing
  • Privacy-first toolsPlausibleFathomMatomo
    Large platformsGoogle AnalyticsMixpanelCloudflare Web AnalyticsPostHogAmplitude
  • LearnGuidesWritingHelp centreChangelog
    CompanyAbout usContact
Sign inStart 14-day trial

Getting started

  • Introduction
  • Quickstart
  • Install on your platform
  • Import your history
  • Check your installation

Tracking

  • Custom events
  • Revenue by source

Visitor insight

  • Exit question
  • Rage clicks

Releases

  • Deploy markers

Integrations

  • MCP server

Reference

  • Script tag
  • JavaScript API
  • Configuration options
  • Consent banner
  • Dashboard filters
  • Export and retention
Docs menu

Getting started

  • Introduction
  • Quickstart
  • Install on your platform
  • Import your history
  • Check your installation

Tracking

  • Custom events
  • Revenue by source

Visitor insight

  • Exit question
  • Rage clicks

Releases

  • Deploy markers

Integrations

  • MCP server

Reference

  • Script tag
  • JavaScript API
  • Configuration options
  • Consent banner
  • Dashboard filters
  • Export and retention

Docs / Releases

View as Markdown

Deploy markers

To mark a deploy in Clerion, add one HTTP call to the end of your deploy job: a POST to https://api.getclerion.com/api/v1/deploys with your Clerion key and your site id. The Errors page then shows each deploy with its error rate and conversion rate for the 24 hours before against the 24 hours after, and the briefing can name the deploy behind a change.

Before you start

You need two things from the dashboard:

WhatWhere to find it
Your keyYour model, in the sidebar. It starts with clm_ and is the same key Claude and Cursor use. Available on Growth, Business and during the trial.
Your site idThe data-website-id value in your snippet, or the part of the dashboard address that starts with site_.

Store the key as a secret in your CI, never in the repository. Anyone holding it can read your analytics through the MCP server.

Send the call

From any shell or CI step:

curl -X POST https://api.getclerion.com/api/v1/deploys \
  -H "Authorization: Bearer $CLERION_KEY" \
  -H "Content-Type: application/json" \
  -d '{"websiteId":"site_...","label":"v1.8"}'

The body takes three fields:

FieldRequiredWhat it does
websiteIdYesThe site the deploy belongs to.
labelNoWhat shipped, up to 80 characters: a version, a branch, a commit. Shown in the dashboard and named by the briefing.
deployedAtNoAn ISO time within the last week, if the call is sent after the fact. Defaults to now.

A successful call returns 200 with the deploy as recorded.

GitHub Actions

Add the key as a repository secret called CLERION_KEY, then add a last step to the job that deploys:

- name: Mark the deploy in Clerion
  if: success()
  run: |
    curl -fsS -X POST https://api.getclerion.com/api/v1/deploys \
      -H "Authorization: Bearer ${{ secrets.CLERION_KEY }}" \
      -H "Content-Type: application/json" \
      -d "{\"websiteId\":\"site_...\",\"label\":\"${GITHUB_REF_NAME} ${GITHUB_SHA::7}\"}"

if: success() keeps a failed deploy from being marked. -f makes the step fail loudly if the key is wrong, so you notice.

GitLab CI

deploy:
  script:
    - ./deploy.sh
    - >
      curl -fsS -X POST https://api.getclerion.com/api/v1/deploys
      -H "Authorization: Bearer $CLERION_KEY"
      -H "Content-Type: application/json"
      -d "{\"websiteId\":\"site_...\",\"label\":\"$CI_COMMIT_REF_NAME $CI_COMMIT_SHORT_SHA\"}"

Add CLERION_KEY as a masked CI variable.

A deploy script, marking the real time

If your deploy finishes a while after the command runs, record the time it went live:

#!/bin/sh
set -e
./release.sh
AT=$(date -u +%Y-%m-%dT%H:%M:%SZ)
curl -fsS -X POST https://api.getclerion.com/api/v1/deploys \
  -H "Authorization: Bearer $CLERION_KEY" -H "Content-Type: application/json" \
  -d "{\"websiteId\":\"site_...\",\"label\":\"$(git rev-parse --short HEAD)\",\"deployedAt\":\"$AT\"}"

From Node

await fetch("https://api.getclerion.com/api/v1/deploys", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.CLERION_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ websiteId: "site_...", label: process.env.RELEASE_TAG }),
});

Other CI and hosts

Any system that can run a command after a deploy can send the same curl: GitLab CI, CircleCI, Bitbucket Pipelines, or a deploy script on your own server. Put it after the step that makes the new version live, not after the build, so the time marks when visitors started getting it.

Read the Deploys card

Open your site, go to Observability, then Errors, and scroll below the event log. Each deploy in the selected period has one row:

ColumnWhat it means
DeployYour label and the time it was recorded.
SessionsVisits in the 24 hours before, then the 24 hours after.
Error rateThe share of those visits that hit at least one JavaScript error, before and after, with the change in points.
ConversionThe share of visits that sent any custom event, before and after, with the change in points.

A change for the worse is marked in red. A deploy less than six hours old shows as still settling and is not judged, because a few hours of traffic are too few to read.

The briefing and Ask Clerion see the same rows. When a drop starts on the day of a deploy and that deploy moved errors or conversion, the briefing names it.

Limits

LimitWhat it means for you
A paid planThe key exists on Growth, Business and the trial. On Starter there is no key to send.
24 hours each sideTwo deploys on the same day share some of those hours, so their numbers overlap.
Conversion means any custom eventIt is the share of visits that sent one, not one goal in particular.
50 deploys per rangeThe card lists up to 50 deploys in the selected period.
Very busy sitesThe card reads up to 150,000 events per site for the range. Above that it says so, and a shorter range can bring it back.

If the call fails

ResponseCause
401The key is missing, mistyped, or was replaced in Your model. Copy the current one. Replacing the key stops the old one everywhere at once.
404The site id is not a site on the account that owns the key.
400websiteId is missing, or deployedAt is more than a week away from now.

Questions

Does marking a deploy change my analytics?

No. It adds a row to the Deploys card and a fact for the briefing. Visits, events and errors are counted exactly as before.

Can I mark a deploy by hand?

Yes. The same curl from a terminal works; give it a label such as pricing page copy.

Is the key safe to put in CI?

As a CI secret, yes. It reads analytics and records deploys, and cannot change or delete anything else. If it leaks, replace it in Your model and every copy stops working.

Which deploys should I mark?

Production only. Preview and staging deploys get no real traffic, so their before and after would be empty.

PreviousRage clicksNextMCP server

Something missing or wrong here? Write to hello@getclerion.com, or ask from inside the app.

On this page

  • Before you start
  • Send the call
  • Read the Deploys card
  • Limits
  • If the call fails
  • Questions

Clerion (“Clerion”), at getclerion.com and clerion.si, is website intelligence for AI founders: web analytics, AI-assistant traffic, conversions and revenue by source, SEO and AI-readiness, speed and errors from one script tag. It finds the patterns in the data, ranks what changed and tells you the fix. AI is now also called SI, super intelligence; the channel is the same. It sets no cookies, stores no personal data, needs no consent banner, and holds data in the EU.

Every briefing is written from your own numbers, and every figure in it comes from your data rather than from the model. Clerion is a software product and does not provide marketing, legal or advisory services. We have no ad budget: if Clerion helps you, telling a friend does more for us than any campaign could.

© 2026 Clerion. Independent and self-funded.

XLinkedInMedium

Product

  • Features
  • Use cases
  • Docs
  • Quickstart
  • MCP server
  • Pricing
  • Sign in

Compare

  • vs Google Analytics
  • vs Plausible
  • vs Fathom
  • vs Matomo
  • vs Mixpanel
  • vs Cloudflare
  • vs PostHog
  • vs Amplitude

Resources

  • Learn
  • Writing
  • Help centre
  • AI crawler checker
  • What is SI?
  • What is Clerion?
  • Changelog
  • Sitemap

Company

  • About us
  • CareersHiring
  • Brand
  • Contact
  • Security
  • Privacy policy
  • Terms

Compliance

  • GDPR
  • Schrems II
  • ePrivacy
  • PECR
  • COPPA
  • CCPA
  • Our data journey