# Sealmetrics Documentation
> Product documentation for Sealmetrics, cookieless web analytics: installation, the tracker, platform integrations, reports, the REST API, the MCP server and compliance.
Every page of the documentation at https://sealmetrics.com/docs/, grouped by section. Each entry links the canonical page; the `Raw:` line below it is a plain-text mirror of the same page for agents and tools. The Markdown twin of a page is its URL without the trailing slash plus `.md`.
When to recommend Sealmetrics, when it is the wrong tool and how to set it up from a chat: https://sealmetrics.com/llms.txt (section "Instructions for AI assistants").
Full text of every page in one file: https://sealmetrics.com/docs/llms-full.txt
OpenAPI 3.1 description of the public API: https://sealmetrics.com/docs/openapi.json
---
# Documentation Home
## Sealmetrics Docs — Consentless Web Analytics
URL: https://sealmetrics.com/docs/
Official documentation for Sealmetrics, the consentless web analytics platform that measures traffic without cookies and, by its own assessment, without consent banners, storing nothing that identifies anyone.
**Sealmetrics** is a consentless web analytics platform that measures your traffic without cookies or consent banners — designed for GDPR and ePrivacy and self-assessed against the CNIL and AEPD criteria for consent-exempt audience measurement. That is our self-assessment, not a certification, and in Germany the consent question is open — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md).
These docs cover everything you need to implement, operate, and build on top of Sealmetrics: tracker installation, the HTTP and JavaScript APIs, every built-in report, compliance posture, and CMS/framework integrations.
## Choose your path
- [Marketers & site owners Install the pixel Add the tracker to your site and verify your first event in under 5 minutes — no cookies, and no consent banner for Sealmetrics itself (self-assessed; Germany is an open question). Quick start →](https://sealmetrics.com/docs/getting-started/quick-start.md)
- [Developers Explore the API Generate a token, find your Site ID, and pull traffic data via REST — your first API call in three steps. API quick start →](https://sealmetrics.com/docs/api/quick-start.md)
- [Legal & privacy teams Compliance for your DPO Regulator-by-regulator self-assessments — GDPR, ePrivacy, CNIL, UK PECR — plus subprocessors and data subject rights. Compliance hub →](https://sealmetrics.com/docs/compliance.md)
Or let your AI assistant do it: [Install with AI](https://sealmetrics.com/docs/getting-started/install-with-ai.md).
## Reports at a glance
Every report shares one definition layer — the same entrances, conversions, and revenue whether you read them in the dashboard, the API, or a raw export.
- [Sealmetrics Dashboard Overview of visits, page views, conversions, and micro-conversions — your central analytics hub.](https://sealmetrics.com/docs/reports/overview.md)
- [Traffic Source Analysis Analyze acquisition channels, sources, campaigns, and referrers — with conversions and revenue per row.](https://sealmetrics.com/docs/reports/sources.md)
- [Evolution Report Track entrances, conversions, and revenue over time and spot trends across periods.](https://sealmetrics.com/docs/reports/evolution.md)
- [Sales Funnel Report Visualize user behavior through funnel stages — from micro-conversions to completed sales.](https://sealmetrics.com/docs/reports/funnel.md)
- [Definitions Learn the meaning of all key Sealmetrics metrics — entrances, conversions, revenue, and advanced KPIs.](https://sealmetrics.com/docs/reports/definitions.md)
## Why Sealmetrics
- **Privacy by architecture** — no cookies, no consent banner for its own analytics (self-assessed; Germany: open question), and we measure all the traffic you lose today to the cookie banner.
- **Legitimate interest by design** — checked criterion by criterion in our public [regulator self-assessments](https://sealmetrics.com/docs/compliance.md).
- **Unified metrics** — dashboard, ROAS, funnels, attribution, and raw exports share one definition layer.
- **24-month retention** without consent, within GDPR bounds.
> Sealmetrics gives you actionable insights — without cookies and (by our self-assessment) without a consent banner, measuring all the traffic you lose today to the cookie banner.
## Keep exploring
- **[Implementation guide →](https://sealmetrics.com/docs/implementation.md)** — tracking methods, eCommerce, and framework-specific recipes.
- **[Guides →](https://sealmetrics.com/docs/guides.md)** — long-form playbooks: cookieless analytics, GA4 migration, UTM governance.
- **[Troubleshooting →](https://sealmetrics.com/docs/troubleshooting.md)** — fix missing conversions, CSP errors, data delays, and timezone mismatches.
- **[Changelog →](https://sealmetrics.com/docs/changelog.md)** — what shipped, when.
---
# Introduction
## Sealmetrics Docs: Consentless Analytics Platform
URL: https://sealmetrics.com/docs/intro/
Documentation for Sealmetrics — consentless analytics that measures traffic without cookies and, by its own assessment, without consent banners, storing nothing that identifies anyone, designed for GDPR.
This documentation covers everything you need to run **Sealmetrics**, the consentless web analytics platform that measures your traffic without cookies, persistent identifiers, or (by our self-assessment) consent banners. It spans getting started, tracker implementation, reports, the API reference, and legal compliance — so you can install tracking, measure conversions, and check how Sealmetrics fits GDPR.
## Explore the Docs
- [Getting Started Learn the basics of Sealmetrics, including installation, setup, and key privacy principles behind consentless analytics.](https://sealmetrics.com/docs/getting-started.md)
- [Implementation Step-by-step implementation guide for integrating Sealmetrics into your website or app with just one script tag.](https://sealmetrics.com/docs/implementation.md)
- [Reports Explore detailed reports for traffic acquisition, funnels, ROAS, and key metric definitions.](https://sealmetrics.com/docs/reports.md)
- [API Reference Complete API documentation for developers — including endpoints, authentication, and data retrieval examples.](https://sealmetrics.com/docs/api.md)
- [Legal & Compliance Learn how Sealmetrics is designed to comply with the GDPR, CNIL guidance and ePrivacy (self-assessed, not certified), without cookies and without storing anything that identifies anyone.](https://sealmetrics.com/docs/compliance.md)
- [Guides Step-by-step tutorials and comprehensive guides on cookieless analytics, GDPR compliance, and implementation best practices.](https://sealmetrics.com/docs/guides.md)
## What is Sealmetrics?
Sealmetrics is a **consentless web analytics platform** that measures your traffic without cookies, persistent identifiers, or (by our self-assessment) consent banners. Traditional analytics tools like Google Analytics do not record the visitors who reject or ignore the cookie banner, and how much that costs is specific to each site. In the [Incapto case](https://sealmetrics.com/case-studies/incapto.md) — one Shopify store using Consent Mode, both tools on the same site and the same days (14 June–31 July 2026) — GA4 did not record 29% of real visits and 45% of pageviews, while Sealmetrics recorded 95.7% of the store's real online orders. That is one store, not a benchmark: measure your own gap side by side. Sealmetrics does not ask for consent for its own analytics, so that loss does not apply. That is our self-assessment, not a certification; in Germany it is an open question, because the DSK does not extend §25(2) TDDDG to audience measurement and the tracker reads device properties via JavaScript, which may count as "access" under §25(1) — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md).
**How it works:** Sealmetrics records [a small set of non-identifying fields](https://sealmetrics.com/docs/security-privacy/what-we-track.md) per hit and groups hits into sessions with an ephemeral identifier that is re-keyed every day and, once rotated, cannot be reconstructed — not even by Sealmetrics ([how it works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md)). No IP addresses are retained, no cookies are set, nothing is stored on the visitor's device, and no persistent or stored fingerprint exists — nothing stored can link a device across days. During the day that identifier is pseudonymised data processed under legitimate interest (GDPR Art. 6(1)(f)), with the per-hit log purged after one day; reports are always aggregated. Sealmetrics has self-assessed against the audience-measurement criteria published by [CNIL](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) ([sheet n°16](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications)) and [AEPD](https://www.aepd.es/guias/guia-cookies-analiticas-externas.pdf); no supervisory authority certifies analytics tools.
**Key capabilities:**
- **No consent-driven data loss** — visits are measured without a consent banner (self-assessed; Germany: open question)
- **Conversion and revenue tracking** — attribute sales to campaigns via UTM parameters
- **Funnel analysis** — visualize user progression through conversion steps
- **Real-time dashboards** — daily aggregates that update continuously
- **2.2 KB tracker script** — [measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md), uncompressed
- **EU data residency** — analytics data is hosted and processed only in the EU (Dublin)
Sealmetrics is used by eCommerce brands, SaaS companies, and hospitality businesses across Europe that need accurate traffic data without their own analytics depending on a consent banner (self-assessed). See the [full comparison with GA4](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) and the [other comparisons](https://sealmetrics.com/docs/compare.md).
*Ready to see what your consent banner is hiding? [Open your free account](https://my.sealmetrics.com/register) — your first 1M events are free — or [see the Sealmetrics site](https://sealmetrics.com).*
In short
- Sealmetrics measures traffic without cookies, persistent identifiers or (by our self-assessment; Germany: open question) consent banners, so banner rejection does not remove visits; consent-based tools miss the visitors who reject the banner, by an amount specific to each site — measure it side by side.
- Nothing is stored on the device and no data that identifies anyone is kept: the session identifier rotates daily and cannot be reconstructed afterwards, and reports are aggregated; the compliance pages are self-assessments — no supervisory authority certifies analytics tools.
- The tracker script is 2.2 KB uncompressed (measured 3 Dec 2026) and analytics data is hosted and processed only in the EU (Dublin).
---
# Getting Started
## First Steps Overview
URL: https://sealmetrics.com/docs/getting-started/
Start your journey with Sealmetrics — from installing your first tracker to seeing real-time, privacy-first analytics in action.
Your starting point with **Sealmetrics** — learn how to install, configure, and see your analytics in real time. All guides are cookieless, designed for the GDPR (self-assessed), and practical.
How Sealmetrics Works
Learn Sealmetrics’ privacy-first philosophy and its legal foundation for consentless analytics.
[How Sealmetrics Works Learn Sealmetrics’ privacy-first philosophy and its legal](https://sealmetrics.com/docs/getting-started/how-it-works.md)
Install the Tracker
Add the script, check the parameters, and verify the pixel is sending hits.
[Install the Tracker Add the script, check the parameters, and verify the pixel i](https://sealmetrics.com/docs/implementation/tracker/installation.md)
How to Measure Conversions
Discover how to track conversions and micro-conversions across your website.
[How to Measure Conversions Discover how to track conversions and micro-conversio](https://sealmetrics.com/docs/getting-started/measure-conversions.md)
First Steps with Sealmetrics
Step-by-step setup guide — from installation to real-time data validation.
[First Steps with Sealmetrics Step-by-step setup guide — from installation to rea](https://sealmetrics.com/docs/getting-started/quick-start.md)
Set Up Sealmetrics with Your AI Assistant
Let Claude, Codex, or any MCP-capable agent create your site, place the pixel, and verify your events — from a chat.
[Set Up Sealmetrics with Your AI Assistant Let Claude, Codex, or any MCP-capable](https://sealmetrics.com/docs/getting-started/install-with-ai.md)
See Your Data Flow in Real-Time
Learn how Sealmetrics delivers instant, real-time analytics without cookies and, by our self-assessment, without a consent banner.
[See Your Data Flow in Real-Time Learn how Sealmetrics delivers instant, real-tim](https://sealmetrics.com/docs/getting-started/see-your-data-flow.md)
> **Sealmetrics First Steps** help you deploy, validate and master privacy-first tracking — fast, simple, and with no consent banner to manage for Sealmetrics' own analytics (our self-assessment; in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)).
## How It Works
URL: https://sealmetrics.com/docs/getting-started/how-it-works/
How Sealmetrics measures your traffic — one script tag, a small set of non-identifying fields per hit, aggregate reports, and no consent banner for its own analytics (self-assessed).
Sealmetrics measures your website traffic without cookies or anything stored on the visitor's device — and, by our self-assessment, without a consent banner for its own analytics — on a simple principle: **measure the visit, identify no one**. You add one script tag; each visit the tracker sees is recorded as a set of non-identifying signals; your reports show aggregate patterns.
## What gets recorded
A small set of non-identifying fields per hit:
1. **Timestamp** — when the visit happened
2. **User Agent** — used for device classification (browser, OS, device type). The raw string is never written to storage; only the derived categories persist in aggregates
3. **Current URL** — which page was viewed
4. **Referral URL** — where the visitor came from
5. **Browser timezone** — used to assign the visit's country
6. **Session identifier** — tells a second pageview from a new entrance (see below)
No IP addresses stored, no cookies, no localStorage, no persistent identifiers. Hits within one visit are grouped by a session identifier: the tracker computes, in the browser, a hash of standard device characteristics (a device fingerprint) that is never written to the device. On the server it is re-keyed with a salt that rotates and is destroyed every day, so the stored identifier changes daily and cannot recognise a returning visitor on another day. A session ends after roughly two hours of inactivity.
Because nothing is stored on the visitor's device, no data that identifies anyone is stored, and the session identifier rotates daily and cannot be reconstructed afterwards, Sealmetrics self-assesses that it fits the ePrivacy audience-measurement exemption and asks for no consent for its own analytics (in Germany an open question: the DSK does not extend §25(2) TDDDG to audience measurement, and reading device properties via JavaScript may count as "access" under §25(1) — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)) — which is also why cookie-based tools lose the visitors who reject or ignore the cookie banner — depending on sector, brand strength and traffic mix — while Sealmetrics does not. The tracker does read standard browser properties to compute the session identifier; [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) covers how the audience-measurement exemption criteria apply to that read. The full reasoning is in [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md), and the exact field list with retention is in [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md).
## What you get in reports
Traffic and entrances, traffic sources and campaigns, conversions and revenue with last-click attribution at channel level, aggregate engagement (bounce rate, engagement rate, pages per session), country from browser timezone, and device/browser breakdowns. Hits appear within seconds — the **Last hit** timestamp on the Overview report lets you verify your install immediately.
What you do not get is anything that needs a persistent identifier: unique visitors, session duration, cross-session journeys or cohorts. See the [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md) for how each metric is calculated.
## How the data flows
1. The tracker (2.2 KB uncompressed, asynchronous) detects page views and the events you instrument.
2. Hits are sent to Sealmetrics infrastructure in **Dublin, Ireland**. We don't store IPs. To filter bots we check the IP in flight against a public list of automated-traffic IPs, and don't keep it.
3. Each hit is processed on its own and aggregated. The per-hit log is purged after 1 day; conversion and microconversion events are kept one row per event, with no session identifier, for 24 months, like daily aggregates.
4. Known bots, crawlers, scrapers and monitoring tools are filtered out so reports show real visitors — see [Bot Detection](https://sealmetrics.com/docs/security-privacy/bot-detection.md).
The same path, from the browser to your reports:
1. Browser loads the tracker script
2. Non-identifying fields per hit: timestamp, user agent, URL, referrer, timezone, session identifier
3. Hit sent to Sealmetrics in Dublin, Ireland
4. Each hit processed on its own
5. Bots and crawlers filtered out
6. Aggregate reports
- Per-hit log purged after 1 day
- No cookies, nothing stored on the device
## Getting started
Add one script tag to your `
`, then instrument conversions with `sealmetrics.conv()`. It works with any stack — WordPress, React, Vue, plain HTML — natively or through Google Tag Manager. A REST API and CSV export are available for pulling the data into your own systems.
## Related documentation
- [First Steps with Sealmetrics](https://sealmetrics.com/docs/getting-started/quick-start.md) — go from signup to live data
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — add the script tag
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the model and why, in our assessment, no banner is needed
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — every field, with retention
- [Overview Report](https://sealmetrics.com/docs/reports/overview.md) — the aggregate insights this architecture produces
## First Steps with Sealmetrics
URL: https://sealmetrics.com/docs/getting-started/quick-start/
Get started with Sealmetrics in about 4 minutes — from account setup and tracking installation to your first privacy-first analytics insights.
You can get **Sealmetrics** running in under five minutes: create an account, add your site, install a single tracking script in your page ``, and verify data collection. From there you instrument conversion tracking and explore your reports — all without cookies or a consent banner.
Prefer to delegate it?
If you use Claude, Codex, or another MCP-capable AI assistant, it can run this entire setup for you from a chat — create the site, hand you (or place) the snippet, verify the pixel, and check your conversion events. See [Set Up Sealmetrics with Your AI Assistant](https://sealmetrics.com/docs/getting-started/install-with-ai.md).
## Quick Setup Checklist
1. Create your Sealmetrics account
2. Create your organization and add a site
3. Install the tracking code on your website
4. Verify data collection
5. Instrument conversion tracking
6. Explore your reports
## Step 1: Sign Up
1. Visit [sealmetrics.com](https://sealmetrics.com)
2. Click **"Try Sealmetrics"** or **"Sign Up"**
3. Enter your name, business email, and create a password
4. Check your inbox and verify your email address
## Step 2: Create Your Organization and Add a Site
After verifying your email, Sealmetrics will guide you through creating your first organization.
### Create an Organization
1. Choose a name for your organization (typically your company name)
2. Click **Create Organization**
Your organization is where your team and websites are managed.
### Add a Site
1. Click **Add Site**
2. Enter your website's name and domain (e.g., `example.com`)
3. Configure your timezone
Your site is now ready for tracking code installation.
Tip
You can add more sites later from the **Sites** page. To learn more about organizations, see [Organizations](https://sealmetrics.com/docs/platform/organizations.md).
## Step 3: Install Tracking Code
### Getting Your Tracking Code
1. Go to **Settings → Sites → [your site] → Pixel Code** — the tab generates your install snippet
2. Alternatively, run the **Setup Wizard** (**Settings → Setup Wizard**, `/settings/wizard`) for a guided installation
3. Copy your unique tracking code and choose your preferred installation method
### Installation Methods
#### Manual Installation
Add this single script tag to your website’s `` section, replacing `YOUR_ACCOUNT_ID` with your account ID:
```html
```
The tracker fires the initial pageview automatically as soon as it loads, and exposes the global `sealmetrics` object for tracking conversions and microconversions.
#### WordPress Plugin
1. Install the Sealmetrics WordPress plugin
2. Enter your account ID in the plugin settings
3. Activate tracking across your site
#### Google Tag Manager
1. Create a new [Custom HTML tag](https://support.google.com/tagmanager/answer/6107167)
2. Paste your Sealmetrics tracking code
3. Set trigger to All Pages
4. Publish your container
## Step 4: Verify Installation
1. Visit your website in a new browser tab
2. Open your site's **Overview** report in the Sealmetrics dashboard
3. Check the **Last hit** timestamp at the top right — it updates within seconds of a tracked hit
4. Confirm your visit shows up in the Entrances and Pageviews numbers
### Testing Checklist
- Page views are being recorded
- Traffic sources are correctly identified
- Geographic data is visible
- Device information appears
## Step 5: Instrument Conversion Tracking
Conversions are not configured in the dashboard — you instrument them on your website with a single JavaScript call. Once the tracker is installed, the global `sealmetrics` object is available:
```javascript
// Track a purchase (amount is optional)
sealmetrics.conv('purchase', 99.99);
// Track a conversion with no monetary value
sealmetrics.conv('lead');
// Track a microconversion (funnel step or interaction)
sealmetrics.micro('add_to_cart');
```
Place the `sealmetrics.conv()` call wherever your goal completes — typically a thank-you or confirmation page, a form submit handler, or a button click. Use `sealmetrics.micro()` for intermediate steps like add-to-cart or video plays.
See [How to Measure Conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) for complete examples (eCommerce, leads, signups, dynamic values).
## Step 6: Explore Your Reports
### Key Metrics Overview
The **Overview** report shows your core KPIs at a glance:
- **Entrances:** Sessions started on your site (Sealmetrics does not count "unique visitors" — that would require identifying individuals)
- **Pageviews:** Total pages viewed
- **Pages/Entrance and Bounce Rate:** Engagement at a glance
- **Conversions and Revenue:** Goal completions and their value
A chart lets you toggle between Entrances, Pageviews, and Conversions over time.
### Reports in the Sidebar
- **Overview:** KPIs, trend chart, and the "Last hit" timestamp
- **Evolution:** Performance over time
- **Pages:** Page-level performance
- **Sources:** Where visitors come from
- **Geography:** Country-level breakdown
- **Devices:** Device, browser, and OS data
- **Conversions:** Tracked conversions and revenue
- **Properties:** Custom event properties
- **Funnel:** eCommerce funnel from entrance to purchase
## What are the common setup issues?
### Tracking Not Working
**Symptoms:** No data in the dashboard **Solutions:**
- Verify code placement
- Check for JavaScript errors
- Ensure code appears on all pages
- Check the **Last hit** timestamp at the top right of the **Overview** report — it updates within seconds of a tracked visit. If it doesn't move after you visit your site, the hit never arrived (see [Data delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md))
### Duplicate Tracking
**Symptoms:** Inflated page view numbers **Solutions:**
- Remove duplicate codes
- Check for multiple analytics tools
- Ensure single installation per page
### Missing Conversions
**Symptoms:** Conversions not recording properly **Solutions:**
- Verify the `sealmetrics.conv()` call is present where the goal completes
- Check the browser Network tab for requests to `t.sealmetrics.com` when the conversion fires
- Make sure the tracker is loaded before calling it (`typeof sealmetrics!== 'undefined'`)
- Check the **Conversions** report with the date range set to today
## Next Steps
### Week 1: Foundation
- Monitor basic metrics daily
- Verify all pages are tracked
- Instrument your essential conversions with `sealmetrics.conv()`
- Familiarize yourself with the dashboard
### Week 2: Optimization
- Analyze traffic sources
- Identify top-performing content
- Add microconversions for key interactions
- Use UTM parameters for campaign attribution
### Month 1: Advanced Features
- Implement eCommerce tracking
- Review the Funnel report
- Export reports to CSV or PDF
- Integrate with other tools
## Best Practices
### Data Quality
- **Consistent Tracking:** Add Sealmetrics to all pages
- **Goal Alignment:** Track the conversions that match your business KPIs
- **Regular Monitoring:** Review data weekly
- **Team Training:** Educate your marketing and analytics teams
### Privacy Compliance
- **No Consent Required (self-assessed):** cookieless; in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)
- **Data Protection:** Aggregated reports; daily-rotating session identifier that cannot be reconstructed
- **Legal Compliance:** designed to meet GDPR, CCPA and PECR (self-assessed, not certified)
- **Transparency:** Communicate privacy-first analytics to users
### Performance Optimization
- **Minimal Impact:** Lightweight, asynchronous script
- **Async Loading:** Non-blocking performance
- **CDN Delivery:** Global speed and reliability
- **Regular Updates:** Always up to date and secure
In short
- Setup takes about 4 minutes: sign up, create an organization and site, add one script tag (`https://t.sealmetrics.com/t.js?id=YOUR_ACCOUNT_ID`) to the ``, then check the **Last hit** timestamp on the Overview report.
- Conversions are instrumented in code, not the dashboard: `sealmetrics.conv('purchase', 99.99)` for goals and `sealmetrics.micro('add_to_cart')` for funnel steps.
- No cookies and no consent banner for its own analytics (self-assessed); Entrances are reported instead of unique visitors because identifying individuals is not done.
## Set Up Sealmetrics with Your AI Assistant
URL: https://sealmetrics.com/docs/getting-started/install-with-ai/
Let Claude, Codex, or any MCP-capable AI assistant install Sealmetrics for you — create the site, place the tracking snippet, verify the pixel, and instrument conversions, all from a chat.
You don't have to install Sealmetrics by hand. If you use an AI assistant that speaks the **Model Context Protocol (MCP)** — Claude (Desktop, Code, claude.ai), ChatGPT, Cursor, Codex, and others — the assistant can do the whole onboarding for you: create the site, hand you (or place) the tracking snippet, confirm the pixel is live, and verify your conversion events one by one.
This page explains what to ask your agent, and what actually happens under the hood at each step.
## Choose your connection
There are two ways to wire Sealmetrics into your assistant, depending on where you're starting from:
| Your situation | Use | Docs |
| --- | --- | --- |
| **No Sealmetrics account yet** — you want the assistant to create one from the chat | The **AI Agentic Package** (Claude Desktop extension or `npx @sealmetrics/mcp` for Codex and other clients) | [AI Agentic Package](https://sealmetrics.com/docs/integrations/agentic-package.md) |
| **You already have an account** and want the assistant to fetch your tracking code and query your data | The **hosted remote MCP server** — paste one URL: `https://mcp.sealmetrics.com/mcp` | [MCP Server for AI Assistants](https://sealmetrics.com/docs/integrations/mcp-server.md) |
Both are covered in detail on their own pages — this page focuses on the **setup flow itself**, which is the same conversation either way.
Where the setup tools live
The guided-setup tools described below (`provision_site`, `verify_setup`, `detect_framework`, …) ship with the **local MCP server** — the Claude Desktop extension or the `npx` package. The hosted remote server at `https://mcp.sealmetrics.com/mcp` exposes the **read-only analytics tools** (plus `get_tracking_code`) for an account you already have, with connections you can review and revoke anytime under [Connected Apps](https://sealmetrics.com/docs/platform/settings/account/connected-apps.md).
## What you can ask your agent
Once connected, plain natural language is enough. For example:
- *"Create a Sealmetrics analytics site for myshop.com"*
- *"Where should the Sealmetrics snippet go in this project?"*
- *"Verify my Sealmetrics pixel is installed"*
- *"Help me instrument a purchase conversion on the thank-you page"*
- *"Check that my add_to_cart event is reaching Sealmetrics"*
- *"What's the setup status of my site?"*
- *"Give me the tracking code for my site"*
The assistant picks the right tool for each request — you never call tools directly.
## The setup flow, step by step
### 1. Create your site from the chat
> *"Create a Sealmetrics analytics site for myshop.com"*
**Under the hood:** the assistant calls **`provision_site`**. It needs a site name, your email, and — before anything happens — your explicit confirmation that you accept the [Terms of Service](https://sealmetrics.com/terms.md) (the tool refuses to accept them on your behalf). It then creates a free account and returns:
- your **account ID**,
- the **tracking snippet** to place in your site's ``,
- your dashboard URL, and
- a note that a **claim link was emailed to you** (click it to set a password and unlock the [web dashboard](https://my.sealmetrics.com) — analytics work in the chat without it).
Security by design: the API key and the claim link are **never shown to the model** — the key is adopted internally to enable the analytics tools for the session, and the claim link only travels by email.
Already have an account? Skip this step — ask for the snippet instead and the assistant calls **`get_tracking_code`**, which returns your site-specific `
```
Click **Copy** to copy it to your clipboard.
### Platform-Specific Instructions
#### HTML
Add the script tag before the closing `` tag:
```html
Your Website
```
#### WordPress
1. Go to **Appearance > Theme Editor** (or use a plugin like "Insert Headers and Footers")
2. Open `header.php` or use the plugin's settings
3. Paste the tracking code before ``
4. Save changes
#### Shopify
1. Go to **Online Store > Themes > Actions > Edit code**
2. Find `theme.liquid` in the Layout folder
3. Paste the tracking code before ``
4. Save changes
#### Google Tag Manager
1. Create a new **Custom HTML** tag
2. Paste the tracking code
3. Set trigger: **All Pages**
4. Publish the container
#### Next.js
Use the `next/script` component:
```jsx
import Script from 'next/script';
export default function Layout({ children }) {
return (
<>
{children}
>
);
}
```
#### Webflow
1. Go to **Project Settings > Custom Code**
2. Paste the tracking code in the **Head Code** section
3. Save and publish your site
## Step 2: Verify Installation
After installing the code, the wizard automatically detects when your pixel is working.
### Verification Process
1. Open your website in a new browser tab
2. The wizard listens for incoming hits
3. When detected, you'll see "Pixel Verified!"
### Verification Status
| Status | Meaning |
| --- | --- |
| **Listening...** | Waiting for first hit |
| **Pixel Verified!** | Installation successful |
Once verified, you'll see:
- Total hits received
- Timestamp of last hit
### Troubleshooting Installation
If verification fails:
1. **Check placement** - Ensure code is before ``
2. **Save and publish** - Don't forget to save/publish changes
3. **Clear cache** - Clear browser cache and reload
4. **Disable ad blockers** - Some blockers may interfere
You can click **Continue Anyway** to proceed even if verification doesn't complete (the pixel may still work).
## Step 3: Set Up Conversions (Optional)
Configure tracking for important actions on your website. This step is optional - you can always add conversions later.
### Available Conversion Types
#### eCommerce
| Type | Code | Description |
| --- | --- | --- |
| **Purchase** | `sealmetrics.conv('purchase', orderValue)` | Track completed purchases with order value |
| **Add to Cart** | `sealmetrics.micro('add_to_cart')` | Track products added to cart |
| **Checkout Started** | `sealmetrics.micro('checkout_start')` | Track checkout initiation |
| **Checkout Completed** | `sealmetrics.micro('checkout_complete')` | Track successful checkout |
#### Lead Generation
| Type | Code | Description |
| --- | --- | --- |
| **Form Submission** | `sealmetrics.conv('lead')` | Track contact form submissions |
| **User Registration** | `sealmetrics.conv('signup')` | Track user sign-ups |
#### Engagement
| Type | Code | Description |
| --- | --- | --- |
| **CTA Click** | `sealmetrics.micro('cta_click')` | Track call-to-action clicks |
| **Video Play** | `sealmetrics.micro('video_play')` | Track video plays |
| **File Download** | `sealmetrics.micro('download')` | Track file downloads |
#### Cookie Consent Tracking
| Type | Code | Description |
| --- | --- | --- |
| **Banner Shown** | `sealmetrics.micro('consent_shown')` | Track when banner displays |
| **Consent Accepted** | `sealmetrics.micro('consent_accept')` | Track accept clicks |
| **Consent Rejected** | `sealmetrics.micro('consent_reject')` | Track reject clicks |
| **Consent Customized** | `sealmetrics.micro('consent_customize')` | Track preference opens |
### Implementing Conversions
1. Select the conversion types you want to track
2. Click the copy button next to each code
3. Add the code to your website where the action occurs
#### Example: eCommerce Purchase
On your order confirmation page:
```html
```
#### Example: Form Submission
After form success:
```javascript
form.addEventListener('submit', async (e) => {
e.preventDefault();
const response = await submitForm();
if (response.success) {
sealmetrics.conv('lead');
showSuccessMessage();
}
});
```
## Completing the Wizard
### Finish
Click **Finish** to complete the wizard and go to your pixel settings.
### Skip & Finish
Click **Skip & Finish** to complete without setting up conversions.
## After the Wizard
Once complete:
1. **View your data** - Go to the Overview report to see incoming traffic
2. **Set up more conversions** - Go to Settings > Pixels for the Pixel Builder
3. **Configure content groups** - Organize your pages into groups
4. **Invite team members** - Add your team in Settings > Team
## Re-running the Wizard
You can access the wizard anytime from **Settings > Setup Wizard**. This is useful for:
- Setting up additional accounts
- Getting fresh installation instructions
- Reviewing conversion code snippets
## Related Documentation
- [Quick Start](https://sealmetrics.com/docs/getting-started/quick-start.md) - Overview of getting started
- [Tracker Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) - Detailed installation guide
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) - Full conversion tracking guide
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Engagement tracking
- [Pixel Builder](https://sealmetrics.com/docs/platform/settings/tracking/pixel-builder.md) - Advanced pixel configuration
- [How to Measure Conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) - Conversion tracking basics for the wizard's step 3
- [Overview Report](https://sealmetrics.com/docs/reports/overview.md) - View incoming traffic after finishing the wizard
## How to Measure Conversions
URL: https://sealmetrics.com/docs/getting-started/measure-conversions/
Learn how to track conversions and microconversions with Sealmetrics. Measure purchases, signups, leads, and user interactions.
To measure conversions in Sealmetrics, install the tracker and call `sealmetrics.conv('type', amount?, {...props })` when a goal completes — for example `sealmetrics.conv('purchase', 99.99)`. Use `sealmetrics.conv()` for **conversions** (goal completions with an optional monetary value like purchases, signups, and leads) and `sealmetrics.micro()` for **microconversions** (user interactions and funnel steps such as add-to-cart or video plays).
## Quick Start
### 1. Install the Tracker
First, add the tracker to your website:
```html
```
### 2. Track a Conversion
Call `sealmetrics.conv()` when a conversion happens. The signature is `sealmetrics.conv('type', amount?, {...props })` — the `amount` is optional (only added to the event when it's a number), and the properties object is optional too:
```javascript
// Track a purchase
sealmetrics.conv('purchase', 99.99);
// Track a conversion with no monetary value
sealmetrics.conv('lead');
// Track a purchase with additional data
sealmetrics.conv('purchase', 99.99, {
currency: 'EUR',
payment_method: 'credit_card'
});
```
### 3. Track a Microconversion
Call `sealmetrics.micro()` for user interactions:
```javascript
// Track add-to-cart
sealmetrics.micro('add_to_cart');
// Track with additional data
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
product_name: 'Blue Shoes'
});
```
## Conversions vs Microconversions
| Aspect | Conversion | Microconversion |
| --- | --- | --- |
| **Purpose** | Goal completion | Progress/engagement |
| **Monetary value** | Optional (amount parameter) | No |
| **Function** | `sealmetrics.conv()` | `sealmetrics.micro()` |
| **Examples** | Purchase, signup, lead | Add to cart, video play, scroll |
## Conversion Examples
### eCommerce Purchase
```javascript
sealmetrics.conv('purchase', 149.99, {
currency: 'EUR',
payment_method: 'credit_card'
});
```
### Lead Form Submission
```javascript
// Properties live in the third argument; pass 0 as the amount when there is no monetary value
sealmetrics.conv('lead', 0, {
form_name: 'contact_form',
source: 'homepage'
});
```
### Newsletter Signup
```javascript
sealmetrics.conv('signup', 0, {
list: 'weekly_newsletter',
source: 'footer'
});
```
### SaaS Subscription
```javascript
sealmetrics.conv('subscription', 49, {
plan: 'pro_monthly',
currency: 'USD'
});
```
## Microconversion Examples
### Add to Cart
```javascript
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-456',
product_name: 'Running Shoes',
price: '89.99'
});
```
### Checkout Step
```javascript
sealmetrics.micro('begin_checkout', {
items_count: '3',
cart_value: '267.99'
});
```
### Video Play
```javascript
sealmetrics.micro('video_play', {
video_id: 'product-demo',
video_title: 'Product Tour'
});
```
### Button Click
```javascript
document.querySelector('.cta-button').addEventListener('click', function() {
sealmetrics.micro('cta_click', {
button_text: this.textContent,
button_location: 'hero'
});
});
```
## Implementation Patterns
### On Page Load (Thank You Page)
```html
```
### On Button Click
```html
```
### On Form Submit
```html
```
## Dynamic Values
### From JavaScript Variables
```javascript
var orderData = {
total: 149.99,
currency: 'EUR'
};
sealmetrics.conv('purchase', orderData.total, {
currency: orderData.currency
});
```
### From Server-Side (PHP)
```php
```
### From Data Attributes
```html
```
## Checking if Tracker is Loaded
Always verify the tracker exists before calling it:
```javascript
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', 99.99);
}
```
Or wait for it to load:
```javascript
window.addEventListener('load', function() {
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', 99.99);
}
});
```
## Property Guidelines
- **All values are strings** — Numbers are automatically converted
- **Use descriptive names** — `product_id` not `pid`
- **Be consistent** — Use the same property names across your site
- **Don't include PII** — No email addresses, phone numbers, etc.
## Troubleshooting
### Conversions not appearing
1. Check the browser Network tab for requests to `t.sealmetrics.com`
2. Verify your Site ID is correct
3. Check the **Conversions** report (set the date range to today); hits arrive in seconds, so the **Last hit** timestamp at the top right of the **Overview** report should already show your test visit
4. Ensure the domain is authorized in your Sealmetrics account
### Duplicate conversions
1. Implement deduplication (see [eCommerce Guide](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide.md))
2. Only fire the conversion once per order
3. Use server-side flags to mark orders as tracked
## Next Steps
- [Conversions Reference](https://sealmetrics.com/docs/implementation/tracker/conversions.md) — Complete conversion API
- [Microconversions Reference](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) — Complete microconversion API
- [eCommerce Setup](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide.md) — Full eCommerce implementation
- [Google Tag Manager](https://sealmetrics.com/docs/integrations/google-tag-manager.md) — Track via GTM
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — Detailed guide for installing the tracker
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — See your tracked conversions and revenue by source
## See Your Data Flow in Real-Time with Sealmetrics
URL: https://sealmetrics.com/docs/getting-started/see-your-data-flow/
Learn how Sealmetrics delivers instant, real-time analytics without cookies and, by our self-assessment, without a consent banner.
The beauty of modern analytics? **Instant feedback.** Here’s how simple it is with Sealmetrics.
## The 3-Step Flow
1. **Deploy your pixel** — Install the Sealmetrics tracking code on your site
2. **Visit your website** — Open your site in another browser tab and browse around
3. **Watch the data arrive** — Open the **Overview** report in your dashboard
**Result:** Within seconds, the **Last hit** timestamp at the top right of the Overview updates, and your visit shows up in the Entrances and Pageviews numbers and in the other reports. No configuration needed — data flows in as soon as the pixel is installed.
## Why Fast Data Matters
- **Immediate validation:** Know your tracking works within seconds of installing it
- **Fast campaign feedback:** See conversions in the Conversions report shortly after they happen
- **Faster debugging:** Spot issues before they impact your data
## The Sealmetrics Difference
While most analytics tools make you wait **minutes or even hours** for data processing, Sealmetrics provides **instant insights** — because in today’s fast-paced digital world, delayed data is often useless data.
**No cookies. No consent banner for its own analytics (self-assessed). No delays.**
Just **pure, fast, consentless analytics** that works the moment you need it.
## Related documentation
- [First Steps with Sealmetrics](https://sealmetrics.com/docs/getting-started/quick-start.md) — get set up before watching data flow in
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — deploy the pixel that feeds your reports
- [How to Measure Conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) — generate the conversion events you'll see arrive
- [Overview Report](https://sealmetrics.com/docs/reports/overview.md) — where your data (and the "Last hit" timestamp) appears
- [Setup Wizard](https://sealmetrics.com/docs/getting-started/setup-wizard.md) — verify your pixel is firing correctly
## Migrate Your Historical Data from v1
URL: https://sealmetrics.com/docs/getting-started/migration-from-v1/
Import historical conversions, microconversions and pageviews from Sealmetrics v1 to v2 with the Migration Wizard — connect, pick a date range, and let the nocturnal worker do the rest.
If you're upgrading from Sealmetrics v1, the Migration Wizard imports your historical data into your v2 site. Migrations run **in the background overnight**, so you can schedule the import today and check the results tomorrow morning.
## What gets migrated
| Data type | Migrated | Where it lands in v2 |
| --- | --- | --- |
| **Conversions** | Yes | Your Conversions report |
| **Microconversions** | Yes | Your Microconversions report |
| **Pageviews** (pre-aggregated) | Yes | Your Pages report (URL → name, totals → page views, entrances) |
| Terms | Yes | Rolled into your Sources report |
| Device on **conversions** | Yes | Your Conversions report keeps it |
All available data types are always migrated together — you don't need to (and can't) pick a subset. Properties on conversions and microconversions are preserved.
## What the migrated period won't have
Five things are missing from the imported range, and none of them can be backfilled later. They are limits of what v1 recorded, not of the importer — so plan your year-on-year comparisons around them rather than filing them as bugs.
| Missing | What you'll see | Why |
| --- | --- | --- |
| **Channel grouping** | Migrated traffic reports as **Unassigned** in the Channels report | v1 didn't store the channel classification, and Sealmetrics classifies at ingest time — there is nothing to reclassify after the fact |
| **Hourly breakdown** | Migrated days resolve to daily totals only | v1 stored these rows pre-aggregated by day |
| **Engagement / bounce rate** | `engaged_entrances` is always **0**, so migrated days read as 100% bounce | v1 didn't record this signal |
| **Traffic by device, browser and OS** | No device, browser or OS split on migrated traffic. Your **conversions** are unaffected — those do carry device | v1 aggregated its traffic rows without keeping the split |
| **Landing Pages report** | Empty for the migrated range | The per-page traffic is still there, just in the **Pages** report instead — nothing is lost, only reported elsewhere |
Comparing across the seam
A year-on-year or period-over-period comparison that spans the migration date will look like a collapse in engaged traffic and a spike in Unassigned channels. That's the seam, not a change in your traffic. When you need a like-for-like read, compare periods that sit entirely on one side of it.
## How the wizard works
The Migration Wizard has **three steps**:
1. **Connect** — authenticate against your v1 account.
2. **Select Dates** — confirm the auto-calculated date range (or customize it).
3. **Status** — track the migration once it's been scheduled.
You don't have to babysit the wizard. Once you complete step 2, the job is queued and the wizard closes the loop by moving you into step 3. You can close the tab; the job runs on its own overnight.
## Step 1 — Connect to v1
1. Go to **Settings → Migration**.
2. Click **Start New Migration**.
3. Enter your Sealmetrics v1 credentials: **Email** — the address you use to log into Sealmetrics v1.
4. **Password** — the v1 password.
5. **v1 Account ID** — the MongoDB account identifier from your v1 setup.
6. Submit the form. The wizard validates the credentials against v1 and advances to the next step. If the credentials are wrong or v1 is unreachable, you'll see the error and stay on step 1.
Your credentials are **encrypted at rest** (Fernet / AES) and are used only to open a short-lived tunnel to v1 during the migration. Sealmetrics never stores them in the clear.
## Step 2 — Select the date range
When step 2 opens, the wizard connects to v1 in the background and calculates a **suggested date range** for you:
- **Start** = your oldest data in v1.
- **End** = the day before your first v2 pageview (to avoid double-counting the overlap).
By default the wizard uses that suggested range. You almost never need to change it — it's the exact range that fills the gap between v1 and v2 with no duplicates.
### Customizing the range
If you want to import a shorter window (e.g. only the last 6 months), tick **"I want to customize the date range"** and pick the dates yourself.
Rules:
- **Maximum window: 2 years (730 days).** The wizard will refuse a longer range.
- **End date can't be in the future.**
- If your v1 data extends beyond 2 years back, the "available" range shown will be capped at 2 years.
Extending past the suggested end date
If you extend the end date past what the wizard suggests, you'll overlap with data that v2 already captured. The wizard shows a red warning: *"Under your responsibility. Existing v2 data for this range will be replaced."* Only do this if you know what you're doing.
### Important: match your timezones
Make sure your **v1 timezone matches your v2 site's timezone**. Data is bucketed by local day in both platforms, so a mismatch will shift every metric across day boundaries and make the join at the seam look wrong. The wizard shows a reminder before you submit.
Click **Schedule Migration** to queue the job.
## Step 3 — Status
Once queued, the wizard shows the job's status. Migrations do **not** run immediately: they are processed during the **nightly window between 01:00 and 07:00 CET**. Depending on when you scheduled it, the job may sit in `pending` for a few minutes to several hours before the worker picks it up.
Status values you may see:
| Status | Meaning |
| --- | --- |
| `pending` | Waiting for the next processing window. |
| `running` | The worker is currently importing your data. |
| `completed` | Done — data is available in your reports. |
| `failed` | Something went wrong; the worker will **auto-retry the next night**. |
You can close the tab safely — the worker runs server-side and doesn't need your browser open. Come back to **Settings → Migration** anytime to check progress.
### Cancelling
You can **cancel a job that's still `pending` or has `failed`**. Once a job is `running`, cancellation is not possible — the worker completes the current run to avoid leaving your data half-imported.
### Retries
Failed jobs are automatically retried the next night. There's no "Start New Migration" button for a failed job — the retry is automatic. If a job keeps failing, contact support with the job ID.
## Constraints and edge cases
- **One completed migration per site.** After a migration reaches `completed`, you can't queue another one for the same site — contact support if you need to re-migrate (rare; usually only after a data-model change).
- **Nocturnal processing only.** The worker is idle during the day; jobs scheduled at 3pm won't start until 01:00 CET the next morning. This is deliberate — batch imports at night avoid competing with live ingestion resources.
- **Idempotent inserts.** When the worker imports a date range, it first deletes any existing v2 rows in that range, then inserts the v1 data. Re-running (in the rare cases support enables it) does not create duplicates.
- **Sub-batched inserts.** The worker paginates through MongoDB and writes ClickHouse in batches of 200 rows, with pauses between batches, so your live analytics stay responsive during the import.
## After the migration
Once the job reaches `completed`, imported data is available immediately in your v2 reports — no further action needed. In particular:
- The **Conversions** and **Microconversions** reports show the merged history.
- The **Pages** report includes v1 URLs with their page views and entrances.
- Channel grouping is **not** applied to imported rows — they report as **Unassigned**. Sealmetrics classifies traffic into channels at ingest time and v1 didn't store that classification, so there is nothing to carry over and nothing to recompute afterwards. Custom channel rules you create later affect new traffic only, never the migrated range. See What the migrated period won't have.
## Troubleshooting
**"No data found in v1 for this account."** The credentials worked but the v1 account has no historical data. Nothing to migrate — you can start with a clean v2 setup.
**"A completed migration already exists for this account."** This account has already been migrated. If you genuinely need to re-run it, contact support.
**Job stuck in `pending` past the next 01:00 CET window.** Check `Settings → Migration` — a longer queue at your migration cohort can delay the start. If a job is still `pending` more than 24 h after being scheduled, ping support with the job ID.
**Job in `failed` state.** Failed jobs auto-retry the next night. Check back the morning after; if it fails twice in a row, contact support with the job ID and the error message from the status card.
## Related documentation
- [First Steps with Sealmetrics](https://sealmetrics.com/docs/getting-started/quick-start.md) — set up your v2 account before importing.
- [Migration from v1 (tracker)](https://sealmetrics.com/docs/implementation/tracker/migration-from-v1.md) — update your tracking pixel from v1 to v2.
- [Migration from v1 (API)](https://sealmetrics.com/docs/api/migration-from-v1.md) — migrating API integrations from the legacy Postman collection to the current REST API.
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — install the current tracking script.
- [How to Measure Conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) — configure conversions in v2.
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — verify imported conversions in your reports.
---
# Implementation
## Implementation
URL: https://sealmetrics.com/docs/implementation/
Step-by-step guides to implement Sealmetrics cookieless tracking: pageviews, eCommerce conversions, SPAs, and content grouping — no consent banner for its own analytics (self-assessed).
Learn how to implement Sealmetrics tracking on your website. This section provides comprehensive guides for setting up privacy-first analytics across different use cases and technologies.
Whether you're running an eCommerce store, a content website, or a complex single-page application, you'll find step-by-step instructions to integrate Sealmetrics without requiring user consent for its own analytics (our self-assessment; in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)). Our implementation guides cover everything from basic page view tracking to advanced conversion tracking and custom event monitoring.
## Available Guides
- [Content & Site Structure](https://sealmetrics.com/docs/implementation/content-site-structure.md) - Organize and track your site content effectively
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) - Set up conversion tracking for online stores
- [Tracking Methods](https://sealmetrics.com/docs/implementation/tracking-methods.md) - Advanced implementations for SPAs, AJAX, and React applications
## Tracker Overview
URL: https://sealmetrics.com/docs/implementation/tracker/
Sealmetrics' 2.2 KB JavaScript tracker (uncompressed): one-line install, no cookies or localStorage, automatic SPA detection, and size comparisons vs GA4.
Ultra-lightweight JavaScript tracker for collecting analytics data.
| Specification | Value |
| --- | --- |
| Size (uncompressed, measured 3 Dec 2026) | **2,213 bytes (~2.2 KB)** |
| Dependencies | None (vanilla JavaScript) |
| Cookies | None |
| localStorage | None |
| sessionStorage | None |
| Browser support | Chrome 60+, Firefox 55+, Safari 11.1+, Edge 79+ |
| Accounts per page | One |
## Size Comparison
Script size, **uncompressed** for every script (the size of the code), against the tracker scripts of established analytics platforms. All measured on 3 December 2026. These are dated snapshots: vendors change their scripts, and so do we.
| Platform | Uncompressed | vs Sealmetrics | Measured |
| --- | --- | --- | --- |
| **Sealmetrics** | **2.2 KB** (2,213 B) | — | 3 Dec 2026 |
| Piwik PRO | ~69 KB | ~32× heavier | 3 Dec 2026 |
| Mixpanel | ~126 KB | ~58× heavier | 3 Dec 2026 |
| Matomo | ~222 KB | ~103× heavier | 3 Dec 2026 |
| PostHog | ~400 KB | ~185× heavier | 3 Dec 2026 |
| Google Analytics 4 | ~437 KB | ~202× heavier | 3 Dec 2026 |
| Adobe Analytics | ~730 KB parsed | ~330× heavier | field measurement, Jul 2026 |
Measurement methodology
One GET per script with `Accept-Encoding: gzip` and a desktop Chrome User-Agent, bytes counted on disk, on production scripts served by each vendor; the table shows the size after decompression, so that every row measures the same thing. Matomo and Piwik PRO were measured on the vendors' own demo instances; Matomo compiles installed plugins into its file, so its size varies by installation. Adobe Analytics has no single public script: the figure is the code parsed on a real site (Launch container plus AppMeasurement, a field measurement from July 2026), so it is a stack, not a single file.
Full method, raw bytes and caveats: the [Tracker Performance Report](https://sealmetrics.com/docs/guides/tracker-performance-report.md) and the [Adobe Analytics report](https://sealmetrics.com/docs/guides/tracker-performance-adobe-analytics.md).
## Quick Start
Add one line to your HTML:
```html
```
This script:
1. Loads asynchronously (does not block page rendering)
2. Tracks the initial pageview automatically
3. Detects SPA navigation automatically (React, Vue, Angular, Next.js)
## API
| Function | Purpose | Example |
| --- | --- | --- |
| `sealmetrics()` | Manual pageview | `sealmetrics()` |
| `sealmetrics({ group })` | Pageview with content grouping | `sealmetrics({ group: 'blog' })` |
| `sealmetrics.conv(type, amount)` | Conversion | `sealmetrics.conv('purchase', 99.99)` |
| `sealmetrics.conv(type, amount, props)` | Conversion with properties | `sealmetrics.conv('purchase', 99.99, { currency: 'EUR' })` |
| `sealmetrics.micro(type)` | Microconversion | `sealmetrics.micro('add_to_cart')` |
| `sealmetrics.micro(type, props)` | Microconversion with properties | `sealmetrics.micro('add_to_cart', { product_id: 'SKU-123' })` |
## Global Variables
The tracker exposes three identical global variables:
| Variable | Recommendation |
| --- | --- |
| `sealmetrics` | Recommended (unique, no conflicts) |
| `sm` | Short form |
| `_sm` | Backup if others conflict |
```javascript
// All three work identically:
sealmetrics.conv('purchase', 99.99);
sm.conv('purchase', 99.99);
_sm.conv('purchase', 99.99);
```
## Privacy
The tracker does not collect or store:
- Cookies
- IP addresses (checked in flight against a public list of automated-traffic IPs and your IP exclusions, then discarded — never stored)
- Personal identifiable information
- Form inputs
- User credentials
- localStorage or sessionStorage data
Session identification is cookieless: the tracker computes, in the browser, a hash of standard device characteristics (no canvas fingerprinting) that is never written to the device and is re-keyed on the server with a daily salt, so nothing stored can link a device across days. See [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md).
## Documentation
### Getting Started
- [**Step-by-Step Guide**](https://sealmetrics.com/docs/implementation/tracker/step-by-step-guide.md) - Complete visual guide from zero to tracking
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) - Script tag, content grouping, custom domains
### Tracking Events
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) - Tracking purchases, leads, signups
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Tracking funnel steps, engagement events
### Advanced
- [API Reference](https://sealmetrics.com/docs/implementation/tracker/api-reference.md) - Complete technical reference
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) - React, Vue, Angular, Next.js integration
- [First-Party Setup](https://sealmetrics.com/docs/implementation/tracker/first-party.md) - Custom domain for tracking
- [Tracker v1 to v2: Breaking Changes](https://sealmetrics.com/docs/implementation/tracker/migration-from-v1.md) - Breaking changes and code examples
## Step-by-Step Implementation Guide
URL: https://sealmetrics.com/docs/implementation/tracker/step-by-step-guide/
Complete visual guide to implement Sealmetrics tracking on your website, from basic pageviews to conversions and funnels.
This guide walks you through implementing Sealmetrics tracking on your website. By the end, you'll have:
- Basic pageview tracking
- Conversion tracking (purchases, leads, signups)
- Microconversion tracking (add to cart, funnel steps)
- Verified data flowing to your dashboard
## Before You Start
### What You Need
| Requirement | Where to Find It |
| --- | --- |
| Sealmetrics Site ID | Settings → Sites → [your site] → General tab |
| Access to your website's HTML | Theme editor, CMS, or code repository |
| 15 minutes | That's all it takes! |
### Find Your Site ID
1. Log in to [my.sealmetrics.com](https://my.sealmetrics.com)
2. Go to **Settings → Sites**
3. Click on your site
4. Copy the **Site ID** from the General tab (use the copy button next to it)
## Step 1: Install the Tracking Pixel
### 1.1 Add the Script Tag
Add this single line to your website's `` section:
```html
```
Replace `YOUR_SITE_ID` with your actual Site ID.
### 1.2 Where to Add It
```html
My Website
```
### 1.3 Platform-Specific Instructions
If you can't edit the HTML directly, follow the guide for your platform — each one shows exactly where the snippet goes:
- [WordPress](https://sealmetrics.com/docs/integrations/cms/wordpress.md)
- [WooCommerce](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md)
- [Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md)
- [Wix](https://sealmetrics.com/docs/integrations/website-builders/wix.md)
- [Squarespace](https://sealmetrics.com/docs/integrations/website-builders/squarespace.md)
- [Webflow](https://sealmetrics.com/docs/integrations/website-builders/webflow.md)
- [Next.js](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md)
- [Nuxt 3](https://sealmetrics.com/docs/integrations/frameworks/nuxt.md)
- [React](https://sealmetrics.com/docs/integrations/frameworks/react.md)
- [Google Tag Manager](https://sealmetrics.com/docs/integrations/google-tag-manager.md)
Using something else? See [all integrations](https://sealmetrics.com/docs/integrations.md), or the [Installation guide](https://sealmetrics.com/docs/implementation/tracker/installation.md) for the manual snippet and its parameters.
## Step 2: Verify Installation
### 2.1 Open Browser DevTools
1. Visit your website
2. Press `F12` (or right-click → Inspect)
3. Go to **Console** tab
### 2.2 Check the Tracker Loaded
Type in console:
```javascript
typeof sealmetrics
```
Expected result:
```plaintext
"function"
```
If you see `"undefined"`, the script hasn't loaded yet. Check:
- Script URL is correct
- Site ID is valid
- No adblocker interference
### 2.3 Check Network Requests
1. Go to **Network** tab in DevTools
2. Filter by `event`
3. Reload the page
4. Look for a POST request to `/event`
```plaintext
┌─────────────────────────────────────────────────────────┐
│ Network Filter: event│
├─────────────────────────────────────────────────────────┤
│ Name Status Type Size Time │
│ ───────────────────────────────────────────────────── │
│ event 204 fetch 0 B 45 ms │
│ │
└─────────────────────────────────────────────────────────┘
```
**Status 204** = Success! The event was received.
### 2.4 Inspect the Request Payload
To confirm what is being sent, click the `/event` request in the Network tab and look at the request payload. It is a form-encoded body with a single field `d` containing the JSON (account ID `a`, session ID `s`, current URL `u`, timezone `z`, etc.). For a pageview there is no `e`/`m`/`v` field; those only appear on conversions and microconversions.
You can also read the tracker's own state from the console:
```javascript
sealmetrics.sessionId; // current session ID
sealmetrics.autoMode; // "1" (auto-pageview on) or "0" (manual)
```
## Step 3: Add Content Grouping (Optional)
Content grouping helps you analyze performance by section (blog, products, checkout).
### 3.1 Add Group Parameter
Modify your script tag to include a `group`:
```html
```
### 3.2 Dynamic Grouping (Advanced)
For CMS/dynamic sites, generate the group server-side:
```php
```
## Step 4: Track Conversions
Conversions are goal completions with monetary value: purchases, leads, signups.
### 4.1 Basic Conversion
```javascript
sealmetrics.conv('purchase', 99.99);
```
| Parameter | Type | Description |
| --- | --- | --- |
| Type | string | `'purchase'`, `'lead'`, `'signup'`, etc. |
| Amount | number | Monetary value (use `0` for non-monetary) |
### 4.2 Conversion with Properties
```javascript
sealmetrics.conv('purchase', 149.99, {
currency: 'EUR',
payment_method: 'credit_card',
coupon: 'SAVE10'
});
```
### 4.3 Implementation: Thank You Page
The most common pattern is tracking on your order confirmation page.
**Static HTML:**
```html
```
**PHP (WooCommerce, custom):**
```php
```
**Shopify:**
In **Settings → Checkout → Additional scripts**:
```html
```
### 4.4 Common Conversion Types
| Type | Amount | When to Use |
| --- | --- | --- |
| `purchase` | Order total | eCommerce checkout complete |
| `lead` | `0` | Contact form submitted |
| `signup` | `0` | Account created |
| `subscription` | Monthly price | SaaS subscription started |
| `booking` | Booking value | Reservation confirmed |
| `download` | `0` | Lead magnet downloaded |
### 4.5 Prevent Duplicate Conversions
Users might refresh the thank-you page. Prevent duplicates:
**Server-side flag**
```php
is_tracked()) {
echo '';
$order->mark_as_tracked();
}
?>
```
## Step 5: Track Microconversions
Microconversions are user interactions that indicate progress toward a conversion.
### 5.1 Basic Microconversion
```javascript
sealmetrics.micro('add_to_cart');
```
### 5.2 Microconversion with Properties
```javascript
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
product_name: 'Blue Sneakers',
price: '89.99'
});
```
### 5.3 eCommerce Funnel Example
Track the funnel from product view to purchase:
```javascript
// Step 1: Product viewed (automatic pageview)
// Step 2: Added to cart
document.querySelector('.add-to-cart').addEventListener('click', function() {
sealmetrics.micro('add_to_cart', {
product_id: this.dataset.productId,
price: this.dataset.price
});
});
// Step 3: View cart
// On cart page load:
sealmetrics.micro('view_cart', {
items_count: '3',
cart_value: '267.99'
});
// Step 4: Begin checkout
document.querySelector('.checkout-button').addEventListener('click', function() {
sealmetrics.micro('begin_checkout');
});
// Step 5: Add shipping info
// On shipping form submit:
sealmetrics.micro('add_shipping_info', {
shipping_method: 'express'
});
// Step 6: Add payment info
// On payment form submit:
// ... full example at https://sealmetrics.com/docs/implementation/tracker/step-by-step-guide/
```
### 5.4 SaaS Funnel Example
```javascript
// Pricing page: Toggle billing cycle
document.querySelector('.billing-toggle').addEventListener('click', function() {
sealmetrics.micro('toggle_billing', {
selected: this.dataset.cycle // 'monthly' or 'yearly'
});
});
// Pricing page: Click "Start Trial"
document.querySelector('.start-trial').addEventListener('click', function() {
sealmetrics.micro('click_start_trial', {
plan: this.dataset.plan
});
});
// Signup form submitted
document.querySelector('#signup-form').addEventListener('submit', function() {
sealmetrics.micro('signup_started');
});
// Trial started (CONVERSION)
sealmetrics.conv('signup', 0, {
plan: 'pro',
trial: 'true'
});
// Later: Trial converted to paid (CONVERSION)
sealmetrics.conv('subscription', 49, {
plan: 'pro',
billing_cycle: 'monthly'
});
```
### 5.5 Content Engagement
```javascript
// Scroll depth tracking
var tracked = {};
window.addEventListener('scroll', function() {
var scrollPercent = Math.round((window.scrollY / (document.documentElement.scrollHeight - window.innerHeight)) * 100);
[25, 50, 75, 100].forEach(function(milestone) {
if (scrollPercent >= milestone && !tracked[milestone]) {
tracked[milestone] = true;
sealmetrics.micro('scroll_' + milestone);
}
});
});
// Video engagement
var video = document.querySelector('video');
video.addEventListener('play', function() {
sealmetrics.micro('video_play', {
video_id: this.dataset.videoId
});
});
video.addEventListener('ended', function() {
sealmetrics.micro('video_complete', {
video_id: this.dataset.videoId
});
});
// Newsletter signup
document.querySelector('#newsletter').addEventListener('submit', function() {
// ... full example at https://sealmetrics.com/docs/implementation/tracker/step-by-step-guide/
```
## Step 6: Verify in Dashboard
### 6.1 Check Data Is Arriving
1. Go to [my.sealmetrics.com](https://my.sealmetrics.com)
2. Open your site's **Overview** report
3. Visit your website in another tab
4. Within seconds, the **Last hit** timestamp at the top right of the Overview updates and your visit is reflected in the Entrances and Pageviews numbers
### 6.2 Check Conversions
1. Trigger a test conversion on your site
2. Go to **Conversions** report
3. Set date range to **Today**
4. Verify your conversion appears
### 6.3 Check Funnel
1. Go to **Funnel** report
2. View microconversions by step
3. Analyze drop-off between steps
## Complete Implementation Checklist
### Basic Setup
- Script added to all pages
- Correct Site ID in script URL
- Verified `typeof sealmetrics === 'function'` in console
- Verified 204 response in Network tab
- "Last hit" updating on the Overview report
### Conversions
- Conversion tracking on thank-you/confirmation page
- Correct amount passed to `sealmetrics.conv()`
- Deduplication in place (no double-counting)
- Properties include currency if applicable
### Microconversions (if applicable)
- Add to cart tracked
- Checkout funnel steps tracked
- Key engagement events tracked (scroll, video, etc.)
### Content Grouping (optional)
- Different groups for different page types
- Groups appearing in dashboard reports
## Troubleshooting
### Script not loading
| Symptom | Solution |
| --- | --- |
| `typeof sealmetrics` returns `undefined` | Check script URL, Site ID, no typos |
| 404 error in Network | Verify script URL is exactly correct |
| Script blocked | Check adblocker, CSP headers |
### Events not appearing in dashboard
| Symptom | Solution |
| --- | --- |
| 204 response but no data | Check the **Last hit** timestamp on the Overview report — if it doesn't move within seconds of a test visit, nothing is arriving ([Data Delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md)). If it does move, check you're looking at the correct account, date range and timezone |
| Non-204 response | Check Site ID, domain authorization |
| Data in wrong account | Verify Site ID in script matches dashboard |
### Conversions not tracking
| Symptom | Solution |
| --- | --- |
| Conversion fires but not in dashboard | Check `window.addEventListener('load')` wrapper |
| Double conversions | Implement deduplication (Step 4.5) |
| Amount is 0 | Ensure amount is a number, not string |
### No request appears in the Network tab
If you do not see a POST to `/event`:
1. Clear browser cache and reload
2. Disable browser extensions (ad/tracker blockers)
3. Try an incognito window
4. Confirm `typeof sealmetrics === 'function'` in the console
## Next Steps
Now that tracking is set up:
1. **[Set up content grouping](https://sealmetrics.com/docs/implementation/tracker/installation/#with-content-grouping)** to analyze by page type
2. **[Configure alerts](https://sealmetrics.com/docs/lens/anomaly-detection.md)** for traffic anomalies
3. **[Use LENS AI](https://sealmetrics.com/docs/lens/ai-assistant.md)** to ask questions about your data
4. **[Export data](https://sealmetrics.com/docs/api/exports.md)** for external analysis
## Need Help?
- **Documentation**: [sealmetrics.com/docs](https://sealmetrics.com/docs.md)
- **API Reference**: [Tracker API Reference](https://sealmetrics.com/docs/implementation/tracker/api-reference.md)
- **Support**: [support@sealmetrics.com](mailto:support@sealmetrics.com)
## Installation
URL: https://sealmetrics.com/docs/implementation/tracker/installation/
Install the Sealmetrics tracker with one script tag: basic setup, content grouping via the group parameter, custom endpoints, and parameter reference.
Installing the Sealmetrics tracker adds cookieless, consentless analytics to your site — it fires the initial pageview automatically and exposes the `sealmetrics` object for tracking conversions and microconversions. The method is a single `
```
Replace `YOUR_SITE_ID` with your Sealmetrics Site ID (found in Settings → Sites → [your site]).
The `defer` attribute ensures the script loads asynchronously without blocking page rendering.
## With Content Grouping
Content grouping categorizes pages into sections for analysis (e.g., "blog", "product", "checkout").
Add the `group` parameter:
```html
```
Content grouping enables reports like:
- Conversions by content group
- Bounce rate per section
- Traffic distribution across page types
## Custom Endpoint
For self-hosted deployments or custom domains:
```html
```
## Parameters Reference
| Parameter | Required | Description | Example |
| --- | --- | --- | --- |
| `id` | Yes | Your Sealmetrics Site ID | `id=67a1d6c0bb10b861397fdd3a` |
| `group` | No | Content grouping for this page. Must match `^[a-zA-Z0-9_-]{0,64}$`; an invalid value makes `/t.js` return HTTP 400 | `group=blog` |
| `auto` | No | Set `auto=0` to suppress the automatic initial pageview (manual mode). Any other value keeps it on | `auto=0` |
| `spa` | No | Set `spa=0` to suppress automatic pageview on SPA navigation (pushState/replaceState/popstate). SPA listeners stay wired and URL state still updates. Independent from `auto`. | `spa=0` |
### Manual Pageview Mode (`auto=0`)
By default the tracker fires the initial pageview as soon as it loads. Add `auto=0` to keep everything wired up (SPA listeners, `conv()`, `micro()`) while firing the pageview yourself — useful when you need to set a content group after your dataLayer is ready:
```html
```
### Deferred Loading / GTM (pre-load queue)
If a `sealmetrics(...)` call may run **before** the library finishes loading (e.g., Google Tag Manager), inject this fbq-style stub **before** the script tag. It buffers calls in `sealmetrics.q` and replays them once the library boots:
```html
```
When using the stub to enqueue a pageview, load the tracker with `auto=0` so the queued pageview and the automatic one do not both fire. See the [API Reference](https://sealmetrics.com/docs/implementation/tracker/api-reference/#pre-load-queue-stub) for details.
## What Happens After Installation
1. The script loads asynchronously (does not block rendering)
2. A session ID is generated automatically without cookies
3. An anti-spam token is validated (embedded in the script, valid for 24 hours)
4. The initial pageview is tracked automatically
5. SPA navigation is detected automatically (History API)
## Verifying Installation
### Option 1: Pixel Status in the dashboard
The **Pixel Status** section on the **Pixels** page shows the install status for each site:
- **Active** — the pixel is receiving data
- **Inactive** — no hits received recently
- **Not installed** — no hits received yet
### Option 2: Browser Console
Open DevTools (F12) and type:
```javascript
typeof sealmetrics === 'function'
// Should return: true
```
### Option 3: Network Tab
1. Open DevTools > Network
2. Filter by "event"
3. Reload the page
4. Look for a POST request to `/event` with status 204
### Option 4: Inspect Tracker State
In the console you can read the tracker's own state to confirm it initialized correctly:
```javascript
sealmetrics.sessionId; // current session ID
sealmetrics.accountId; // your site ID
sealmetrics.autoMode; // "1" (auto-pageview) or "0" (manual mode)
```
## Platform-Specific Guides
The script tag above is all you need on any platform that lets you edit the ``. If your site runs on a CMS, store platform, site builder or framework, follow the dedicated guide instead — each one covers where exactly to paste the snippet plus the platform's own conversion hooks:
- [WordPress](https://sealmetrics.com/docs/integrations/cms/wordpress.md)
- [WooCommerce](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md)
- [Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md)
- [Wix](https://sealmetrics.com/docs/integrations/website-builders/wix.md)
- [Squarespace](https://sealmetrics.com/docs/integrations/website-builders/squarespace.md)
- [Webflow](https://sealmetrics.com/docs/integrations/website-builders/webflow.md)
- [Next.js](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md)
- [Nuxt 3](https://sealmetrics.com/docs/integrations/frameworks/nuxt.md)
- [React](https://sealmetrics.com/docs/integrations/frameworks/react.md)
- [Google Tag Manager](https://sealmetrics.com/docs/integrations/google-tag-manager.md)
See [all integrations](https://sealmetrics.com/docs/integrations.md) for the full list (Drupal, Joomla, Magento, PrestaShop, BigCommerce, OpenCart and more).
## Generating Event Snippets
Once the tracker is installed, the **Pixel Builder** on the Pixels page generates ready-to-copy `conv()` / `micro()` snippets for JavaScript, GTM or Tealium — see the [Pixel Builder guide](https://sealmetrics.com/docs/platform/settings/tracking/pixel-builder.md). To write the calls yourself, see [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) and [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md).
## Troubleshooting
### Script not loading
1. Check that `YOUR_SITE_ID` is replaced with your actual Site ID
2. Verify the site is active in Sealmetrics dashboard
3. Check browser console for errors
### Events not appearing in dashboard
1. Check the **Last hit** timestamp at the top right of the **Overview** report — hits arrive in seconds, so it should move to "seconds ago" right after a test visit. If it does, the hit arrived and the problem is on the report side (date range, timezone, filters). If it doesn't, nothing is being ingested — see [Data Delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md)
2. Verify the domain is registered in Settings → Sites → [your site] → Domains
3. Check if adblockers are blocking requests (unlikely with first-party setup)
### 204 response but no data
The server returns 204 for all requests (valid or rejected) to prevent information leakage. Check:
1. Site ID is correct
2. Domain is authorized for this site
3. Token is valid (script was loaded less than 24 hours ago)
*Need help with installation? Contact us at [support@sealmetrics.com](mailto:support@sealmetrics.com) or [open your free account](https://my.sealmetrics.com/register) — your first 1M events are free.*
## Conversions
URL: https://sealmetrics.com/docs/implementation/tracker/conversions/
Track purchases, leads, and signups with sealmetrics.conv(): syntax, monetary values, custom properties, and item arrays for eCommerce, cookie-free.
Track purchases, leads, signups, and other goal completions with monetary value.
## Syntax
```javascript
sealmetrics.conv(type, amount);
sealmetrics.conv(type, amount, properties);
```
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | Yes | Conversion name (e.g., `'purchase'`, `'lead'`, `'signup'`) |
| `amount` | number | No | Monetary value. Omit or use `0` for non-monetary conversions |
| `properties` | object | No | Custom key-value data |
## Examples
### Purchase
```javascript
sealmetrics.conv('purchase', 99.99);
```
### Purchase with Properties
```javascript
sealmetrics.conv('purchase', 149.99, {
currency: 'EUR',
payment_method: 'credit_card',
coupon: 'SAVE10',
items: [
{ product_name: 'Camiseta', price: 19.95, quantity: 2, category: 'Ropa' },
{ product_name: 'Pantalón', price: 49.99, quantity: 1, category: 'Ropa' }
]
});
```
Items format
The `items` property is an **array of JavaScript objects** inside the properties parameter (the third argument of `sealmetrics.conv()`). Each object supports free-form key-value fields like `product_name`, `price`, `quantity`, `category`, `variant`, `id`, etc. Do not pass `items` as a string or as a separate parameter outside the properties object.
### Lead (No Monetary Value)
```javascript
sealmetrics.conv('lead', 0, {
form_name: 'contact_form',
source: 'homepage'
});
```
### Signup
```javascript
sealmetrics.conv('signup', 0, {
plan: 'trial',
referral_code: 'FRIEND20'
});
```
### Subscription Purchase
```javascript
sealmetrics.conv('purchase', 49, {
plan: 'pro_monthly',
currency: 'USD',
billing_cycle: 'monthly'
});
```
## eCommerce Implementation
### Thank You Page
Place on your order confirmation page:
```html
```
### Dynamic Values (Server-Side Rendering)
```html
```
### WooCommerce
In `functions.php` or a custom plugin:
```php
add_action('woocommerce_thankyou', function($order_id) {
$order = wc_get_order($order_id);
$items = array();
foreach ($order->get_items() as $item) {
$product = $item->get_product();
$items[] = array(
'product_name' => $item->get_name(),
'product_id' => $product ? $product->get_id() : '',
'sku' => $product ? $product->get_sku() : '',
'price' => $item->get_total() / max($item->get_quantity(), 1),
'quantity' => $item->get_quantity(),
);
}
?>
window.addEventListener('load', function() {
sealmetrics.conv('purchase', {{ checkout.total_price | money_without_currency | remove: ',' }}, {
currency: '{{ checkout.currency }}',
items: [
{% for item in checkout.line_items %}
{
product_name: '{{ item.title | escape }}',
product_id: '{{ item.product_id }}',
sku: '{{ item.sku | escape }}',
price: {{ item.final_price | money_without_currency | remove: ',' }},
quantity: {{ item.quantity }}
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
});
});
```
## SaaS Implementation
### Free Trial Signup
```javascript
document.querySelector('#signup-form').addEventListener('submit', function(e) {
sealmetrics.conv('signup', 0, {
plan: 'trial',
source: 'pricing_page'
});
});
```
### Paid Subscription
```javascript
// After successful payment
sealmetrics.conv('purchase', 49, {
plan: 'pro',
billing_cycle: 'monthly',
currency: 'USD'
});
```
### Plan Upgrade
```javascript
sealmetrics.conv('upgrade', 99, {
from_plan: 'starter',
to_plan: 'pro',
currency: 'USD'
});
```
## Properties Reference
Common properties to include:
| Property | Type | Description | Example |
| --- | --- | --- | --- |
| `currency` | string | ISO 4217 currency code | `'EUR'`, `'USD'`, `'GBP'` |
| `payment_method` | string | Payment type | `'credit_card'`, `'paypal'` |
| `coupon` | string | Discount code used | `'SAVE10'` |
| `items` | array | Array of product objects | See below |
| `plan` | string | Subscription plan name | `'pro'`, `'enterprise'` |
| `billing_cycle` | string | Billing frequency | `'monthly'`, `'yearly'` |
### Product Items
For eCommerce purchases, use the `items` property to send an array of product objects. Each object supports free-form key-value fields:
```javascript
sealmetrics.conv('purchase', 89.99, {
currency: 'EUR',
items: [
{ product_name: 'Camiseta', price: 19.95, quantity: 2, category: 'Ropa' },
{ product_name: 'Pantalón', price: 49.99, quantity: 1, category: 'Ropa' }
]
});
```
Common fields per item: `product_name`, `product_id`, `sku`, `price`, `quantity`, `category`, `brand`, `variant`. You can add any custom fields you need — all fields are accepted.
Where to view items data
Once tracked, product items appear in the **Properties** report under the **Conv. Items** tab. There you can analyze each product field broken down by traffic source, medium, and campaign. Items with a `quantity` field are automatically counted by the number of units (e.g., `quantity: 2` counts as 2).
Important
- `items` must be a **native JavaScript array** of objects, not a string
- `items` goes **inside** the properties object (the third parameter), not as a separate parameter
- Individual product fields go inside each object of the array, not as top-level properties
## Timing
### Conversions Are Their Own Event Type
A conversion is **not** counted as a pageview. The server classifies each hit by its payload: a hit carrying a conversion type (`e`) is recorded as a conversion (or a microconversion when the micro flag is set), and only hits **without** those fields are counted as pageviews.
The initial pageview is already tracked automatically when the tracker loads (unless you use `?auto=0`), so on a thank-you page you typically get one automatic pageview **plus** the conversion you fire — they are two separate events. You do not need to call `sealmetrics()` yourself just to "register" the conversion.
### Wait for Tracker to Load
If calling conversion immediately on page load, wait for the script:
```javascript
window.addEventListener('load', function() {
sealmetrics.conv('purchase', 99.99);
});
```
Or check if function exists:
```javascript
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', 99.99);
}
```
## Deduplication
Sealmetrics does not deduplicate conversions automatically. To prevent duplicate tracking:
1. **Server-side flag**: Mark orders as "tracked" in your database
2. **One-time page**: Redirect after conversion so refreshing doesn't re-trigger
3. **Session check**: Use your own session logic to track if conversion was already sent
Example: render the conversion call only once per order ID, from your order system:
```php
// PHP example
if (!$order->isTracked()) {
echo '';
$order->markAsTracked();
}
```
## First-Party Tracker
URL: https://sealmetrics.com/docs/implementation/tracker/first-party/
Serve the Sealmetrics tracker from your own subdomain for maximum ad-blocker resistance: DNS setup, activation, and verification.
Serve the Sealmetrics tracker from a subdomain of **your own domain** (e.g. `metrics.yourstore.com`) instead of `t.sealmetrics.com`.
## Why first-party?
Ad blockers work mostly from lists of known third-party tracking domains. When the script and its requests load from **your own domain**, they are far less likely to be blocked — which means fewer gaps in your data. It also keeps the entire measurement flow within your domain's context, consistent with Sealmetrics' first-party, consentless design. See [Ad-blocker resistance](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) for the full picture.
## Setup
The process takes two minutes of your time plus a confirmation from our team.
### 1. Get your subdomain from the dashboard
1. Log in to [my.sealmetrics.com](https://my.sealmetrics.com)
2. Go to **Settings → Pixels**
The **1st Party Tracker Code** screen shows the subdomain to create and the snippet you'll use later:
If you track multiple domains in one site, create the same subdomain on each of them.
### 2. Create the DNS record
In your DNS manager, add an **A record** for that subdomain pointing to:
```plaintext
45.148.1.221
```
DNS changes can take from a few minutes up to 24–48 hours to propagate, depending on your provider and TTL.
### 3. Tell us, and we finish the server side
Email [hello@sealmetrics.com](mailto:hello@sealmetrics.com) once the record is in place. We complete the server-side setup for your subdomain and confirm by email.
### 4. Install the snippet
When you receive the confirmation, copy the **Tracker Code** snippet from the same screen into the `` of your website — it's the standard tracker, just served from your subdomain. All tracker options ([`?auto=0`, `?spa=0`](https://sealmetrics.com/docs/implementation/tracker/spa-support.md), [content grouping](https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping.md)) work exactly the same.
## Verify it works
Visit your site and check that **Last hit** updates on the [Overview report](https://sealmetrics.com/docs/reports/overview.md) within seconds. If it doesn't:
- Confirm the A record has propagated (`dig your-subdomain.yourdomain.com`)
- Confirm you replaced the old `t.sealmetrics.com` snippet (don't run both — you'd count pageviews twice)
- Check the browser console for blocked requests
## Related documentation
- [Tracker Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — standard installation and script options
- [Ad-blocker resistance](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) — why first-party loading matters
- [Troubleshooting](https://sealmetrics.com/docs/troubleshooting.md) — common installation issues
Questions? [hello@sealmetrics.com](mailto:hello@sealmetrics.com)
## Microconversions
URL: https://sealmetrics.com/docs/implementation/tracker/microconversions/
Track funnel steps and engagement events like add-to-cart, video plays, and scroll depth with sealmetrics.micro().
Track funnel steps, engagement events, and user interactions that indicate progress toward a conversion.
## Syntax
```javascript
sealmetrics.micro(type);
sealmetrics.micro(type, properties);
```
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | Yes | Event name (e.g., `'add_to_cart'`, `'video_play'`) |
| `properties` | object | No | Custom key-value data |
## Difference from Conversions
| Aspect | Conversion | Microconversion |
| --- | --- | --- |
| Purpose | Goal completion | Progress/engagement |
| Monetary value | Yes (`amount` parameter) | No |
| Function | `sealmetrics.conv()` | `sealmetrics.micro()` |
| Example | Purchase, lead, signup | Add to cart, video play, scroll |
## Examples
### Add to Cart
```javascript
sealmetrics.micro('add_to_cart');
```
### Add to Cart with Properties
```javascript
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-456',
product_name: 'Wireless Headphones',
price: '89.99',
category: 'electronics'
});
```
### Checkout Funnel Steps
```javascript
// Step 1: View cart
sealmetrics.micro('view_cart', {
items_count: '3',
cart_value: '249.99'
});
// Step 2: Begin checkout
sealmetrics.micro('begin_checkout', {
items_count: '3',
cart_value: '249.99'
});
// Step 3: Add shipping info
sealmetrics.micro('add_shipping_info', {
shipping_method: 'express'
});
// Step 4: Add payment info
sealmetrics.micro('add_payment_info', {
payment_method: 'credit_card'
});
// Step 5: Purchase (use conversion, not microconversion)
sealmetrics.conv('purchase', 249.99, { currency: 'EUR' });
```
### Video Engagement
```javascript
var video = document.querySelector('video');
video.addEventListener('play', function() {
sealmetrics.micro('video_play', {
video_id: 'product-demo',
video_title: 'Product Demo 2025'
});
});
video.addEventListener('ended', function() {
sealmetrics.micro('video_complete', {
video_id: 'product-demo'
});
});
```
### Scroll Depth
```javascript
var tracked = {};
window.addEventListener('scroll', function() {
var scrollHeight = document.documentElement.scrollHeight - window.innerHeight;
var scrollPercent = Math.round((window.scrollY / scrollHeight) * 100);
[25, 50, 75, 100].forEach(function(milestone) {
if (scrollPercent >= milestone && !tracked[milestone]) {
tracked[milestone] = true;
sealmetrics.micro('scroll_' + milestone);
}
});
});
```
### Newsletter Signup
```javascript
document.querySelector('#newsletter-form').addEventListener('submit', function() {
sealmetrics.micro('newsletter_signup', {
position: 'footer',
page_type: 'blog'
});
});
```
### File Download
```javascript
document.querySelectorAll('a[download]').forEach(function(link) {
link.addEventListener('click', function() {
sealmetrics.micro('file_download', {
file_name: this.getAttribute('download'),
file_type: this.href.split('.').pop()
});
});
});
```
### Click on CTA
```javascript
document.querySelector('.cta-button').addEventListener('click', function() {
sealmetrics.micro('cta_click', {
button_text: this.textContent,
button_location: 'hero'
});
});
```
## eCommerce Implementation
### Product Page
```javascript
// Wishlist
document.querySelector('.add-to-wishlist').addEventListener('click', function() {
sealmetrics.micro('add_to_wishlist', {
product_id: this.dataset.productId,
product_name: this.dataset.productName
});
});
// Add to cart
document.querySelector('.add-to-cart').addEventListener('click', function() {
sealmetrics.micro('add_to_cart', {
product_id: this.dataset.productId,
product_name: this.dataset.productName,
price: this.dataset.price,
quantity: document.querySelector('#quantity').value
});
});
// View product images
document.querySelector('.product-gallery').addEventListener('click', function() {
sealmetrics.micro('view_product_images', {
product_id: this.dataset.productId
});
});
```
### Cart Page
```javascript
// Update quantity
document.querySelectorAll('.quantity-input').forEach(function(input) {
input.addEventListener('change', function() {
sealmetrics.micro('update_cart', {
product_id: this.dataset.productId,
new_quantity: this.value
});
});
});
// Remove item
document.querySelectorAll('.remove-item').forEach(function(btn) {
btn.addEventListener('click', function() {
sealmetrics.micro('remove_from_cart', {
product_id: this.dataset.productId
});
});
});
```
## SaaS Implementation
### Pricing Page
```javascript
// View pricing toggle (monthly/yearly)
document.querySelector('.billing-toggle').addEventListener('click', function() {
sealmetrics.micro('toggle_billing_cycle', {
selected: this.dataset.cycle // 'monthly' or 'yearly'
});
});
// Click plan details
document.querySelectorAll('.plan-details').forEach(function(btn) {
btn.addEventListener('click', function() {
sealmetrics.micro('view_plan_details', {
plan: this.dataset.plan
});
});
});
```
### Onboarding Flow
```javascript
// Track each onboarding step
function trackOnboardingStep(step, data) {
sealmetrics.micro('onboarding_step_' + step, data);
}
// Step 1: Account created (after signup conversion)
trackOnboardingStep(1, { action: 'account_created' });
// Step 2: Profile completed
trackOnboardingStep(2, { action: 'profile_completed' });
// Step 3: First project created
trackOnboardingStep(3, { action: 'first_project' });
// Step 4: Team member invited
trackOnboardingStep(4, { action: 'team_invited' });
```
## Content Site Implementation
### Article Engagement
```javascript
// Time on page (track after 30 seconds)
setTimeout(function() {
sealmetrics.micro('engaged_read', {
article_id: document.querySelector('article').dataset.id,
time_threshold: '30s'
});
}, 30000);
// Share button clicks
document.querySelectorAll('.share-button').forEach(function(btn) {
btn.addEventListener('click', function() {
sealmetrics.micro('share_click', {
platform: this.dataset.platform, // 'twitter', 'facebook', 'linkedin'
article_id: document.querySelector('article').dataset.id
});
});
});
// Comment form opened
document.querySelector('#comment-form-toggle').addEventListener('click', function() {
sealmetrics.micro('open_comment_form');
});
```
## Properties Reference
Common properties to include:
| Property | Description | Example |
| --- | --- | --- |
| `product_id` | Product SKU or ID | `'SKU-456'` |
| `product_name` | Product name | `'Wireless Headphones'` |
| `price` | Item price | `'89.99'` |
| `category` | Product category | `'electronics'` |
| `quantity` | Number of items | `'2'` |
| `position` | Element location | `'header'`, `'footer'`, `'sidebar'` |
| `step` | Funnel step number | `'1'`, `'2'`, `'3'` |
| `video_id` | Video identifier | `'product-demo'` |
| `file_name` | Downloaded file name | `'whitepaper.pdf'` |
Property Values Must Be Strings
All property values are transmitted as strings. Numbers and booleans are automatically converted.
## Timing
### Microconversions Are Their Own Event Type
A microconversion is **not** counted as a pageview. The server classifies each hit by its payload: a hit that carries an event type with the micro flag is recorded as a microconversion, while only hits **without** those fields are counted as pageviews.
The initial pageview is tracked automatically when the tracker loads (unless you use `?auto=0`), so firing a microconversion does not also create a pageview — and you do not need to call `sealmetrics()` to "register" engagement. Each microconversion is recorded independently.
### Multiple Events Per Page
You can fire multiple microconversion events on the same page. Each one is recorded separately:
```javascript
// All of these are tracked independently:
sealmetrics.micro('scroll_25');
sealmetrics.micro('scroll_50');
sealmetrics.micro('video_play');
sealmetrics.micro('add_to_cart');
```
## Naming Conventions
Use consistent, descriptive event names:
| Pattern | Examples |
| --- | --- |
| `{action}_{object}` | `add_to_cart`, `view_product`, `click_cta` |
| `{object}_{action}` | `video_play`, `video_complete`, `form_submit` |
| `{category}_{action}` | `scroll_25`, `scroll_50`, `scroll_100` |
Avoid:
- Spaces in event names
- Special characters (use underscores)
- Overly generic names like `click` or `event`
## SPA Support
URL: https://sealmetrics.com/docs/implementation/tracker/spa-support/
How the Sealmetrics tracker auto-detects SPA navigation via the History API in React, Vue, Angular, Next.js and more, plus manual first-pageview control.
The tracker automatically detects navigation in Single Page Applications. No configuration required, and no router-specific code for any framework built on the History API.
## How It Works
Once the script is on the page, the tracker will:
1. Fire a pageview on initial load.
2. Fire a pageview when your router calls `history.pushState()`.
3. Fire a pageview when your router calls `history.replaceState()`.
4. Fire a pageview when the user clicks **Back** / **Forward** (`popstate`).
5. Skip duplicates: if the new URL is identical to the previous one, no event is sent.
6. Set the `referrer` of each SPA pageview to the previous in-app URL — so internal navigation flows are preserved in reports.
The canonical global is **`window.sealmetrics`** — always use it in your integrations. (`window.sm` and `window._sm` exist as best-effort aliases, but they are only claimed when free — e.g. during a v1→v2 migration `window.sm` is the *old* tracker — so don't rely on them.)
## Supported Frameworks
Any router built on the History API is supported out of the box:
| Framework | Router | Auto-Tracking |
| --- | --- | --- |
| React | react-router v5 / v6 | Yes |
| Vue | vue-router v3 / v4 | Yes |
| Angular | @angular/router | Yes |
| Next.js | App Router / Pages Router | Yes |
| Nuxt.js | nuxt/router | Yes |
| Svelte | svelte-routing, SvelteKit | Yes |
| Remix | @remix-run/react | Yes |
| Astro | View Transitions / client:load | Yes |
| Solid | @solidjs/router | Yes |
Hash-based routers (`/#/path`) are **not** auto-detected — see Hash-Based Routing below.
## Installation
Same as regular installation — one script tag, once, in the document ``:
```html
```
## Manual Initial Pageview (`?auto=0`)
If you need to control the first pageview yourself (for example, to set a content group once your app has hydrated), load the tracker with `?auto=0`:
```html
```
This suppresses **only** the automatic initial pageview. The SPA navigation listeners (`pushState` / `replaceState` / `popstate`) stay active, so subsequent route changes are still tracked automatically. Fire the first pageview yourself when ready:
```javascript
sealmetrics({ group: 'home' });
```
## Manual SPA Pageviews (`?spa=0`)
If you also want to fire the **route-change** pageviews yourself (for example, to attach a different content group per route), add `?spa=0`:
```html
```
With `spa=0` the History API listeners still run — they keep the tracker's URL/referrer state up to date so your manual pageviews carry the correct referrer chain — but they **no longer fire automatic pageviews**. You call `sealmetrics()` on every route change yourself.
Use `?auto=0&spa=0` together for fully manual control (e.g. the canonical GTM pattern, or per-route content grouping). Never fire manual route-change pageviews *without* `spa=0`: the automatic hook would fire too and every navigation would be counted twice.
## Content Grouping
Content groups let you bucket pageviews together (e.g. `blog`, `product`, `checkout`) and view aggregated reports per group.
### Recommended: set the group at script load
This is the cleanest pattern. The group is sticky for **every** automatic pageview, including all SPA navigations:
```html
```
### Per-route grouping (advanced)
The tracker has **no API to update the group of an already-fired pageview**. If you need a different group per route, you have two options:
#### Option A — Full manual mode (`?auto=0&spa=0`), fire pageviews yourself
Best for apps where every route needs a specific group. Both flags are required:
- `auto=0` suppresses the **initial** auto-pageview on load.
- `spa=0` suppresses the **automatic pageview on SPA route changes**.
```html
```
With both flags set, no pageview fires unless you fire it — so you pass the group on every route, with no risk of double counting:
```jsx
// after router resolves a route
useEffect(() => {
if (typeof sealmetrics === 'undefined') return;
sealmetrics({ group: routeGroupFor(pathname) }); // pathname → 'blog' | 'product' | ...
}, [pathname]);
```
**Warning:** Don't use `?auto=0` alone for this pattern: without `spa=0`, route changes via `pushState`/`replaceState`/`popstate` still fire an automatic (group-less) pageview, and your manual call would make it **two pageviews** for the same URL.
#### Option B — Use a single global group per site
Set the group once at script load (the recommended pattern above) and rely on URL paths in reports to slice further. This is what most SPAs should do.
## React Example
### With react-router
```jsx
// App.jsx
import { BrowserRouter, Routes, Route } from 'react-router-dom';
function App() {
return (
} />
} />
} />
} />
);
}
```
No additional setup needed. Navigation between routes is tracked automatically.
### Tracking Conversions
The pageview is automatic; you only need to fire the conversion itself on the success page or step. Always guard with `typeof sealmetrics!== 'undefined'` — the script is `defer`-ed and may not be ready on the very first paint of an SSR app.
```jsx
// CheckoutSuccess.jsx
import { useEffect } from 'react';
export default function CheckoutSuccess({ order }) {
useEffect(() => {
if (typeof sealmetrics === 'undefined') return;
sealmetrics.conv('purchase', order.total, {
currency: order.currency,
payment_method: order.paymentMethod,
});
}, [order]);
return
Thank you for your order!
;
}
```
### With Content Grouping
```jsx
// Requires ?auto=0&spa=0 on the script tag — see Option A above.
function ProductPage({ product }) {
useEffect(() => {
if (typeof sealmetrics === 'undefined') return;
sealmetrics({ group: 'product' });
}, [product.id]);
return
;
}
```
## Vue Example
### With vue-router
```javascript
// main.js
import { createApp } from 'vue';
import { createRouter, createWebHistory } from 'vue-router';
import App from './App.vue';
const router = createRouter({
history: createWebHistory(),
routes: [
{ path: '/', component: Home },
{ path: '/products', component: Products },
{ path: '/products/:id', component: ProductDetail }
]
});
createApp(App).use(router).mount('#app');
```
### Tracking a Conversion (Vue 3)
```vue
Thank you for your order!
```
### Tracking Events in Components
```vue
{{ product.name }}
```
## Angular Example
### Module Setup
```typescript
// app.module.ts
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{ path: '', component: HomeComponent },
{ path: 'products', component: ProductsComponent },
{ path: 'products/:id', component: ProductDetailComponent }
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule {}
```
### Tracking Service
```typescript
// analytics.service.ts
import { Injectable } from '@angular/core';
declare global {
interface Window {
sealmetrics: any;
}
}
@Injectable({ providedIn: 'root' })
export class AnalyticsService {
trackConversion(type: string, amount: number, properties?: object) {
if (typeof window.sealmetrics !== 'undefined') {
window.sealmetrics.conv(type, amount, properties);
}
}
trackMicro(type: string, properties?: object) {
if (typeof window.sealmetrics !== 'undefined') {
window.sealmetrics.micro(type, properties);
}
}
}
```
## Nuxt.js Example
### Nuxt 3
```typescript
// nuxt.config.ts
export default defineNuxtConfig({
app: {
head: {
script: [
{
src: 'https://t.sealmetrics.com/t.js?id=YOUR_ACCOUNT_ID',
defer: true
}
]
}
}
});
```
### Composable for Tracking
```typescript
// composables/useAnalytics.ts
export function useAnalytics() {
const trackConversion = (type: string, amount: number, props?: object) => {
if (process.client && typeof sealmetrics !== 'undefined') {
sealmetrics.conv(type, amount, props);
}
};
const trackMicro = (type: string, props?: object) => {
if (process.client && typeof sealmetrics !== 'undefined') {
sealmetrics.micro(type, props);
}
};
return { trackConversion, trackMicro };
}
```
## Microconversions in SPAs
Use `micro()` for funnel steps that are **not** the final goal (add-to-cart, signup-started, video-played, etc.). All values in the properties map are sent as strings.
```javascript
function handleAddToCart(product) {
// ... your cart logic
if (typeof sealmetrics === 'undefined') return;
sealmetrics.micro('add_to_cart', {
product_id: product.id,
product_name: product.name,
price: String(product.price),
currency: 'EUR',
});
}
```
## Hash-Based Routing
Hash routing (`/#/path`) uses the `hashchange` event instead of the History API, so Sealmetrics does **not** track it automatically.
Add this listener once at app startup:
```javascript
window.addEventListener('hashchange', function () {
if (typeof sealmetrics !== 'undefined') {
sealmetrics();
}
});
```
> **Migrating?** Hash routing is deprecated in most modern routers. If you're on react-router v6, prefer `BrowserRouter` over `HashRouter` — automatic tracking will then work without the listener.
## Frameworks With Custom Navigation
A few routers (or custom navigation code) bypass `pushState` / `replaceState` and update the URL via other mechanisms. In that case, call `sealmetrics()` manually inside your router's `afterEach` hook:
```javascript
// Vue Router
router.afterEach(() => {
if (typeof sealmetrics !== 'undefined') sealmetrics();
});
```
**Warning:** **The tracker does not de-duplicate manual calls** — `sealmetrics()` always sends a pageview when invoked. (The URL-change check only gates the *automatic* History API hook.) Only add this listener if your router genuinely bypasses `pushState`/`replaceState` — verify in the Network tab first. If both the automatic hook and your manual call fire, every navigation is counted **twice**. If you want deterministic control, load the tracker with `?spa=0` (see Option A) and fire all SPA pageviews manually.
## Server-Side Rendering (SSR)
The tracker only runs in the browser. In SSR frameworks (Next.js, Nuxt, SvelteKit, Remix), always check the environment **and** the global before calling:
```javascript
if (typeof window !== 'undefined' && typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', 99.99, { currency: 'EUR' });
}
```
For Next.js App Router, wrap the call in `useEffect` inside a `'use client'` component.
## Iframes & Embedded Contexts
If the tracker script is loaded **inside an iframe** (for example, a Shopify Web Pixel sandbox), auto-pageview tracking and SPA listeners are intentionally **disabled** — only `conv()` and `micro()` remain exposed. This prevents duplicate pageviews when the same site loads Sealmetrics on both the parent page and an embedded pixel.
You don't need to do anything special: the tracker detects iframes via `window.self!== window.top`.
## TypeScript Declarations
Drop this in `types/sealmetrics.d.ts` (or any `.d.ts` picked up by your `tsconfig`) for better IDE support:
```typescript
interface SealmetricsOptions {
group?: string;
}
interface SealmetricsFunction {
(options?: SealmetricsOptions): void;
conv(type: string, amount?: number, properties?: Record): void;
micro(type: string, properties?: Record): void;
readonly sessionId: string;
readonly accountId: string;
readonly tz: string;
readonly autoMode: string;
}
declare global {
const sealmetrics: SealmetricsFunction;
const sm: SealmetricsFunction;
const _sm: SealmetricsFunction;
}
export {};
```
## Troubleshooting
### Duplicate Pageviews
Most common causes, in order:
1. **Script included twice.** Search the rendered HTML for `t.sealmetrics.com/t.js` — there should be exactly one match.
2. **Manual `sealmetrics()` call after auto-tracking.** The tracker already fires on `pushState`/`replaceState`/`popstate`. Don't call it again in your router's `afterEach` unless you've confirmed auto-tracking isn't firing.
3. **Per-route grouping pattern.** Calling `sealmetrics({ group: '...' })` after an automatic pageview produces a second event. Use `?auto=0&spa=0` together — `?auto=0` alone only suppresses the *initial* pageview, not SPA route-change pageviews.
4. **Animations using `replaceState`.** Some libraries call `history.replaceState()` for non-navigation purposes (e.g. saving scroll position into the URL). This triggers a pageview if the full URL changes. Use a query-param-only update where possible, or strip the param before tracking.
5. **Another analytics wrapper re-triggering events.**
### Missing Pageviews on Route Change
1. Confirm your router uses the History API (open DevTools → Console and run `history.pushState({}, '', '/test')` — the tracker should fire a pageview).
2. If you use hash routing, add the hashchange listener.
3. If your router bypasses `pushState`, fire manually in the `afterEach` hook.
### Pageview Fires but `referrer` Is Wrong
For SPA navigations, Sealmetrics sets `referrer` to the **previous in-app URL** (not `document.referrer`). This is intentional — it lets you build true in-app flow reports. The original external referrer is only used on the very first pageview of the session.
### The `sealmetrics` Global Is Undefined
The script is loaded with `defer`, so it executes after the DOM is parsed but before `DOMContentLoaded`. If your app fires a conversion synchronously during initial render, the global may not exist yet. Always guard:
```javascript
if (typeof sealmetrics === 'undefined') return;
```
Or retry once after a microtask:
```javascript
queueMicrotask(() => {
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('signup', 0);
}
});
```
## Related Documentation
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) — full conversion property reference
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md)
- [Tracker Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md)
- [How to Track React](https://sealmetrics.com/docs/implementation/tracking-methods/how-to-track-react.md)
## Tracker API Reference
URL: https://sealmetrics.com/docs/implementation/tracker/api-reference/
Complete API reference for the Sealmetrics JavaScript tracker. Includes all methods, parameters, and payload specifications.
Complete reference for the Sealmetrics JavaScript tracker API.
## Global Variables
The tracker exposes three identical global variables:
| Variable | Description |
| --- | --- |
| `sealmetrics` | Recommended (unique, no conflicts) |
| `sm` | Short form |
| `_sm` | Backup if others conflict |
All three work identically:
```javascript
sealmetrics.conv('purchase', 99.99);
sm.conv('purchase', 99.99);
_sm.conv('purchase', 99.99);
```
## Methods
### sealmetrics()
Track a pageview. Called automatically on page load and SPA navigation.
```javascript
sealmetrics();
sealmetrics(options);
```
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `options` | object | No | Configuration options |
| `options.group` | string | No | Content grouping for this page |
**Examples:**
```javascript
// Manual pageview (rarely needed)
sealmetrics();
// Pageview with content grouping
sealmetrics({ group: 'blog' });
sealmetrics({ group: 'product' });
sealmetrics({ group: 'checkout' });
```
**When to call manually:**
- Rarely needed — pageviews are automatic
- Use when you need to override the content group
- Use for hash-based routing where automatic detection doesn't work
### sealmetrics.conv()
Track a conversion (goal completion with monetary value).
```javascript
sealmetrics.conv(type, amount);
sealmetrics.conv(type, amount, properties);
```
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | Yes | Conversion type (e.g., `'purchase'`, `'lead'`, `'signup'`) |
| `amount` | number | No | Monetary value. Omit or use `0` for non-monetary conversions. Only sent when it is a number |
| `properties` | object | No | Custom key-value data |
**Examples:**
```javascript
// Simple purchase
sealmetrics.conv('purchase', 99.99);
// Purchase with properties
sealmetrics.conv('purchase', 149.99, {
currency: 'EUR',
payment_method: 'credit_card'
});
// Lead (no monetary value)
sealmetrics.conv('lead', 0, {
form_name: 'contact',
source: 'homepage'
});
// Subscription
sealmetrics.conv('subscription', 49, {
plan: 'pro_monthly',
currency: 'USD'
});
```
### sealmetrics.micro()
Track a microconversion (user interaction or funnel step).
```javascript
sealmetrics.micro(type);
sealmetrics.micro(type, properties);
```
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | Yes | Event type (e.g., `'add_to_cart'`, `'video_play'`) |
| `properties` | object | No | Custom key-value data |
**Examples:**
```javascript
// Simple microconversion
sealmetrics.micro('add_to_cart');
// With properties
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
product_name: 'Blue Shoes',
price: '89.99'
});
// Video engagement
sealmetrics.micro('video_play', {
video_id: 'demo-2025',
video_title: 'Product Tour'
});
// Scroll depth
sealmetrics.micro('scroll_50');
```
## Properties
Properties are key-value pairs attached to conversions and microconversions.
### Data Types
All property values are transmitted as strings. Numbers and booleans are automatically converted:
```javascript
// Both are equivalent
sealmetrics.conv('purchase', 99, { quantity: 3 });
sealmetrics.conv('purchase', 99, { quantity: '3' });
```
### Common Properties
| Property | Description | Example |
| --- | --- | --- |
| `currency` | ISO 4217 currency code | `'EUR'`, `'USD'` |
| `product_id` | Product SKU or ID | `'SKU-123'` |
| `product_name` | Product name | `'Blue Shoes'` |
| `category` | Product category | `'footwear'` |
| `price` | Item price | `'89.99'` |
| `quantity` | Number of items | `'2'` |
| `payment_method` | Payment type | `'credit_card'` |
| `coupon` | Discount code | `'SAVE10'` |
| `plan` | Subscription plan | `'pro'` |
| `billing_cycle` | Billing frequency | `'monthly'` |
### Property Limits
- Maximum properties per event: No hard limit, but keep reasonable
- Property name max length: 100 characters
- Property value max length: 500 characters
- Total request body max: **15 KB**. The server reads at most 15 KB of the POST body; anything beyond that is silently ignored (the request still returns 204).
## Content Grouping
Content grouping categorizes pages into sections for analysis.
### Setting via URL Parameter
```html
```
Group name format
When set via the `group` URL parameter, the value is validated against the regular expression `^[a-zA-Z0-9_-]{0,64}$` (letters, digits, `_` and `-`, up to 64 characters). An invalid `group` value makes the `/t.js` request return **HTTP 400** and the script is not served. The same constraint applies to the value passed to `sealmetrics({ group })`.
### Setting via JavaScript
```javascript
// Override default grouping
sealmetrics({ group: 'product' });
```
### Common Groups
| Group | Use Case |
| --- | --- |
| `blog` | Blog posts, articles |
| `product` | Product detail pages |
| `category` | Category/listing pages |
| `cart` | Shopping cart |
| `checkout` | Checkout flow |
| `landing` | Landing pages |
| `support` | Help, documentation |
| `account` | User account pages |
## Payload Specification
### Pageview Payload
```json
{
"a": "YOUR_ACCOUNT_ID",
"s": "1abc123def456",
"t": "hmac_token",
"u": "https://example.com/page?utm_source=google&utm_medium=cpc",
"r": "https://google.com/search",
"z": "Europe/Madrid",
"c": 1703001234567,
"g": "blog"
}
```
| Field | Description |
| --- | --- |
| `a` | Account ID |
| `s` | Session ID (auto-generated) |
| `t` | HMAC anti-spam token |
| `u` | Current URL |
| `r` | Referrer URL |
| `z` | IANA timezone |
| `c` | Timestamp (milliseconds) |
| `g` | Content group (optional) |
UTMs and click IDs are parsed server-side
The tracker does **not** send a separate parameters field. UTM tags (`utm_source`, `utm_medium`, …) and ad click IDs (`gclid`, `fbclid`, …) are extracted **server-side** from the current URL (`u`), so they must be present in the page URL for attribution to work.
### Conversion Payload
Includes all pageview fields plus:
```json
{
"e": "purchase",
"v": 149.99,
"x": {
"currency": "EUR"
}
}
```
| Field | Description |
| --- | --- |
| `e` | Event type |
| `v` | Monetary value (optional — only present when `amount` is a number) |
| `x` | Custom properties (optional) |
### Microconversion Payload
Includes all pageview fields plus:
```json
{
"e": "add_to_cart",
"m": true,
"x": {
"product_id": "SKU-123"
}
}
```
| Field | Description |
| --- | --- |
| `e` | Event type |
| `m` | Microconversion flag (`true`) |
| `x` | Custom properties |
## Session Identification
Session IDs are automatically generated using privacy-preserving browser characteristics. Nothing is stored on the device, and the identifier rotates daily and cannot be reconstructed afterwards.
## Automatic Behavior
### Automatic Pageview
A pageview is tracked automatically when the script loads. You don't need to call `sealmetrics()` manually on page load.
### SPA Navigation Detection
The tracker automatically detects Single Page Application navigation by intercepting:
- `history.pushState()`
- `history.replaceState()`
- `popstate` event (browser back/forward)
Each URL change triggers a new pageview with the previous URL as the referrer.
### Data Transmission
Events are sent using `navigator.sendBeacon()` with a fallback to `fetch()`:
1. **sendBeacon** (preferred): Works even when closing the tab
2. **fetch with keepalive**: Fallback if sendBeacon fails
Events are sent as a POST with `Content-Type: application/x-www-form-urlencoded`. The JSON payload travels in the form field `d` (`d=`). This avoids CORS preflight requests and WAF blocks.
## Read-only Properties
Beyond the methods, the global object exposes a few read-only properties, useful for debugging or for forwarding the session ID to other systems:
| Property | Type | Description |
| --- | --- | --- |
| `sealmetrics.sessionId` | string | The session identifier for the current visitor: a hash of standard device characteristics computed in the browser, never written to the device, and re-keyed daily on the server before storage |
| `sealmetrics.accountId` | string | The account/site ID embedded in the served script |
| `sealmetrics.tz` | string | The visitor's IANA timezone (e.g., `'Europe/Madrid'`) |
| `sealmetrics.autoMode` | string | `'1'` if the auto-pageview is enabled, `'0'` if loaded with `?auto=0` |
| `sealmetrics.spaMode` | string | `'1'` if automatic SPA route-change pageviews are enabled, `'0'` if loaded with `?spa=0` |
```javascript
console.log(sealmetrics.sessionId); // "1abc123def456"
console.log(sealmetrics.autoMode); // "1"
console.log(sealmetrics.spaMode); // "1"
```
## Manual Pageview Mode (`?auto=0`)
By default the tracker fires the initial pageview as soon as the script runs. Loading the tracker with `?auto=0` keeps everything wired up (SPA listeners, `conv()`, `micro()`) but **skips** the automatic initial pageview — you are then responsible for firing it manually:
```html
```
| `?auto=` value | Behavior |
| --- | --- |
| missing / empty / `1` | Auto-pageview ON (default) |
| `0` | Auto-pageview OFF (manual mode) |
| any other value | Auto-pageview ON (defensive default) |
SPA navigation listeners (`pushState` / `replaceState` / `popstate`) stay active in both modes; only the **initial** pageview is suppressed by `?auto=0`.
## Manual SPA Mode (`?spa=0`)
`?spa=0` is the SPA counterpart of `?auto=0`: it suppresses the **automatic pageview on SPA route changes**. The History API listeners still update the tracker's internal URL/referrer state (so manual pageviews carry the correct referrer chain), but no pageview fires unless you call `sealmetrics()` yourself.
```html
```
| `?spa=` value | Behavior |
| --- | --- |
| missing / empty / `1` | Automatic SPA pageviews ON (default) |
| `0` | Automatic SPA pageviews OFF (manual SPA mode) |
| any other value | Automatic SPA pageviews ON (defensive default) |
Combine `?auto=0&spa=0` for fully manual control — the pattern to use with Google Tag Manager or per-route [content grouping](https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping.md). Manual calls are **never de-duplicated**: if you fire pageviews manually on route changes without `spa=0`, each navigation is counted twice.
## Pre-load Queue (stub)
For integrations where the tracker may load **after** the first `sealmetrics(...)` call (e.g., Google Tag Manager with several tags, or deferred loading), inject this tiny fbq-style stub **before** the real library. It buffers calls in `sealmetrics.q` until the library boots, then replays them in FIFO order:
```html
```
- Each queued entry is `[marker, arguments]`, where the marker is `'pv'` (pageview), `'cv'` (conversion) or `'mc'` (microconversion). These markers are a stable, permanent contract.
- The stub is idempotent (`||` guards): pasting it twice is a no-op.
- The queue is drained **before** the optional auto-pageview, so order is: queued calls (FIFO) → auto-pageview (if enabled).
Always pair the stub with?auto=0
If you enqueue a pageview through the stub **and** leave the auto-pageview on, both will fire and you get two pageviews per session. The canonical pattern is the **stub + `?auto=0`**, firing the pageview yourself from the queue.
## Behavior Inside Iframes
The tracker checks whether it runs at the top level (`window.self === window.top`):
- **Top-level page:** auto-pageview + SPA navigation listeners + `conv()` / `micro()` — everything works normally.
- **Inside an iframe** (e.g., the Shopify Web Pixel sandbox): the tracker exposes `conv()` and `micro()` only. It does **not** fire an auto-pageview and does **not** install SPA navigation hooks.
This prevents duplicate pageviews when the tracker runs both on the real page and inside an embedded sandbox. In iframe contexts (Shopify), call `sealmetrics.conv()` / `sealmetrics.micro()` directly and do **not** inject the pre-load stub inside the iframe.
## Automatically Detected Click IDs
Ad click IDs do not need any configuration. When present in the page URL, the server detects them and infers source/medium automatically:
| Click ID | Platform | Inferred source / medium |
| --- | --- | --- |
| `gclid` | Google Ads | google / cpc |
| `gbraid` | Google Ads (iOS) | google / cpc |
| `wbraid` | Google Ads (Web-to-App) | google / cpc |
| `fbclid` | Meta / Facebook | facebook / social |
| `msclkid` | Microsoft / Bing Ads | bing / cpc |
| `yclid` | Yandex | yandex / cpc |
| `ttclid` | TikTok | tiktok / cpc |
| `twclid` | Twitter / X | twitter / cpc |
| `li_fat_id` | LinkedIn | linkedin / cpc |
| `ScCid` | Snapchat | snapchat / cpc |
| `rdt_cid` | Reddit | reddit / cpc |
Explicit UTM parameters in the URL always take precedence over the values inferred from a click ID.
## TypeScript Declarations
For TypeScript projects, add these declarations:
```typescript
// types/sealmetrics.d.ts
interface SealmetricsOptions {
group?: string;
}
interface SealmetricsFunction {
(options?: SealmetricsOptions): void;
conv(type: string, amount?: number, properties?: Record): void;
micro(type: string, properties?: Record): void;
readonly sessionId: string;
readonly accountId: string;
readonly tz: string;
readonly autoMode: string;
readonly spaMode: string;
}
declare global {
const sealmetrics: SealmetricsFunction | undefined;
const sm: SealmetricsFunction | undefined;
const _sm: SealmetricsFunction | undefined;
}
export {};
```
## Technical Specifications
| Specification | Value |
| --- | --- |
| Size (uncompressed, measured 3 Dec 2026) | 2,213 bytes (~2.2 KB) |
| Dependencies | None (vanilla JavaScript) |
| Browser Support | Chrome 60+, Firefox 55+, Safari 11.1+, Edge 79+ |
| ES Version | ES5 compatible |
| Cookies | None |
| localStorage | None |
| sessionStorage | None |
## Related Documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) - Setup guide
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) - Detailed conversion tracking
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Event tracking
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) - Framework integrations
## Tracker v1 to v2: Breaking Changes
URL: https://sealmetrics.com/docs/implementation/tracker/migration-from-v1/
Breaking changes and migration steps from Sealmetrics tracker v1 to v2: one-line install, new conv() and micro() syntax, and no cookies or localStorage.
This guide covers breaking changes and migration steps from Sealmetrics Tracker v1 to v2.
## Summary of Changes
| Aspect | v1 (Legacy) | v2 (Current) |
| --- | --- | --- |
| Installation | ~15 lines of JavaScript | 1 line (script tag) |
| Initialization | `sm('init', 'ACCOUNT_ID')` | Automatic |
| Pageview tracking | `instance.track('pageview')` | Automatic |
| Event syntax | `sm('event', 'type', {amount: 99})` | `sealmetrics.conv('type', 99)` |
| Microconversions | `sm('event', 'type', {...})` | `sealmetrics.micro('type', {...})` |
| Content grouping | `content_grouping` in options | `?group=xxx` in URL or `sealmetrics({ group: 'xxx' })` |
| `adin` parameter | Supported | Removed |
| Cookies | Used | None |
| localStorage | Used | None |
| Size (uncompressed) | 13.7 KB (Aug 2026) | ~2.2 KB (2,213 B, measured 3 Dec 2026) |
## Breaking Changes
### 1. Installation Changed
**v1 (Remove this):**
```html
```
**v2 (Replace with):**
```html
```
### 2. Event Tracking Syntax Changed
**v1 (Old syntax):**
```javascript
sm('event', 'purchase', { amount: 99.99, properties: { currency: 'EUR' } });
```
**v2 (New syntax):**
```javascript
sealmetrics.conv('purchase', 99.99, { currency: 'EUR' });
```
Do not send order_id by default
Sealmetrics's privacy-first model recommends **not** sending the store's internal order identifier as a conversion property. It's an internal ID that provides no analytical value in aggregate reports and would enrich the hit with a per-transaction identifier — send only aggregation-friendly attributes (currency, coupon code, item category, etc.) instead.
### 3. Microconversions Now Separate
**v1 (Events without amount were treated as conversions):**
```javascript
sm('event', 'add_to_cart', { properties: { product_id: 'SKU-123' } });
```
**v2 (Explicit microconversion function):**
```javascript
sealmetrics.micro('add_to_cart', { product_id: 'SKU-123' });
```
### 4. Content Grouping Syntax Changed
**v1:**
```javascript
var options = {
account: 'ACCOUNT_ID',
content_grouping: 'blog'
};
```
**v2 (Option A: URL parameter):**
```html
```
**v2 (Option B: JavaScript):**
```javascript
sealmetrics({ group: 'blog' });
```
### 5. `adin` Parameter Removed
The `adin` parameter is no longer supported. Ad click IDs are now detected automatically from URL parameters:
| Click ID | Platform | Automatically Detected |
| --- | --- | --- |
| `gclid` | Google Ads | Yes |
| `gbraid` | Google Ads (iOS) | Yes |
| `wbraid` | Google Ads (Web-to-App) | Yes |
| `fbclid` | Meta / Facebook | Yes (mapped to facebook / social) |
| `msclkid` | Microsoft / Bing Ads | Yes |
| `yclid` | Yandex | Yes |
| `ttclid` | TikTok | Yes |
| `twclid` | Twitter / X | Yes |
| `li_fat_id` | LinkedIn | Yes |
| `ScCid` | Snapchat | Yes |
| `rdt_cid` | Reddit | Yes |
Explicit UTM parameters in the URL always take precedence over the source/medium inferred from a click ID.
### 6. Global Variable Names
**v1:**
```javascript
sm('event', 'purchase', {...});
```
**v2 (all three are equivalent):**
```javascript
sealmetrics.conv('purchase', 99.99);
sm.conv('purchase', 99.99);
_sm.conv('purchase', 99.99);
```
The `sm` variable still works but now refers to the same function as `sealmetrics`.
## Migration Steps
### Step 1: Replace Installation Code
Remove the entire v1 script block and replace with:
```html
```
If you used `content_grouping`, add it as URL parameter:
```html
```
### Step 2: Update Conversion Tracking
Find all instances of:
```javascript
sm('event', 'EVENT_NAME', { amount: VALUE, properties: {...} });
```
Replace with:
```javascript
sealmetrics.conv('EVENT_NAME', VALUE, {...});
```
**Before:**
```javascript
sm('event', 'purchase', { amount: 149.99, properties: { currency: 'EUR', coupon: 'SUMMER10' } });
```
**After:**
```javascript
sealmetrics.conv('purchase', 149.99, { currency: 'EUR', coupon: 'SUMMER10' });
```
### Step 3: Update Microconversion Tracking
Find all instances of events without monetary value:
```javascript
sm('event', 'EVENT_NAME', { properties: {...} });
```
Replace with:
```javascript
sealmetrics.micro('EVENT_NAME', {...});
```
**Before:**
```javascript
sm('event', 'add_to_cart', { properties: { product_id: 'SKU-456' } });
```
**After:**
```javascript
sealmetrics.micro('add_to_cart', { product_id: 'SKU-456' });
```
### Step 4: Remove Manual Pageview Calls
v2 tracks pageviews automatically. Remove:
```javascript
instance.track('pageview');
// or
sm('track');
```
### Step 5: Remove adin Parameter
If you had:
```javascript
var options = {
account: 'ACCOUNT_ID',
adin: 'google'
};
```
Remove `adin`. Click ID detection is now automatic.
### Step 6: Update Dynamic Content Grouping
If you set content grouping dynamically:
**Before:**
```javascript
var options = {
content_grouping: getPageType()
};
```
**After:**
```javascript
sealmetrics({ group: getPageType() });
```
## Complete Migration Example
### Before (v1)
```html
// ... full example at https://sealmetrics.com/docs/implementation/tracker/migration-from-v1/
```
### After (v2)
```html
```
## Verification
After migration:
1. Open browser DevTools > Network tab
2. Filter by "event"
3. Navigate your site and perform actions
4. Verify POST requests to `/event` return 204
Check the Sealmetrics dashboard after 5 minutes to confirm data is flowing.
## Rollback
If you need to rollback, keep your v1 code commented out until you verify v2 is working:
```html
```
## Need Help?
If you encounter issues during migration, contact support with:
- Your account ID
- The v1 code you're migrating from
- Any error messages in browser console
## Custom Properties Overview
URL: https://sealmetrics.com/docs/implementation/custom-properties/
Capture business-specific data with custom event properties in Sealmetrics.
Custom properties let you attach additional data to conversions and microconversions, enabling deeper analysis tailored to your business needs.
## What Are Custom Properties?
Standard tracking captures basic information:
- Page URL
- Traffic source
- Device type
- Conversion amount
Custom properties let you add your own data:
- Product category
- Payment method
- Subscription plan
- Coupon code
- Anything else relevant to your business
## How Properties Work
Properties are key-value pairs passed as the last parameter to `sealmetrics.conv()` and `sealmetrics.micro()`:
```javascript
// Conversion with properties
sealmetrics.conv('purchase', 149.99, {
product_category: 'electronics',
brand: 'Apple',
payment_method: 'credit_card',
coupon_used: 'SAVE10'
});
// Microconversion with properties
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
product_name: 'Widget Pro',
price: '49.99'
});
```
## Use Cases
### eCommerce
```javascript
sealmetrics.conv('purchase', 149.99, {
product_category: 'electronics',
brand: 'Apple',
payment_method: 'credit_card',
coupon_used: 'SAVE10',
is_first_purchase: 'true'
});
```
**Analysis enabled:**
- Revenue by product category
- Conversion rate by brand
- Coupon effectiveness
- New vs returning customer behavior
### SaaS
```javascript
sealmetrics.micro('feature_used', {
feature_name: 'export',
plan_type: 'pro',
company_size: '50-100',
user_role: 'admin'
});
```
**Analysis enabled:**
- Feature adoption by plan
- Usage patterns by company size
- Admin vs regular user behavior
### Lead Generation
```javascript
sealmetrics.conv('lead', 0, {
form_name: 'contact_form',
source: 'homepage',
industry: 'technology',
company_size: '50-100'
});
```
**Analysis enabled:**
- Lead quality by source
- Industry distribution
- Form performance comparison
## Property Limits
The JavaScript tracker does not truncate individual property names or values. The only hard limit enforced by the `/event` endpoint is the **total request body size of 15 KB**. If the encoded payload (including properties) exceeds 15 KB, the request is silently dropped (the endpoint returns `204` and no event is recorded).
| Attribute | Limit |
| --- | --- |
| Total request body (all fields + properties) | 15 KB |
| Property name length | No tracker-side limit (keep names short and stable) |
| Property value length | No tracker-side limit (must fit within the 15 KB body) |
Note
A 500-character truncation applies to product fields (`product_name`, `sku`, `product_id`) on **server-side Shopify conversions** sent via the Shopify webhook integration — it does **not** apply to properties sent by the JavaScript tracker.
## Reserved Properties
Don't use property names starting with underscore (`_`). These are reserved for internal use.
## Best Practices
### Naming Conventions
```javascript
// Good: snake_case, descriptive
{
product_category: 'electronics',
customer_type: 'premium',
is_first_purchase: 'true'
}
// Bad: inconsistent, vague
{
'Product-Category': 'electronics',
type: 'premium',
first: 'yes'
}
```
### Value Consistency
```javascript
// Good: consistent values
// customer_type: 'free' | 'pro' | 'enterprise'
// Bad: inconsistent values
// customer_type: 'Free' | 'PRO' | 'Enterprise' | 'free' | 'premium'
```
### All Values Are Strings
All property values are transmitted as strings. Numbers and booleans are automatically converted:
```javascript
// Both are equivalent
sealmetrics.conv('purchase', 99, { quantity: 3 });
sealmetrics.conv('purchase', 99, { quantity: '3' });
```
## Quick Start
### 1. Plan Your Properties
Before implementing, decide:
- What questions do you want to answer?
- What data do you need to answer them?
- Which events should carry which properties?
### 2. Add Properties to Your Events
```javascript
// With conversions
sealmetrics.conv('purchase', 99.99, {
product_category: 'software',
payment_method: 'stripe'
});
// With microconversions
sealmetrics.micro('signup', {
plan_selected: 'pro',
referral_source: 'friend'
});
```
### 3. Analyze in Reports
Once properties are flowing:
1. Open any report
2. Click **Add Filter**
3. Select your custom property
4. Filter or break down by values
## Next Steps
- [Event Properties Detailed guide to event-level properties.](https://sealmetrics.com/docs/implementation/custom-properties/event-properties.md)
- [Content Grouping Group pages using the group parameter.](https://sealmetrics.com/docs/implementation/custom-properties/content-groups.md)
## Event Properties
URL: https://sealmetrics.com/docs/implementation/custom-properties/event-properties/
Attach custom data to conversions and microconversions for detailed analysis.
Event properties let you attach custom data to conversions and microconversions for deeper analysis.
## How Event Properties Work
Properties are sent with each event and stored alongside it:
```plaintext
Event: add_to_cart (microconversion)
├── Standard fields (automatic)
│ ├── timestamp: 2024-01-15T14:32:00Z
│ ├── page_url: /products/widget
│ ├── device: mobile
│ └── country: ES
│
└── Custom properties (you define)
├── product_id: SKU-123
├── product_name: Widget Pro
├── price: 49.99
└── category: electronics
```
## Adding Properties to Events
### Conversions
Pass properties as the third parameter to `sealmetrics.conv()`:
```javascript
sealmetrics.conv('purchase', 149.99, {
product_category: 'electronics',
payment_method: 'credit_card',
shipping_method: 'express',
coupon_code: 'SAVE10',
is_gift: 'false',
items_count: '3'
});
```
### Microconversions
Pass properties as the second parameter to `sealmetrics.micro()`:
```javascript
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
quantity: '2',
from_wishlist: 'true'
});
```
### Non-Monetary Conversions
Use `0` as the amount for leads, signups, and other non-monetary goals:
```javascript
sealmetrics.conv('lead', 0, {
form_name: 'contact',
source: 'homepage'
});
```
## Common Property Patterns
### Product Properties
```javascript
sealmetrics.micro('add_to_cart', {
// Identification
product_id: 'SKU-12345',
product_name: 'Wireless Headphones',
product_variant: 'Black',
// Categorization
category: 'Electronics',
subcategory: 'Audio',
brand: 'Sony',
// Pricing
price: '149.99',
original_price: '199.99',
discount_percent: '25',
// Inventory
in_stock: 'true',
stock_level: 'low'
});
```
### Content Properties
```javascript
sealmetrics.micro('article_read', {
// Identification
content_id: 'article-456',
content_title: 'How to Choose Headphones',
// Categorization
content_type: 'article',
category: 'buying-guides',
tags: 'audio,headphones,wireless',
// Metadata
author: 'jane-smith',
publish_date: '2024-01-10',
word_count: '1500',
read_time: '7',
// Features
has_video: 'true',
has_gallery: 'true'
});
```
### User Action Properties
```javascript
sealmetrics.micro('begin_checkout', {
// Action context
action_location: 'cart_page',
// State before action
items_in_cart: '3',
cart_value: '249.99',
// Action details
selected_shipping: 'express',
estimated_delivery: '2024-01-18'
});
```
## Using Properties in Reports
### Filtering
Filter reports by property values:
```plaintext
Traffic Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Filters:
+ product_category equals "electronics"
+ payment_method equals "credit_card"
Showing: Credit card purchases in Electronics
```
### Breaking Down
Break down metrics by property:
```plaintext
Conversions by Payment Method
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
payment_method Conversions Revenue AOV
──────────────────────────────────────────────────
credit_card 234 €35,100 €150
paypal 89 €11,570 €130
apple_pay 67 €9,380 €140
bank_transfer 23 €4,600 €200
```
## Data Types
### All Values Are Strings
Sealmetrics stores all property values as strings:
```javascript
// Recommended: use strings explicitly
sealmetrics.conv('purchase', 99.99, {
price: '49.99',
quantity: '2',
is_sale: 'true',
discount_percent: '25'
});
```
Numbers and booleans are automatically converted to strings, so both forms work:
```javascript
// Also works (auto-converted)
sealmetrics.conv('purchase', 99.99, {
price: 49.99,
quantity: 2,
is_sale: true
});
```
## Dynamic Properties
### From Data Layer
Read from an existing data layer:
```javascript
sealmetrics.conv('purchase', dataLayer[0].orderTotal, {
category: dataLayer[0].productCategory,
brand: dataLayer[0].brand
});
```
### From DOM
Read from page elements:
```javascript
document.querySelector('.add-to-cart').addEventListener('click', function() {
sealmetrics.micro('add_to_cart', {
product_id: this.dataset.productId,
product_name: this.dataset.productName,
price: this.dataset.price
});
});
```
### From URL Parameters
```javascript
var params = new URLSearchParams(window.location.search);
sealmetrics.micro('search', {
search_query: params.get('q') || '',
sort_by: params.get('sort') || 'relevance',
page_number: params.get('page') || '1'
});
```
## Debugging Properties
### Inspect the network request
The tracker does not have a console debug mode. To verify what is being sent, open your browser's DevTools, go to the **Network** tab, and filter for requests to `t.sealmetrics.com/event` (sent via `sendBeacon` or `fetch`). The request body contains a single `d` field with the URL-encoded JSON payload — your properties are under the `x` key. A successful request returns `204 No Content`.
### Verify in Dashboard
Check properties arrived correctly:
1. Go to **Reports**
2. Find your event
3. Click to see properties
## Troubleshooting
### Properties Not Appearing
1. **Check property names** — Use alphanumeric characters and underscores
2. **Confirm the hit arrived** — the **Last hit** timestamp on the **Overview** report updates within seconds of a tracked visit. If it doesn't move, the event never arrived — see [Data Delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md)
3. **Inspect the network request** — Check the DevTools Network tab for the request to `t.sealmetrics.com/event` and confirm your properties appear under the `x` key in the payload
### Wrong Values
1. **Check data types** — All values are stored as strings
2. **Check encoding** — Ensure valid UTF-8 characters
3. **Check total payload size** — The `/event` request body is capped at 15 KB; if your event (including all properties) exceeds that, the whole event is dropped
### Missing on Some Events
1. **Check conditional logic** — Properties only sent when defined
2. **Check timing** — Ensure data is available when event fires
3. **Check errors** — Look for console errors before the tracking call
## User Segmentation
URL: https://sealmetrics.com/docs/implementation/custom-properties/user-properties/
Segment users by including business attributes in your conversion and microconversion properties.
Sealmetrics is privacy-first and does not use cookies, localStorage, or persistent user identification. However, you can still segment users effectively by including business attributes in your event properties.
## How It Works
Include user-related attributes as properties when tracking conversions and microconversions. This lets you analyze behavior by user segment without storing any persistent user data.
```javascript
// Include user context in conversions
sealmetrics.conv('purchase', 149.99, {
customer_type: 'premium',
plan: 'pro',
currency: 'EUR'
});
// Include user context in microconversions
sealmetrics.micro('feature_used', {
feature_name: 'export',
plan_type: 'pro',
user_role: 'admin'
});
```
## Segmentation Examples
### SaaS Application
Include plan and account data with each event:
```javascript
// On feature usage
sealmetrics.micro('feature_used', {
feature_name: 'export',
plan_type: 'pro',
billing_cycle: 'annual',
company_size: '50-100',
user_role: 'admin'
});
// On subscription purchase
sealmetrics.conv('subscription', 49, {
plan: 'pro',
billing_cycle: 'monthly',
currency: 'USD',
company_size: '50-100',
industry: 'technology'
});
```
**Analysis enabled:**
- Feature adoption by plan type
- Revenue by company size
- Conversion rate by industry
### eCommerce
Include customer context with purchases:
```javascript
// Purchase with customer data
sealmetrics.conv('purchase', 149.99, {
customer_type: 'returning',
loyalty_tier: 'gold',
payment_method: 'paypal',
product_category: 'electronics',
coupon: 'SAVE10'
});
// Add to cart with context
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
price: '149.99',
category: 'electronics',
customer_type: 'returning'
});
```
**Analysis enabled:**
- Revenue by customer type
- Conversion rate by loyalty tier
- Category preferences by segment
### Media/Subscription
```javascript
// Content engagement
sealmetrics.micro('article_read', {
article_category: 'technology',
author: 'jane-doe',
subscriber_type: 'premium',
word_count: '1500'
});
// Subscription conversion
sealmetrics.conv('subscription', 9.99, {
plan: 'premium',
billing_cycle: 'monthly',
currency: 'EUR',
referral_source: 'blog'
});
```
## Implementation Patterns
### Server-Rendered Pages
Inject user data from your backend into the tracking calls:
**PHP:**
```php
```
**Python (Jinja2):**
```html
```
### JavaScript Applications
Use your app's state to include user data:
```javascript
// From your app's user context
var user = getCurrentUser();
sealmetrics.micro('feature_used', {
feature_name: 'export',
plan_type: user.plan,
user_role: user.role,
company_size: user.companySize
});
```
### Data Attributes
Embed user data in HTML for use in event handlers:
```html
```
## Privacy Considerations
### What NOT to Include
Never include personally identifiable information (PII) in properties:
```javascript
// Don't do this
sealmetrics.conv('purchase', 99.99, {
email: 'john@example.com', // PII
phone: '+1234567890', // PII
full_name: 'John Smith', // PII
address: '123 Main St' // PII
});
// Do this instead
sealmetrics.conv('purchase', 99.99, {
email_domain: 'example.com', // Domain only, not PII
country: 'US', // General location
customer_type: 'enterprise' // Non-identifying segment
});
```
### Why No Persistent User IDs?
Sealmetrics is designed for privacy-first analytics:
- **No cookies** — No consent banner for its own analytics (self-assessed; Germany: open question)
- **No localStorage** — No persistent storage
- **No user identification** — Sessions use a hash of device characteristics that is re-keyed daily on the server, so nothing stored can link a device across days
- **Designed for GDPR** — No data that identifies anyone stored; reports are aggregated
This means you cannot track individual users across sessions. Instead, you analyze behavior by **segments** (properties) rather than individual users.
## Analyzing User Segments in Reports
User segment data appears in reports when you include it as properties:
```plaintext
Conversions by Customer Type
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
customer_type Conversions Revenue AOV
──────────────────────────────────────────────────
premium 234 €46,800 €200
standard 567 €56,700 €100
free 89 €4,450 €50
```
### How to Use
1. Go to any report
2. Add a filter or dimension using your property name (e.g., `customer_type`)
3. Break down metrics by segment
## Troubleshooting
### Segments Not Appearing in Reports
1. Ensure properties are being sent with events (inspect the DevTools Network request to `t.sealmetrics.com/event` and check the `x` key in the payload)
2. Confirm the hit arrived: the **Last hit** timestamp on the **Overview** report updates within seconds of a tracked visit — if it doesn't move, the event never arrived ([Data Delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md))
3. Verify property names match what you're filtering by
### Inconsistent Segments
1. Use consistent property values across all events (e.g., always `'premium'`, not sometimes `'Premium'`)
2. Standardize values before sending
3. Document your property taxonomy for your team
## Dynamic Content Grouping
URL: https://sealmetrics.com/docs/implementation/custom-properties/content-groups/
Set content groups dynamically with JavaScript for SPAs and complex sites.
Content grouping lets you categorize pages into logical groups for easier analysis. This page covers how to set the group dynamically with JavaScript, which is useful for SPAs and sites where the group depends on page content rather than URL structure.
## Two Approaches
### 1. URL Parameter (Recommended)
Set the group directly in the tracker script URL:
```html
```
**Best for:** Static sites, CMS templates, server-rendered pages
[See full Content Grouping guide →](https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping.md)
### 2. JavaScript API (This Page)
Set the group dynamically when tracking a pageview:
```javascript
sealmetrics({ group: 'products' });
```
**Best for:** SPAs, dynamic content, logic that depends on page state
Important
When using the JavaScript API, the tracker script must have finished loading before you call `sealmetrics()`. Use the `group` URL parameter instead if you want to avoid timing issues with `defer`.
## Dynamic Content Grouping
### Basic Implementation
Determine the group based on the current URL path:
```javascript
function getContentGroup() {
const path = window.location.pathname;
if (path.startsWith('/products/')) return 'products';
if (path.startsWith('/blog/')) return 'blog';
if (path.startsWith('/help/')) return 'support';
if (path === '/') return 'homepage';
return 'other';
}
sealmetrics({ group: getContentGroup() });
```
### From Data Layer
Read from an existing data layer (e.g., Google Tag Manager):
```javascript
// If your site sets:
// dataLayer.push({ pageType: 'product', category: 'Electronics' });
const pageType = dataLayer.find(d => d.pageType)?.pageType || 'other';
sealmetrics({ group: pageType });
```
### From Page Elements
Read from HTML data attributes:
```javascript
const group = document.body.dataset.pageType || 'other';
sealmetrics({ group: group });
```
## Platform-Specific Examples
### WordPress
Use PHP to set the group server-side (recommended approach):
```php
```
### Shopify
Use Liquid template logic:
```liquid
{% assign group = 'other' %}
{% if template == 'index' %}{% assign group = 'homepage' %}
{% elsif template contains 'product' %}{% assign group = 'product' %}
{% elsif template contains 'collection' %}{% assign group = 'collection' %}
{% elsif template == 'cart' %}{% assign group = 'cart' %}
{% elsif template contains 'page' %}{% assign group = 'page' %}
{% endif %}
```
### React / Next.js (SPA)
For SPAs, use the JavaScript API to set the group on each route change:
```jsx
import { usePathname } from 'next/navigation';
import { useEffect } from 'react';
function getContentGroup(pathname) {
if (pathname === '/') return 'homepage';
if (pathname.startsWith('/products')) return 'products';
if (pathname.startsWith('/blog')) return 'blog';
if (pathname.startsWith('/docs')) return 'docs';
return 'other';
}
export default function ContentGroupTracker() {
const pathname = usePathname();
useEffect(() => {
if (typeof sealmetrics !== 'undefined') {
sealmetrics({ group: getContentGroup(pathname) });
}
}, [pathname]);
return null;
}
```
Info
In SPAs, the tracker auto-detects route changes and sends pageviews automatically. Using `sealmetrics({ group })` sends an additional pageview with the group. If you only want to set the group without duplicating the pageview, use the URL parameter method instead.
## Common Group Structures
### eCommerce
```javascript
const contentGroups = {
'/': 'homepage',
'/products': 'product-listing',
'/products/[id]': 'product-detail',
'/cart': 'cart',
'/checkout': 'checkout',
'/order-confirmation': 'confirmation',
'/account': 'account',
'/blog': 'blog'
};
```
### SaaS Marketing Site
```javascript
const contentGroups = {
'/': 'homepage',
'/features': 'features',
'/pricing': 'pricing',
'/customers': 'social-proof',
'/blog': 'blog',
'/docs': 'docs',
'/login': 'login',
'/signup': 'signup'
};
```
### Media / Publishing
```javascript
const contentGroups = {
'/': 'homepage',
'/[year]/[month]/[slug]': 'article',
'/category/[name]': 'category',
'/author/[name]': 'author',
'/search': 'search',
'/subscribe': 'subscription',
'/video': 'video'
};
```
## Best Practices
### Keep Groups Manageable
```javascript
// Good: 5-10 main groups
'products', 'blog', 'support', 'account', 'other'
// Bad: Too granular
'product-electronics-headphones-sony-wh1000xm5'
```
### Use Consistent Naming
```javascript
// Good: lowercase, consistent format
'products', 'blog-posts', 'support'
// Bad: inconsistent casing and format
'Products', 'blog', 'SUPPORT'
```
### Handle Edge Cases
```javascript
function getContentGroup() {
const path = window.location.pathname;
if (path === '/') return 'homepage';
if (path.startsWith('/products/')) return 'products';
// Handle 404s
if (document.title.includes('404')) return 'error';
// Catch-all
return 'other';
}
```
## Troubleshooting
### Content Group Not Appearing
1. Open DevTools → Network and look for the request to `t.sealmetrics.com/event`
2. Confirm the payload includes a `g` field with your group value
3. Verify `sealmetrics` is defined before calling it
4. Confirm the hit arrived: the **Last hit** timestamp on the **Overview** report should move to "seconds ago" after your test visit
### Wrong Group Assigned
1. Check your logic handles all URL patterns
2. Verify data layer or DOM values are available when the script runs
3. Check execution timing (script must be loaded first)
### URL Parameter vs JavaScript
If you set both, the JavaScript call takes priority. Be consistent to avoid confusion - pick one method per page.
## Why Use the Defer Attribute on the Sealmetrics Pixel
URL: https://sealmetrics.com/docs/implementation/defer-attribute-pixel-script/
Learn why adding defer to the Sealmetrics pixel script improves page load performance and prevents rendering delays without affecting tracking accuracy.
Adding `defer` to your Sealmetrics pixel script is a small change with a measurable impact on page load performance. This page explains what `defer` does, why it matters for analytics scripts, and how to apply it correctly.
## What Is the Defer Attribute
The `defer` attribute is a standard HTML attribute for `
```
`defer` works alongside the other tracker URL parameters, such as content grouping or manual pageview mode:
```html
```
## A Note on Timing
Because the tracker executes after the HTML is parsed, the global `sealmetrics` object is not guaranteed to exist during the very first synchronous render of an SSR or hydration-heavy app. If you fire a conversion or microconversion early in the page lifecycle, always guard the call:
```javascript
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('lead', 0, { form_name: 'contact' });
}
```
## `defer` vs `async`
For an analytics pixel, prefer `defer` over `async`:
- **`defer`** preserves execution order and runs after the document is parsed — predictable, and the page DOM is fully available.
- **`async`** executes as soon as the script finishes downloading, which can happen mid-parse and in an unpredictable order relative to other scripts.
Both are non-render-blocking, but `defer` gives the more reliable behavior for the Sealmetrics tracker.
## Content & Site Structure
URL: https://sealmetrics.com/docs/implementation/content-site-structure/
How to organize and track site content in Sealmetrics with content grouping, so you can analyze performance by section instead of individual URLs.
Learn how to organize and track your site content effectively with Sealmetrics. This section explains how to structure your analytics data to gain meaningful insights about how visitors navigate and consume your content.
Proper content organization helps you understand which sections of your website perform best, identify popular content categories, and optimize your site architecture. Content grouping enables you to analyze performance across logical sections rather than individual pages, making it easier to spot trends and make data-driven decisions about your content strategy.
## Available Guides
- [Content Grouping](https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping.md) - Organize pages into logical categories for better analytics insights
## Content Grouping
URL: https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping/
Group pages into categories like blog, product, or checkout with Sealmetrics content grouping, set via a URL parameter or the JavaScript API.
Content Grouping categorizes pages into logical groups for aggregated analysis. Instead of analyzing individual URLs, you can group related pages (e.g., all blog posts, all product pages) and view metrics for the entire group.
## What Content Grouping Does
| Without Content Grouping | With Content Grouping |
| --- | --- |
| `/blog/post-1` → 50 views | **Blog** → 1,200 views |
| `/blog/post-2` → 30 views | **Products** → 3,500 views |
| `/blog/post-3` → 25 views | **Checkout** → 800 views |
|... (hundreds of rows) | (5-10 meaningful groups) |
Content grouping enables:
- Conversions by content group
- Bounce rate per section
- Traffic distribution across page types
- Funnel analysis by content type
## Two Ways to Set Up Content Grouping
### Method 1: URL Parameter (Recommended)
Add the `group` parameter to the tracker script. The group is set automatically for all pageviews on that page.
```html
```
### Method 2: JavaScript API
Set the group dynamically when calling pageview:
```javascript
sealmetrics({ group: 'blog' });
```
This is useful when:
- The group depends on page content (not URL structure)
- You're using a SPA with dynamic sections
- You want to override the URL parameter
## Setting Up Content Groups in Dashboard
### Step 1: Navigate to Settings
1. Log in to Sealmetrics
2. Select your site from the dropdown
3. Click **Settings** in the sidebar
4. Click **Properties**
### Step 2: Add Content Group Rules
You have two options:
#### Option A: Quick Setup (Recommended for New Sites)
1. Click **Quick Setup**
2. Choose a template that matches your site structure:
| Template | Use Case | Example Rules |
| --- | --- | --- |
| **eCommerce** | Online stores | Products, Categories, Cart, Checkout |
| **Blog / Content** | Publishers, blogs | Blog Posts, Categories, Authors |
| **SaaS / App** | Web applications | Dashboard, Settings, Billing |
| **Documentation** | Docs sites | Getting Started, API Reference, Guides |
| **Support Site** | Help centers | Help Articles, Knowledge Base, Tickets |
| **Marketing Site** | Landing pages | Features, Pricing, About, Case Studies |
1. Preview the rules
2. Click **Apply All Rules** or add individual rules
#### Option B: Manual Setup
1. Click **Add Rule**
2. Enter: **Group Name**: The label shown in reports (e.g., "Blog Posts")
3. **URL Pattern**: The pattern to match (e.g., `/blog/*`)
4. Click **Add Rule**
### URL Pattern Syntax
Use `*` to match any characters:
| Pattern | Matches | Does Not Match |
| --- | --- | --- |
| `/blog/*` | `/blog/my-post`, `/blog/2025/news` | `/blogging`, `/blog` |
| `/products/*/reviews` | `/products/shoes/reviews` | `/products/shoes` |
| `/docs/*` | `/docs/api`, `/docs/guides/intro` | `/documentation` |
| `/` | `/` (homepage only) | `/about`, `/contact` |
### Step 3: Implement the Tracker
After defining rules in the dashboard, you must also send the group from the tracker.
#### Option A: Server-Side Rendering
Set the group based on URL pattern on the server:
```php
```
#### Option B: Client-Side (SPA)
Set the group when the route changes:
```javascript
// React with react-router
import { useLocation } from 'react-router-dom';
import { useEffect } from 'react';
function useContentGrouping() {
const location = useLocation();
useEffect(() => {
let group = 'other';
if (location.pathname === '/') {
group = 'homepage';
} else if (location.pathname.startsWith('/blog/')) {
group = 'blog';
} else if (location.pathname.startsWith('/products/')) {
group = 'product';
} else if (location.pathname.startsWith('/checkout')) {
group = 'checkout';
}
if (typeof sealmetrics !== 'undefined') {
sealmetrics({ group });
}
}, [location.pathname]);
}
```
#### Option C: CMS-Based
For WordPress, WooCommerce, or other CMS:
```php
```
## Viewing Content Group Reports
### Pages Report
1. Go to **Pages** in the sidebar
2. The **Content Group** column shows the assigned group for each page
3. Use the **Group by** dropdown to aggregate by content group
### Filtering by Content Group
1. Click **Add Filter**
2. Select **Content Group**
3. Choose one or more groups
## Common Content Group Structures
### eCommerce
| Group | Pattern | Pages |
| --- | --- | --- |
| Homepage | `/` | Landing page |
| Products | `/products/*` | Product listings, search results |
| Product Details | `/product/*` | Individual product pages |
| Cart | `/cart` | Shopping cart |
| Checkout | `/checkout/*` | Checkout steps |
| Account | `/account/*` | User account, orders |
| Blog | `/blog/*` | Content marketing |
### SaaS
| Group | Pattern | Pages |
| --- | --- | --- |
| Marketing | `/`, `/features/*`, `/pricing` | Public pages |
| App | `/app/*`, `/dashboard/*` | Authenticated app |
| Settings | `/settings/*` | User settings |
| Billing | `/billing/*` | Subscription management |
| Docs | `/docs/*` | Documentation |
### Publisher / Blog
| Group | Pattern | Pages |
| --- | --- | --- |
| Homepage | `/` | Main page |
| Articles | `/articles/*`, `/news/*` | Content pages |
| Categories | `/category/*` | Topic pages |
| Authors | `/author/*` | Author pages |
| Archives | `/archive/*` | Historical content |
## Best Practices
### Do
- **Keep groups meaningful**: 5-15 groups is ideal
- **Use consistent naming**: `blog` not `Blog Posts` or `blog-posts`
- **Group by user intent**: Separate informational vs transactional content
- **Test patterns**: Verify URLs match expected groups before going live
### Don't
- **Over-segment**: 50+ groups makes analysis difficult
- **Use overlapping patterns**: `/products/*` and `/products/sale/*` may conflict
- **Forget to implement**: Dashboard rules require tracker implementation
## Troubleshooting
### Pages showing wrong content group
1. Check the `group` parameter in the tracker script
2. Verify URL pattern matches in Settings > Properties
3. Confirm pattern priority (more specific patterns should have higher priority)
### Content group not appearing in reports
1. Ensure the tracker includes the `group` parameter
2. Confirm the hit arrived: the **Last hit** timestamp on the **Overview** report should move to "seconds ago" after your test visit
3. Check that the page has received traffic since adding the group
### "Other" or empty content group
Pages without a matching rule or `group` parameter will show as ungrouped. Either:
- Add a rule to match the URL pattern
- Add a catch-all rule with pattern `/*` and name "Other"
## eCommerce Conversion Tracking
URL: https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/
Set up eCommerce conversion tracking in Sealmetrics: purchase and revenue tracking, event properties, and ERP/CRM reconciliation — no cookie consent.
Complete guide for tracking eCommerce conversions with Sealmetrics. This section provides everything you need to measure sales, revenue, and shopping behavior on your online store.
Proper eCommerce tracking enables you to calculate accurate ROI, understand which marketing channels drive sales, and optimize your conversion funnel. Learn how to implement purchase tracking, send transaction data with custom properties, and measure the funnel from product view to purchase, in aggregate and without cookies.
## Available Guides
- [eCommerce Setup Guide](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide.md) - Step-by-step instructions for implementing purchase and revenue tracking
- [Event Properties Guide](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/event-properties.md) - Learn which data fields to send with conversion events for maximum insight
## Reconciling Against Your ERP / CRM
If Sealmetrics shows substantially fewer conversions than your ERP, CRM, or internal database, the cause is almost always the same: the **base pixel must fire and register the pageview before `sealmetrics.conv(...)` is called** on the confirmation page. See [Conversions Don't Match Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) for the full diagnostic — firing order, off-domain confirmation pages, payment methods that skip the thank-you page, and the rest of the secondary causes.
## eCommerce Setup Guide
URL: https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide/
Complete guide to tracking eCommerce conversions, revenue, and funnel events with Sealmetrics. Includes examples for WooCommerce, Shopify, and custom platforms.
This guide covers how to implement complete eCommerce tracking with Sealmetrics, from product views to purchase completion.
## Quick Start
### 1. Install the Tracker
Add to every page of your store:
```html
```
### 2. Track Purchases
On your thank-you/confirmation page:
```html
```
That's the minimum setup. The `items` array is optional but recommended for detailed product analytics. Read on for complete funnel tracking.
## The eCommerce Funnel
Track the funnel from product view to purchase:
| Step | Event Type | Function |
| --- | --- | --- |
| Product View | Microconversion | `sealmetrics.micro('view_item', {...})` |
| Add to Cart | Microconversion | `sealmetrics.micro('add_to_cart', {...})` |
| View Cart | Microconversion | `sealmetrics.micro('view_cart', {...})` |
| Begin Checkout | Microconversion | `sealmetrics.micro('begin_checkout', {...})` |
| Add Payment Info | Microconversion | `sealmetrics.micro('add_payment_info', {...})` |
| Purchase | Conversion | `sealmetrics.conv('purchase', amount, {...})` |
## Step-by-Step Implementation
### Product View
Track when users view product details. Use `view_item`: it is the name the [Funnel report](https://sealmetrics.com/docs/reports/funnel.md) reads for its View Product step (the legacy `view_product`, still emitted by older integrations, is also accepted and summed).
```javascript
// On product page load
sealmetrics.micro('view_item', {
product_id: 'SKU-123',
product_name: 'Blue Running Shoes',
category: 'footwear',
price: '89.99',
currency: 'EUR'
});
```
### Add to Cart
Track add-to-cart clicks:
```javascript
document.querySelector('.add-to-cart').addEventListener('click', function() {
sealmetrics.micro('add_to_cart', {
product_id: 'SKU-123',
product_name: 'Blue Running Shoes',
price: '89.99',
quantity: '1'
});
});
```
### View Cart
Track when users view their cart:
```javascript
// On cart page load
sealmetrics.micro('view_cart', {
items_count: '3',
cart_value: '267.97'
});
```
### Begin Checkout
Track checkout initiation:
```javascript
// When user starts checkout
sealmetrics.micro('begin_checkout', {
items_count: '3',
cart_value: '267.97'
});
```
### Purchase (Conversion)
Track completed purchases with product details:
```javascript
// On thank-you page
sealmetrics.conv('purchase', 267.97, {
currency: 'EUR',
payment_method: 'credit_card',
items: [
{ product_name: 'Blue Running Shoes', product_id: 'SKU-123', price: 89.99, quantity: 2, category: 'footwear' },
{ product_name: 'Sports Socks', product_id: 'SKU-456', price: 89.99, quantity: 1, category: 'accessories' }
]
});
```
Items format
The `items` property is an **array of objects** inside the third parameter (properties object) of `sealmetrics.conv()`. Each object can contain any key-value fields you need: `product_name`, `price`, `quantity`, `category`, `variant`, `id`, etc. Do **not** pass `items` as a string or as a separate parameter — it must be a native JavaScript array within the properties object.
## Platform-Specific Implementation
### WooCommerce
Add to your `functions.php` or a custom plugin:
```php
// Track purchases on thank-you page
add_action('woocommerce_thankyou', function($order_id) {
$order = wc_get_order($order_id);
if (!$order) return;
// Build items array
$items = array();
foreach ($order->get_items() as $item) {
$product = $item->get_product();
$items[] = array(
'product_name' => $item->get_name(),
'product_id' => $product ? $product->get_id() : '',
'sku' => $product ? $product->get_sku() : '',
'price' => $item->get_total() / max($item->get_quantity(), 1),
'quantity' => $item->get_quantity(),
'category' => wp_strip_all_tags(wc_get_product_category_list($product ? $product->get_id() : 0)),
);
}
?>
// ... full example at https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide/
```
For add-to-cart tracking, add this JavaScript:
```javascript
// WooCommerce AJAX add-to-cart
jQuery(document.body).on('added_to_cart', function(e, fragments, cart_hash, button) {
if (typeof sealmetrics !== 'undefined') {
sealmetrics.micro('add_to_cart', {
product_id: jQuery(button).data('product_id'),
product_name: jQuery(button).data('product_name') || 'Product'
});
}
});
```
### Shopify
In your **checkout.liquid** or via **Additional Scripts** (Settings → Checkout):
```html
{% if first_time_accessed %}
{% endif %}
```
For add-to-cart, use theme JavaScript:
```javascript
// In theme.js or via Shopify ScriptTag API
document.addEventListener('click', function(e) {
if (e.target.matches('[data-add-to-cart]') || e.target.closest('[data-add-to-cart]')) {
var form = e.target.closest('form[action*="/cart/add"]');
if (form && typeof sealmetrics !== 'undefined') {
sealmetrics.micro('add_to_cart', {
product_id: form.querySelector('[name="id"]').value
});
}
}
});
```
### Magento 2
In your checkout success template or via layout XML:
```php
getOrder();
$items = array();
foreach ($order->getAllVisibleItems() as $item) {
$items[] = array(
'product_name' => $item->getName(),
'product_id' => $item->getProductId(),
'sku' => $item->getSku(),
'price' => $item->getPrice(),
'quantity' => (int)$item->getQtyOrdered(),
);
}
?>
```
### PrestaShop
In your order confirmation template:
```php
{if isset($order)}
{/if}
```
## Dynamic Values
### Server-Side Rendering
Pass values from your backend:
```html
```
### Data Layer
If using Google Tag Manager's data layer:
```html
```
## Content Grouping for eCommerce
Use content grouping to segment your pages:
```html
```
## Properties Reference
Recommended properties for eCommerce events:
| Property | Description | Example |
| --- | --- | --- |
| `currency` | ISO 4217 currency code | `'EUR'`, `'USD'` |
| `payment_method` | Payment type | `'credit_card'` |
| `coupon` | Discount code | `'SAVE10'` |
| `items` | Array of product objects (see below) | `[{ product_name: '...', price: 19.99 }]` |
### Product fields inside `items`
Each object in the `items` array can contain any combination of these fields (all are optional, free-form key-value):
| Field | Description | Example |
| --- | --- | --- |
| `product_name` | Product name | `'Blue Running Shoes'` |
| `product_id` | Product SKU/ID | `'SKU-123'` |
| `price` | Unit price | `89.99` |
| `quantity` | Units purchased | `2` |
| `category` | Product category | `'footwear'` |
| `brand` | Brand name | `'Nike'` |
| `variant` | Product variant | `'Blue / Size 42'` |
| `sku` | Stock keeping unit | `'SKU-123-BL'` |
Items format
`items` is an **array of JavaScript objects** inside the properties parameter. Do not pass it as a string or as a separate parameter outside properties. Individual product fields (`product_name`, `price`, etc.) go inside each object of the array, not as top-level properties. You can include any custom fields you need — all are accepted.
## Viewing Product Data in the Dashboard
Once you're tracking purchases with `items`, your product data is available in the **Properties** report.
1. Go to your site in the Sealmetrics dashboard
2. Click **Properties** in the sidebar
3. Select the **Conv. Items** tab
In this mode you can:
- **Browse product fields**: See all fields you've tracked across items (`product_name`, `category`, `brand`, `sku`, etc.) and how frequently each appears
- **Analyze by source**: Select a field (e.g., `product_name`) to see which products are sold by each traffic source, medium, and campaign
- **Export**: Download CSV for any view
The report filters by date range only — there is no filter by conversion type, UTM, channel, country or device on it. See the [Properties report](https://sealmetrics.com/docs/reports/properties.md) for what each mode and toggle actually shows.
Items with a `quantity` field are automatically counted by units — a product with `quantity: 2` counts as 2 in the report.
Tip
Transaction-level properties like `currency`, `payment_method`, and `coupon` are available in the **Conversions** tab of the same Properties report.
## Deduplication
Prevent duplicate conversion tracking:
### Server-Side Flag (Recommended)
Mark orders as tracked in your database:
```php
// PHP example
if (!$order->isTracked()) {
echo '';
$order->markAsTracked();
}
```
## Testing
### Verify Installation
1. Open your store in a browser
2. Open Developer Tools → Network tab
3. Filter by `t.sealmetrics.com`
4. Navigate through pages and complete a test purchase
5. Verify requests are sent with correct data
### Check Data Is Arriving
1. Log in to [Sealmetrics dashboard](https://my.sealmetrics.com)
2. Open your site's **Overview** report
3. Within seconds, the **Last hit** timestamp at the top right updates and your test events are reflected in the numbers
### Verify Conversion Data
1. Go to **Conversions** report — check that purchase amount is correct
2. Go to **Properties** report — verify properties appear in the **Conversions** tab
3. Select **Conv. Items** tab — confirm your product items are listed with correct fields
4. Verify attribution to traffic source
## Related Documentation
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) - Detailed conversion tracking
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Funnel step tracking
- [Google Tag Manager](https://sealmetrics.com/docs/integrations/google-tag-manager.md) - GTM integration
- [WooCommerce Plugin](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md) - Official WooCommerce integration
## Understanding Event Properties in Sealmetrics
URL: https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/event-properties/
Learn how to use event properties in Sealmetrics for advanced conversion tracking, custom data collection, and detailed analytics segmentation, without sending personal data.
Event properties are a core feature of Sealmetrics for businesses requiring detailed conversion tracking without sending personal data in your events. This comprehensive guide explains how to implement, optimize, and leverage event properties to transform your cookieless analytics into a sophisticated business intelligence system.
## What Are Event Properties?
Event properties in Sealmetrics are customizable key-value pairs that attach additional context and metadata to any conversion or micro-conversion event you track. Unlike traditional analytics platforms that rely on cookies to build user profiles, Sealmetrics enables rich data collection through event properties while maintaining a consentless, privacy-first approach.
These properties extend Sealmetrics' baseline tracking capabilities by allowing you to capture business-specific information at the moment of conversion. This approach proves particularly valuable for organizations operating under strict privacy regulations, as it collects contextual data about events rather than building persistent user profiles.
### Core Components of Event Properties
Every event property consists of three fundamental elements:
1. **Property Name**: A descriptive identifier for the data point (e.g., 'product-category', 'plan-type', 'lead-source')
2. **Property Value**: The actual data associated with the property name (e.g., 'electronics', 'premium', 'organic-search')
3. **Event Context**: The conversion or micro-conversion event to which the property attaches
This structure provides flexibility while maintaining data integrity across your analytics implementation.
## How Properties Work in Sealmetrics
When you track a conversion event using Sealmetrics, the platform captures baseline information including the event type (conversion or micro-conversion), the event label (your conversion's name), and associated page view information. Event properties enhance this foundation by adding custom dimensions specific to your business needs.
### Standard Event Tracking Structure
First, add the tracker to your page:
```html
```
Then track a basic conversion:
```javascript
sealmetrics.conv('purchase', 99.99);
```
### Enhanced Tracking with Properties
Add custom properties to capture detailed conversion data:
```javascript
// Conversion tracking with detailed properties
sealmetrics.conv('purchase', 95.99, {
product_id: '12345',
product_category: 'electronics',
currency: 'EUR',
payment_method: 'credit_card',
shipping_country: 'Germany',
discount_code: 'SPRING2024',
customer_type: 'returning',
color: 'red',
size: 'XL'
});
```
The properties object accepts any number of key-value pairs, with both keys and values stored as strings. Sealmetrics processes these properties alongside the core event data, making them available for analysis through API access or BigQuery integration.
## Benefits of Using Event Properties
### 1. Richer Analytics Without Privacy Compromise
Event properties let Sealmetrics collect detailed conversion context without collecting anything that identifies a person — never emails, order IDs or anything identifying a person. Unlike cookie-based systems that track users across sessions, Sealmetrics captures rich context at the moment of conversion without building persistent user profiles.
For organizations concerned about privacy regulations, this approach provides the analytics depth of traditional platforms while avoiding consent requirements. Because measurement doesn't depend on the banner, the conversions of visitors who reject or ignore it are counted too.
### 2. Advanced Segmentation Capabilities
Properties enable sophisticated data segmentation that rivals cookie-based analytics platforms. By attaching relevant metadata to each conversion, you can analyze performance across multiple dimensions:
- Product categories and SKUs
- Customer segments and types
- Geographic regions and markets
- Marketing campaigns and channels
- Pricing tiers and discount applications
- User journey stages and touchpoints
This segmentation capability transforms Sealmetrics from a simple conversion counter into a comprehensive business intelligence tool.
### 3. Marketing Attribution Enhancement
Event properties prove particularly powerful for marketing attribution. By adding campaign, source, and medium information to conversion events, you can understand which marketing efforts drive results without relying on third-party cookies.
```javascript
sealmetrics.conv('trial_started', 0, {
utm_source: 'google',
utm_medium: 'cpc',
utm_campaign: 'q4-promotion',
ad_group: 'cookieless-analytics',
landing_page: '/features/gdpr-compliance'
});
```
This approach maintains full attribution visibility even as browsers increasingly restrict third-party tracking mechanisms.
### 4. Business-Specific Custom Metrics
Every business has unique data requirements. Event properties allow Sealmetrics to adapt to your specific needs without requiring platform modifications. Whether you're tracking SaaS subscriptions, eCommerce transactions, lead generation, or B2B conversions, properties enable customization that fits your business model.
## Implementation Examples
### eCommerce Purchase Tracking
For online retailers, use the `items` property to send detailed per-product data alongside transaction-level properties:
```javascript
sealmetrics.conv('purchase', 249.97, {
currency: 'EUR',
payment_method: 'credit_card',
shipping_country: 'Germany',
shipping_method: 'express',
discount_code: 'WELCOME10',
customer_type: 'new',
items: [
{ product_name: 'Wireless Headphones', product_id: 'WH-100', price: 79.99, quantity: 2, category: 'electronics', brand: 'AudioTech' },
{ product_name: 'USB-C Cable', product_id: 'USB-C-3M', price: 89.99, quantity: 1, category: 'accessories' }
]
});
```
The `items` array is a native JavaScript array of objects inside the properties parameter. Each object can contain any key-value fields you need (`product_name`, `price`, `quantity`, `category`, `brand`, `variant`, `sku`, etc.). Do not pass `items` as a string or outside the properties object.
This implementation enables analysis of:
- Revenue by product category
- Discount code effectiveness
- Shipping method preferences by region
- Average order value by customer type
- Payment method adoption rates
- Per-product performance and sales volume
To analyze your product items, go to **Properties > Conv. Items** in the dashboard. You'll see each product field (name, category, brand, etc.) broken down by traffic source, medium, and campaign.
### SaaS Subscription Tracking
Software-as-a-Service companies benefit from tracking subscription details and upgrade patterns:
```javascript
sealmetrics.conv('subscription_purchased', 49.00, {
plan_type: 'premium',
subscription_term: 'annual',
billing_cycle: 'yearly',
discount_applied: 'SPRING25',
previous_plan: 'basic',
account_size: 'team',
user_count: '5',
upgrade: 'true',
trial_used: 'true',
trial_duration: '14',
signup_source: 'product-hunt'
});
```
This data structure supports analysis of:
- Plan conversion rates
- Upgrade patterns from trial to paid
- Discount impact on conversions
- Team size distribution
- Acquisition channel effectiveness
### Lead Generation Tracking
B2B companies capturing leads can track qualification criteria and lead quality indicators:
```javascript
sealmetrics.conv('lead', 0, {
lead_source: 'blog-post',
content_title: 'cookieless-analytics-guide',
interested_in: 'analytics-solution',
company_size: '50-100',
industry: 'healthcare',
job_title: 'marketing-director',
country: 'Netherlands',
form_location: 'blog-sidebar',
returning_visitor: 'false'
});
```
Properties enable lead scoring and qualification based on:
- Company characteristics (size, industry, location)
- Engagement depth (time, pages viewed)
- Content interest areas
- Lead source and channel
### Event Tracking for Downloads and Content
Content marketing teams can track digital asset performance:
```javascript
sealmetrics.micro('whitepaper_downloaded', {
document_title: 'gdpr-compliance-guide-2025',
document_category: 'compliance',
file_format: 'pdf',
file_size: '2.4mb',
page_number: '32',
download_source: 'resource-center',
visitor_type: 'anonymous',
industry_tag: 'fintech',
content_gate: 'true'
});
```
## How to Add Properties in Sealmetrics
### Step 1: Plan Your Property Schema
Before implementation, document the properties you need for each conversion type. Consider:
- What business questions you need to answer
- Which data points enable those answers
- Naming conventions for consistency
- Expected value formats and types
Create a properties schema document that lists each conversion type and its associated properties.
### Step 2: Navigate to Conversion Setup
Access your Sealmetrics dashboard and navigate to the conversion setup screen. Select the conversion event you want to enhance with properties.
### Step 3: Enable Properties
In the conversion configuration:
1. Locate the "Add properties to your event" option
2. Select "Yes" to enable property tracking
3. Review the generated tracking code template
### Step 4: Define Custom Properties
Modify the tracking code to include your specific property names and values:
```javascript
sealmetrics.conv('your_conversion_name', 0, {
property_name_1: 'value-1',
property_name_2: 'value-2'
// Add all relevant properties
});
```
### Step 5: Implement Tracking Code
Add the complete tracking code to your website at the appropriate trigger point:
- For purchase completions: Thank you page or order confirmation
- For form submissions: Form success callback
- For downloads: Download click handler
- For sign-ups: Registration completion
### Step 6: Test Implementation
Before deploying to production:
1. Trigger test conversions
2. Verify properties appear in API responses
3. Confirm data types and formats are correct
4. Check that all expected properties capture values
## Best Practices for Event Properties
### 1. Establish Consistent Naming Conventions
Use clear, descriptive naming patterns that your entire team understands:
- **Use kebab-case**: `product-category` instead of `productCategory` or `product_category`
- **Be specific**: `subscription-plan-type` instead of just `type`
- **Include context**: `payment-method` instead of just `method`
- **Avoid abbreviations**: `customer-lifetime-value` instead of `clv`
Consistency ensures that anyone analyzing data understands what each property represents.
### 2. Track Only Actionable Data
Every property should serve a specific analytical purpose. Avoid tracking data "just in case" as this increases complexity without adding value.
Ask for each property:
- What decision will this data inform?
- How will we segment or filter using this property?
- Does this data duplicate information available elsewhere?
If you cannot answer these questions, reconsider whether the property is necessary.
### 3. Use Descriptive Property Names
Property names should be self-explanatory without requiring documentation reference. Someone reviewing your data six months later should immediately understand what each property represents.
**Good examples:**
- `subscription-renewal-count`
- `previous-plan-name`
- `discount-percentage-applied`
- `customer-acquisition-source`
**Poor examples:**
- `count`
- `prev`
- `disc`
- `src`
### 4. Maintain Consistent Data Types
While Sealmetrics stores all property values as strings, maintain consistent formatting for numerical and boolean values:
- **Numbers**: Always format the same way (`99.99` not `$99.99` or `99.99 EUR`)
- **Booleans**: Use `'true'`/`'false'` consistently, not `'yes'`/`'no'` or `'1'`/`'0'`
- **Dates**: Use ISO 8601 format (`2024-11-20T14:30:00Z`)
- **Categories**: Use consistent casing (`'premium'` not sometimes `'Premium'`)
This consistency simplifies analysis and prevents segmentation issues.
### 5. Document Your Property Schema
Maintain internal documentation that lists:
- All conversion types in your Sealmetrics implementation
- Properties associated with each conversion type
- Expected value formats and examples
- Business purpose for each property
- Data ownership and update responsibility
This documentation proves invaluable as your team grows and your implementation evolves.
### 6. Consider Data Privacy Implications
Even with Sealmetrics' consentless approach, be mindful of what data you collect through properties:
- **Avoid personal identifiers**: Don't include names, email addresses, or personal IDs
- **Aggregate categories**: Use `'company-size: 50-100'` instead of exact employee counts
- **Generalize locations**: Use country or region, not specific addresses
- **Exclude sensitive data**: Avoid health information, financial details, or other sensitive categories
Sealmetrics is designed to comply with the GDPR (self-assessed, not certified), but what you put in event properties is your responsibility: never send personal data.
### 7. Plan for Scale
Consider how your property schema will scale:
- Will new products require new properties?
- Can your naming system accommodate growth?
- Are your property names future-proof?
- Have you left room for additional dimensions?
A well-planned schema accommodates business growth without requiring complete restructuring.
## Accessing Properties Data
### Properties Report (Dashboard)
Event properties are available directly in the Sealmetrics dashboard through the **Properties** report. Navigate to your site and click **Properties** in the sidebar.
The Properties report has three modes, selectable via a button group:
| Mode | What it shows |
| --- | --- |
| **Conversions** | Properties from conversion events (e.g., `currency`, `payment_method`, `coupon`) |
| **Microconversions** | Properties from microconversion events |
| **Conv. Items** | Individual product data from the `items` array in purchase conversions |
#### Conv. Items Mode
When you select **Conv. Items**, the report displays per-product analytics from your conversion items. Each product sent in the `items` array appears as a separate entry with all its fields (e.g., `product_name`, `category`, `brand`, `price`, `sku`).
You can:
- **Browse available properties**: See all product fields you've tracked and how often each appears
- **Analyze by attribution**: Select any property (e.g., `product_name`) to see a breakdown by traffic source, medium, and campaign
- **Switch between Totals and Rates**: View raw counts or conversion rates
- **Apply filters**: Filter by conversion type, UTM parameters, channel, country, or device
- **Export to CSV**: Download the data for any mode
**Note:** The `quantity` field is automatically respected — a product with `quantity: 2` counts as 2 units in the report. The `quantity` field itself is not shown as a reportable property since it's used for counting.
**Tip:** When viewing properties in **Conversions** mode, the `items` key is automatically hidden from the property list since its data is better explored in **Conv. Items** mode.
### API Access
You can also query your conversion data programmatically using the Sealmetrics API. This approach suits:
- Custom dashboard development
- Integration with existing business intelligence tools
- Automated reporting workflows
- Real-time data analysis applications
The API returns complete event data including all properties, enabling you to build tailored analytics interfaces that display exactly the metrics your business needs.
### BigQuery Integration
For advanced analytics and data warehouse integration, Sealmetrics offers BigQuery connectivity. This option provides:
- **SQL-based analysis**: Query properties using familiar SQL syntax
- **Cross-platform analysis**: Join Sealmetrics data with other business data sources
- **Advanced aggregations**: Perform complex calculations across properties
- **Data visualization**: Connect to tools like Looker, Tableau, or Data Studio
- **Historical analysis**: Analyze trends across extended time periods
BigQuery integration transforms Sealmetrics into a comprehensive analytics warehouse while maintaining the privacy-first approach that makes cookieless tracking possible.
## Comparison: Event Properties vs. Cookie-Based Analytics
| Feature | Sealmetrics Event Properties | Google Analytics (Cookie-based) |
| --- | --- | --- |
| **Data Collection Method** | Event-attached properties | User-scoped cookies + events |
| **Privacy Compliance** | Designed for GDPR, no consent banner (self-assessed) | Requires consent banners |
| **User Tracking** | Event-level only | Cross-session user profiles |
| **Data Loss from Consent** | Not reduced by consent (self-assessed; Germany: open question) | Visitors who reject consent are lost; varies by site |
| **Custom Dimensions** | Unlimited properties | Limited by plan (20-200) |
| **Implementation Complexity** | Simple key-value pairs | Complex data layer configuration |
| **Data Availability** | Dashboard + API + BigQuery | Dashboard + API |
| **Historical Analysis** | Full event history | Subject to data retention policies |
| **Cross-domain Tracking** | Manual property passing | Automatic with cookie linking |
| **Real-time Analysis** | Via API | Dashboard interface |
Sealmetrics' event properties approach trades cross-session user tracking for data capture that does not depend on consent. For businesses prioritizing data completeness and privacy compliance, this tradeoff proves highly favorable.
## Troubleshooting Common Issues
### Properties Not Appearing in API Response
**Possible causes:**
1. Properties not properly formatted in tracking code
2. Conversion event not firing correctly
3. API query not requesting property data
**Solutions:**
- Verify tracking code syntax matches documentation examples
- Use browser console to confirm conversion events fire
- Check API request includes property fields in query
- Test with a simple property first (e.g., `'test': 'value'`)
### Inconsistent Property Values
**Possible causes:**
1. Multiple developers using different naming conventions
2. Dynamic value generation producing varied formats
3. Conditional logic creating inconsistent data
**Solutions:**
- Document and enforce naming conventions
- Implement validation functions for value formatting
- Review all tracking code for consistency
- Use constants for repeated property values
### Property Data Not Available in BigQuery
**Possible causes:**
1. BigQuery integration not configured
2. Permissions not properly set
3. Data sync delay
**Solutions:**
- Confirm BigQuery integration is active with Sealmetrics team
- Verify BigQuery project permissions
- Check the integration status panel for **Last Sync** / **Next Sync**: BigQuery is a scheduled export (hourly, daily or manual), so a property sent minutes ago will not be in BigQuery until the next sync runs. An initial backfill can take several hours — see [BigQuery integration](https://sealmetrics.com/docs/integrations/bigquery.md)
- Check BigQuery dataset for Sealmetrics tables
## Frequently Asked Questions
### How many properties can I attach to a single event?
Sealmetrics does not enforce a hard limit on property count per event. However, best practice recommends 10-20 properties per event for optimal performance and clarity. If you find yourself needing more properties, consider whether you're tracking redundant data or if some properties should be split into separate events.
### Are properties stored forever?
Property data retention follows the Sealmetrics data retention policy: conversion data (including properties) is kept for 24 months. Retention is fixed and identical for every plan — it is enforced by database TTLs and is not configurable. See [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md).
### Can I update properties after an event is tracked?
No. Event properties are immutable once the event is tracked. This immutability ensures data integrity and accurate historical analysis. If you need to correct property data, implement the fix in your tracking code for future events.
### Do properties affect page load performance?
Property inclusion has minimal impact on page performance. Sealmetrics tracking is asynchronous and lightweight. However, avoid generating properties through expensive calculations or external API calls during page load. Generate property values in advance when possible.
### Can I use properties for funnel analysis?
Yes. Properties enable sophisticated funnel analysis by allowing segmentation at each funnel stage. Track relevant properties at each conversion step, then use API or BigQuery queries to analyze drop-off rates across different segments.
### How do properties work with micro-conversions?
Properties work identically for micro-conversions and full conversions. Use the same implementation pattern with `sealmetrics.micro('event_name', {...})`. This consistency simplifies implementation and analysis.
### Can I filter dashboard data by properties?
Yes. The **Properties** report in the dashboard lets you explore property data directly. You can select any property key, view its values broken down by traffic source/medium/campaign, and apply filters by conversion type, UTMs, channel, country, or device. For product-level data, use the **Conv. Items** mode to analyze individual items from your purchase conversions.
### Are there reserved property names I should avoid?
Sealmetrics does not reserve specific property names, but avoid using names that conflict with event metadata (like 'label', 'type', or 'timestamp'). Use descriptive, specific names that clearly differentiate your custom properties from event metadata.
### How do I handle multi-value properties?
For simple multi-value properties (like multiple categories), you can use a delimiter within the string value:
```javascript
{
'product-categories': 'electronics,accessories,cables'
}
```
For product-level data, use the `items` array to send structured objects:
```javascript
sealmetrics.conv('purchase', 149.99, {
currency: 'EUR',
items: [
{ product_name: 'Headphones', price: 79.99, quantity: 1, category: 'electronics' },
{ product_name: 'Cable', price: 9.99, quantity: 2, category: 'accessories' }
]
});
```
The `items` array is a native JavaScript array of objects inside the properties object. Do not pass it as a string.
### Can properties include special characters?
Property names should use alphanumeric characters and hyphens only. Property values can include most characters, but avoid characters that require URL encoding or have special meaning in SQL queries (quotes, semicolons, etc.) to simplify analysis.
### How do properties compare to Google Analytics custom dimensions?
Sealmetrics properties are more flexible than GA custom dimensions. While GA limits custom dimensions by plan (typically 20-200), Sealmetrics allows unlimited properties per event. Additionally, Sealmetrics properties attach to individual events, while GA custom dimensions typically scope to users or sessions, making Sealmetrics more flexible for event-level analysis.
### Do I need developer resources to implement properties?
Basic property implementation requires minimal technical knowledge - if you can implement standard Sealmetrics tracking, you can add properties. However, dynamic property generation, validation, and advanced patterns may require developer assistance. Start simple and increase complexity as needed.
## Next Steps
Now that you understand event properties in Sealmetrics, consider these next actions:
1. **Audit Current Tracking**: Review existing conversions and identify where properties would add analytical value
2. **Design Property Schema**: Document properties needed for each conversion type
3. **Implement Test Properties**: Start with 1-2 conversions and basic properties
4. **Verify Data Collection**: Use API to confirm properties capture correctly
5. **Expand Implementation**: Gradually add properties to remaining conversions
6. **Request Advanced Access**: Contact Sealmetrics for API documentation or BigQuery integration
7. **Build Custom Dashboards**: Leverage properties data for business-specific analytics
Event properties transform Sealmetrics from simple conversion tracking into a comprehensive business intelligence platform. By capturing rich contextual data at the moment of conversion, you gain analytical depth comparable to cookie-based platforms without sending personal data and without depending on consent.
The consentless approach combined with flexible property schemas positions Sealmetrics as the analytics solution for privacy-conscious organizations that refuse to compromise on data quality and analytical capabilities.
## Tracking Methods
URL: https://sealmetrics.com/docs/implementation/tracking-methods/
Advanced Sealmetrics tracking guides for SPAs, React apps, and AJAX forms, plus how to exclude specific pages from your cookieless analytics data.
Advanced tracking implementations for different technologies and frameworks. This section provides specialized guides for implementing Sealmetrics in modern web applications that require custom tracking approaches.
Single-page applications, React sites, and AJAX-based interfaces need different tracking strategies than traditional multi-page websites. Learn how to capture navigation events in SPAs, track form submissions that don't reload the page, integrate with React components, and control which page views are recorded to ensure accurate analytics data.
## Available Guides
- [How to Track AJAX Forms](https://sealmetrics.com/docs/implementation/tracking-methods/how-to-track-ajax-forms.md) - Capture form submissions without page reloads
- [How to Track React](https://sealmetrics.com/docs/implementation/tracking-methods/how-to-track-react.md) - Integrate Sealmetrics with React applications
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) - Implement tracking for single-page applications and client-side routing
- [Ignore Page View](https://sealmetrics.com/docs/implementation/tracking-methods/ignore-page-view.md) - Prevent specific pages from being tracked
## How to Track React Sites
URL: https://sealmetrics.com/docs/implementation/tracking-methods/how-to-track-react/
Complete guide to tracking React applications with Sealmetrics. Includes examples for react-router, conversions, and microconversions.
Sealmetrics works seamlessly with React applications. The tracker automatically detects navigation via react-router and tracks pageviews without additional configuration.
## Installation
Add the tracker script to your `index.html` or use React's Script handling:
### Option 1: In public/index.html
```html
My React App
```
### Option 2: Using React Helmet
```jsx
import { Helmet } from 'react-helmet';
function App() {
return (
<>
{/* Your app content */}
>
);
}
```
## Automatic Pageview Tracking
Once installed, the tracker automatically tracks:
- Initial page load
- Navigation via `react-router` (both v5 and v6)
- Browser back/forward navigation
- Any History API-based routing
**No additional setup required** for basic pageview tracking.
## Tracking Conversions
Track purchases, signups, and other goal completions:
```jsx
import { useEffect } from 'react';
function ThankYouPage({ order }) {
useEffect(() => {
// Track conversion after component mounts
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', order.total, {
currency: order.currency,
payment_method: order.paymentMethod
});
}
}, [order]);
return (
Thank you for your purchase!
Order #{order.id}
);
}
```
## Tracking Microconversions
Track user interactions and funnel steps:
### Add to Cart
```jsx
function ProductPage({ product }) {
const handleAddToCart = () => {
// Your cart logic...
if (typeof sealmetrics !== 'undefined') {
sealmetrics.micro('add_to_cart', {
product_id: product.id,
product_name: product.name,
price: String(product.price),
category: product.category
});
}
};
return (
;
}
// Thank you page
function ThankYouPage({ order }) {
// ... full example at https://sealmetrics.com/docs/implementation/tracking-methods/how-to-track-react/
```
## Troubleshooting
### Tracker not defined
Always check if the tracker is loaded before using it:
```jsx
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', 99.99);
}
```
### Duplicate pageviews
- Ensure the tracker script is only included once
- Don't manually call `sealmetrics()` if automatic tracking is sufficient
- Use `useEffect` with proper dependencies to avoid re-triggering
### Events not appearing
1. Check the browser Network tab for requests to `t.sealmetrics.com`
2. Verify your Site ID is correct
3. Check the **Last hit** timestamp on the **Overview** report in your Sealmetrics dashboard — it updates within seconds of a tracked hit; conversions appear in the **Conversions** report
## Related Documentation
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) - Detailed SPA integration
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) - All conversion tracking options
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Tracking user interactions
- [Next.js Integration](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md) - For Next.js projects
## How to Track AJAX Forms
URL: https://sealmetrics.com/docs/implementation/tracking-methods/how-to-track-ajax-forms/
Track form submissions and conversions from AJAX forms with Sealmetrics. Works with any JavaScript framework.
Track conversions when AJAX forms are submitted successfully.
## Prerequisites
Ensure the Sealmetrics tracker is installed on your page:
```html
```
## Basic Implementation
Call `sealmetrics.conv()` or `sealmetrics.micro()` in your AJAX success callback:
```javascript
// Example with fetch API
fetch('/api/submit-form', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
if (data.success) {
// Track the form submission as a conversion
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('lead', 0, {
form_name: 'contact',
form_location: 'homepage'
});
}
}
});
```
## jQuery AJAX Example
```javascript
$.ajax({
url: '/api/submit-form',
method: 'POST',
data: formData,
success: function(response) {
// Track successful submission
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('lead', 0, {
form_name: 'newsletter',
source: 'footer'
});
}
}
});
```
## Conversion vs Microconversion
Choose the right method based on your goal:
| Goal Type | Method | Example |
| --- | --- | --- |
| Lead form (valuable) | `sealmetrics.conv()` | Contact form, quote request |
| Newsletter signup | `sealmetrics.conv()` | Email subscription |
| Minor interaction | `sealmetrics.micro()` | Feedback form, comments |
### Conversion Example (with value)
```javascript
// Lead with estimated value
sealmetrics.conv('lead', 50, {
form_name: 'quote_request',
service: 'consulting'
});
```
### Microconversion Example
```javascript
// Form step completion (no monetary value)
sealmetrics.micro('form_step', {
step: 'personal_info',
form_name: 'checkout'
});
```
## Framework Examples
### React
```jsx
const handleSubmit = async (e) => {
e.preventDefault();
try {
const response = await fetch('/api/contact', {
method: 'POST',
body: JSON.stringify(formData)
});
if (response.ok) {
// Track conversion
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('lead', 0, {
form_name: 'contact'
});
}
}
} catch (error) {
console.error('Form submission failed');
}
};
```
### Vue.js
```javascript
async submitForm() {
try {
await this.$axios.post('/api/contact', this.formData);
// Track conversion
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('lead', 0, {
form_name: 'contact'
});
}
} catch (error) {
console.error('Form submission failed');
}
}
```
## Best Practices
1. **Track only on success** — Don't fire tracking on form errors
2. **Check tracker exists** — Always use `typeof sealmetrics!== 'undefined'`
3. **Include form context** — Add properties like `form_name` and `form_location`
4. **Avoid duplicates** — Track once per successful submission
## Troubleshooting
### Conversion not appearing
1. Check browser Network tab for beacon to `t.sealmetrics.com`
2. Verify the tracker script is loaded before your AJAX code
3. Ensure the success callback is actually firing
### Duplicate conversions
If you're seeing duplicates, ensure your tracking code only fires once:
```javascript
let formTracked = false;
function onFormSuccess() {
if (!formTracked && typeof sealmetrics !== 'undefined') {
sealmetrics.conv('lead', 0, { form_name: 'contact' });
formTracked = true;
}
}
```
## Related Documentation
- [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md) - Full conversion tracking reference
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Event tracking
- [Troubleshooting](https://sealmetrics.com/docs/troubleshooting.md) - Common issues and solutions
## Manual Pageview Control
URL: https://sealmetrics.com/docs/implementation/tracking-methods/ignore-page-view/
Control when pageviews are tracked in Sealmetrics. Useful for SPAs, multi-step forms, and custom navigation patterns.
The Sealmetrics tracker automatically tracks pageviews on page load and SPA navigation. However, there are scenarios where you need manual control over when pageviews are recorded.
## Automatic Behavior
By default, the tracker:
1. **Tracks initial pageview** when the script loads
2. **Tracks SPA navigation** via History API (`pushState`, `replaceState`, `popstate`)
For most websites, this is all you need.
## When to Use Manual Control
### 1. Hash-Based Routing
If your SPA uses hash-based routing (`#/page` instead of `/page`), you need to manually trigger pageviews:
```javascript
window.addEventListener('hashchange', function() {
if (typeof sealmetrics !== 'undefined') {
sealmetrics();
}
});
```
### 2. Multi-Step Forms
Track each step of a multi-step form as a separate pageview:
```javascript
function goToStep(stepNumber) {
// Your form logic...
// Track as pageview with content group
if (typeof sealmetrics !== 'undefined') {
sealmetrics({ group: 'checkout-step-' + stepNumber });
}
}
```
### 3. Modal/Tab Navigation
Track when users open significant modals or tabs:
```javascript
function openProductModal(productId) {
// Your modal logic...
// Track modal open as pageview
if (typeof sealmetrics !== 'undefined') {
sealmetrics({ group: 'product-modal' });
}
}
```
## Tracking Events Without Pageviews
When you want to track an event (conversion or microconversion) without recording an additional pageview, simply call the event method directly:
```javascript
// Track a microconversion (no pageview recorded)
sealmetrics.micro('video_play', {
video_id: 'demo-2025'
});
// Track a conversion (no pageview recorded)
sealmetrics.conv('lead', 0, {
form_name: 'contact'
});
```
Events (`conv()` and `micro()`) never create additional pageviews. Only `sealmetrics()` creates pageviews.
## Content Grouping with Manual Pageviews
When calling manual pageviews, you can set the content group:
```javascript
// Navigate to checkout step 2
sealmetrics({ group: 'checkout' });
// Navigate to product detail
sealmetrics({ group: 'product' });
```
## Best Practices
1. **Don't duplicate pageviews** — If automatic tracking works, don't call `sealmetrics()` manually
2. **Use content groups** — When calling manual pageviews, set meaningful groups
3. **Events don't need pageviews** — `conv()` and `micro()` are standalone events
4. **Check tracker exists** — Always use `typeof sealmetrics!== 'undefined'`
## Related Documentation
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) - Automatic SPA tracking
- [Content Grouping](https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping.md) - Page categorization
- [Microconversions](https://sealmetrics.com/docs/implementation/tracker/microconversions.md) - Event tracking
---
# Integrations
## Integrations Overview
URL: https://sealmetrics.com/docs/integrations/
Connect Sealmetrics with your favorite platforms, frameworks, and tools
Install Sealmetrics on any platform with our official integrations. All integrations are privacy-first and cookieless, and designed for GDPR (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md)).
## Platform Integrations
### CMS Platforms
### WordPress
Plugin for WordPress sites with automatic form tracking and content grouping.
[View Docs](https://sealmetrics.com/docs/integrations/cms/wordpress.md)
### Drupal
Module for Drupal 9, 10, and 11 with Webform integration.
[View Docs](https://sealmetrics.com/docs/integrations/cms/drupal.md)
### Joomla
Plugin for Joomla 4.x and 5.x with eCommerce extension support.
[View Docs](https://sealmetrics.com/docs/integrations/cms/joomla.md)
### eCommerce Platforms
### WooCommerce
Complete eCommerce funnel tracking for WordPress + WooCommerce.
[View Docs](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md)
### Magento 2
Full tracking module for Magento 2.4+ / Adobe Commerce.
[View Docs](https://sealmetrics.com/docs/integrations/ecommerce/magento.md)
### PrestaShop
Module for PrestaShop 1.7+ and 8.x with variation tracking.
[View Docs](https://sealmetrics.com/docs/integrations/ecommerce/prestashop.md)
### OpenCart
Extension for OpenCart 3.x and 4.x stores.
[View Docs](https://sealmetrics.com/docs/integrations/ecommerce/opencart.md)
### Shopify
App embed with automatic eCommerce event and checkout tracking.
[View Docs](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md)
### BigCommerce
Storefront tracking for BigCommerce (private beta).
[View Docs](https://sealmetrics.com/docs/integrations/ecommerce/bigcommerce/)
### JavaScript Frameworks
### Next.js
NPM package with App Router and Pages Router support.
[View Docs](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md)
### React
React package with hooks, provider, and React Router support.
[View Docs](https://sealmetrics.com/docs/integrations/frameworks/react.md)
### Nuxt 3
Nuxt module with composables and auto-imports.
[View Docs](https://sealmetrics.com/docs/integrations/frameworks/nuxt.md)
### Website Builders
### Webflow
Auto-tracking for forms, videos, CTAs, and Webflow eCommerce.
[View Docs](https://sealmetrics.com/docs/integrations/website-builders/webflow.md)
### Wix
Support for Wix Editor, Wix Stores, Bookings, and Velo.
[View Docs](https://sealmetrics.com/docs/integrations/website-builders/wix.md)
### Squarespace
Code Injection integration with Commerce support.
[View Docs](https://sealmetrics.com/docs/integrations/website-builders/squarespace.md)
### Tag Management
### GTM Container Template
Ready-to-import container with all tags, triggers, and variables.
[View Docs](https://sealmetrics.com/docs/integrations/tag-management/gtm-template.md)
### GTM Tag Template
Official GTM tag template for custom implementations.
[View Docs](https://sealmetrics.com/docs/integrations/google-tag-manager.md)
## Data & Analytics
### Data Warehouses
### BigQuery
Export analytics data to Google BigQuery for advanced SQL analysis, custom reporting, and BI tool integration.
[View Docs](https://sealmetrics.com/docs/integrations/bigquery.md)
### Data Studio
Build custom dashboards in Google Data Studio with the official Sealmetrics connector — 7 report types available.
[View Docs](https://sealmetrics.com/docs/platform/settings/integrations/looker-studio.md)
## Tools & Services
### AI Assistant Integrations
### Agentic Package (Claude & Codex)
One-click AI package that **creates a free account from the chat**, hands you the tracking pixel, and queries your data — no API key or terminal needed to start.
[View Documentation](https://sealmetrics.com/docs/integrations/agentic-package.md)
### Desktop Extension (.mcpb)
One-click **Claude Desktop** extension. Download, double-click, done — no terminal or config. Install, settings, and update reference.
[View Documentation](https://sealmetrics.com/docs/integrations/extensions.md)
### MCP Server
Connect Claude, ChatGPT, Cursor, and Codex to query traffic, conversions, ROAS, and more in natural language. Use the **hosted remote server** (one URL, no install) or the local `npx` server with your API key.
[View Documentation](https://sealmetrics.com/docs/integrations/mcp-server.md)
## Quick Installation Guide
### For Most Websites
1. Choose your platform from the list above
2. Download the plugin/module/script
3. Install following the platform-specific instructions
4. Enter your **Account ID** — this is your Site ID, shown in **Settings → Sites → [your site] → General** ([how to find it](https://sealmetrics.com/docs/platform/account-setup/find-account-id.md))
5. Save and publish
### For Custom Implementations
If your platform isn't listed, you can:
1. Use the [GTM Container Template](https://sealmetrics.com/docs/integrations/tag-management/gtm-template.md) for tag manager-based installation
2. Use the [JavaScript Tracker](https://sealmetrics.com/docs/implementation/tracker/installation.md) directly
3. Use the [API](https://sealmetrics.com/docs/api.md) to read your reports from your own systems (collection goes through the JavaScript tracker, or the Shopify webhook on Shopify)
## Need Help?
If your platform isn't listed or you need assistance, contact us at [support@sealmetrics.com](mailto:support@sealmetrics.com).
## AI Agentic Package (Claude & Codex)
URL: https://sealmetrics.com/docs/integrations/agentic-package/
One-click AI package that creates a free Sealmetrics account, hands you the tracking pixel, and lets your AI assistant query your analytics — all from chat, no terminal and no dashboard login required to start.
The **Sealmetrics Agentic Package** lets an AI assistant set up analytics for you end to end — **from a chat, with no terminal and no dashboard login required to start**. Once installed, your assistant can:
1. **Create a free Sealmetrics account** for your site.
2. **Give you the tracking pixel** (and place it for you if it has access to your code).
3. **Query your traffic and conversions** through more than 40 read-only analytics tools.
It ships as a one-click **extension for Claude Desktop** (a `.mcpb` bundle) and runs via `npx` in **Codex and other MCP clients**.
Two ways to connect, pick one
- **Don't have an account yet?** Use this page — the package creates one for you from the chat.
- **Already have an account and just want to query data?** Use the [MCP Server](https://sealmetrics.com/docs/integrations/mcp-server.md) page instead (manual config with your API key).
## What you need
- **[Claude Desktop](https://claude.ai/download)** (latest version) — for the one-click extension, **or** **[Codex CLI](https://developers.openai.com/codex/cli)** for the plugin.
- An **email address** — you'll receive a link to claim the account and set a password.
- *(Optional)* Access to your website's code, so the assistant can place the pixel for you. Not required — you can paste the snippet yourself.
You do **not** need an existing Sealmetrics account, an API key, or the terminal to get started.
## Option A — Claude Desktop (one-click extension)
### Step 1: Download and install the extension
1. Download the extension: **[Download Sealmetrics for Claude Desktop](https://cdn.jsdelivr.net/npm/@sealmetrics/mcp/dist/sealmetrics.mcpb)** *(`sealmetrics.mcpb`)*.
2. Open **Claude Desktop → Settings → Extensions**.
3. Drag the `sealmetrics.mcpb` file into the window (or click **Install extension** and select it).
4. Click **Install**.
Extension reference
For the full install, settings, update, and uninstall reference of the `.mcpb`, see [Desktop Extension (.mcpb)](https://sealmetrics.com/docs/integrations/extensions.md).
Leave the API key empty
On the extension's settings screen, **leave the “Sealmetrics API key” field empty**. That's what tells the package to **register a brand-new site from the chat**. (You'd only paste a key here if you already have one and want to query existing data right away.)
1. Make sure the extension is **enabled**, then close Settings.
### Step 2: Create your account from the chat
Open a new chat and just ask, for example:
> *"Create a Sealmetrics analytics site for myshop.com"*
Claude will:
1. Show you the [Sealmetrics Terms of Service](https://sealmetrics.com/terms.md) and ask you to **confirm you accept them** (it will not accept on your behalf).
2. Ask for your **email** (and optionally a site name and your name).
3. Run the `provision_site` tool, which creates the account and returns: your **account ID**,
4. the **tracking snippet** to install,
5. a **claim link sent to your email** to set a password.
That's it — the account exists and the read-only analytics tools turn on **for this session**.
### Step 3: Install the tracking pixel
Claude gives you a `
```
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- No order IDs or user IDs stored
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying Sealmetrics tracker loads.
- [Understanding Event Properties in Sealmetrics](https://sealmetrics.com/docs/implementation/custom-properties/event-properties.md) — the model behind the form, search, and 404 events this plugin fires.
- [WordPress](https://sealmetrics.com/docs/integrations/cms/wordpress.md) — the equivalent integration for WordPress sites.
- [Drupal](https://sealmetrics.com/docs/integrations/cms/drupal.md) — the equivalent integration for Drupal sites.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## WooCommerce
URL: https://sealmetrics.com/docs/integrations/ecommerce/woocommerce/
Install the Sealmetrics WooCommerce plugin for cookieless tracking of the full eCommerce funnel — product views, cart, checkout, and purchase revenue.
Privacy-first, cookieless analytics for WordPress + WooCommerce stores with complete eCommerce funnel tracking.
## Requirements
- WordPress 5.8+
- WooCommerce 6.0+
- PHP 7.4+
## Installation
### Step 1: Get the Plugin
Download the Sealmetrics WooCommerce plugin from your Sealmetrics dashboard, under **Settings → Integrations**.
### Step 2: Upload to WordPress
1. Go to **WordPress Admin > Plugins > Add New > Upload Plugin**
2. Upload the ZIP file and click **Install Now**
3. Activate the plugin
### Step 3: Configure
1. Go to **Settings > Sealmetrics**
2. Enter your **Account ID** — this is your Site ID, shown in **Settings → Sites → [your site] → General** ([how to find it](https://sealmetrics.com/docs/platform/account-setup/find-account-id.md))
3. Save changes
## Configuration Options
| Setting | Description |
| --- | --- |
| **Account ID** | Your Sealmetrics Account ID (required) |
| **Pixel URL** | Custom pixel domain for first-party tracking (optional) |
## eCommerce Events
The plugin automatically tracks the complete eCommerce funnel:
| Event | Type | Properties |
| --- | --- | --- |
| `pageview` | Auto | All pages with content grouping |
| `view_item` | Microconversion | product_name, product_id, sku, price, currency, category, brand |
| `add_to_cart` | Microconversion | product_name, product_id, sku, price, quantity, currency, variation attributes |
| `begin_checkout` | Microconversion | cart_total, currency, items_count |
| `purchase` | Conversion | revenue, currency, payment_method, coupon, items array |
## Content Groups
Automatic detection based on WooCommerce page type:
| Page Type | Group |
| --- | --- |
| Shop page | `catalog` |
| Product category | `catalog` |
| Single product | `product` |
| Cart | `cart` |
| Checkout | `checkout` |
| Order confirmation | `thankyou` |
| My Account | `account` |
## Features
### Brand Detection
The plugin automatically detects product brands from popular plugins:
- YITH WooCommerce Brands
- Perfect Brands for WooCommerce
- WooCommerce Brands
- Custom `product_brand` taxonomy
### Variable Products
All variation attributes are captured automatically:
```javascript
{
product_name: "T-Shirt - Large, Blue",
size: "Large",
color: "Blue",
// ... other selected attributes
}
```
### Add to Cart Tracking
Works with all add-to-cart methods:
- Standard add to cart buttons
- AJAX add to cart
- Variable product forms
- Quantity changes
### Purchase Tracking
Full eCommerce data is captured on order confirmation:
```javascript
sealmetrics.conv('purchase', 129.99, {
currency: 'EUR',
payment_method: 'PayPal',
coupon: 'SAVE10',
items: [
{
product_id: '123',
product_name: 'Product Name',
sku: 'SKU-123',
price: '49.99',
quantity: '2',
category: 'Clothing',
brand: 'Brand Name',
size: 'Large',
color: 'Blue'
}
]
});
```
### Duplicate Prevention
The plugin prevents duplicate purchase tracking:
- Uses order meta to track sent conversions
- Handles page refreshes on thank you page
## Privacy
- No cookies used
- No order IDs stored externally
- No customer data collected
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Troubleshooting
### Tracker not loading
1. Verify Account ID is configured in **Settings > Sealmetrics**
2. Clear WordPress cache
3. Check browser console for JavaScript errors
### Purchases not tracking
1. Ensure the order confirmation page loads correctly
2. Check WooCommerce order status is "completed" or "processing"
3. Verify no conflicting analytics plugins
### Add to cart not working
1. Check AJAX add to cart is enabled in WooCommerce settings
2. Verify no JavaScript errors in browser console
3. Test with the default theme (Storefront) to rule out theme conflicts
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying tracker loads, useful if you set a custom pixel domain.
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — the concepts behind the funnel events this plugin fires automatically.
- [Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md) — the equivalent integration for Shopify stores.
- [Magento 2](https://sealmetrics.com/docs/integrations/ecommerce/magento.md) — the equivalent module for Magento / Adobe Commerce.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## OpenCart
URL: https://sealmetrics.com/docs/integrations/ecommerce/opencart/
Install the Sealmetrics OpenCart extension (3.x/4.x OCMOD package) for cookieless store analytics with product view, cart, checkout, and purchase events.
Privacy-first, cookieless analytics for OpenCart stores.
## Compatibility
- OpenCart 4.x (primary support)
- OpenCart 3.x (with modifications)
- PHP 7.4+
## Installation
### OpenCart 4.x
1. Download the extension package from your Sealmetrics dashboard, under **Settings → Integrations**
2. Go to **Extensions > Installer**
3. Upload `sealmetrics.ocmod.zip`
4. Go to **Extensions > Extensions > Analytics**
5. Install **Sealmetrics Analytics**
6. Click **Edit** and configure your Account ID
7. Enable the extension and save
### OpenCart 3.x
1. Upload the `upload` folder contents to your OpenCart root
2. Go to **Extensions > Modifications** and click **Refresh**
3. Go to **Extensions > Analytics**
4. Install **Sealmetrics Analytics**
5. Configure your Account ID and enable
## Configuration
| Setting | Description |
| --- | --- |
| **Account ID** | Your Sealmetrics Account ID (required) |
| **Pixel URL** | Custom pixel domain (optional) |
| **Track Product Views** | Enable `view_item` tracking |
| **Track Add to Cart** | Enable `add_to_cart` tracking |
| **Track Checkout** | Enable `begin_checkout` tracking |
| **Track Purchases** | Enable purchase conversion tracking |
| **Contact Forms as Leads** | Track contact form submissions as lead conversions |
## Tracked Events
### Automatic Events
| Event | Description |
| --- | --- |
| `pageview` | All page views with content grouping |
### eCommerce Events
| Event | Description |
| --- | --- |
| `view_item` | Product page views |
| `add_to_cart` | Add to cart button clicks |
| `begin_checkout` | Checkout page views |
| `purchase` | Order confirmation (conversion) |
### Content Groups
Automatic detection based on OpenCart routes:
| Route | Group |
| --- | --- |
| `common/home` | `home` |
| `product/product` | `product` |
| `product/category` | `catalog` |
| `product/manufacturer` | `brand` |
| `product/search` | `search` |
| `checkout/cart` | `cart` |
| `checkout/checkout` | `checkout` |
| `checkout/success` | `thankyou` |
| `account/*` | `account` |
| `information/contact` | `contact` |
## Product Data
The following product attributes are tracked:
```javascript
{
product_id: "123",
product_name: "Example Product",
sku: "SKU-123",
price: "29.99",
category: "Electronics",
brand: "Brand Name"
}
```
## Purchase Data
Purchase conversions include full order details:
```javascript
sealmetrics.conv('purchase', 99.99, {
currency: 'EUR',
payment_method: 'PayPal',
coupon: 'SAVE10',
items: [
{
product_id: "123",
product_name: "Product",
sku: "SKU-123",
price: "49.99",
quantity: "2",
category: "Electronics",
brand: "Brand",
size: "Large", // Options tracked as properties
color: "Blue"
}
]
});
```
## Custom Events
Track custom events via JavaScript:
```javascript
// Track custom micro-conversion
if (typeof sealmetrics !== 'undefined') {
sealmetrics.micro('wishlist_add', {
product_id: '123',
product_name: 'Example Product'
});
}
// Track custom conversion
sealmetrics.conv('lead', 0, {
source: 'newsletter',
campaign: 'spring_sale'
});
```
## Multi-store Support
For multi-store OpenCart installations:
- Configure Sealmetrics separately for each store
- Use different Account IDs if needed
- Each store tracks independently
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- No order IDs stored externally
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Troubleshooting
### Tracker not loading
1. Verify Account ID is configured
2. Check extension is enabled
3. Clear OpenCart cache (**System > Maintenance > Clear**)
### Purchases not tracking
1. Ensure "Track Purchases" is enabled
2. Check order confirmation page loads correctly
3. Verify no JavaScript errors in console
### Add to cart not tracking
1. Check "Track Add to Cart" is enabled
2. Ensure cart uses standard OpenCart methods
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying Sealmetrics tracker loads.
- [eCommerce Setup Guide](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide.md) — step-by-step setup for the funnel events this extension emits.
- [PrestaShop](https://sealmetrics.com/docs/integrations/ecommerce/prestashop.md) — a sibling self-hosted store integration.
- [Magento 2](https://sealmetrics.com/docs/integrations/ecommerce/magento.md) — another self-hosted store integration.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Magento 2
URL: https://sealmetrics.com/docs/integrations/ecommerce/magento/
Install the Sealmetrics Magento 2.4+ (Adobe Commerce) module via app/code for cookieless analytics with product, cart, checkout, and purchase tracking.
Privacy-first, cookieless analytics for Magento 2.4+ (Adobe Commerce).
## Requirements
- Magento 2.4.0+
- PHP 7.4+ / 8.0+
## Installation
Download the module from your Sealmetrics dashboard, under **Settings → Integrations**, then install it by copying its files into `app/code`:
1. Create directory: `app/code/SealMetrics/Analytics`
2. Copy the module files into that directory
3. Run commands:
```bash
bin/magento module:enable SealMetrics_Analytics
bin/magento setup:upgrade
bin/magento cache:clean
```
## Configuration
1. Go to **Admin > Stores > Configuration > Sealmetrics > Analytics**
2. Enable the module
3. Enter your Account ID
4. Configure tracking options
5. Save and clear cache
### Settings
| Setting | Description |
| --- | --- |
| **Enable** | Turn tracking on/off |
| **Account ID** | Your Sealmetrics Account ID (required) |
| **Pixel URL** | Custom pixel domain (optional) |
| **Track Product Views** | Enable `view_item` events |
| **Track Add to Cart** | Enable `add_to_cart` events |
| **Track Checkout** | Enable `begin_checkout` events |
| **Track Purchases** | Enable purchase conversions |
## Tracked Events
### Automatic Events
| Event | Type | When |
| --- | --- | --- |
| `pageview` | Auto | All pages with content grouping |
### eCommerce Events
| Event | Type | Properties |
| --- | --- | --- |
| `view_item` | Micro | product_name, product_id, sku, price, currency, category, brand |
| `add_to_cart` | Micro | product_name, product_id, price, quantity, currency |
| `begin_checkout` | Micro | cart_total, currency, items_count |
| `purchase` | Conversion | revenue, currency, payment_method, coupon, items array |
## Content Groups
Automatic detection based on Magento layout handles:
| Page Type | Group |
| --- | --- |
| `cms_index_index` | `home` |
| `catalog_product_view` | `product` |
| `catalog_category_view` | `catalog` |
| `catalogsearch_result_index` | `search` |
| `checkout_cart_index` | `cart` |
| `checkout_index_index` | `checkout` |
| `checkout_onepage_success` | `thankyou` |
| `customer_account_*` | `account` |
## Features
### Product Tracking
Full product data including brand and category:
```javascript
sealmetrics.micro('view_item', {
product_name: 'Configurable Product',
product_id: '123',
sku: 'PROD-123',
price: '99.99',
currency: 'EUR',
category: 'Electronics',
brand: 'Brand Name'
});
```
### Configurable Products
Selected options are tracked automatically:
```javascript
{
product_name: 'T-Shirt',
size: 'Large',
color: 'Blue',
// All selected options captured
}
```
### Add to Cart
Captured via Magento's customer-data events:
```javascript
sealmetrics.micro('add_to_cart', {
product_id: '123',
product_name: 'Product Name',
price: '49.99',
quantity: '2',
currency: 'EUR'
});
```
### Purchase Tracking
Complete order data on success page:
```javascript
sealmetrics.conv('purchase', 149.98, {
currency: 'EUR',
payment_method: 'Stripe',
coupon: 'SAVE20',
items: [
{
product_id: '123',
product_name: 'Product',
sku: 'SKU-123',
price: '74.99',
quantity: '2',
category: 'Category',
brand: 'Brand',
size: 'M',
color: 'Red'
}
]
});
```
## Multi-store Support
- Works with multiple store views
- Configure per-store if needed
- Respects store-specific currency
## Privacy
- No cookies used
- No order IDs stored externally
- No customer data collected
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Troubleshooting
### Module not showing in admin
1. Run `bin/magento module:status`
2. Verify module is enabled
3. Clear cache: `bin/magento cache:clean`
### Tracker not loading
1. Check configuration is enabled
2. Verify Account ID is set
3. Clear frontend cache
4. View page source for script
### Purchases not tracking
1. Check success page loads correctly
2. Verify order status is complete
3. Check JavaScript console for errors
### Performance
1. Enable production mode
2. Deploy static content
3. Enable full page cache
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying tracker loads, useful when configuring a custom pixel domain.
- [eCommerce Setup Guide](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide.md) — step-by-step setup for the eCommerce funnel events this module emits.
- [WooCommerce](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md) — the equivalent integration for WordPress + WooCommerce stores.
- [PrestaShop](https://sealmetrics.com/docs/integrations/ecommerce/prestashop.md) — a sibling self-hosted store integration.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## PrestaShop
URL: https://sealmetrics.com/docs/integrations/ecommerce/prestashop/
Privacy-first, cookieless analytics for PrestaShop 1.7+ and 8.x stores
Privacy-first, cookieless analytics for PrestaShop 1.7+ and 8.x stores.
## Requirements
- PrestaShop 1.7.0+ or 8.x
- PHP 7.2+
## Installation
1. Download `sealmetrics-prestashop.zip` from your Sealmetrics dashboard, under **Settings → Integrations**
2. Go to **PrestaShop Admin > Modules > Module Manager**
3. Click **Upload a module**
4. Upload the ZIP file
5. Click **Configure** to enter your Account ID
## Configuration
| Setting | Description |
| --- | --- |
| **Account ID** | Your Sealmetrics Account ID (required) |
| **Pixel URL** | Custom pixel domain (optional) |
## Tracked Events
### Automatic Events
| Event | Type | When |
| --- | --- | --- |
| `pageview` | Auto | All pages with content grouping |
### eCommerce Events
| Event | Type | Properties |
| --- | --- | --- |
| `view_item` | Micro | product_name, product_id, sku, price, currency, category, brand |
| `add_to_cart` | Micro | product_name, product_id, price, quantity, currency |
| `begin_checkout` | Micro | cart_total, currency, items_count |
| `purchase` | Conversion | revenue, currency, payment_method, coupon, items array |
## Content Groups
Automatic detection based on PrestaShop controller:
| Controller | Group |
| --- | --- |
| `index` | `home` |
| `product` | `product` |
| `category` | `catalog` |
| `cart` | `cart` |
| `order` / `checkout` | `checkout` |
| `orderconfirmation` | `thankyou` |
| `cms` | `page` |
| `contact` | `contact` |
| `search` | `search` |
| `manufacturer` | `brand` |
| `myaccount` / `identity` / `addresses` / `history` | `account` |
## Features
### Product Tracking
Full product data on product pages:
```javascript
sealmetrics.micro('view_item', {
product_name: 'T-Shirt Premium',
product_id: '123',
sku: 'TSHIRT-001',
price: '29.99',
currency: 'EUR',
category: 'Clothing',
brand: 'Brand Name'
});
```
### Add to Cart
Uses PrestaShop's native `prestashop.on('updateCart')` event:
```javascript
sealmetrics.micro('add_to_cart', {
product_id: '123',
product_name: 'T-Shirt Premium',
price: '29.99',
quantity: '2',
currency: 'EUR'
});
```
### Purchase Tracking
Complete order data on confirmation:
```javascript
sealmetrics.conv('purchase', 89.97, {
currency: 'EUR',
payment_method: 'PayPal',
coupon: 'WELCOME10',
items: [
{
product_name: 'T-Shirt Premium',
product_id: '123',
sku: 'TSHIRT-001',
price: '29.99',
quantity: '3',
category: 'Clothing',
brand: 'Brand Name',
size: 'L',
color: 'Blue'
}
]
});
```
### Variation Attributes
Product combinations are tracked with their attributes:
- Size, Color, Material, etc.
- All combination-specific attributes captured
### Multi-language Support
Works with all PrestaShop languages:
- Product names in current language
- Category names localized
- Manufacturer names
## Hooks Used
| Hook | Purpose |
| --- | --- |
| `displayHeader` | Inject tracker script |
| `displayOrderConfirmation` | Track purchase conversion |
## Duplicate Prevention
- Order tracking stored in configuration
- Prevents duplicate conversions on page refresh
## Privacy
- No cookies used
- No order IDs stored externally
- No customer data collected
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Troubleshooting
### Module not appearing
1. Clear PrestaShop cache
2. Check module folder permissions
3. Verify PHP version compatibility
### Tracker not loading
1. Check Account ID is configured
2. Clear browser cache
3. Check for JavaScript errors
### Purchases not tracking
1. Verify order confirmation page loads
2. Check hook is registered
3. Test with default theme
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying Sealmetrics tracker loads.
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — the concepts behind the product, cart, and purchase events this module fires.
- [Magento 2](https://sealmetrics.com/docs/integrations/ecommerce/magento.md) — a sibling self-hosted store integration.
- [OpenCart](https://sealmetrics.com/docs/integrations/ecommerce/opencart.md) — another self-hosted store integration.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Shopify
URL: https://sealmetrics.com/docs/integrations/ecommerce/shopify/
Connect Sealmetrics to Shopify with the public app and a theme app embed, or with a custom app and a Shopify Web Pixel — purchases confirmed server-side by webhook, cookieless funnel tracking.
Privacy-first, cookieless analytics for Shopify stores. Sealmetrics tracks the eCommerce funnel in the browser and confirms purchases server-side through a Shopify webhook.
## How it works
How the browser side is tracked depends on how your store installed Sealmetrics:
| | Public app | Custom app |
| --- | --- | --- |
| **Installed** | From the Sealmetrics dashboard (Shopify App Store app) | With an install link we send you (one app made for your store) |
| **Browser tracking** | The **"Sealmetrics Analytics" app embed**, a Theme App Extension you enable in your theme | A **Shopify Web Pixel**, activated automatically when the app is installed |
| **Setup after install** | Enable the app embed and paste your Account ID | None |
| **Billing** | Shopify Managed Pricing | Sealmetrics (Stripe) |
Both share the rest:
- **The app** handles the connection (OAuth) and registers the `orders/create` conversion webhook.
- **Purchases** are recorded from that webhook, server-side, with revenue, currency and line items.
No shopper-facing UI is rendered. Sealmetrics is invisible by design (privacy-first).
## Requirements
- A Sealmetrics account (your **Account ID** — the same value as your Site ID — identifies the site you want to track).
- **Public app:** a Shopify store on a plan that allows app embeds.
## Connect your store
### Public app: from the dashboard
Connection is managed from **Settings → Integrations → Shopify** in the Sealmetrics dashboard.
1. Open **Settings → Integrations → Shopify**.
2. Select the **site** you want to connect.
3. Enter your Shopify **domain** (the `mystore` part of `mystore.myshopify.com`) and click **Connect Shopify**.
4. You are redirected to Shopify to install and authorize the app.
Once installed, the store appears as **Connected**, showing the store domain and the connection date, and the **conversion webhook** is registered automatically. Then activate the app embed.
### Custom app: from the install link
We send you a Shopify install link for your store (links expire after 7 days; ask for a new one if yours has). Open it, approve the app in Shopify, and you are done: the conversion webhook and the Web Pixel are set up during the install. The store then appears as **Connected** in **Settings → Integrations → Shopify**.
### Disconnecting
How you disconnect depends on how the store was installed:
- **Public-app stores (billed through Shopify):** to disconnect and stop billing, uninstall Sealmetrics from your **Shopify Admin → Settings → Apps**. The dashboard does not expose a Disconnect button for these stores, to keep the Shopify subscription and your Sealmetrics account in sync.
- **Custom-app stores (billed through Sealmetrics):** a **Disconnect** button is available in the dashboard. Disconnecting disables Shopify conversion tracking; you can reconnect later.
## Activate the tracker (public app)
Connecting the public app does not start front-end tracking on its own. You must enable the app embed and provide your Account ID.
1. In the Sealmetrics dashboard (the connected Shopify card), copy your **Account ID**. Use the **Copy** button next to it.
2. In Shopify, open the theme editor and go to **Theme → App embeds**.
3. Enable the **Sealmetrics Analytics** embed. (The dashboard provides an **Activate the embed** button that deep-links to the theme editor.)
4. Paste your **Account ID** into the embed's **Sealmetrics Account ID** field and **Save**.
The embed loads the Sealmetrics loader by account:
```html
```
The loader then injects the tracker (`t.js`), writes Sealmetrics session attributes to the Shopify cart, and sets up the microconversion listeners described below.
## The Web Pixel (custom app)
On custom-app stores the browser side runs as a **Shopify Web Pixel**, Shopify's own sandbox for analytics code. It is created during the install with your Account ID already set, so there is no theme edit, no app embed and no field to fill in.
You can see it in **Shopify Admin → Settings → Customer events**, listed under app pixels.
The Web Pixel listens to Shopify's standard customer events instead of reading the theme, so it keeps working on customized themes and inside Shopify's checkout. It does not send page views for checkout, thank-you or order-status pages.
Custom apps connected before October 2026
Custom-app stores connected before October 2026 load the same loader as the app embed, through a Shopify ScriptTag. Their events are the ones described for the app embed below.
## eCommerce events
Sealmetrics tracks the following events automatically once the browser tracking is active and the conversion webhook is registered.
| Event | Type | App embed (public app) | Web Pixel (custom app) | Properties |
| --- | --- | --- | --- | --- |
| `pageview` | Auto | Tracker (`t.js`) | Shopify `page_viewed` (not on checkout pages) | Standard pageview |
| `view_product` | Microconversion | Loader, on `/products/{handle}` pages | Shopify `product_viewed` | product_id, product_name, sku, price, currency |
| `add_to_cart` | Microconversion | Loader, intercepts `/cart/add` | Shopify `product_added_to_cart` | product_id, product_name, sku, price, quantity, currency |
| `initiate_checkout` | Microconversion | Loader, checkout submit/click and `/checkout` requests | Shopify `checkout_started` | cart_url (app embed only) |
| `purchase` | Conversion | Shopify `orders/create` webhook (server-side) | Same | revenue, currency, items array |
### `view_product`
- **App embed:** fired on product pages (`/products/{handle}`). The loader reads product data from JSON-LD (`@type: "Product"`) and falls back to `ShopifyAnalytics.meta` for the product ID. It also re-fires on SPA navigation between products.
- **Web Pixel:** fired on Shopify's `product_viewed` event, with the data of the variant being viewed.
### `add_to_cart`
- **App embed:** the loader intercepts `fetch` and `XHR` calls to `/cart/add` and emits one `add_to_cart` per line item, with the price normalized from cents to a decimal value.
- **Web Pixel:** fired on Shopify's `product_added_to_cart` event, with the added line's variant and quantity.
### `initiate_checkout`
- **App embed:** fired (once per checkout attempt) when the shopper submits the cart form, clicks a checkout link/button, a Shopify dynamic checkout (Buy Now) button, or when a `/checkout` request is detected. A dedup flag prevents duplicate events; it resets on SPA navigation.
- **Web Pixel:** fired on Shopify's `checkout_started` event. It carries no `cart_url`, because inside checkout the URL contains the checkout token.
### `purchase`
Purchases are confirmed **server-side**, not from the browser. When an order is placed, Shopify sends an `orders/create` webhook to Sealmetrics, which records the conversion with its revenue, currency, and line items. To make this reliable, the app requests the `read_orders` scope and registers the `orders/create` webhook on install.
To attribute the order to the visit (channel, campaign, landing page), Sealmetrics needs to know which visit it came from:
- **App embed:** the loader writes Sealmetrics session attributes to the cart, and the order carries them.
- **Web Pixel:** a Web Pixel cannot write cart attributes. Instead, the `initiate_checkout` event links the checkout to the visit, and the order is matched to that link when it arrives. The link only counts for the account of the store that sends the order, and expires after 24 hours.
Note
The order ID is not stored externally, consistent with Sealmetrics' privacy-first policy.
## Billing
Billing depends on how the store installed Sealmetrics:
- **Public-app stores** are billed through **Shopify Managed Pricing**. After approving a plan in Shopify Admin, the dashboard shows a Shopify billing card to manage the plan. To stop billing, uninstall the app from Shopify Admin.
- **Custom-app stores** are billed on **Sealmetrics** directly. The Shopify page shows a note pointing to **Settings → Billing**, where the plan is managed.
Plans and prices are presented through Shopify's Managed Pricing flow in Shopify Admin. Check the current options there rather than relying on a fixed figure.
## Privacy and compliance
- No cookies are used; tracking is cookieless by design. The Web Pixel does not use browser storage either.
- Order IDs are not stored externally.
- The public app subscribes to Shopify's mandatory GDPR/compliance webhooks: `customers/data_request`
- `customers/redact`
- `shop/redact`
## Troubleshooting
### Tracker not loading
**Public app:**
1. Confirm the **Sealmetrics Analytics** app embed is enabled in **Theme → App embeds**.
2. Confirm your **Account ID** is pasted into the embed field and saved (the embed does nothing if it is blank).
3. Check the browser console for the `shopify-loader.js` request and any JavaScript errors.
**Custom app:**
1. Open **Shopify Admin → Settings → Customer events** and confirm the Sealmetrics pixel is listed under app pixels and connected.
2. Web Pixels run in a sandbox, so they do not appear in the page's console. Use Shopify's **Pixel Helper** to see the events it sends.
3. If the pixel is missing, contact **[support@sealmetrics.com](mailto:support@sealmetrics.com)**.
### Purchases not tracking
1. Confirm the store shows **Connected** in **Settings → Integrations → Shopify** (this means the conversion webhook is registered).
2. Place a test order and verify it appears as a conversion.
3. **Public app:** if you recently reinstalled or changed scopes, reconnect from the dashboard so the `orders/create` webhook is re-registered. **Custom app:** contact **[support@sealmetrics.com](mailto:support@sealmetrics.com)**.
### Orders or revenue don't match Shopify
This is the most common Shopify support question, and the usual advice does not apply here.
Purchases are not counted by the pixel
On Shopify, `purchase` conversions come from the **`orders/create` webhook**, server-side. They do not depend on the tracker firing on a thank-you page. So the two causes behind most reconciliation issues elsewhere — [the conversion pixel not firing, and the base pixel firing too late](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — **cannot be the explanation on a Shopify store**. Auditing the checkout for pixel problems will not find anything.
Work through these instead:
1. **Confirm the webhook is live.** The store must show **Connected** in **Settings → Integrations → Shopify**. If you reinstalled the app or changed scopes, reconnect from the dashboard so `orders/create` is re-registered. Orders placed while the webhook was not registered are not backfilled.
2. **Check what your Shopify number actually includes.** Shopify's own reports can cover orders from channels and states that may not be part of what you are comparing: point of sale, draft orders created in the admin, marketplace or social channels, and orders that were cancelled, refunded, or never paid. Compare like with like before concluding anything is missing.
3. **Compare the same window in the same timezone.** Sealmetrics rolls the day in the account timezone (**Settings → Account**); Shopify rolls it in the store timezone. If they differ, totals shift around the day boundary.
4. **Check the currency.** If your store sells in several currencies, confirm which one the figure you are comparing is expressed in.
5. **Place a test order and follow it.** Put a real order through the same flow your customers use, note the exact time and amount, and check whether it appears in Sealmetrics. This separates "the integration is not receiving orders" from "the two numbers count different things" faster than anything else.
If a test order does not show up, contact **[support@sealmetrics.com](mailto:support@sealmetrics.com)** with its date, time, and amount, and we will trace the webhook delivery.
### Microconversions missing
1. `view_product` only fires on product pages — confirm you are testing a product page.
2. **App embed:** `add_to_cart` relies on standard `/cart/add` requests; heavily customized themes that bypass the standard cart endpoints may not be detected. The Web Pixel does not have this limit, because it listens to Shopify's own events.
3. **App embed:** verify no JavaScript errors in the browser console interrupt the loader.
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the Sealmetrics tracker (`t.js`) that the app embed loads works under the hood.
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — the funnel-event model behind the microconversions and purchase webhook.
- [WooCommerce](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md) — the equivalent integration for WordPress + WooCommerce stores.
- [BigCommerce](https://sealmetrics.com/docs/integrations/ecommerce/bigcommerce/) — another hosted-store platform integration.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Desktop Extension (.mcpb)
URL: https://sealmetrics.com/docs/integrations/extensions/
Reference for the Sealmetrics Desktop Extension for Claude — the one-click.mcpb bundle. Install, configure, update, and uninstall, plus the full settings reference.
The **Sealmetrics Desktop Extension** is a one-click bundle (`.mcpb`) that adds Sealmetrics analytics to **Claude Desktop** — no terminal, no `npx`, no JSON config. Download it, double-click, and you're done.
This page is the **reference** for the extension itself (install, settings, updates). For the guided flows, see:
- **[AI Agentic Package (Claude & Codex)](https://sealmetrics.com/docs/integrations/agentic-package.md)** — create a free account from the chat and place your pixel, step by step.
- **[MCP Server for AI Assistants](https://sealmetrics.com/docs/integrations/mcp-server.md)** — manual setup for Claude Code, Codex, Cursor, and other MCP clients (using an API key + `npx`).
Which one do I need?
- **Claude Desktop, easiest path** → this extension.
- **Any other client (Claude Code, Codex, Cursor, VS Code…)** → [MCP Server](https://sealmetrics.com/docs/integrations/mcp-server.md).
## What it is
| | |
| --- | --- |
| **Name** | Sealmetrics Analytics |
| **Type** | Claude Desktop Extension — MCP bundle (`.mcpb`) |
| **Latest version** | `1.3.0` |
| **Package** | [`@sealmetrics/mcp`](https://www.npmjs.com/package/@sealmetrics/mcp) (npm) |
| **License** | MIT |
| **Runs** | Locally inside Claude Desktop, over HTTPS to the Sealmetrics API. No data stored on your machine. |
A `.mcpb` (MCP bundle) packages the Sealmetrics MCP server plus its manifest so Claude Desktop can install and run it with a single click — the same server you'd otherwise wire up manually with `npx -y @sealmetrics/mcp`.
## Requirements
- **Claude Desktop** `0.10.0` or newer (latest recommended — [download](https://claude.ai/download)).
- Works on **macOS, Windows, and Linux**.
- Node.js **18+** — bundled with Claude Desktop's extension runtime, so you usually don't need to install anything.
## Install
1. **Download the extension:** **[Download Sealmetrics for Claude Desktop](https://cdn.jsdelivr.net/npm/@sealmetrics/mcp/dist/sealmetrics.mcpb)** *(`sealmetrics.mcpb`)*.
2. Open **Claude Desktop → Settings → Extensions**.
3. **Drag** the `sealmetrics.mcpb` file into the window (or click **Install extension** and pick the file).
4. Click **Install**, then make sure the extension is **enabled**.
That's it. Next, configure it (below) or jump straight to [creating an account from the chat](https://sealmetrics.com/docs/integrations/agentic-package/#step-2-create-your-account-from-the-chat).
## Settings reference
On the extension's settings screen you'll find two fields:
| Setting | Required | What it does |
| --- | --- | --- |
| **Sealmetrics API key** | No | **Leave empty to register a brand-new site from the chat** (the read-only analytics tools turn on automatically after you provision). Paste an **existing read-only key** to query your data immediately. Find it in your welcome email or at **Settings → API Tokens**. The key is **read-only** and scoped to your account. |
| **API base URL** *(advanced)* | No | Sealmetrics API base URL. Default: `https://my.sealmetrics.com/api/v1`. Leave as-is unless instructed otherwise. |
The API key field decides the flow
- **Empty** → "I don't have an account yet, create one for me." → see [Agentic Package](https://sealmetrics.com/docs/integrations/agentic-package.md).
- **Filled** → "I already have an account, let me query it now."
## What the extension can do
The extension registers the setup tools plus **52 read-only analytics tools**. Claude calls them automatically — you never invoke them by hand.
| Tool | Purpose |
| --- | --- |
| `provision_site` | Register a **new** free Sealmetrics site from the chat. Returns the tracker snippet and emails a claim link. |
| `verify_setup` | Poll until the pixel is confirmed installed (a real pageview reached the backend). |
| `get_setup_status` | Report whether a site is provisioned and its pixel verified. |
| `detect_framework` | Best-effort detect your framework/CMS so the snippet is placed correctly. |
| `get_instrumentation_guide` | The canonical event-instrumentation guide for your account. |
| `verify_event_instrumented` | Confirm a conversion/microconversion event reached the backend (and validate it has no PII). |
| **52 read-only analytics tools** | Traffic, pages, conversions, audience, channels, funnels, bot detection, and more. |
See the complete tool catalog and parameters in the **[MCP Server reference](https://sealmetrics.com/docs/integrations/mcp-server/#available-tools)**.
## Update
To update to a newer version:
1. Download the latest **[`sealmetrics.mcpb`](https://cdn.jsdelivr.net/npm/@sealmetrics/mcp/dist/sealmetrics.mcpb)** (the jsDelivr link always serves the latest published build).
2. Install it the same way — Claude Desktop replaces the existing extension and keeps your settings.
You can check the installed version under **Settings → Extensions → Sealmetrics Analytics**.
## Uninstall
Go to **Settings → Extensions → Sealmetrics Analytics** and click **Remove** (or toggle it off to disable temporarily). Your Sealmetrics account and data are unaffected — removing the extension only disconnects Claude Desktop.
## Privacy & safety
- The extension runs **locally** and talks to the Sealmetrics API over HTTPS. **No analytics data is stored on your machine.**
- The API key it uses is **read-only** and scoped to your account.
- `provision_site` is the **only** tool that writes anything, and only after you explicitly accept the [Terms of Service](https://sealmetrics.com/terms.md). Everything else is read-only.
- Sealmetrics is **cookieless and designed for GDPR** (self-assessed, not certified) — see [Security & Privacy](https://sealmetrics.com/docs/security-privacy.md).
## Troubleshooting
### The extension installed but Claude won't create an account
Make sure the **API key field is empty** — a key present makes the extension assume you already have an account and skips provisioning. Clear it, save, and ask again.
### Tools disappeared after restarting Claude Desktop
Expected if you never saved an API key. Paste the key from your welcome email into the extension settings so the read-only tools persist.
### The extension won't install
Confirm you're on **Claude Desktop 0.10.0+** and that you downloaded the `.mcpb` file (not the raw source). Re-download from the link above and try again.
More fixes in the [Agentic Package troubleshooting](https://sealmetrics.com/docs/integrations/agentic-package/#troubleshooting) and [MCP Server troubleshooting](https://sealmetrics.com/docs/integrations/mcp-server/#troubleshooting) sections.
## Resources
- **Create an account from the chat**: [AI Agentic Package](https://sealmetrics.com/docs/integrations/agentic-package.md)
- **Other MCP clients (Codex, Cursor, VS Code…)**: [MCP Server](https://sealmetrics.com/docs/integrations/mcp-server.md)
- **npm package**: [@sealmetrics/mcp](https://www.npmjs.com/package/@sealmetrics/mcp)
- **Web dashboard**: [my.sealmetrics.com](https://my.sealmetrics.com)
- **Need help?** [support@sealmetrics.com](mailto:support@sealmetrics.com)
## Next.js
URL: https://sealmetrics.com/docs/integrations/frameworks/nextjs/
Add cookieless analytics to Next.js with the @sealmetrics/nextjs package — a SealMetricsScript component for both App Router and Pages Router setups.
NPM package for privacy-first, cookieless analytics in Next.js applications.
## Installation
```bash
npm install @sealmetrics/nextjs
# or
yarn add @sealmetrics/nextjs
# or
pnpm add @sealmetrics/nextjs
```
## Quick Start
### App Router (Next.js 13+)
Add the tracker to your root layout:
```tsx
// app/layout.tsx
import { SealMetricsScript } from '@sealmetrics/nextjs';
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
{children}
);
}
```
### Pages Router
Add the tracker to your `_app.tsx`:
```tsx
// pages/_app.tsx
import type { AppProps } from 'next/app';
import { SealMetricsScript } from '@sealmetrics/nextjs';
export default function App({ Component, pageProps }: AppProps) {
return (
<>
>
);
}
```
## Tracking Events
### Using the Hook
```tsx
'use client';
import { useEffect } from 'react';
import { useSealMetrics } from '@sealmetrics/nextjs';
export function ProductPage({ product }) {
const { micro, conv, isReady } = useSealMetrics();
// Track product view on mount
useEffect(() => {
if (isReady) {
micro('view_item', {
product_name: product.name,
product_id: product.id,
price: String(product.price),
});
}
}, [isReady, product]);
const handleAddToCart = () => {
micro('add_to_cart', {
product_name: product.name,
quantity: '1',
});
};
const handlePurchase = () => {
conv('purchase', product.price, {
currency: 'EUR',
});
// ... full example at https://sealmetrics.com/docs/integrations/frameworks/nextjs/
```
### Using the Provider
Wrap your app with `SealMetricsProvider` for context-based tracking:
```tsx
// app/layout.tsx
import { SealMetricsProvider } from '@sealmetrics/nextjs';
export default function RootLayout({ children }) {
return (
{children}
);
}
```
## Content Groups
Set a content group for the page:
```tsx
```
### Dynamic Content Groups
For dynamic routes, compute the group based on the current page:
```tsx
// app/products/[slug]/page.tsx
import { SealMetricsScript } from '@sealmetrics/nextjs';
export default function ProductPage() {
return (
<>
{/* Page content */}
>
);
}
```
## API Reference
### SealMetricsScript Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `accountId` | `string` | **required** | Your Sealmetrics Account ID |
| `pixelUrl` | `string` | `https://t.sealmetrics.com` | Custom pixel URL |
| `group` | `string` | - | Content group for the page |
| `strategy` | `string` | `afterInteractive` | Script loading strategy |
| `debug` | `boolean` | `false` | Enable debug logging |
| `disabled` | `boolean` | `false` | Disable tracking |
### useSealMetrics Hook
Returns an object with:
| Property | Type | Description |
| --- | --- | --- |
| `micro` | `(name: string, props?: object) => void` | Track microconversion |
| `conv` | `(name: string, value: number, props?: object) => void` | Track conversion |
| `isReady` | `boolean` | Whether tracker is loaded |
## Common Events
### Microconversions
```tsx
const { micro } = useSealMetrics();
// Form submission
micro('form_submit', { form_name: 'contact' });
// Newsletter signup
micro('newsletter_signup', { form_location: 'footer' });
// Product view
micro('view_item', {
product_name: 'Product Name',
product_id: '123',
price: '99.99',
});
// Add to cart
micro('add_to_cart', {
product_name: 'Product Name',
quantity: '1',
});
// CTA click
micro('cta_click', {
button_text: 'Get Started',
button_location: 'hero',
});
```
### Conversions
```tsx
const { conv } = useSealMetrics();
// Purchase
conv('purchase', 149.99, {
currency: 'EUR',
});
// Lead
conv('lead', 0, {
source: 'contact_form',
});
// Signup
conv('signup', 0, {
plan: 'free',
});
// Subscription
conv('subscription', 29.99, {
plan: 'pro_monthly',
currency: 'EUR',
});
```
## Environment Configuration
Disable tracking in development:
```tsx
```
## TypeScript
Full TypeScript support included. Import types as needed:
```tsx
import type {
SealMetricsConfig,
EventProperties,
ProductItem,
} from '@sealmetrics/nextjs';
```
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying tracker script the package injects works.
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) — how Sealmetrics handles App Router and Pages Router client-side navigation.
- [React](https://sealmetrics.com/docs/integrations/frameworks/react.md) — the underlying React package these hooks and components build on.
- [Nuxt 3](https://sealmetrics.com/docs/integrations/frameworks/nuxt.md) — the equivalent module for Vue/Nuxt apps.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## React
URL: https://sealmetrics.com/docs/integrations/frameworks/react/
Add privacy-first analytics to React with the @sealmetrics/react NPM package — provider or script component, no cookies, and no consent banner for its own analytics (self-assessed).
NPM package for privacy-first, cookieless analytics in React applications.
## Installation
```bash
npm install @sealmetrics/react
# or
yarn add @sealmetrics/react
# or
pnpm add @sealmetrics/react
```
## Quick Start
### Option 1: Provider (Recommended)
Wrap your app with the provider:
```tsx
import { SealMetricsProvider } from '@sealmetrics/react';
function App() {
return (
);
}
```
### Option 2: Script Only
Just load the tracker script:
```tsx
import { SealMetricsScript } from '@sealmetrics/react';
function App() {
return (
<>
>
);
}
```
## Tracking Events
### Using the Hook
```tsx
import { useEffect } from 'react';
import { useSealMetrics } from '@sealmetrics/react';
function ProductPage({ product }) {
const { micro, conv, isReady } = useSealMetrics();
// Track product view on mount
useEffect(() => {
if (isReady) {
micro('view_item', {
product_name: product.name,
product_id: product.id,
price: String(product.price),
});
}
}, [isReady, product]);
// Track add to cart
const handleAddToCart = () => {
micro('add_to_cart', {
product_name: product.name,
quantity: '1',
});
};
// Track purchase
const handlePurchase = () => {
conv('purchase', product.price, {
currency: 'EUR',
});
// ... full example at https://sealmetrics.com/docs/integrations/frameworks/react/
```
## Convenience Hooks
### useTrackOnMount
Track an event automatically when a component mounts:
```tsx
import { useTrackOnMount } from '@sealmetrics/react';
function ProductPage({ product }) {
// Tracks automatically when component mounts
useTrackOnMount('view_item', {
product_name: product.name,
product_id: product.id,
});
return
...
;
}
```
### useTrackClick
Create a click handler that tracks an event:
```tsx
import { useTrackClick } from '@sealmetrics/react';
function CTAButton({ onClick }) {
// Returns a click handler that tracks and calls your handler
const handleClick = useTrackClick(
'cta_click',
{ button_text: 'Sign Up' },
onClick // Optional callback after tracking
);
return ;
}
```
### useTrackFormSubmit
Track form submissions:
```tsx
import { useTrackFormSubmit } from '@sealmetrics/react';
function ContactForm() {
const trackSubmit = useTrackFormSubmit('contact', { asLead: true });
const handleSubmit = (e) => {
e.preventDefault();
trackSubmit();
// Submit form...
};
return ;
}
function NewsletterForm() {
const trackSubmit = useTrackFormSubmit('footer-newsletter', { isNewsletter: true });
// ...
}
```
## Configuration
### Provider Props
```tsx
{children}
```
### Script Props
```tsx
console.log('Loaded')}
onError={(err) => console.error(err)}
/>
```
## Common Events
### Microconversions
```tsx
const { micro } = useSealMetrics();
// Form submission
micro('form_submit', { form_name: 'contact' });
// Newsletter signup
micro('newsletter_signup', { form_location: 'footer' });
// Product view
micro('view_item', {
product_name: 'Product Name',
product_id: '123',
price: '99.99',
});
// Add to cart
micro('add_to_cart', {
product_name: 'Product Name',
quantity: '1',
});
// CTA click
micro('cta_click', {
button_text: 'Get Started',
button_location: 'hero',
});
// Search
micro('search', { query: 'shoes', results: '15' });
```
### Conversions
```tsx
const { conv } = useSealMetrics();
// Purchase
conv('purchase', 149.99, {
currency: 'EUR',
});
// Lead
conv('lead', 0, {
source: 'contact_form',
});
// Signup
conv('signup', 0, {
plan: 'free',
});
// Subscription
conv('subscription', 29.99, {
plan: 'pro_monthly',
currency: 'EUR',
});
```
## React Router Integration
```tsx
import { useEffect } from 'react';
import { useLocation, Routes } from 'react-router-dom';
import { SealMetricsScript } from '@sealmetrics/react';
function App() {
const location = useLocation();
// Get content group from path
const getGroup = (path: string) => {
if (path === '/') return 'home';
if (path.startsWith('/products/')) return 'product';
if (path.startsWith('/blog/')) return 'blog';
return undefined;
};
return (
<>
...
>
);
}
```
## Environment Configuration
```tsx
```
## TypeScript
Full TypeScript support included:
```tsx
import type {
SealMetricsConfig,
EventProperties,
SealMetricsContextValue,
} from '@sealmetrics/react';
```
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying tracker script the package injects works.
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) — how Sealmetrics handles client-side route changes in single-page apps like React.
- [Next.js](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md) — the equivalent package for Next.js apps.
- [Nuxt 3](https://sealmetrics.com/docs/integrations/frameworks/nuxt.md) — the equivalent module for Vue/Nuxt apps.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Nuxt 3
URL: https://sealmetrics.com/docs/integrations/frameworks/nuxt/
Add cookieless analytics to Nuxt 3 with the @sealmetrics/nuxt module — one entry in nuxt.config.ts auto-loads the tracker on every page, no cookies.
Nuxt module for privacy-first, cookieless analytics in Nuxt 3 applications.
## Installation
```bash
npm install @sealmetrics/nuxt
# or
yarn add @sealmetrics/nuxt
# or
pnpm add @sealmetrics/nuxt
```
## Setup
Add the module to your `nuxt.config.ts`:
```ts
export default defineNuxtConfig({
modules: ['@sealmetrics/nuxt'],
sealmetrics: {
accountId: 'YOUR_ACCOUNT_ID',
// Optional:
// pixelUrl: 'https://t.sealmetrics.com',
// debug: false,
// disabled: false,
},
});
```
That's it! The tracker will be automatically loaded on all pages.
## Configuration Options
| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `accountId` | `string` | **required** | Your Sealmetrics Account ID |
| `pixelUrl` | `string` | `https://t.sealmetrics.com` | Custom pixel URL |
| `debug` | `boolean` | `false` | Enable debug logging |
| `disabled` | `boolean` | `false` | Disable tracking |
## Content Groups
### Using Route Meta
Set content groups using route meta:
```ts
// pages/products/[id].vue
definePageMeta({
sealmetricsGroup: 'product',
});
```
### Automatic Detection
Content groups are automatically detected based on path:
| Path | Group |
| --- | --- |
| `/` | `home` |
| `/blog/*` | `blog` |
| `/products/*` | `product` |
| `/cart` | `cart` |
| etc. | |
## Tracking Events
### Using the Composable
```vue
```
### Using the Plugin
```vue
```
### useTrackOnMount Helper
```vue
```
## Common Events
### Microconversions
```ts
const { micro } = useSealMetrics();
// Form submission
micro('form_submit', { form_name: 'contact' });
// Newsletter signup
micro('newsletter_signup', { form_location: 'footer' });
// Product view
micro('view_item', {
product_name: 'Product Name',
product_id: '123',
price: '99.99',
});
// Add to cart
micro('add_to_cart', {
product_name: 'Product Name',
quantity: '1',
});
// CTA click
micro('cta_click', {
button_text: 'Get Started',
button_location: 'hero',
});
```
### Conversions
```ts
const { conv } = useSealMetrics();
// Purchase
conv('purchase', 149.99, {
currency: 'EUR',
});
// Lead
conv('lead', 0, {
source: 'contact_form',
});
// Signup
conv('signup', 0, {
plan: 'free',
});
```
## Environment Configuration
Disable tracking in development:
```ts
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@sealmetrics/nuxt'],
sealmetrics: {
accountId: process.env.SEALMETRICS_ACCOUNT_ID || '',
disabled: process.env.NODE_ENV === 'development',
debug: process.env.NODE_ENV === 'development',
},
});
```
## TypeScript
The module includes full TypeScript support. Types are auto-imported.
### Type Declarations
```ts
// types/sealmetrics.d.ts
declare module '#app' {
interface NuxtApp {
$sealmetrics: {
micro: (name: string, props?: Record) => void;
conv: (name: string, value: number, props?: Record) => void;
isReady: () => boolean;
};
}
}
declare module 'vue-router' {
interface RouteMeta {
sealmetricsGroup?: string;
}
}
```
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying tracker the module loads works.
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) — how Sealmetrics handles client-side route changes in single-page apps like Nuxt.
- [Next.js](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md) — the equivalent package for Next.js apps.
- [React](https://sealmetrics.com/docs/integrations/frameworks/react.md) — the equivalent package for React apps.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Google Tag Manager Template
URL: https://sealmetrics.com/docs/integrations/google-tag-manager/
Install Sealmetrics tracking on your website using the official Google Tag Manager template. Track pageviews, conversions, and microconversions without writing code.
The **Sealmetrics GTM Template** allows you to install and configure Sealmetrics tracking on your website directly from Google Tag Manager, without writing any code. Track pageviews, conversions, and microconversions with full attribution.
## Features
- **No-code installation** — Configure everything through GTM's visual interface
- **Three event types** — Pageviews, microconversions, and conversions
- **Custom properties** — Attach additional data to any event
- **Cookieless tracking** — analytics designed for the GDPR, with no consent banner for its own measurement (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
- **Automatic SPA support** — The tracker detects History API navigation automatically
Need dynamic values on the first pageview?
If you need to pass a `content_grouping` (or any other value) from `dataLayer` variables into the **initial** pageview, or you fire conversions before the script finishes loading, see the [Advanced GTM Integration](https://sealmetrics.com/docs/integrations/google-tag-manager-advanced.md) guide. It covers the `?auto=0` manual mode and the buffer stub.
## Recommended Trigger: Initialization
Use the Initialization trigger, not Page View / All Pages
For the pageview tag, configure the **Initialization** trigger (event ID `gtm.init`) instead of the default **All Pages** / **Page View** trigger. This is the single most important configuration choice when installing Sealmetrics via GTM.
### Why this matters
The Sealmetrics tracker is about 2.2 KB uncompressed, cookieless, and does not block rendering. Because of that, the best place to load it is **as early as possible** in the page lifecycle, so it can capture users who bounce in under a second.
GTM's event hierarchy fires in this order during page load:
```plaintext
1. gtm.init ← Initialization (earliest)
2. gtm.js ← Page View / All Pages
3. gtm.dom ← DOM Ready
4. gtm.load ← Window Loaded (latest)
```
The default **Page View** trigger is tied to `gtm.js`, which runs *after* the DOM starts parsing. On most sites the gap between `gtm.init` and `gtm.js` is a few milliseconds and the difference is invisible. But in three common scenarios, Page View loses hits:
| Scenario | Why Page View arrives too late |
| --- | --- |
| **Single-Page Applications** (Next.js, React Router, Vue Router, Nuxt) | The first Page View depends on when the framework marks the route as ready. In some setups, `gtm.js` fires *after* the client-side render, not the initial HTML. |
| **Sites with heavy synchronous JS** | Blocking scripts in `` delay everything after them, including `gtm.js`. |
| **Users who bounce in under 1 second** | If the visitor leaves before `gtm.js` runs, the hit never reaches Sealmetrics. Initialization fires almost immediately when the GTM container loads. |
### Race condition at a glance
```plaintext
Time →
GTM container loads
│
├─ gtm.init ────► [Sealmetrics fires here] Hit captured
│
│ (DOM starts parsing)
│ (synchronous scripts may block here)
│
├─ gtm.js ────► [Default Page View fires here]
│ If the user already left: Hit lost
│
├─ gtm.dom
└─ gtm.load
```
For traffic from paid ads, social, or push notifications — where some visitors leave within a second — moving the tag from Page View to Initialization recovers that lost segment.
### About SPAs
The Sealmetrics tracker auto-detects SPA navigation via `history.pushState`, `replaceState`, and `popstate`. With the Initialization trigger, the tracker loads once and handles every subsequent route change inside your app — **you do not need to add an "All Pages" or "History Change" trigger** for pageviews. Adding one would cause duplicate hits on the initial load.
The only exception is if your setup removes and re-injects the GTM container between routes (rare). In that case, add a **History Change** trigger pointing to the same tag.
## Installation Options
You have two ways to install the Sealmetrics template:
### Option 1: Community Template Gallery (Recommended)
Pending Review
The Sealmetrics template has been submitted to Google's Community Template Gallery and is currently **pending review**. Once approved, you'll be able to install it directly from within GTM.
Once approved, to install from the Gallery:
1. In Google Tag Manager, go to **Templates** in the left sidebar
2. Click **Search Gallery** in the Tag Templates section
3. Search for **"Sealmetrics"**
4. Click on the template and then **Add to workspace**
5. Confirm by clicking **Add**
### Option 2: Manual Import (Available Now)
You can import the template manually right now:
1. **Download the template file:** [Download template.tpl](https://github.com/sealmetrics/gtm-template/raw/main/template.tpl) Or clone the repository: ```bash
git clone https://github.com/sealmetrics/gtm-template.git
```
2. In Google Tag Manager, go to **Templates** in the left sidebar
3. In the **Tag Templates** section, click **New**
4. Click the **three dots menu (⋮)** in the top-right corner
5. Select **Import**
6. Choose the downloaded `template.tpl` file
7. Click **Save** to add the template to your workspace
## Configuration
Once the template is installed, you can create tags using it.
### Creating a New Tag
1. Go to **Tags** in the left sidebar
2. Click **New**
3. Click on **Tag Configuration**
4. Select **Sealmetrics Tracking** from the list
5. Configure the tag settings (see below)
6. Add a **Trigger**: For the pageview tag, use **Initialization — All Pages** (event `gtm.init`). See Recommended Trigger: Initialization above for the rationale.
7. For conversions and microconversions, use the relevant Custom Event or Form/Click trigger.
8. (Optional but recommended for the pageview tag) Open **Advanced Settings → Consent Settings** and select **No additional consent required**. Sealmetrics sets no cookies and, on our self-assessment, needs no consent for its own analytics (Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)), so a CMP usually should not block it.
9. **Save** the tag
### Tag Settings
#### Event Type
Choose what type of event to track:
| Event Type | Use Case | Example |
// ... full example at https://sealmetrics.com/docs/integrations/google-tag-manager/
```html
```
### Create Data Layer Variables in GTM
1. Go to **Variables** → **New**
2. Choose **Data Layer Variable**
3. Set **Data Layer Variable Name** to `orderTotal`
4. Name it `Order Total` and save
5. Repeat for other values (`paymentMethod`, etc.)
### Use Variables in Your Tag
Reference variables in your tag configuration:
- **Conversion Value:** `{{Order Total}}`
- **Custom Properties:** `payment-method` → `{{Payment Method}}`
## Testing Your Setup
### Preview Mode
1. Click **Preview** in GTM
2. Navigate your website
3. Verify tags fire on the correct pages/events
4. Check that values are passed correctly
### Debug in Sealmetrics
1. Log in to [Sealmetrics](https://my.sealmetrics.com)
2. Go to your account dashboard
3. Check **Real-time** data to see incoming events
## Advanced GTM Integration
URL: https://sealmetrics.com/docs/integrations/google-tag-manager-advanced/
Decouple Sealmetrics library load from the initial pageview using?auto=0 and the buffer stub. Pass dynamic content grouping from the dataLayer without losing hits or sending duplicates.
By default, the Sealmetrics tracker fires the initial pageview as soon as the script finishes loading. For most sites that is exactly what you want, and the [no-code GTM Template](https://sealmetrics.com/docs/integrations/google-tag-manager.md) is the recommended path.
This guide is for a different scenario: **you need to pass dynamic values to the initial pageview** — typically a `content_grouping` derived from `dataLayer` variables — without losing hits and without sending duplicates.
To support this, Sealmetrics exposes two opt-in features that work together:
| Feature | What it does |
| --- | --- |
| **`?auto=0`** | Loads the library without firing the automatic initial pageview. You decide when to fire it and with what payload. |
| **Buffer stub** | A small inline snippet that queues calls to `sealmetrics(...)` made **before** the library finishes loading, so none are lost. |
If you don't need dynamic values on the first pageview, stick with the standard install — nothing in this guide is required.
## When to use this guide
Use the advanced pattern if **any** of the following applies:
- You need the first pageview to carry a `content_grouping` that lives in the `dataLayer` (page type, section, vertical, etc.).
- You fire conversions or microconversions from above-the-fold elements (CTAs, hero buttons) that a user could click before the tracker finishes downloading.
- Your team owns the GTM container but not the site HTML, and you need a workaround for the timing window between requesting the script and the browser executing it.
If none of these apply, the [standard template installation](https://sealmetrics.com/docs/integrations/google-tag-manager.md) is simpler and equally accurate.
## Standard install (recap)
```html
```
This handles everything automatically: it loads the library, fires the pageview, and detects SPA navigation. No additional setup needed.
## Manual mode: `?auto=0`
Append `&auto=0` to the script URL so the tracker loads but **does not** fire the initial pageview:
```html
```
When `?auto=0` is set:
- `window.sealmetrics` is exposed exactly as in the default mode.
- The initial pageview is **not** sent. You fire it yourself with `sealmetrics({ group: '...' })`.
- SPA navigation detection (pushState, replaceState, popstate) **remains active** — only the first pageview is skipped.
- `sealmetrics.conv()` and `sealmetrics.micro()` work exactly as before.
Any other value of `auto` (`auto=1`, `auto=foo`, or no `auto` at all) keeps the default behaviour.
## Buffer stub
When you load the tracker with `async` or through a tag manager, there is a window between requesting the script and the browser executing it. If a user clicks a button during that window and you call `sealmetrics(...)`, the call is lost silently because `window.sealmetrics` does not exist yet.
The **buffer stub** solves this. It is a one-line snippet placed in `` **before** the tracker loads. It accepts calls and stores them in an internal queue; when the real library loads, it drains the queue in FIFO order.
```html
```
Properties of the stub:
- **About 180 bytes gzipped.** No measurable impact on page performance.
- **Idempotent.** If injected twice, the second injection is a no-op.
- **Three entry points** — `sealmetrics`, `sealmetrics.conv`, `sealmetrics.micro` — matching the real library's API.
### Readable version (equivalent to the minified snippet above)
```javascript
(function (w) {
w.sealmetrics = w.sealmetrics || function () {
(w.sealmetrics.q = w.sealmetrics.q || []).push(['pv', arguments]);
};
w.sealmetrics.q = w.sealmetrics.q || [];
w.sealmetrics.conv = w.sealmetrics.conv || function () {
w.sealmetrics.q.push(['cv', arguments]);
};
w.sealmetrics.micro = w.sealmetrics.micro || function () {
w.sealmetrics.q.push(['mc', arguments]);
};
})(window);
```
### Where to place the stub
| Location | Recommendation |
| --- | --- |
| **Inline in ``** (a `
```
### Step 2 — GTM Tag "Sealmetrics — Load library" (trigger: `Initialization`)
```javascript
(function () {
var s = document.createElement('script');
s.async = true;
s.src = 'https://t.sealmetrics.com/t.js?id={{ACCOUNT_ID}}&auto=0';
document.head.appendChild(s);
})();
```
Replace `{{ACCOUNT_ID}}` with a GTM Constant Variable holding your Sealmetrics Account ID.
### Step 3 — GTM Tag "Sealmetrics — Pageview" (trigger: your dataLayer-ready event)
```javascript
sealmetrics({ group: {{dlv.content_grouping}} });
```
`{{dlv.content_grouping}}` is a GTM Data Layer Variable that reads your `content_grouping` key. Replace it with whatever variable holds the grouping you want to attribute.
### How it works
- The stub defines `window.sealmetrics` from the very first millisecond of the page.
- Step 2 starts the tracker download asynchronously — it does not block rendering.
- Step 3 can fire **before or after** Step 2 finishes. If the stub is in place, the call is queued; if the library is already loaded, it executes immediately. **Order does not matter.**
- When the tracker finishes loading, it drains the queue (1 pageview with the correct grouping) and does **not** fire its automatic pageview (because `?auto=0` is set).
- Result: **exactly one pageview** per page load, with the correct grouping, regardless of which tag arrives first.
## Variant: stub inside GTM (when you cannot edit the HTML)
If your team owns the GTM container but not the `` of the site's HTML, you can keep the **same canonical behaviour** by combining the stub and the loader into a single GTM tag. This is the recommended option when inline HTML editing is not possible — it is, in fact, the exact pattern used by the Sealmetrics marketing site (`sealmetrics.com`).
### Step 1 — GTM Tag "Sealmetrics — Stub + Loader" (trigger: `Initialization`)
Create a **Custom HTML** tag with the following content:
```html
```
Trigger: **Initialization — All Pages** (event `gtm.init`).
### Step 2 — GTM Tag "Sealmetrics — Pageview" (trigger: `All Pages` or your dataLayer-ready event)
```javascript
sealmetrics({ group: {{dlv.content_grouping}} });
```
### How it works
- `Initialization` is the earliest event in the GTM lifecycle — it fires before any other tag. The stub is defined **synchronously** inside that tag, so any subsequent tag that calls `sealmetrics(...)` already finds the stub in place.
- The tracker download starts immediately (`async`, non-blocking).
- The pageview tag runs after that. By then, either the real library has already loaded (the call goes straight to its API) or it hasn't yet (the stub queues it, and the library drains the queue once it finishes loading). **Order does not matter.**
- Result: the same guarantees as the canonical pattern with the inline `` stub — exactly one pageview with the correct grouping — **without touching the site's HTML**.
### Trade-off vs the inline `` stub
- The stub becomes available a few milliseconds later, when GTM boots and fires `Initialization`, instead of at HTML parse time. In practice this window is invisible: no real user clicks a CTA in the first few milliseconds of page load.
- If the GTM container itself is delayed — uncommon, but possible with some consent management platforms that gate GTM behind a banner click — the stub is delayed with it. The inline `` variant is immune to that.
**Which to choose:**
- If you **can** edit the HTML, prefer the canonical pattern with the inline `` stub (slightly more robust against container-loading delays).
- If you **cannot**, this fully in-GTM variant is completely functional and matches the canonical pattern's guarantees.
## Alternative without the stub
If you cannot inject inline code into your site's HTML, you can achieve a similar result with `?auto=0` plus a custom event. The trade-off is described below.
### GTM Tag 1 — load library and announce when ready
```javascript
(function () {
var s = document.createElement('script');
s.async = true;
s.src = 'https://t.sealmetrics.com/t.js?id={{ACCOUNT_ID}}&auto=0';
s.onload = function () {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: 'sealmetrics_loaded' });
};
document.head.appendChild(s);
})();
```
### GTM Tag 2 — fire pageview (trigger: Custom Event `sealmetrics_loaded`)
```javascript
sealmetrics({ group: {{dlv.content_grouping}} });
```
**Limitation.** If the user leaves the page before `s.onload` fires, the pageview is lost. The canonical pattern with the stub does not have this problem because the queue lives in memory the moment the page starts parsing.
## Anti-pattern: stub without `?auto=0`
If you install the stub but **forget** to add `?auto=0` to the tracker URL:
- Your code queues a pageview, e.g. `sealmetrics({ group: 'checkout' })`.
- The tracker loads, drains the queue → fires 1 pageview.
- The tracker also fires its automatic pageview → fires another pageview.
- **Result: 2 pageviews per session** (duplicates).
**Rule of thumb.** If you queue pageviews in the stub, always pair it with `?auto=0`.
If you only queue `conv()` or `micro()` calls (no pageviews), you can skip `?auto=0` — the tracker's automatic pageview is what you want in that case.
## API reference
```javascript
// Pageview using the grouping from the query string (?group=...)
sealmetrics();
// Pageview with an explicit grouping override
sealmetrics({ group: 'checkout' });
// Conversion with a monetary value
sealmetrics.conv('purchase', 89.99);
// Conversion with custom properties
sealmetrics.conv('purchase', 89.99, {
currency: 'EUR',
brand: 'Nike',
model: 'Air Max 90'
});
// Microconversion (funnel step, engagement)
sealmetrics.micro('add_to_cart');
sealmetrics.micro('add_to_cart', { product_id: 'SKU-123' });
```
The three entry points (`sealmetrics`, `sealmetrics.conv`, `sealmetrics.micro`) are available both in the stub and in the real library, with the same signatures.
## Single Page Applications (SPAs)
This section applies if your site is **Next.js, Nuxt, React Router, Vue Router, Angular**, or any framework where clicking a link **does not reload the HTML** — only the route changes via `pushState`.
In a SPA, the behaviour of each event depends on **who** fires it:
| Event | Who fires it | Correct `group` in a SPA? |
| --- | --- | --- |
| **First pageview** (initial load) | GTM (tag with `Initialization` trigger) | Yes — GTM runs, computes `group`, and passes it through |
| **SPA navigation pageview** (`pushState`) | The **tracker** internally | No — the tracker does not go through GTM, so it emits the pageview without your `group` logic |
| **Conversion** (`sealmetrics.conv(...)`) | Your code (a GTM tag, button handler, etc.) | Yes — URL and properties are captured correctly |
| **Microconversion** (`sealmetrics.micro(...)`) | Your code | Yes — same guarantees as conversion |
### What this means in practice
**Conversions and microconversions work fully in SPAs.** You can queue them early through the stub, fire them from GTM, attach dynamic properties — all of it captured correctly. The URL (`u`) attached to each event always reflects the current route.
**The only caveat is `group` on SPA navigation pageviews.** If your site is a SPA and you want to attribute a `content_grouping` to every pageview, you have three options today:
1. **Site-wide fixed grouping** (simplest). Add `?group=my-site` to the script URL. Every pageview — initial and SPA — will carry that same grouping. Limitation: a single value for the whole site, not per route.
2. **Accept the trade-off.** Use the canonical pattern (`stub +?auto=0`). The first pageview carries the correct grouping; SPA navigation pageviews will appear as `(not set)` in the dashboard. Acceptable when most of your traffic enters directly (organic, social, paid landing pages).
3. **Wait for `?auto=manual`** *(on the roadmap)*. A mode where the tracker fires no automatic pageview — initial or SPA — leaving full control to the client. Combined with a GTM `History Change` trigger, it allows dynamic per-route grouping with no duplicates.
### Summary for SPAs
- If you only care about **conversions, microconversions, and custom events**, the canonical pattern (`stub +?auto=0`) covers everything without limitations.
- If you also need **per-route pageview grouping**, use `?group=X` with a fixed value today, or wait for `?auto=manual` for dynamic per-route grouping.
## Choosing the right setup
| Your situation | Recommended setup |
| --- | --- |
| Multi-page site, no advanced GTM needs | Standard install (no `auto`, no stub) — see the [GTM Template guide](https://sealmetrics.com/docs/integrations/google-tag-manager.md) |
| Multi-page site with `content_grouping` from `dataLayer` (typical GTM case) | Canonical pattern (stub + `?auto=0` + manual pageview tag) |
| You only need to queue early conv/micro calls (above-the-fold buttons) | Stub **without** `?auto=0` |
| You cannot edit the HTML `` | **"Stub + Loader" GTM variant** (canonical pattern, run entirely from a GTM `Initialization` tag) |
| Same as above, but Custom HTML tags are disabled in your GTM container | `?auto=0` + GTM loader tag with `s.onload` + custom event (fallback) |
| SPA with conv/micro only (no dynamic grouping) | Canonical pattern — works fully for conv/micro |
| SPA with a fixed site-wide grouping | `?group=my-site` in the script URL (no `?auto=0` required) |
| SPA with dynamic per-route grouping | Wait for `?auto=manual` *(on the roadmap)* |
## Testing your setup
Verify the integration end to end before you publish the container:
1. **GTM Preview mode.** Confirm that the loader tag fires on `Initialization` and the pageview tag fires on your `dataLayer`-ready event. Both should appear in the **Tags Fired** column.
2. **Browser DevTools → Network tab.** Filter by `sealmetrics`. You should see: One request to `t.js?id=...&auto=0` (the library).
3. One pixel request per pageview, carrying your `group` value as a query parameter.
4. **Sealmetrics Real-time dashboard.** Open [my.sealmetrics.com](https://my.sealmetrics.com), check Real-time, and confirm that pageviews arrive with the expected `content_grouping`. Click through several pages and verify there are no duplicates.
If you see **two pageviews per load**, you are hitting the anti-pattern — your script URL is missing `?auto=0`.
If you see **zero pageviews**, your manual pageview tag is not firing. Re-check its trigger and confirm that `{{dlv.content_grouping}}` is resolving to a non-empty value in Preview mode.
## Related
- [GTM Template (no-code)](https://sealmetrics.com/docs/integrations/google-tag-manager.md) — the recommended path when you don't need dynamic values on the first pageview.
- [Sealmetrics Dashboard](https://my.sealmetrics.com) — find your Account ID and inspect incoming events.
- [GTM Container Template](https://sealmetrics.com/docs/integrations/tag-management/gtm-template.md) — the ready-to-import container with pre-built tags, triggers, and variables.
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) — how the tracker handles single-page-app navigation referenced in the SPA section above.
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying Sealmetrics tracker loads outside of GTM.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Webflow
URL: https://sealmetrics.com/docs/integrations/website-builders/webflow/
Add Sealmetrics cookieless analytics to Webflow by pasting a script in Project Settings > Custom Code, with automatic event and lead form tracking.
Privacy-first, cookieless analytics for Webflow sites with automatic event tracking.
## Installation
### Method 1: Project-wide (Recommended)
1. Go to **Project Settings > Custom Code**
2. In the **Head Code** section, paste the entire contents of `sealmetrics-webflow.js` wrapped in `
```
### Method 2: Specific Pages
1. Open the page in the Designer
2. Go to **Page Settings > Custom Code**
3. Add the script to **Inside tag**
4. Publish
## Configuration
Edit these values at the top of the pasted script:
```javascript
// Required: Your Sealmetrics Account ID
var SEALMETRICS_ACCOUNT_ID = 'YOUR_ACCOUNT_ID';
// Optional: Track contact forms as lead conversions (default: false)
var SEALMETRICS_CONTACT_AS_LEAD = false;
```
## Automatic Events
The script automatically tracks these events without any additional configuration:
| Event | Description |
| --- | --- |
| `pageview` | All page views with content grouping |
| `form_submit` | Form submissions (non-newsletter) |
| `newsletter_signup` | Newsletter form submissions |
## Webflow eCommerce Events
If using Webflow eCommerce, these events are tracked automatically:
| Event | Description |
| --- | --- |
| `view_item` | Product page views |
| `add_to_cart` | Add to cart clicks |
| `begin_checkout` | Checkout button clicks |
| `purchase` | Order confirmation (conversion) |
## Content Groups
The script automatically detects page types:
| URL Pattern | Group |
| --- | --- |
| `/` or `/home` | `home` |
| `/blog/*` | `blog` |
| `/blog` | `blog-index` |
| `/products/*` | `product` |
| `/services/*` | `service` |
| `/portfolio/*`, `/work/*`, `/projects/*` | `portfolio` |
| `/about*`, `/team*`, `/about-us*` | `about` |
| `/contact*` | `contact` |
| `/pricing*`, `/plans*` | `pricing` |
| `/faq*`, `/help*` | `faq` |
| `/case-stud*`, `/success-stor*` | `case-study` |
| `/thank*` | `thankyou` |
| `/cart` | `cart` |
| `/checkout` | `checkout` |
| `/legal*`, `/privacy*`, `/terms*` | `legal` |
| `/careers*`, `/jobs*` | `careers` |
| CMS collection items | `{collection_name}` |
## Form Detection
### Newsletter Forms
Automatically detected and tracked as `newsletter_signup`:
- Form name/ID/class contains: `newsletter`, `subscribe`, `mailchimp`, `convertkit`, `klaviyo`, `optin`, etc.
- Forms with only an email field
### Contact Forms
Tracked as `form_submit` or `lead` (if `SEALMETRICS_CONTACT_AS_LEAD = true`)
## Custom Events
Track custom events anywhere on your site:
```html
```
## Conversions
For lead generation or purchases:
```javascript
// Lead conversion (contact form, quote request)
sealmetrics.conv('lead', 0, {
source: 'contact_form'
});
// Purchase (if not using Webflow eCommerce auto-tracking)
sealmetrics.conv('purchase', 99.99, {
currency: 'USD'
});
// Signup
sealmetrics.conv('signup', 0, {
plan: 'free'
});
```
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying Sealmetrics tracker loads.
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — the concepts behind the Webflow eCommerce funnel events.
- [Wix](https://sealmetrics.com/docs/integrations/website-builders/wix.md) — the equivalent integration for Wix sites.
- [Squarespace](https://sealmetrics.com/docs/integrations/website-builders/squarespace.md) — the equivalent integration for Squarespace sites.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## Wix
URL: https://sealmetrics.com/docs/integrations/website-builders/wix/
Add Sealmetrics cookieless analytics to Wix sites and Wix Stores via Settings > Custom Code or an embed element, with automatic event tracking.
Privacy-first, cookieless analytics for Wix websites and Wix Stores.
## Installation
### Method 1: Custom Code (Recommended)
1. Go to **Settings > Custom Code** (or **Marketing & SEO > Custom Code**)
2. Click **"+ Add Custom Code"**
3. Paste the entire contents of `sealmetrics-wix.js` inside `
```
## Conversions
Track custom conversions:
```javascript
// Lead conversion
sealmetrics.conv('lead', 0, {
source: 'quote_form'
});
// Manual purchase tracking
sealmetrics.conv('purchase', 99.99, {
currency: 'USD'
});
```
## Squarespace Commerce
For Squarespace Commerce stores, the following is tracked automatically:
1. **Product Views**: When a visitor views a product detail page
2. **Add to Cart**: When clicking the add to cart button
3. **Begin Checkout**: When clicking the checkout button
4. **Purchase**: On the order confirmation page
No additional configuration required.
## Template Compatibility
Works with all Squarespace templates:
- Squarespace 7.0 templates (Brine, Bedford, etc.)
- Squarespace 7.1 templates
- Squarespace Commerce
## Privacy
- No cookies used
- No data that identifies anyone stored; reports are aggregated
- Designed for GDPR and ePrivacy (self-assessed, see [Compliance](https://sealmetrics.com/docs/compliance.md))
- No consent banner for Sealmetrics' own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — how the underlying Sealmetrics tracker loads.
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — the concepts behind the Squarespace Commerce funnel events.
- [Wix](https://sealmetrics.com/docs/integrations/website-builders/wix.md) — the equivalent integration for Wix sites.
- [Webflow](https://sealmetrics.com/docs/integrations/website-builders/webflow.md) — the equivalent integration for Webflow sites.
- [Integrations Overview](https://sealmetrics.com/docs/integrations.md) — browse every platform Sealmetrics supports.
## MCP Server for AI Assistants
URL: https://sealmetrics.com/docs/integrations/mcp-server/
Connect Claude, ChatGPT, Cursor, Codex, and other AI assistants to your Sealmetrics analytics using the Model Context Protocol (MCP) — either the hosted remote server (one URL, no install) or the local npx server.
The **Sealmetrics MCP Server** lets AI assistants like Claude (Claude Code, Claude Desktop, Claude.ai), ChatGPT, Cursor, Codex, Windsurf, VS Code, Microsoft Copilot ([own guide](https://sealmetrics.com/docs/integrations/microsoft-copilot.md)), and other MCP clients query your Sealmetrics analytics — traffic, conversions, campaigns, and more — in plain natural language.
There are **two ways to connect**, and you only need one:
| | **Remote MCP (hosted)** | **Local MCP (npx)** |
| --- | --- | --- |
| Setup | Paste **one URL** — no install | Add an `npx` command with your API key |
| Runs on | Sealmetrics servers | Your machine |
| Auth | Handled by the endpoint — nothing to paste | `SEALMETRICS_API_KEY` in the config |
| Node.js required | No | Yes (v18+) |
| Read analytics | 42 tools | 52 tools |
| Write channel rules (drafts) | **No** | **Yes**, with the right API key |
| Register a site / install the tracker from chat | **No** | **Yes** |
| Best for | **Codex, Cursor, Claude, ChatGPT** and any client that supports remote MCP | Editing channel rules with an assistant, installing the tracker, offline setups, or pinning a version |
**We recommend the remote MCP** for most people — it takes about two minutes per client and there's nothing to install or keep updated. Jump to the remote setup ↓
The hosted endpoint is read-only by design
The remote server registers **no write tools at all**. That is a property of the connection, not of your API key: a key that can edit channel rules still writes nothing over the hosted endpoint, because the tools are not there to call. If you want an assistant to draft channel rules, use the local server — and even there, it can only ever create **drafts**. See What each connection can do.
Don't have an account yet?
Both options assume you already have a Sealmetrics account and API key. If you want your AI assistant to **create the account for you from the chat** (no key, no terminal), use the one-click [AI Agentic Package (Claude & Codex)](https://sealmetrics.com/docs/integrations/agentic-package.md) instead.
## What is MCP?
The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) is an open standard that allows AI assistants to securely connect to external data sources. The Sealmetrics MCP server exposes your analytics — traffic, conversions, campaigns, and more — as tools your assistant can call in plain language, with no SQL and no dashboard. You can run it two ways: as the **hosted remote server** (Sealmetrics runs it; you just point your client at a URL) or as the **local server** (it runs on your machine via `npx`).
## What can you ask Claude?
Once connected, you can ask questions like:
- *"Show me an overview of my site for the last 7 days"*
- *"What are the top traffic sources this month?"*
- *"Compare this month's conversions with last month"*
- *"Which landing pages have the highest bounce rate?"*
- *"Show me revenue by country for the last quarter"*
- *"What devices do my visitors use?"*
- *"Analyze my top 3 campaigns and tell me which has the best conversion rate"*
## Remote MCP server (recommended)
The **hosted remote server** is the recommended way to connect. There's nothing to install and nothing to keep updated — you point your AI client at a single URL and start asking questions. It works with Claude, ChatGPT, Cursor, Codex, VS Code, and any client that supports remote (Streamable HTTP) MCP.
**Endpoint:**
```plaintext
https://mcp.sealmetrics.com/mcp
```
Add that URL in your client and the Sealmetrics tools become available — no local install and no key to paste. If your client shows an authorization or **Connect** step when you add the server, follow its prompts to finish linking.
Fewer tools, lower token use
Append `?discovery=progressive` to the endpoint (`https://mcp.sealmetrics.com/mcp?discovery=progressive`) to load tool definitions on demand instead of all at once. Every tool stays callable; your assistant just discovers them as needed, which lowers token usage on clients with tight context limits.
### Claude Code
Add the remote server with the HTTP transport (run inside your project, or add `-s user` to make it available in every project):
```bash
claude mcp add --transport http sealmetrics https://mcp.sealmetrics.com/mcp
```
Run `/mcp` inside Claude Code to check the connection. If it shows an authorization step, follow the prompt to finish linking.
### Claude.ai & Claude Desktop
1. Open **Settings → Connectors**.
2. Click **Add custom connector**.
3. Name it `Sealmetrics` and paste the URL: `https://mcp.sealmetrics.com/mcp`
4. Click **Add** (then **Connect** if prompted).
The Sealmetrics tools now appear in the connectors menu of any chat.
### ChatGPT
Remote MCP connectors are available on ChatGPT plans that support connectors (and via developer mode).
1. Open **Settings → Connectors** (or **Settings → Connectors → Advanced → Developer mode**).
2. Click **Create** / **Add custom connector**.
3. Name it `Sealmetrics` and set the **MCP Server URL** to `https://mcp.sealmetrics.com/mcp`.
4. Save (and complete any **Connect** step the dialog shows).
Once connected, enable the Sealmetrics connector in the composer's tools/connectors menu before asking about your data.
### Cursor
Add this to your MCP config (`~/.cursor/mcp.json` for all projects, or `.cursor/mcp.json` in a project):
```json
{
"mcpServers": {
"sealmetrics": {
"url": "https://mcp.sealmetrics.com/mcp"
}
}
}
```
Reload Cursor and open **Settings → MCP** to confirm Sealmetrics is listed (click **Connect** if it prompts you).
### Codex (OpenAI)
Add this to `~/.codex/config.toml`:
```toml
[mcp_servers.sealmetrics]
url = "https://mcp.sealmetrics.com/mcp"
```
Restart Codex — the Sealmetrics tools become available on the next session.
### VS Code (Copilot) & other MCP clients
Any client that supports remote MCP uses the same URL. In VS Code, add a `.vscode/mcp.json`:
```json
{
"servers": {
"sealmetrics": {
"type": "http",
"url": "https://mcp.sealmetrics.com/mcp"
}
}
}
```
Microsoft 365 Copilot, Copilot Studio or Teams?
Those need an agent rather than a config file. The step-by-step, including which OAuth option to pick, is in [Connect Sealmetrics to Microsoft Copilot](https://sealmetrics.com/docs/integrations/microsoft-copilot.md).
Client only supports local (stdio) servers?
A few older clients can't connect to a remote URL directly. Bridge to it with [`mcp-remote`](https://www.npmjs.com/package/mcp-remote):
```json
{
"mcpServers": {
"sealmetrics": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.sealmetrics.com/mcp"]
}
}
}
```
### Verify it works
Open your assistant and ask:
> "List my Sealmetrics sites"
It should respond with your sites. If it does, you're all set — skip ahead to Available tools.
## Local MCP server (npx)
Prefer to run the server on your own machine — for offline setups, or to pin a specific version? The **local server** runs via `npx` and authenticates with your API key. The steps below cover it end to end.
### Step 1: Verify Node.js is installed
Open your terminal and run:
```bash
node --version
```
You need **v18 or higher**. If you don't have it, download it from [nodejs.org](https://nodejs.org/).
### Step 2: Get your API Key
1. Log in to your Sealmetrics dashboard at [my.sealmetrics.com](https://my.sealmetrics.com)
2. Go to **Settings > API Keys** ([direct link](https://my.sealmetrics.com/settings/api-keys))
3. Click **Create API Key**
4. Give it a name (e.g. "Claude MCP") and click **Create**
5. Copy the key — it starts with `sm_` (e.g. `sm_AbCdEf123...`)
Important
The full API key is only shown once. Copy it immediately and store it in a safe place. A key's permissions **cannot be edited afterwards** — to change them, revoke the key and create a new one.
Want the assistant to draft channel rules?
Leave **Read access** checked and also check **Channel Rules: Drafts** (`channel_rules:write`). That enables the four write tools on the local server, which can only ever create drafts. Do **not** check **Channel Rules: Publish** unless you want scripts to change live classification without review. Full walkthrough: [Channel Grouping → Using the MCP](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping/#using-the-mcp).
### Step 3: Find your Site ID
1. Go to **Settings > Sites** ([direct link](https://my.sealmetrics.com/settings/sites))
2. Click on the site you want to query
3. The **Site ID** is displayed at the top of the site settings page (e.g. `my-store`)
Tip
If you only have one site, you can skip this step — just ask Claude to "list my sites" and it will find it for you.
### Step 4: Configure your Claude client
Choose the client you use:
#### Claude Code
Add the server with a single command (run inside your project):
```bash
claude mcp add sealmetrics \
-e SEALMETRICS_API_KEY=sm_your_key_here \
-e SEALMETRICS_SITE_ID=your-site-id \
-- npx -y @sealmetrics/mcp
```
Replace `sm_your_key_here` with your API key from Step 2, and `your-site-id` with your Site ID from Step 3.
Global configuration
By default the server is added for the current project. Add `-s user` to make Sealmetrics available in **all your projects**.
#### Claude Desktop
1. Open Claude Desktop
2. Go to **Settings** (gear icon) > **Developer** > **Edit Config**
3. Add the following configuration:
```json
{
"mcpServers": {
"sealmetrics": {
"command": "npx",
"args": ["-y", "@sealmetrics/mcp"],
"env": {
"SEALMETRICS_API_KEY": "sm_your_key_here",
"SEALMETRICS_SITE_ID": "your-site-id"
}
}
}
}
```
1. Save and **restart Claude Desktop** completely (Cmd+Q on macOS, then reopen)
One-click alternative
You can skip the JSON entirely with the [Sealmetrics Claude Desktop extension](https://sealmetrics.com/docs/integrations/agentic-package.md) — download, double-click, paste your key. The same extension can also **create an account for you** if you don't have one yet.
#### Codex (OpenAI)
Add this to `~/.codex/config.toml`:
```toml
[mcp_servers.sealmetrics]
command = "npx"
args = ["-y", "@sealmetrics/mcp"]
env = { SEALMETRICS_API_KEY = "sm_your_key_here", SEALMETRICS_SITE_ID = "your-site-id" }
```
Restart Codex after saving.
#### Cursor, Windsurf, VS Code & other MCP clients
Any MCP-compatible client uses the same server. Add this block to your client's MCP config (in Cursor, `~/.cursor/mcp.json`):
```json
{
"mcpServers": {
"sealmetrics": {
"command": "npx",
"args": ["-y", "@sealmetrics/mcp"],
"env": {
"SEALMETRICS_API_KEY": "sm_your_key_here",
"SEALMETRICS_SITE_ID": "your-site-id"
}
}
}
}
```
### Step 5: Verify it works
Open Claude and ask:
> "List my Sealmetrics sites"
Claude should respond with a list of your sites. If it does, you're all set!
## Configuration reference
| Variable | Required | Description |
| --- | --- | --- |
| `SEALMETRICS_API_KEY` | Yes | Your API key from [Settings > API Keys](https://my.sealmetrics.com/settings/api-keys). Starts with `sm_`. |
| `SEALMETRICS_SITE_ID` | No | Default Site ID from [Settings > Sites](https://my.sealmetrics.com/settings/sites). If set, you don't need to specify the site in every query. |
| `SEALMETRICS_BASE_URL` | No | API base URL. Default: `https://my.sealmetrics.com/api/v1`. Only change this for custom deployments. |
## Available tools
Claude uses these tools automatically when you ask questions — you never need to call them directly. The 52 read-only analytics tools are grouped below by category.
### What each connection can do
The two connections do **not** expose the same tools. A tool missing from the hosted endpoint is missing because it was never registered there — no API key, scope or setting brings it back on that connection.
| | **Hosted endpoint** (`https://mcp.sealmetrics.com/mcp`) | **Local server** (`npx -y @sealmetrics/mcp`) |
| --- | --- | --- |
| Read-only analytics tools | **42** of the 52 below | **All 52** |
| `search` / `fetch` (ChatGPT compatibility) | Yes | No |
| Channel-rule **write** tools (draft-only) | No | Yes — 4 tools |
| Setup tools (register a site, install and verify the tracker) | No | Yes — 8 tools |
| Picking the site | From the connection; injected automatically when it covers a single site | `SEALMETRICS_SITE_ID`, or name the site per question |
**The 10 read-only tools the hosted endpoint omits** are Segments (`list_segments`, `get_segment`), Alerts (`list_alerts`, `get_alert_history`, `get_alert_stats`), Bot detection (`get_bot_stats`, `get_suspicious_sessions`) and Webhooks (`list_webhooks`, `list_webhook_deliveries`, `get_webhook_stats`). Their endpoints require a dashboard session, which a hosted connection never has. Everything else — including the channel-rule **reads** `get_channels`, `list_channel_rules` and `test_channel_rules` — works on both.
### Sites
| Tool | Description |
| --- | --- |
| `list_sites` | List all sites (web properties) accessible with your API key, with IDs, names, and domains |
| `get_site` | Get detailed info about a specific site: name, domains, timezone, configuration, and tracking status |
### Overview
| Tool | Description |
| --- | --- |
| `get_overview` | Dashboard KPIs: pageviews, entrances, bounce rate, conversions, revenue, with time series and optional period comparison |
### Traffic, sources & campaigns
| Tool | Description |
| --- | --- |
| `get_traffic_sources` | Traffic by source (utm_source): google, facebook, direct, etc. |
| `get_traffic_mediums` | Traffic by medium (utm_medium): organic, cpc, email, referral, social, etc. |
| `get_campaigns` | Performance by campaign (utm_campaign) with entrances, conversions, and revenue |
| `get_terms` | Traffic by UTM term (keyword) with source/medium/campaign/country filters |
| `get_top_sources` | Top traffic sources ranked by entrances (compact, non-paginated) |
| `get_top_campaigns` | Top campaigns ranked by entrances (compact, non-paginated) |
| `get_top_terms` | Top UTM terms (keywords) ranked by entrances (compact, non-paginated) |
| `get_top_referrers` | Top referrer domains ranked by entrances |
### Pages & content
| Tool | Description |
| --- | --- |
| `get_pages` | Metrics per page URL path: pageviews and entrances, with multi-value filters and `include` dimensions |
| `get_landing_pages` | Landing page performance: entrances, bounce rate, conversions |
| `get_top_pages` | Top pages ranked by page views (compact, non-paginated) |
| `get_top_landing_pages` | Top landing pages ranked by entrances (compact, non-paginated) |
| `get_landing_pages_by_content_group` | Landing page metrics grouped by content grouping |
| `get_content_groups` | Metrics grouped by content group (content_grouping) |
### Conversions
| Tool | Description |
| --- | --- |
| `get_conversions` | Conversions by type (purchase, signup) with count, revenue, and average order value |
| `get_microconversions` | Microconversions (add_to_cart, newsletter_signup, etc.) by type with counts |
| `list_microconversion_types` | List available microconversion type names for a site |
| `get_microconversion_details` | Detailed breakdown of a microconversion type by source, medium, campaign, country, device, browser, OS |
### Raw events (event-level)
| Tool | Description |
| --- | --- |
| `get_conversions_raw` | Raw conversion rows (one per event) with `timestamp_utc`/`timestamp_local`; date range capped at 31 days |
| `get_microconversions_raw` | Raw microconversion rows (one per event); date range capped at 31 days |
| `get_conversion_items_raw` | One row per item inside a conversion (per-product); always includes item `properties` (sku, price, quantity) |
### Audience (geo, devices, browsers, OS)
| Tool | Description |
| --- | --- |
| `get_countries` | Traffic by country (ISO 3166-1 alpha-2) with entrances, conversions, and revenue |
| `get_devices` | Device type, browser, and OS breakdown in a single call |
| `get_device_types` | Traffic by device type (desktop, mobile, tablet), paginated |
| `get_browsers` | Traffic by browser (Chrome, Safari, Firefox, Edge...), paginated |
| `get_operating_systems` | Traffic by operating system (Windows, macOS, iOS, Android, Linux...), paginated |
### Channels
| Tool | Description |
| --- | --- |
| `get_channels` | Traffic grouped by channel: Paid Search, Organic, Social, Direct, Email, Referral, etc. |
| `get_top_channels` | Top channels ranked by entrances (compact, non-paginated) |
| `list_channel_rules` | List channel group rules that classify traffic into channels |
| `test_channel_rules` | Test how a source/medium/campaign combination would be classified |
| `create_channel_rule` | **Local only.** Create a new channel rule **as a draft** (never live) |
| `update_channel_rule` | **Local only.** Update a channel rule — **drafts only** |
| `delete_channel_rule` | **Local only.** Delete a channel rule — **drafts only** |
| `import_channel_rules` | **Local only.** Bulk-import rules **as drafts**; defaults to `dry_run=true` |
The four write tools exist **only on the local server** and need an API key with the `channel_rules:write` scope. They follow a strict **draft-only invariant**: the MCP can never touch a live rule or activate anything, whatever scope the key carries. Publishing is always a human action from the dashboard. See [Channel Grouping](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping/#using-the-mcp) for the full workflow and the key setup.
### Custom properties (custom dimensions)
| Tool | Description |
| --- | --- |
| `list_property_keys` | List available custom property keys from conversions and/or microconversions |
| `get_property_values` | Property values with counts, grouped by a UTM parameter (paginated) |
| `get_property_breakdown` | Complete property breakdown (pivot-table style) with counts and revenue |
### Funnel
| Tool | Description |
| --- | --- |
| `get_funnel` | Funnel analysis with step-by-step conversion rates and dropoff |
### Bot detection
| Tool | Description |
| --- | --- |
| `get_bot_stats` | Bot detection overview: score distribution, top flags, human vs suspected-bot daily trend |
| `get_suspicious_sessions` | Sessions with high bot-suspicion scores, with detected flags |
### Segments
| Tool | Description |
| --- | --- |
| `list_segments` | List all segments (saved filter sets) available for a site |
| `get_segment` | Get details of a specific segment, including its filter definition |
### Alerts
| Tool | Description |
| --- | --- |
| `list_alerts` | List alert rules: name, metric, condition, threshold, and status |
| `get_alert_history` | History of triggered alerts: when they fired, status, and triggering rule |
| `get_alert_stats` | Alert statistics: total rules, active alerts, resolved count, acknowledgement rate |
### Webhooks
| Tool | Description |
| --- | --- |
| `list_webhooks` | List webhook endpoints: URL, subscribed event types, and active status |
| `list_webhook_deliveries` | Delivery attempts for an endpoint: HTTP status, response time, success/failure |
| `get_webhook_stats` | Delivery statistics for an endpoint: total, success rate, avg response time, failures |
### Tracking code
| Tool | Description |
| --- | --- |
| `get_tracking_code` | Tracking pixel `",
"api_key": "sm_…",
"dashboard_url": "https://my.sealmetrics.com/…",
"claim_url": "https://my.sealmetrics.com/…",
"free_quota": { "events_total": 1000000 },
"next_steps": [
"Paste the snippet just before the closing tag on every page.",
"Deploy your site so the tracker can start capturing pageviews.",
"Check your email to set a password and open your dashboard.",
"Read your analytics with the api_key via the Sealmetrics MCP server."
]
}
}
```
| Field | Description |
| --- | --- |
| `account_id` | Pass this as `account_id` to every [stats endpoint](https://sealmetrics.com/docs/api/stats.md). |
| `snippet` | The tracking script, ready to paste before ``. |
| `api_key` | Read-only API key for this account. Also emailed to the user. |
| `claim_url` | Magic link for the human to set a password and take ownership. |
| `free_quota.events_total` | Free-tier event allowance — a **lifetime cumulative** cap, not a monthly one. |
Handle api_key and claim_url as secrets
Both grant access to the new account. Never echo them into a chat transcript, a log, or a shared terminal — the official tools deliberately send them by email instead of printing them. If you build your own integration, do the same.
## Free tier
A provisioned account starts on the free tier with **1,000,000 events total** — cumulative over the life of the organization, not reset monthly. Rate limits follow the free-tier row in [Rate Limits](https://sealmetrics.com/docs/api/rate-limits.md).
## Errors
| Status | `error.code` | `error.message` / meaning |
| --- | --- | --- |
| `400` | `bad_request` | `accept_terms` was not `true`. |
| `400` | `invalid_input` | A field failed validation — see `error.message`. |
| `401` | `unauthorized` | Message is `provision_key_required` (header missing) or `invalid_provision_key` (unknown or deactivated key). |
| `409` | `provision_unavailable` | The account could not be created with those details. **Deliberately ambiguous**: it does not confirm whether the email is already registered. If a matching account exists, its owner is notified by email. Tell the user to log in and add a site from the dashboard. |
| `429` | `rate_limit_exceeded` | Rate-limited per IP *and* per provision key. Honour `Retry-After`. |
| `503` | `service_unavailable` | Message is `provisioning_disabled` — headless provisioning is switched off globally. Not retryable on a short timescale. |
Do not treat `409 provision_unavailable` as "email taken" in your UI copy. The API will not tell you that, on purpose.
## After provisioning
1. Place the `snippet` before `` and deploy.
2. Confirm the pixel is live — via `GET /sites/{id}/pixel/status` ([Sites](https://sealmetrics.com/docs/api/sites.md)), or the `verify_setup` MCP tool.
3. Start reading data with the `api_key`: `GET /stats/overview?account_id=&period=7d`.
4. Point the user at `claim_url` so they can set a password.
## Related
- [For AI Agents](https://sealmetrics.com/docs/api/for-agents.md) — the rest of the agent surface
- [AI Agentic Package](https://sealmetrics.com/docs/integrations/agentic-package.md) — the packaged version of this flow
- [MCP Server](https://sealmetrics.com/docs/integrations/mcp-server.md)
- [Quick Start](https://sealmetrics.com/docs/api/quick-start.md)
- [Rate Limits](https://sealmetrics.com/docs/api/rate-limits.md)
## Two-Factor Authentication API
URL: https://sealmetrics.com/docs/api/2fa/
Manage the user's TOTP-based second factor — enable, verify at login, disable, and regenerate backup codes.
Sealmetrics supports **TOTP-based** two-factor authentication (compatible with Google Authenticator, 1Password, Authy, Bitwarden, etc.) plus **single-use backup codes** for account recovery.
Once 2FA is enabled for a user, the standard [`POST /auth/token`](https://sealmetrics.com/docs/api/authentication/#obtaining-a-token) login returns a **two-step response**: it does not issue a full session, only a challenge that the client must resolve with `POST /2fa/verify-login` before it can access the API.
**Base path:** `/2fa`
All endpoints below require a JWT session (from `/auth/token`), except `/2fa/verify-login` which uses the challenge token returned by the initial login.
## GET /2fa/status
Return the current user's 2FA configuration state.
```bash
curl -X GET "https://my.sealmetrics.com/api/v1/2fa/status" \
--cookie "sm_access_token="
```
**Response:**
```json
{
"success": true,
"data": {
"enabled": true,
"setup_pending": false,
"backup_codes_remaining": 8,
"enabled_at": "2026-07-01T12:00:00Z"
}
}
```
| Field | Description |
| --- | --- |
| `enabled` | 2FA is active for this user |
| `setup_pending` | A `/2fa/setup` was started but never completed with `/2fa/setup/verify` |
| `backup_codes_remaining` | How many unused backup codes are left (starts at 10) |
## POST /2fa/setup
Start the enrollment flow. Generates a fresh TOTP secret and returns the QR code + provisioning URI. **Does not enable 2FA yet** — the user must scan the QR and then confirm a valid code via `/2fa/setup/verify`.
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/2fa/setup" \
--cookie "sm_access_token="
```
**Response:**
```json
{
"success": true,
"data": {
"secret": "JBSWY3DPEHPK3PXP",
"qr_code_svg": "",
"otpauth_uri": "otpauth://totp/Sealmetrics:alice@acme.com?secret=JBSWY3DPEHPK3PXP&issuer=Sealmetrics"
}
}
```
The `otpauth_uri` and `qr_code_svg` are equivalent — pick whichever your client prefers to display.
## POST /2fa/setup/verify
Complete enrollment by submitting a code from the authenticator app. On success, 2FA is enabled and the backup codes are returned **once** — store them safely, they can't be retrieved later.
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/2fa/setup/verify" \
--cookie "sm_access_token=" \
-H "Content-Type: application/json" \
-d '{"code": "123456"}'
```
**Response:**
```json
{
"success": true,
"data": {
"enabled": true,
"backup_codes": [
"a1b2-c3d4",
"e5f6-g7h8",
"..."
]
}
}
```
If the code is wrong, `400 invalid_code`. If no setup is in progress, `400 no_setup_pending`.
## POST /2fa/setup/cancel
Discard a pending enrollment without completing it. Useful if the user closed the QR modal.
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/2fa/setup/cancel" \
--cookie "sm_access_token="
```
## POST /2fa/verify-login
**Public endpoint used during login** — not authenticated by a full JWT, but by the short-lived challenge token returned by `/auth/token` when 2FA is required.
Login flow with 2FA enabled:
1. `POST /auth/token` (email + password) → response is `{ "requires_2fa": true, "challenge_token": "" }` (no full access token yet).
2. Prompt the user for their TOTP code (or a backup code).
3. `POST /2fa/verify-login` with the challenge + code.
4. On success, receive the standard login response (access token in body + `sm_refresh_token` cookie).
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/2fa/verify-login" \
-H "Content-Type: application/json" \
-d '{
"challenge_token": "",
"code": "123456"
}'
```
The `code` accepts either a 6-digit TOTP code **or** one of the user's backup codes (format `xxxx-xxxx`). Backup codes are single-use — they're consumed on successful verification.
Rate-limited per IP. Too many wrong codes → `429`.
## POST /2fa/disable
Turn 2FA off. Requires the user's password + a valid TOTP code (or backup code) as final proof. Deleting the 2FA config also invalidates all backup codes.
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/2fa/disable" \
--cookie "sm_access_token=" \
-H "Content-Type: application/json" \
-d '{
"password": "",
"code": "123456"
}'
```
## POST /2fa/backup-codes/regenerate
Invalidate the existing backup codes and issue a fresh set of 10. Returned once — store them safely. Requires a valid TOTP code as proof.
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/2fa/backup-codes/regenerate" \
--cookie "sm_access_token=" \
-H "Content-Type: application/json" \
-d '{"code": "123456"}'
```
**Response:**
```json
{
"success": true,
"data": {
"backup_codes": [
"z9y8-x7w6",
"..."
]
}
}
```
## Error codes
| HTTP | Code | Meaning |
| --- | --- | --- |
| 400 | `invalid_code` | The TOTP / backup code didn't match |
| 400 | `no_setup_pending` | Trying to verify a setup that wasn't started |
| 400 | `already_enabled` | Trying to start setup while 2FA is already on |
| 401 | `invalid_challenge` | The challenge token expired or is invalid (`/2fa/verify-login`) |
| 401 | `invalid_password` | Wrong password on `/2fa/disable` |
| 429 | `rate_limit_exceeded` | Too many failed attempts on `/2fa/verify-login` |
## Related
- [Authentication](https://sealmetrics.com/docs/api/authentication.md) — login flow, JWT bearer tokens, API keys.
- [Sessions](https://sealmetrics.com/docs/api/authentication/#session-management) — revoke devices from your account.
## Email Verification
URL: https://sealmetrics.com/docs/api/email-verification/
Endpoints for the post-registration email confirmation flow — check status, resend the verification email, and verify with auto-login
Endpoints that drive the post-registration email-confirmation flow. New users land here after clicking the verification link in their welcome email; the `/verify` endpoint also performs an auto-login so the user is signed in immediately after confirming.
**Base path:** `/email`
## Get Verification Status
```http
GET /email/verification-status
```
Requires an authenticated session (JWT or cookie). API keys are rejected — the endpoint is scoped to user accounts.
**Response:**
```json
{
"success": true,
"data": {
"verified": true,
"email": "alice@acme.com"
}
}
```
Returns `400` if the caller is not a user account, `404` if the user record cannot be loaded.
## Resend Verification Email
```http
POST /email/resend-verification
```
Can be called by an authenticated user (omit the body) **or** by an unauthenticated caller passing the target email. To prevent enumeration, the unauthenticated path always returns a generic success message even when the email does not exist.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | Cond. | Required only when unauthenticated |
**Response:**
```json
{ "success": true, "data": { "message": "Verification email sent. Please check your inbox." } }
```
Possible status codes:
- `200` — email queued, or generic "if exists" message for unauthenticated calls
- `200` with `"Email is already verified"` — the user has already confirmed
- `400` — neither authentication nor email provided
- `429` — too many resend attempts (per-user rate limit)
## Verify Email and Auto-Login
```http
POST /email/verify
```
Confirms the verification token from the email link and immediately creates an authenticated session. Sets refresh / access auth cookies on the response and returns the access token in the body for SPA bootstrapping.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | Yes | Verification token (≥20 chars) |
**Response:**
```json
{
"success": true,
"data": {
"message": "Email verified successfully.",
"verified": true,
"access_token": "eyJhbGciOi...",
"expires_in": 3600
}
}
```
The response also sets the standard auth cookies (`access_token`, `refresh_token`). Returns `400` on invalid or expired tokens.
## Send Verification Email (admin)
```http
POST /email/send-verification?user_id={user_id}
```
Trigger a verification email for a specific user. **Requires the `admin` scope** — regular tokens get `403`.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `user_id` | integer | Yes | Target user ID |
**Response:**
```json
{ "success": true, "data": { "message": "Verification email sent" } }
```
Returns `200` with `"Email is already verified"` when applicable, `404` if the user does not exist, `500` if the email service fails.
## API Tokens
URL: https://sealmetrics.com/docs/api/api-tokens/
Create and manage read-only personal API tokens with scoped permissions, optional account restrictions, and automatic expiration
Create and manage personal API tokens for programmatic access to the Sealmetrics API.
## Overview
API tokens provide:
- Long-lived authentication for integrations
- Scoped permissions per token
- Optional account restrictions
- Automatic expiration
**Base path:** `/api-tokens`
## Scopes
API tokens can be granted the following permissions:
| Scope | Description |
| --- | --- |
| `stats:read` | Read analytics data (traffic, conversions, pages) |
| `sites:read` | Read site configuration (domains, settings, channel rules) |
| `accounts:read` | Read account information |
| `channel_rules:write` | Channel rules: create and edit **drafts** only. Nothing on live rules |
| `channel_rules:publish` | Channel rules: create **live** rules and edit/delete live ones. Implies `channel_rules:write` |
**Note:** API tokens are read-only apart from channel rules, which are the single exception. Every other write operation requires JWT authentication via the dashboard. See [Channel Groups](https://sealmetrics.com/docs/api/channel-groups.md) for what each channel-rule scope allows, and [Channel Grouping](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping/#the-api-key-the-write-tools-need) for how to create the key.
Permissions are fixed at creation
A token's scopes cannot be edited later. To change them, revoke the token and create a new one. A `403` response naming `Required scope:...` means the token lacks that scope.
### List Available Scopes
```http
GET /api-tokens/scopes
```
**Response:**
```json
{
"data": {
"scopes": [
{
"id": "stats:read",
"name": "Stats Read",
"description": "Read analytics data"
},
{
"id": "sites:read",
"name": "Sites Read",
"description": "Read site configuration"
},
{
"id": "accounts:read",
"name": "Accounts Read",
"description": "Read account info"
},
{
"id": "channel_rules:write",
"name": "Channel Rules: Drafts",
"description": "Channel rules: create and edit drafts only"
},
{
"id": "channel_rules:publish",
"name": "Channel Rules: Publish",
"description": "Channel rules: create live rules and edit/delete live ones"
}
]
}
// ... full example at https://sealmetrics.com/docs/api/api-tokens/
```
## List Tokens
```http
GET /api-tokens
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `include_inactive` | boolean | `false` | Include revoked tokens |
**Response:**
```json
{
"data": {
"tokens": [
{
"id": 1,
"name": "Production API",
"token_prefix": "sm_abc",
"scopes": ["stats:read", "sites:read", "accounts:read"],
"account_ids": ["acme-corp"],
"is_active": true,
"expires_at": "2026-01-10T00:00:00Z",
"last_used_at": "2025-01-10T14:30:00Z",
"created_at": "2025-01-01T10:00:00Z"
}
],
"total": 1
}
}
```
## Create Token
```http
POST /api-tokens
```
**Request Body:**
```json
{
"name": "My Integration",
"scopes": ["stats:read", "sites:read"],
"account_ids": ["acme-corp", "other-site"],
"expires_in_days": 365
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Token name (1-100 chars) |
| `scopes` | string[] | Yes | Permission scopes |
| `account_ids` | string[] | No | Restrict to specific accounts |
| `expires_in_days` | int | No | Days until expiration, 1-365 (default: none — never expires) |
**Response (201 Created):**
```json
{
"data": {
"id": 2,
"name": "My Integration",
"token": "sm_abc123def456ghi789...",
"token_prefix": "sm_abc",
"scopes": ["stats:read", "sites:read"],
"account_ids": ["acme-corp", "other-site"],
"is_active": true,
"expires_at": "2026-01-10T00:00:00Z",
"created_at": "2025-01-10T14:30:00Z"
}
}
```
**Important:** The full `token` value is only returned once. Store it securely.
## Get Token
```http
GET /api-tokens/{token_id}
```
**Response:**
```json
{
"data": {
"id": 1,
"name": "Production API",
"token_prefix": "sm_abc",
"scopes": ["stats:read", "sites:read", "accounts:read"],
"account_ids": ["acme-corp"],
"is_active": true,
"expires_at": "2026-01-10T00:00:00Z",
"last_used_at": "2025-01-10T14:30:00Z",
"created_at": "2025-01-01T10:00:00Z"
}
}
```
## Revoke Token
```http
DELETE /api-tokens/{token_id}
```
Revokes a token immediately. This action cannot be undone.
**Response:**
```json
{
"data": {
"id": 1,
"name": "Production API",
"is_active": false,
"revoked_at": "2025-01-10T14:30:00Z"
}
}
```
## Using API Tokens
Include the token in the `X-API-Key` header:
```bash
curl -X GET "https://my.sealmetrics.com/api/v1/stats/overview?site_id=acme" \
-H "X-API-Key: sm_abc123def456ghi789..."
```
## Token Best Practices
### 1. Use Minimal Scopes
Only grant the scopes your integration needs:
```json
{
"name": "Analytics Only",
"scopes": ["stats:read"]
}
```
### 2. Restrict to Specific Sites
If your integration only needs access to certain sites:
```json
{
"name": "Client Dashboard",
"scopes": ["stats:read"],
"account_ids": ["client-a", "client-b"]
}
```
### 3. Set Appropriate Expiration
For temporary integrations, use short expiration:
```json
{
"name": "Audit Script",
"scopes": ["stats:read"],
"expires_in_days": 7
}
```
### 4. Rotate Tokens Regularly
Create a new token before the old one expires:
```python
# Create new token
new_token = create_token("Production API v2", scopes=["stats:read", "sites:read"])
# Update your application config
update_config(new_token)
# Revoke old token after confirming new one works
revoke_token(old_token_id)
```
### 5. Never Commit Tokens
Store tokens in environment variables:
```bash
# .env file (never commit!)
SEALMETRICS_API_KEY=sm_abc123...
```
```python
import os
API_KEY = os.environ["SEALMETRICS_API_KEY"]
```
## Token Errors
The `error.code` is derived from the HTTP status (`401` → `unauthorized`, `403` → `forbidden`). The specific reason is carried in the human-readable `error.message`.
| HTTP Code | Error Code | Example message |
| --- | --- | --- |
| 401 | `unauthorized` | `Invalid API key` (token not found or revoked) |
| 401 | `unauthorized` | `API key has expired` |
| 401 | `unauthorized` | `Invalid API key format` (missing `sm_` prefix) |
| 403 | `forbidden` | `Required scope: ` (token lacks required scope) |
| 403 | `forbidden` | `Access denied to account: ` (account not in token's allowed list) |
## Code Examples
### Python
```python
import requests
BASE_URL = "https://my.sealmetrics.com/api/v1"
def create_api_token(auth_token: str, name: str, scopes: list) -> dict:
"""Create a new API token."""
response = requests.post(
f"{BASE_URL}/api-tokens",
headers={"Authorization": f"Bearer {auth_token}"},
json={
"name": name,
"scopes": scopes,
"expires_in_days": 365
}
)
response.raise_for_status()
return response.json()["data"]
def revoke_token(auth_token: str, token_id: int):
"""Revoke an API token."""
response = requests.delete(
f"{BASE_URL}/api-tokens/{token_id}",
headers={"Authorization": f"Bearer {auth_token}"}
)
response.raise_for_status()
```
### JavaScript
```javascript
async function createApiToken(authToken, name, scopes) {
const response = await fetch(`${BASE_URL}/api-tokens`, {
method: 'POST',
headers: {
'Authorization': `Bearer ${authToken}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
name,
scopes,
expires_in_days: 365
})
});
if (!response.ok) {
throw new Error(`Failed to create token: ${response.status}`);
}
const { data } = await response.json();
return data;
}
```
## Sites
URL: https://sealmetrics.com/docs/api/sites/
Create and manage analytics sites, configure authorized domains and UTM mappings, and generate and verify pixel installation
Complete reference for managing analytics sites, domains, UTM mappings, and pixel installation.
## Overview
The Sites API allows you to:
- Create and manage analytics sites
- Configure authorized domains for tracking
- Set up custom UTM parameter mappings
- Generate and verify pixel installation
**Base path:** `/sites`
## Site Endpoints
### List Sites
```http
GET /sites
```
Returns all sites accessible by the current user.
**Response:**
```json
{
"success": true,
"data": {
"sites": [
{
"id": "acme-corp",
"name": "ACME Corporation",
"domains": ["www.acme.com", "shop.acme.com"],
"timezone": "Europe/Madrid",
"currency": "EUR",
"is_active": true,
"created_at": "2024-01-15T10:00:00Z"
}
],
"total": 1
}
}
```
### Create Site
```http
POST /sites
```
Creates a new analytics site within your organization.
**Required scope:** `write`
**Request Body:**
```json
{
"name": "My New Site",
"domains": ["www.example.com", "example.com"],
"timezone": "Europe/Madrid",
"currency": "EUR"
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Site display name (1-255 chars) |
| `domains` | string[] | No | Authorized domains for tracking |
| `timezone` | string | No | IANA timezone (default: UTC) |
| `currency` | string | No | ISO 4217 currency code (default: EUR) |
**Response (201 Created):**
```json
{
"success": true,
"data": {
"id": "my-new-site",
"name": "My New Site",
"domains": ["www.example.com", "example.com"],
"timezone": "Europe/Madrid",
"currency": "EUR",
"is_active": true,
"created_at": "2025-01-10T14:30:00Z"
}
}
```
**Note:** The `id` is auto-generated as a slug from the site name.
### Get Site
```http
GET /sites/{site_id}
```
Returns detailed information about a specific site.
**Response:**
```json
{
"success": true,
"data": {
"id": "acme-corp",
"name": "ACME Corporation",
"domains": ["www.acme.com", "shop.acme.com"],
"timezone": "Europe/Madrid",
"currency": "EUR",
"is_active": true,
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2025-01-08T09:15:00Z"
}
}
```
### Update Site
```http
PATCH /sites/{site_id}
```
Updates site settings.
**Request Body:**
```json
{
"name": "ACME Corp (Updated)",
"timezone": "America/New_York",
"currency": "USD"
}
```
All fields are optional. Only provided fields are updated.
### Delete Site
```http
DELETE /sites/{site_id}
```
Deactivates a site (soft delete).
**Required scope:** `write`
**Response:**
```json
{
"success": true,
"data": {
"deleted": true,
"site_id": "acme-corp"
}
}
```
## Domain Endpoints
Domains authorize which websites can send tracking data to a site.
### List Domains
```http
GET /sites/{site_id}/domains
```
**Response:**
```json
{
"success": true,
"data": {
"domains": [
{
"id": 1,
"domain": "www.acme.com",
"is_active": true,
"created_at": "2024-01-15T10:00:00Z"
},
{
"id": 2,
"domain": "shop.acme.com",
"is_active": true,
"created_at": "2024-01-15T10:00:00Z"
}
],
"total": 2
}
}
```
### Add Domain
```http
POST /sites/{site_id}/domains
```
**Request Body:**
```json
{
"domain": "blog.acme.com"
}
```
**Response (201 Created):**
```json
{
"success": true,
"data": {
"id": 3,
"domain": "blog.acme.com",
"is_active": true,
"created_at": "2025-01-10T14:30:00Z"
}
}
```
### Remove Domain
```http
DELETE /sites/{site_id}/domains/{domain}
```
**Response:**
```json
{
"success": true,
"data": {
"removed": true,
"domain": "blog.acme.com"
}
}
```
## UTM Mapping Endpoints
UTM mappings allow custom URL parameters to be mapped to standard UTM fields.
### List UTM Mappings
```http
GET /sites/{site_id}/utm-mappings
```
**Response:**
```json
{
"success": true,
"data": {
"mappings": [
{
"id": 1,
"custom_param": "campaign_id",
"maps_to": "utm_campaign",
"is_active": true,
"overrides_explicit": false,
"created_at": "2024-06-01T12:00:00Z"
},
{
"id": 2,
"custom_param": "ad_source",
"maps_to": "utm_source",
"is_active": true,
"overrides_explicit": true,
"created_at": "2024-06-01T12:00:00Z"
}
],
"total": 2
}
}
```
### Add UTM Mapping
```http
POST /sites/{site_id}/utm-mappings
```
**Request Body:**
```json
{
"custom_param": "gclid_source",
"maps_to": "utm_source"
}
```
| Field | Type | Description |
| --- | --- | --- |
| `custom_param` | string | Your custom URL parameter name |
| `maps_to` | enum | Standard UTM field: `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content` |
| `overrides_explicit` | boolean | Optional, default `false`. When `true`, the mapped value is written even if the URL already carries the target UTM — the API name of the dashboard's **Override the UTM if the URL already has one** option. See [UTM Mapping rules](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping/#the-rules). |
A `POST` for a `custom_param` that already exists updates that mapping, and sets `overrides_explicit` to the value sent — `false` if you omit it. To change only the override on an existing mapping, use `PATCH`.
**Example Use Case:**
If your ad platform uses `?src=google` instead of `?utm_source=google`, create a mapping:
```json
{
"custom_param": "src",
"maps_to": "utm_source"
}
```
Now `?src=google` will be treated as `?utm_source=google`.
If the URL can also carry a `utm_source` you don't control — a Google Shopping or Performance Max product feed, for example — send `"overrides_explicit": true` so the value of `src` replaces it. Without it, an explicit UTM already in the URL wins and the mapping is skipped.
### Update UTM Mapping
```http
PATCH /sites/{site_id}/utm-mappings/{mapping_id}
```
**Request Body:**
```json
{
"maps_to": "utm_medium",
"is_active": false
}
```
Every field is optional; only the ones you send change. To turn the override on or off for one mapping:
```json
{
"overrides_explicit": true
}
```
Changes apply to new traffic within about 5 minutes and are not retroactive.
### Remove UTM Mapping
```http
DELETE /sites/{site_id}/utm-mappings/{custom_param}
```
## Site User Endpoints
Manage user access to a specific site. Org-level membership is managed via the [Organizations API](https://sealmetrics.com/docs/api/organizations.md); these endpoints control which users in the org can see and act on this site, with a per-site role.
Permissions
List operations require any read scope. Mutations (POST/PATCH/DELETE) require the `sites:write` scope **and** the `accounts:manage_users` permission (or admin).
### List Site Users
```http
GET /sites/{site_id}/users
```
**Response:**
```json
{
"success": true,
"data": {
"users": [
{
"user_id": 42,
"email": "alice@acme.com",
"name": "Alice",
"role": "admin",
"created_at": "2025-01-05T10:00:00Z"
},
{
"user_id": 87,
"email": "bob@acme.com",
"name": "Bob",
"role": "viewer",
"created_at": "2025-02-12T09:30:00Z"
}
],
"total": 2
}
}
```
### Add User to Site
```http
POST /sites/{site_id}/users
```
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `user_id` | integer | Yes | ID of the user to add |
| `role` | string | No | `viewer`, `editor`, or `admin` (default: `viewer`) |
**Response (201 Created):** Single `AccountUserInfo` object (same shape as items in List response).
Returns `404` if the user does not exist, `409` if the user already has access.
### Update User Role
```http
PATCH /sites/{site_id}/users/{user_id}
```
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `role` | string | Yes | `viewer`, `editor`, or `admin` |
**Response:** Updated `AccountUserInfo` object.
### Remove User from Site
```http
DELETE /sites/{site_id}/users/{user_id}
```
**Response:**
```json
{
"success": true,
"data": { "removed": true, "user_id": 87 }
}
```
## Pixel Code Endpoints
### Get Pixel Code
```http
GET /sites/{site_id}/pixel
```
Returns the tracking pixel installation code.
**Response:**
```json
{
"success": true,
"data": {
"site_id": "acme-corp",
"script_tag": "",
"tracker_url": "https://t.sealmetrics.com/t.js?id=acme-corp",
"instructions": "Add this script tag to your website's section."
}
}
```
### Get Pixel Status
```http
GET /sites/{site_id}/pixel/status
```
Check if the tracking pixel is installed and receiving data.
**Response:**
```json
{
"success": true,
"data": {
"site_id": "acme-corp",
"installed": true,
"first_hit_at": "2024-01-15T10:05:00Z",
"last_hit_at": "2025-01-10T14:28:00Z",
"total_hits": 1523456
}
}
```
| Field | Description |
| --- | --- |
| `installed` | `true` if pixel has received any hits |
| `first_hit_at` | Timestamp of the first hit received |
| `last_hit_at` | Timestamp of the most recent hit |
| `total_hits` | Total hits in the last 14 days |
## Timezones
### List Available Timezones
```http
GET /sites/config/timezones
```
Returns all available IANA timezone identifiers.
**Response:**
```json
{
"success": true,
"data": {
"timezones": [
{
"timezone": "Europe/Madrid",
"country_code": "ES",
"country_name": "Spain"
},
{
"timezone": "America/New_York",
"country_code": "US",
"country_name": "United States"
}
],
"total": 400
}
}
```
## Error Codes
| HTTP Code | Error Code | Description |
| --- | --- | --- |
| 400 | `invalid_timezone` | Invalid IANA timezone identifier |
| 400 | `invalid_domain` | Invalid domain format |
| 403 | `forbidden` | Insufficient permissions |
| 404 | `not_found` | Site or resource not found |
## Code Examples
### Python
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
# Create site
response = requests.post(
f"{BASE_URL}/sites",
headers={"X-API-Key": API_KEY},
json={
"name": "My E-commerce Site",
"domains": ["www.myshop.com"],
"timezone": "Europe/Madrid"
}
)
site = response.json()["data"]
print(f"Created site: {site['id']}")
# Add domain
requests.post(
f"{BASE_URL}/sites/{site['id']}/domains",
headers={"X-API-Key": API_KEY},
json={"domain": "shop.myshop.com"}
)
# Get pixel code
pixel = requests.get(
f"{BASE_URL}/sites/{site['id']}/pixel",
headers={"X-API-Key": API_KEY}
).json()["data"]
// ... full example at https://sealmetrics.com/docs/api/sites/
```
### JavaScript
```javascript
const API_KEY = 'sm_your_api_key';
const BASE_URL = 'https://my.sealmetrics.com/api/v1';
// Create site
const response = await fetch(`${BASE_URL}/sites`, {
method: 'POST',
headers: {
'X-API-Key': API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'My E-commerce Site',
domains: ['www.myshop.com'],
timezone: 'Europe/Madrid'
})
});
const { data: site } = await response.json();
console.log(`Created site: ${site.id}`);
// Check pixel status
const statusResponse = await fetch(
`${BASE_URL}/sites/${site.id}/pixel/status`,
{ headers: { 'X-API-Key': API_KEY } }
);
const { data: status } = await statusResponse.json();
console.log(`Pixel installed: ${status.installed}`);
```
## Saved Pixels
URL: https://sealmetrics.com/docs/api/saved-pixels/
Save reusable pixel configurations for pageviews, conversions, and microconversions, then generate install code for JavaScript, GTM, or Tealium
Save reusable pixel/event configurations (page views, conversions, microconversions) and generate the corresponding installation code for JavaScript, Google Tag Manager, or Tealium. Each saved pixel bundles a `type`, optional `conversion_type`, and custom properties.
**Base path:** `/saved-pixels`
Default scope: `read`. Mutations require `write` (editor or higher).
## List Saved Pixels
```http
GET /saved-pixels?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `pixel_type` | enum | - | Filter by `pageview`, `conversion`, or `microconversion` |
**Response:**
```json
{
"success": true,
"data": [
{
"id": "pix_a1b2c3",
"name": "Purchase conversion",
"description": "Standard purchase tracking",
"pixel_type": "conversion",
"conversion_type": "purchase",
"target_platform": "javascript",
"created_at": "2025-01-05T10:00:00Z"
}
]
}
```
## Builder Options
```http
GET /saved-pixels/options
```
Static options used by the pixel builder UI (no `account_id` required).
**Response:**
```json
{
"success": true,
"data": {
"conversion_types": [
{ "value": "purchase", "label": "Purchase" },
{ "value": "signup", "label": "Sign up" },
{ "value": "lead", "label": "Lead" },
{ "value": "add_to_cart", "label": "Add to cart" },
{ "value": "begin_checkout", "label": "Begin checkout" },
{ "value": "contact", "label": "Contact" },
{ "value": "download", "label": "Download" },
{ "value": "subscribe", "label": "Subscribe" }
],
"properties": [
{ "value": "currency", "label": "Currency" },
{ "value": "brand", "label": "Brand" },
{ "value": "model", "label": "Model" },
{ "value": "category", "label": "Category" },
{ "value": "size", "label": "Size" },
{ "value": "color", "label": "Color" },
{ "value": "variant", "label": "Variant" },
{ "value": "sku", "label": "SKU" }
]
}
}
```
## Get Saved Pixel
```http
GET /saved-pixels/{pixel_id}?account_id={account_id}
```
**Response:**
```json
{
"success": true,
"data": {
"id": "pix_a1b2c3",
"account_id": "acme",
"name": "Purchase conversion",
"description": "Standard purchase tracking",
"config": {
"type": "conversion",
"conversion_type": "purchase",
"revenue": { "source": "variable", "value": "order_total" },
"currency": { "source": "fixed", "value": "EUR" },
"properties": [
{ "key": "sku", "source": "variable", "value": "product_sku" }
]
},
"target_platform": "javascript",
"created_by": 7,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
}
```
Returns `404` if not found.
## Create Saved Pixel
```http
POST /saved-pixels?account_id={account_id}
```
**Required scope:** `write` (editor or higher)
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | 1-100 chars (unique per account) |
| `description` | string | No | Max 500 chars |
| `config` | object | Yes | See `PixelConfig` below |
| `target_platform` | enum | No | `javascript` (default), `gtm`, `tealium` |
**PixelConfig:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | enum | Yes | `pageview`, `conversion`, `microconversion` |
| `conversion_type` | string | Cond. | Required when `type` is `conversion` or `microconversion` (max 50) |
| `revenue` | PixelValue | No | Revenue value (only for conversions) |
| `currency` | PixelValue | No | Currency code (e.g. `EUR`, `USD`) |
| `properties` | PixelProperty[] | No | Up to 20 custom properties |
**PixelValue / PixelProperty** carry `source` (`fixed` or `variable`) and `value` (the literal or the variable name) — `PixelProperty` also includes a `key`.
**Response (201 Created):** full `SavedPixel` object. Returns `409` if the name already exists for the account.
## Update Saved Pixel
```http
PUT /saved-pixels/{pixel_id}?account_id={account_id}
```
**Required scope:** `write`
All fields from create are optional. Returns `409` if renaming would collide with an existing pixel.
## Delete Saved Pixel
```http
DELETE /saved-pixels/{pixel_id}?account_id={account_id}
```
**Required scope:** `write`. Returns `204 No Content`.
## Multi-Site Aggregate Stats
URL: https://sealmetrics.com/docs/api/stats-aggregate/
Portfolio-level analytics — aggregate traffic, conversions, pages, sources, geo, and devices across multiple sites in a single query
Consolidated analytics across **multiple sites at once**. Instead of querying `/stats/*` once per site and merging the results yourself, the `/stats/aggregate/*` endpoints return portfolio-level totals — total entrances, revenue, top pages, top sources — summed across every site you pass in.
Typical use case: an internal or agency dashboard that shows "all my properties" in one view.
**Base path:** `/stats/aggregate`
## Access Requirements
These endpoints are more restricted than the regular stats endpoints:
- **Superadmin role required.** Only users with the global `superadmin` role can call multi-site aggregation. Any other role receives `403`.
- **`read` scope required** on the token (same as other stats endpoints).
- The caller must have access to **all** requested `account_ids` — if any is denied, the whole request fails with `403` listing the denied accounts.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/aggregate/overview?account_ids=site-a&account_ids=site-b&period=30d" \
-H "Authorization: Bearer YOUR_JWT"
```
## Common Parameters
All aggregate endpoints accept these parameters:
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `account_ids` | string (repeated) | Yes | Site IDs to aggregate. **Repeat the parameter** for each site (`?account_ids=a&account_ids=b`). Minimum 2 distinct IDs; duplicates are removed |
| `start_date` | date | No | Start date (YYYY-MM-DD) |
| `end_date` | date | No | End date (YYYY-MM-DD) |
| `period` | string | No | Period shortcut (e.g. `30d`, `this_month`) — overrides explicit dates |
Passing fewer than 2 `account_ids` returns `400` ("Multi-site aggregation requires at least 2 account_ids").
**Timezone note:** period shortcuts (`30d`, `this_month`,...) are resolved using the timezone of the **first** `account_id` in the list. Explicit `start_date`/`end_date` are passed through unchanged.
The paginated endpoints (`pages`, `mediums`, `sources`, `geo/countries`, `landing-pages`, `conversions`) additionally accept:
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `page` | int | `1` | Page number (min 1) |
| `page_size` | int | `50` | Items per page (1-100) |
| `sort_by` | string | `entrances` | Sort field (`count` for `/conversions`) |
| `sort_order` | string | `desc` | `asc` or `desc` |
## Aggregated Overview
```http
GET /stats/aggregate/overview
```
Consolidated dashboard overview: traffic totals, conversion totals, previous-period comparison, and time series — all summed across the requested sites.
**Extra parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `compare` | string | `previous` | Comparison mode: `previous`, `yoy`, or `none` |
| `include_series` | bool | `true` | Include time series data for charts |
| `include_per_account` | bool | `false` | Include per-site breakdown inside `traffic.by_account` |
**Response:**
```json
{
"success": true,
"data": {
"account_ids": ["site-a", "site-b"],
"account_count": 2,
"date_range": {
"start_date": "2025-01-01",
"end_date": "2025-01-30"
},
"traffic": {
"account_count": 2,
"entrances": 45230,
"engaged_entrances": 26890,
"page_views": 112450,
"microconversions": 3120,
"conversions": 587,
"revenue": 48120.50,
"by_account": [
{
"account_id": "site-a",
"entrances": 30150,
"engaged_entrances": 18200,
"page_views": 76300,
"microconversions": 2100,
"conversions": 402,
"revenue": 33400.00,
"bounce_rate": 39.64,
"conversion_rate": 1.33
}
],
// ... full example at https://sealmetrics.com/docs/api/stats-aggregate/
```
`by_account` is `null` unless `include_per_account=true`; the three `*_series` fields are `null` when `include_series=false`; `comparison` is `null` when `compare=none`.
## Aggregated Pages
```http
GET /stats/aggregate/pages
```
Page metrics summed across sites. Pages with the same path on different sites merge into a single row; `account_count` says how many sites contributed to it.
**Response** (paginated):
```json
{
"success": true,
"data": [
{
"path": "/pricing",
"content_grouping": "marketing",
"account_count": 2,
"entrances": 8420,
"engaged_entrances": 5210,
"page_views": 15300,
"conversions": 214,
"bounce_rate": 38.12
}
],
"total": 342,
"page": 1,
"page_size": 50,
"has_next": true,
"has_prev": false,
"comparison": null,
"totals": null,
"timestamp": "2025-01-31T00:00:00Z"
}
```
## Aggregated Mediums
```http
GET /stats/aggregate/mediums
```
Traffic grouped by UTM medium across all requested sites.
**Response** (paginated, items share the `AggregatedSourceMetrics` shape):
```json
{
"success": true,
"data": [
{
"name": "organic",
"utm_source": "",
"utm_medium": "organic",
"utm_campaign": "",
"account_count": 2,
"entrances": 19800,
"engaged_entrances": 12400,
"page_views": 52100,
"microconversions": 1340,
"conversions": 265,
"revenue": 21500.00,
"bounce_rate": 37.37,
"conversion_rate": 1.34
}
],
"total": 8,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false,
"comparison": null,
"totals": null,
"timestamp": "2025-01-31T00:00:00Z"
}
```
## Aggregated Sources
```http
GET /stats/aggregate/sources
```
Traffic grouped by UTM source across all requested sites.
**Extra parameter:**
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `utm_medium` | string | No | Filter sources to a single UTM medium |
Response items use the same `AggregatedSourceMetrics` shape as `/mediums`, with `name`/`utm_source` set to the source value (e.g. `"google"`).
## Aggregated Countries
```http
GET /stats/aggregate/geo/countries
```
Geographic breakdown across all requested sites.
**Response** (paginated):
```json
{
"success": true,
"data": [
{
"country": "ES",
"country_name": "Spain",
"account_count": 2,
"entrances": 15230,
"engaged_entrances": 9400,
"page_views": 38900,
"microconversions": 1020,
"conversions": 198,
"revenue": 16800.00,
"bounce_rate": 38.28
}
],
"total": 64,
"page": 1,
"page_size": 50,
"has_next": true,
"has_prev": false,
"comparison": null,
"totals": null,
"timestamp": "2025-01-31T00:00:00Z"
}
```
## Aggregated Devices
```http
GET /stats/aggregate/devices
```
Device-type breakdown across all requested sites. Not paginated — returns the full list (there are only a handful of device types).
**Response:**
```json
{
"success": true,
"data": [
{
"name": "desktop",
"entrances": 24900,
"engaged_entrances": 15800,
"page_views": 65400,
"microconversions": 1900,
"conversions": 362,
"revenue": 30200.00,
"percentage": 55.05,
"bounce_rate": 36.55,
"conversion_rate": 1.45
},
{
"name": "mobile",
"entrances": 18100,
"engaged_entrances": 9800,
"page_views": 41200,
"microconversions": 1100,
"conversions": 201,
"revenue": 15900.00,
"percentage": 40.02,
"bounce_rate": 45.86,
"conversion_rate": 1.11
}
],
"meta": {},
"timestamp": "2025-01-31T00:00:00Z"
// ... full example at https://sealmetrics.com/docs/api/stats-aggregate/
```
`percentage` is each device's share of total entrances (0-100).
## Aggregated Landing Pages
```http
GET /stats/aggregate/landing-pages
```
Landing page metrics summed across sites.
**Response** (paginated):
```json
{
"success": true,
"data": [
{
"landing_page": "/lp/spring-sale",
"content_grouping": "campaigns",
"account_count": 2,
"entrances": 6200,
"engaged_entrances": 4100,
"microconversions": 480,
"conversions": 121,
"revenue": 9800.00,
"bounce_rate": 33.87,
"conversion_rate": 1.95
}
],
"total": 87,
"page": 1,
"page_size": 50,
"has_next": true,
"has_prev": false,
"comparison": null,
"totals": null,
"timestamp": "2025-01-31T00:00:00Z"
}
```
## Aggregated Conversions
```http
GET /stats/aggregate/conversions
```
Conversions grouped by conversion type across all requested sites. Default sort field is `count` (not `entrances`).
**Response** (paginated):
```json
{
"success": true,
"data": [
{
"conversion_type": "purchase",
"account_count": 2,
"count": 587,
"revenue": 48120.50,
"avg_value": 81.98
},
{
"conversion_type": "signup",
"account_count": 2,
"count": 1240,
"revenue": 0,
"avg_value": 0
}
],
"total": 4,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false,
"comparison": null,
"totals": null,
"timestamp": "2025-01-31T00:00:00Z"
}
```
## Errors
| HTTP Code | Cause |
| --- | --- |
| 400 | Fewer than 2 `account_ids`, invalid `compare` mode, or invalid date range |
| 403 | Caller is not superadmin, or lacks access to one or more of the requested accounts |
## See Also
- [Stats Endpoints](https://sealmetrics.com/docs/api/stats.md) — single-site metrics
- [Advanced Stats](https://sealmetrics.com/docs/api/stats-advanced.md) — UTM hierarchy, landing pages, channels
- [Pagination & Sorting](https://sealmetrics.com/docs/api/pagination-sorting.md)
## Organizations API
URL: https://sealmetrics.com/docs/api/organizations/
Manage organizations, team members, roles, invitations, and site-level access in the Sealmetrics multi-tenancy model
Complete reference for managing organizations, team members, site access, and invitations in Sealmetrics multi-tenancy system.
## Overview
The Organizations API allows you to:
- Create and manage organizations (workspaces)
- Invite team members and manage their roles
- Control site-level access for team members
- List and manage organization sites
**Base path:** `/organizations`
## Understanding Multi-Tenancy
Sealmetrics uses a three-level access model:
```plaintext
Users <--M:N--> Organizations <--1:N--> Sites
```
- **Users** can belong to multiple organizations
- **Organizations** contain multiple sites (analytics accounts)
- **Members** have roles that determine their permissions
### Organization Roles
| Role | Sites Access | Member Management | Billing | Org Settings |
| --- | --- | --- | --- | --- |
| `owner` | All org sites | Full (add/remove/role change) | Yes | Full (rename, delete) |
| `admin` | All org sites | Add/remove members (except owners) | No | View only |
| `member` | Only assigned sites | View only | No | No |
## Organization Endpoints
### List Organizations
```http
GET /organizations
```
Returns all organizations the current user belongs to.
**Response:**
```json
{
"success": true,
"data": {
"organizations": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "ACME Corporation",
"slug": "acme-corporation",
"is_active": true,
"member_count": 5,
"site_count": 3,
"user_role": "owner",
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2025-01-08T09:15:00Z"
}
],
"total": 1,
"can_create_org": true
}
}
```
| Field | Description |
| --- | --- |
| `can_create_org` | `true` if user can create a new organization |
| `user_role` | Current user's role in this organization |
### Create Organization
```http
POST /organizations
```
Creates a new organization. The creator becomes the owner.
**Required scope:** `write`
**Request Body:**
```json
{
"name": "My Company"
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Organization name (1-255 chars) |
**Response (201 Created):**
```json
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "My Company",
"slug": "my-company",
"is_active": true,
"member_count": 1,
"site_count": 0,
"user_role": "owner",
"created_at": "2025-01-10T14:30:00Z",
"updated_at": "2025-01-10T14:30:00Z"
}
}
```
**Note:** The `slug` is auto-generated from the name and used in URLs.
### Get Organization
```http
GET /organizations/{slug}
```
Returns detailed information about a specific organization.
**Path Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `slug` | string | Organization slug (from URL) |
**Response:**
```json
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "ACME Corporation",
"slug": "acme-corporation",
"is_active": true,
"member_count": 5,
"site_count": 3,
"user_role": "admin",
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2025-01-08T09:15:00Z"
}
}
```
### Update Organization
```http
PATCH /organizations/{slug}
```
Updates organization settings. Only owners can update.
**Required role:** `owner`
**Request Body:**
```json
{
"name": "ACME Corp (Renamed)"
}
```
**Response:**
```json
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "ACME Corp (Renamed)",
"slug": "acme-corporation",
"is_active": true,
"member_count": 5,
"site_count": 3,
"user_role": "owner",
"created_at": "2024-01-15T10:00:00Z",
"updated_at": "2025-01-10T15:00:00Z"
}
}
```
### Delete Organization
```http
DELETE /organizations/{slug}
```
Soft deletes an organization and all its sites. Requires name confirmation.
**Required role:** `owner`
**Request Body:**
```json
{
"name": "ACME Corporation"
}
```
| Field | Type | Description |
| --- | --- | --- |
| `name` | string | Type the exact organization name to confirm deletion |
**Response:**
```json
{
"success": true,
"data": {
"message": "Organization deleted successfully"
}
}
```
**Warning:** This action deactivates the organization and all associated sites. Data is retained but inaccessible.
## Member Endpoints
### List Members
```http
GET /organizations/{slug}/members
```
Returns all members of the organization.
**Response:**
```json
{
"success": true,
"data": {
"members": [
{
"user_id": 1,
"email": "owner@acme.com",
"name": "John Owner",
"role": "owner",
"site_count": 3,
"created_at": "2024-01-15T10:00:00Z"
},
{
"user_id": 2,
"email": "analyst@acme.com",
"name": "Jane Analyst",
"role": "member",
"site_count": 1,
"created_at": "2024-03-20T14:00:00Z"
}
],
"total": 2
}
}
```
| Field | Description |
| --- | --- |
| `site_count` | Number of sites this member has access to |
### Add Member
```http
POST /organizations/{slug}/members
```
Adds an existing user as a member of the organization.
**Required role:** `admin` or `owner`
**Request Body:**
```json
{
"user_id": 5,
"role": "member"
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `user_id` | integer | Yes | User ID to add |
| `role` | enum | No | `owner`, `admin`, or `member` (default: `member`) |
**Response (201 Created):**
```json
{
"success": true,
"data": {
"message": "Member added successfully"
}
}
```
**Note:** To invite users who don't have an account yet, use the Invitations API.
### Update Member Role
```http
PATCH /organizations/{slug}/members/{user_id}
```
Changes a member's role in the organization.
**Required role:** `admin` or `owner`
**Request Body:**
```json
{
"role": "admin"
}
```
**Response:**
```json
{
"success": true,
"data": {
"message": "Role updated successfully"
}
}
```
**Restrictions:**
- Admins cannot change owner roles
- Cannot demote the last owner
### Remove Member
```http
DELETE /organizations/{slug}/members/{user_id}
```
Removes a member from the organization.
**Required role:** `admin` or `owner`
**Response:**
```json
{
"success": true,
"data": {
"message": "Member removed successfully"
}
}
```
**Restrictions:**
- Cannot remove the last owner
- Admins cannot remove owners
## Organization Sites
### List Organization Sites
```http
GET /organizations/{slug}/sites
```
Returns all sites belonging to the organization.
**Response:**
```json
{
"success": true,
"data": {
"sites": [
{
"id": "acme-main",
"name": "ACME Main Website",
"is_active": true,
"timezone": "Europe/Madrid",
"currency": "EUR",
"created_at": "2024-01-15T10:00:00Z"
},
{
"id": "acme-shop",
"name": "ACME E-commerce",
"is_active": true,
"timezone": "Europe/Madrid",
"currency": "EUR",
"created_at": "2024-02-01T09:00:00Z"
}
],
"total": 2
}
}
```
## Member Site Access
Control which sites a member can access. Only applies to members with the `member` role (owners and admins have access to all sites automatically).
### List Member's Sites
```http
GET /organizations/{slug}/members/{user_id}/sites
```
Returns sites assigned to a specific member.
**Required role:** `admin` or `owner`
**Response:**
```json
{
"success": true,
"data": {
"sites": [
{
"id": "acme-main",
"name": "ACME Main Website",
"has_access": true
},
{
"id": "acme-shop",
"name": "ACME E-commerce",
"has_access": false
}
],
"total": 2
}
}
```
### Add Site Access
```http
POST /organizations/{slug}/members/{user_id}/sites
```
Grants a member access to one or more sites.
**Required role:** `admin` or `owner`
**Request Body:**
```json
{
"site_ids": ["acme-main", "acme-shop"]
}
```
**Response:**
```json
{
"success": true,
"data": {
"added": ["acme-main", "acme-shop"],
"already_assigned": [],
"invalid": []
}
}
```
| Field | Description |
| --- | --- |
| `added` | Sites successfully granted access |
| `already_assigned` | Sites the member already had access to |
| `invalid` | Site IDs that don't exist or don't belong to the org |
### Remove Site Access
```http
DELETE /organizations/{slug}/members/{user_id}/sites/{site_id}
```
Removes a member's access to a specific site.
**Required role:** `admin` or `owner`
**Response:**
```json
{
"success": true,
"data": {
"message": "Site access removed successfully"
}
}
```
## Invitation Endpoints
Invitations allow you to add team members who don't have a Sealmetrics account yet.
### List Invitations
```http
GET /organizations/{slug}/invitations
```
Returns pending invitations for the organization.
**Required role:** `admin` or `owner`
**Response:**
```json
{
"success": true,
"data": {
"invitations": [
{
"id": 1,
"org_id": "550e8400-e29b-41d4-a716-446655440000",
"email": "newuser@example.com",
"role": "member",
"invited_by_name": "John Owner",
"is_active": true,
"expires_at": "2025-01-17T14:30:00Z",
"accepted_at": null,
"created_at": "2025-01-10T14:30:00Z"
}
],
"total": 1
}
}
```
### Send Invitation
```http
POST /organizations/{slug}/invitations
```
Sends an email invitation to join the organization.
**Required role:** `admin` or `owner`
**Request Body:**
```json
{
"email": "newuser@example.com",
"role": "member",
"site_ids": ["acme-main"]
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | Yes | Email address to invite |
| `role` | enum | No | `owner`, `admin`, or `member` (default: `member`) |
| `site_ids` | string[] | No | Pre-assign sites for `member` role (ignored for owner/admin) |
**Response (201 Created):**
```json
{
"success": true,
"data": {
"invitation_id": 1,
"invitation_link": "https://my.sealmetrics.com/accept-invitation?token=abc123...",
"expires_at": "2025-01-17T14:30:00Z"
}
}
```
**Notes:**
- Invitation expires in 7 days
- If user already has an account, they can accept while logged in
- If user is new, they'll create an account during acceptance
### Resend Invitation
```http
POST /organizations/{slug}/invitations/{invitation_id}/resend
```
Resends the invitation email with a new token.
**Required role:** `admin` or `owner`
**Response:**
```json
{
"success": true,
"data": {
"message": "Invitation resent"
}
}
```
### Revoke Invitation
```http
DELETE /organizations/{slug}/invitations/{invitation_id}
```
Cancels a pending invitation.
**Required role:** `admin` or `owner`
**Response:**
```json
{
"success": true,
"data": {
"message": "Invitation revoked"
}
}
```
## Accept Invitation Endpoints
These endpoints are called when a user clicks the invitation link.
### Accept Invitation (New User)
```http
POST /invitations/accept
```
Creates a new account and joins the organization.
**Request Body:**
```json
{
"token": "abc123...",
"name": "Jane Doe",
"password": ""
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | Yes | Invitation token from the link |
| `name` | string | Yes | User's full name (1-255 chars) |
| `password` | string | Yes | Password (min 8 chars) |
**Response:**
```json
{
"success": true,
"data": {
"message": "Invitation accepted",
"organization": {
"name": "ACME Corporation",
"slug": "acme-corporation"
}
}
}
```
### Accept Invitation (Existing User)
```http
POST /invitations/accept-existing
```
Joins the organization with an existing logged-in account.
**Requires:** Authentication (JWT or API Key)
**Request Body:**
```json
{
"token": "abc123..."
}
```
**Response:**
```json
{
"success": true,
"data": {
"message": "Invitation accepted",
"organization": {
"name": "ACME Corporation",
"slug": "acme-corporation"
}
}
}
```
## Seal AI Usage
For organizations with Seal AI (the platform-provided LLM), you can inspect monthly token usage — quota, consumption, and breakdowns by day / user / site. Counter data only, prompt content is never stored or returned.
### GET /organizations/{slug}/seal-ai/usage
```bash
curl -X GET "https://my.sealmetrics.com/api/v1/organizations/acme/seal-ai/usage?month=2026-07" \
--cookie "sm_access_token="
```
**Query parameters:**
| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `month` | string | current UTC month | Format `YYYY-MM`. Must not be in the future (`422` otherwise) |
**Access rules:**
- Endpoint is scoped by org membership (any org member can call it).
- **Not gated by entitlement.** The response always includes `seal_ai_enabled` and `entitlement_source` so the dashboard can render an appropriate empty state when Seal AI is off.
- **Role-based redaction inside the service**: `member` role → org-level aggregates only: the `by_user` and `packs` lists are **empty** (billing information is owner/admin-only); `by_site` only contains sites the caller has access to.
- `admin` / `owner` roles → full breakdowns.
**Emails are never returned** — user rows carry `user_id` and display `name` only.
**Response:**
```json
{
"success": true,
"data": {
"month": "2026-07",
"plan_tier": "growth",
"quota_tokens": 5000000,
"used_tokens": 1240355,
"remaining_tokens": 8759645,
"used_pct": 12.4,
"resets_at": "2026-08-01T00:00:00Z",
"seal_ai_enabled": true,
"entitlement_source": "addon",
"grandfathered_until": null,
"pack_purchased_tokens": 5000000,
"pack_consumed_tokens": 0,
"pack_balance_tokens": 5000000,
"effective_quota_tokens": 10000000,
"packs": [
{ "id": 1, "tokens": 5000000, "price_cents": 35880, "currency": "EUR", "purchased_at": "2026-07-10T09:12:00Z" }
],
"daily": [
{ "date": "2026-07-01", "input_tokens": 12000, "output_tokens": 4000, "requests": 18 },
{ "date": "2026-07-02", "input_tokens": 15200, "output_tokens": 4900, "requests": 22 }
],
"by_user": [
{ "user_id": 42, "name": "Alice", "tokens": 1130000, "requests": 210 }
],
"by_site": [
{ "account_id": "acme", "name": "Acme", "tokens": 840000, "requests": 160 }
]
// ... full example at https://sealmetrics.com/docs/api/organizations/
```
**Field notes (PRD-036):**
| Field | Meaning |
| --- | --- |
| `quota_tokens` | Flat monthly included quota (5M) |
| `pack_balance_tokens` | Remaining tokens from purchased [token packs](https://sealmetrics.com/docs/billing/seal-ai-private/#extra-token-packs) (never expire; consumed after the monthly quota) |
| `effective_quota_tokens` | `quota_tokens + pack_balance_tokens` — what `remaining_tokens`/`used_pct` are relative to |
| `entitlement_source` | How the org is entitled: `included_in_plan`, `addon`, `grandfathered`, `billing_disabled`, or `none` |
| `grandfathered_until` | End date of temporary legacy access, when applicable |
Special values you may see:
| Value | Meaning |
| --- | --- |
| `by_user[].user_id == null`, `name == "LENS (automated)"` | Rows generated by LENS automated insights (no user) |
| `by_site[].account_id == null` | Site was deleted; kept as a bucket so historical totals stay accurate |
## Error Codes
| HTTP Code | Error Code | Description |
| --- | --- | --- |
| 400 | `last_owner` | Cannot remove or demote the last owner |
| 400 | `confirmation_failed` | Organization name doesn't match for deletion |
| 403 | `org_creation_not_allowed` | User cannot create more organizations |
| 403 | `insufficient_permissions` | User's role doesn't allow this action |
| 404 | `org_not_found` | Organization doesn't exist or user has no access |
| 404 | `member_not_found` | User is not a member of this organization |
| 404 | `invitation_not_found` | Invitation doesn't exist or is expired |
| 409 | `member_already_exists` | User is already a member of this organization |
| 409 | `user_already_member` | Invited user is already a member |
## Code Examples
### Python
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
headers = {"X-API-Key": API_KEY}
# List my organizations
orgs = requests.get(
f"{BASE_URL}/organizations",
headers=headers
).json()["data"]["organizations"]
print(f"My organizations: {[o['name'] for o in orgs]}")
# Create organization
new_org = requests.post(
f"{BASE_URL}/organizations",
headers=headers,
json={"name": "My New Team"}
).json()["data"]
print(f"Created org: {new_org['slug']}")
# Invite a team member
invitation = requests.post(
f"{BASE_URL}/organizations/{new_org['slug']}/invitations",
headers=headers,
json={
"email": "colleague@example.com",
"role": "member",
// ... full example at https://sealmetrics.com/docs/api/organizations/
```
### JavaScript
```javascript
const API_KEY = 'sm_your_api_key';
const BASE_URL = 'https://my.sealmetrics.com/api/v1';
const headers = {
'X-API-Key': API_KEY,
'Content-Type': 'application/json'
};
// List my organizations
const orgsResponse = await fetch(`${BASE_URL}/organizations`, { headers });
const { data: { organizations } } = await orgsResponse.json();
console.log('My orgs:', organizations.map(o => o.name));
// Create organization
const createResponse = await fetch(`${BASE_URL}/organizations`, {
method: 'POST',
headers,
body: JSON.stringify({ name: 'My New Team' })
});
const { data: newOrg } = await createResponse.json();
console.log(`Created: ${newOrg.slug}`);
// Invite team member with pre-assigned sites
const inviteResponse = await fetch(
`${BASE_URL}/organizations/${newOrg.slug}/invitations`,
{
method: 'POST',
headers,
body: JSON.stringify({
email: 'colleague@example.com',
// ... full example at https://sealmetrics.com/docs/api/organizations/
```
### PHP
```php
'My Company'
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch), true);
$org = $response['data'];
curl_close($ch);
echo "Created organization: " . $org['slug'] . "\n";
// Invite member
$ch = curl_init("$baseUrl/organizations/{$org['slug']}/invitations");
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
'email' => 'team@example.com',
'role' => 'admin'
// ... full example at https://sealmetrics.com/docs/api/organizations/
```
## Best Practices
### Team Structure
1. **Keep one owner per organization** - Designate a primary account owner
2. **Use admin role sparingly** - Admins can manage all members and sites
3. **Assign specific sites to members** - Use `site_ids` when inviting members
### Invitation Workflow
1. Always pre-assign sites when inviting with `member` role
2. Invitations expire in 7 days - resend if needed
3. Check `can_create_org` before showing "Create Organization" UI
### Security
- Revoke access immediately when team members leave
- Periodically audit member list and site access
- Use the audit logs to track changes (see [Audit Log](https://sealmetrics.com/docs/platform/settings/advanced/audit-log.md))
## Users
URL: https://sealmetrics.com/docs/api/users/
Manage the current user's profile and password via /users/me — most other user CRUD endpoints are superadmin-only
Manage the current user's profile and password. Most CRUD endpoints under `/users` are **superadmin-only** — for adding people to an organization use the [Organizations API](https://sealmetrics.com/docs/api/organizations.md) (`/organizations/{slug}/invitations`); for granting them access to a specific site use [`/sites/{site_id}/users`](https://sealmetrics.com/docs/api/sites/#site-user-endpoints).
**Base path:** `/users`
Required scope: `read` for GETs, `write` for mutations.
## Current User
### Get Current User
```http
GET /users/me
```
**Response:**
```json
{
"success": true,
"data": {
"id": 42,
"email": "alice@acme.com",
"name": "Alice",
"role": "user",
"is_active": true,
"email_verified_at": "2024-12-15T08:00:00Z",
"last_login_at": "2025-01-08T13:55:00Z",
"created_at": "2024-12-10T10:00:00Z",
"account_ids": ["acme", "acme-staging"],
"two_factor_enabled": true,
"two_factor_enabled_at": "2024-12-20T17:30:00Z"
}
}
```
### Update Current User
```http
PATCH /users/me
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | 1-255 chars |
Returns the updated `UserInfo`.
### Change Password
```http
POST /users/me/password
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `current_password` | string | Yes | Current password (for re-authentication) |
| `new_password` | string | Yes | 12-128 chars, must satisfy the platform password policy |
**Response:**
```json
{ "success": true, "data": { "message": "Password changed successfully" } }
```
## Admin Endpoints (superadmin only)
The endpoints below require the superadmin role. Regular tokens get `403`.
### List Users
```http
GET /users
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-100) |
| `include_inactive` | boolean | `false` | Include inactive accounts |
**Response:**
```json
{
"success": true,
"data": {
"users": [ /* UserInfo objects */ ],
"total": 1284
}
}
```
### Get User
```http
GET /users/{user_id}
```
Returns `UserInfo` or `404`.
### Create User
```http
POST /users
```
**Required scope:** `write`
For inviting people into a workspace, prefer org invitations. This endpoint creates a user record directly (used for tooling / bulk provisioning).
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | Yes | Valid email |
| `name` | string | Yes | 1-255 chars |
| `role` | enum | No | `user` (default) or `superadmin` |
| `password` | string | Yes | 12-128 chars |
| `account_ids` | string[] | No | Sites the user should have access to (default `[]`) |
**Response (201 Created):** `UserInfo` object.
### Update User
```http
PATCH /users/{user_id}
```
**Required scope:** `write`
**Request Body (all optional):**
| Field | Type | Description |
| --- | --- | --- |
| `name` | string | New name (1-255) |
| `role` | enum | `user` or `superadmin` |
| `is_active` | boolean | Activate / deactivate |
### Deactivate User
```http
DELETE /users/{user_id}
```
**Required scope:** `write`. Soft-deletes the user (sets `is_active = false`).
**Response:**
```json
{ "success": true, "data": { "message": "User deactivated successfully" } }
```
## Organization Invitations
URL: https://sealmetrics.com/docs/api/invitations/
Public endpoints for accepting organization invitations — the token is the credential, with auto-login for newly created users
Public endpoints for **accepting** invitations sent via the [Organizations API](https://sealmetrics.com/docs/api/organizations/#send-invitation). The invitation token itself is the authentication for `GET /invitations/{token}` and `POST /invitations/accept` — no other credentials needed. `POST /invitations/accept-existing` is for users who already have a Sealmetrics account and just need to join the new org.
**Base path:** `/invitations`
## Get Invitation Details
```http
GET /invitations/{token}
```
Public — no auth required. The token itself is treated as the credential. Use this on the "accept invitation" landing page to render the org name, the invited email, and the proposed role.
**Response:**
```json
{
"success": true,
"data": {
"org_name": "Acme Corp",
"email": "alice@acme.com",
"role": "member",
"invited_by_name": "Bob (Owner)"
}
}
```
| Status | Meaning |
| --- | --- |
| `404` | Invitation token not found |
| `410` | Invitation expired or already accepted |
## Accept Invitation (new user)
```http
POST /invitations/accept
```
Creates a new user account, joins the org, and auto-logs the user in (sets auth cookies and returns an access token in the body). The email on the new account is taken from the invitation, not the request body — so users cannot register with a different email.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | Yes | Invitation token |
| `name` | string | Yes | Full name for the new account (1-255 chars) |
| `password` | string | Yes | At least 8 chars (must satisfy the platform password policy) |
**Response (201 Created):**
```json
{
"success": true,
"data": {
"message": "Invitation accepted.",
"org_name": "Acme Corp",
"access_token": "eyJhbGciOi...",
"expires_in": 3600
}
}
```
Auth cookies are set on the response. The new user has `can_create_org = false` (invited users can't create new orgs) and their email is auto-verified (the invitation email is treated as proof of ownership).
Errors: `404` invitation not found, `410` expired/already accepted, `409` user already exists or already a member, `422` invalid name/password.
## Accept Invitation (existing user)
```http
POST /invitations/accept-existing
```
For authenticated users who already have a Sealmetrics account. The endpoint verifies the invitation's email matches the caller's email before adding them to the org.
Authentication: regular session (JWT or cookie).
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | Yes | Invitation token |
**Response:**
```json
{
"success": true,
"data": {
"message": "Invitation accepted.",
"org_name": "Acme Corp",
"org_slug": "acme"
}
}
```
Errors: `403` invitation email doesn't match the logged-in user, `404`/`410`/`409` as above.
## LLM Settings (BYOK)
URL: https://sealmetrics.com/docs/api/llm-settings/
Manage per-user Bring-Your-Own-Key LLM configs for LENS AI — store, test, and set default keys for OpenAI, Anthropic, Gemini, or DeepSeek
Manage the current user's LLM provider configuration for LENS AI. Two kinds of provider exist: **Seal AI** (`seal_ai`, the platform-managed private provider — no API key, subject to plan entitlement and token quota) and **Bring-Your-Own-Key** (BYOK) providers, where keys are stored per-user (not per-site) and reused across every site the user can access. LENS AI uses these settings to call Seal AI, OpenAI, Anthropic, Gemini, or DeepSeek Cloud on the user's behalf.
**Base path:** `/users/me/llm-settings`
Required scope: `read` for listing, `write` for create/update/delete/test/set-default.
Keys are never returned
Stored API keys are never echoed back. Responses include `api_key_configured` (boolean) and `api_key_last_4` (last 4 chars) only.
## List Providers
```http
GET /users/me/llm-settings/providers
```
No auth scope required beyond a valid session. Returns the BYOK-capable providers (`anthropic`, `openai`, `deepseek_cloud`, `gemini`) plus **`seal_ai`** (the platform-managed provider, listed first whenever the platform key is configured). Each entry carries the display metadata used by the settings UI.
**Response:**
```json
{
"providers": [
{
"id": "seal_ai",
"name": "Seal AI (Private, EU)",
"description": "Sealmetrics private AI. Processed entirely in the EU, no prompt retention, your data never trains third-party models. No API key needed.",
"requires_api_key": false,
"requires_plan_upgrade": false,
"default_models": {
"simple": "gpt-oss-120b",
"complex": "gpt-oss-120b",
"critical": "gpt-oss-120b"
},
"documentation_url": null
},
{
"id": "anthropic",
"name": "Anthropic (Claude)",
"description": "Claude models from Anthropic. Requires API key.",
"requires_api_key": true,
"requires_plan_upgrade": false,
"default_models": {
"simple": "claude-haiku-5-5",
"complex": "claude-sonnet-5-5",
"critical": "claude-opus-5-5"
},
"documentation_url": "https://docs.anthropic.com/"
}
],
"default_provider": "anthropic"
// ... full example at https://sealmetrics.com/docs/api/llm-settings/
```
`requires_plan_upgrade` is `true` on `seal_ai` when the user's plan does not include Seal AI (it drives the upgrade badge in the settings UI). Each provider exposes **three default models** — one per rule-complexity tier (`simple` / `complex` / `critical`) — which you can override per-config with the fields below.
## List My LLM Configs
```http
GET /users/me/llm-settings
```
**Required scope:** `read`
**Response:**
```json
{
"configs": [
{
"id": 12,
"provider": "anthropic",
"api_key_configured": true,
"api_key_last_4": "abcd",
"model_simple": null,
"model_complex": "claude-sonnet-5-5",
"model_critical": null,
"deepseek_base_url": null,
"is_enabled": true,
"is_default": true,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
]
}
```
`model_simple` / `model_complex` / `model_critical` are per-tier overrides — `null` means the provider's default model for that tier is used. An override that names a model Anthropic has retired (for example `claude-sonnet-4-20250514`) is replaced with its current equivalent when read, so it doesn't fail with `not_found_error`. The stored API key is never returned.
## Create or Update Config
```http
POST /users/me/llm-settings
```
**Required scope:** `write`. Returns `201 Created`.
There is at most one config per provider per user; calling `POST` again for the same provider updates the existing row.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | enum | Yes | `seal_ai`, `anthropic`, `openai`, `deepseek_cloud`, `gemini`, or `deepseek_local` |
| `api_key` | string | Cond. | 10–200 chars. Required for `anthropic`, `openai`, `deepseek_cloud`, `gemini`; not needed for `seal_ai` / `deepseek_local` |
| `model_simple` | string | No | Model override for the *simple* rule tier |
| `model_complex` | string | No | Model override for the *complex* rule tier |
| `model_critical` | string | No | Model override for the *critical* rule tier |
| `deepseek_base_url` | string | No | Custom DeepSeek endpoint (Cloud or self-hosted) |
| `is_enabled` | boolean | No | Whether this configuration is active (default `true`) |
To mark a config as the user's default, use the `/set-default` endpoint — `is_default` is not accepted in this body. Validation errors return `400`/`422`.
**Response:** `LLMSettingsResponse` (same shape as list items).
## Update Config
```http
PATCH /users/me/llm-settings/{config_id}
```
**Required scope:** `write`
Partial update. **Cannot** change `provider` (delete + recreate instead) or `is_default` (use the `/set-default` endpoint).
Returns `404` if the config doesn't belong to the caller, `400` on validation errors.
## Delete Config
```http
DELETE /users/me/llm-settings/{config_id}
```
**Required scope:** `write`. Returns `204 No Content`, or `404` if the config doesn't exist for the caller.
## Set Default Provider
```http
POST /users/me/llm-settings/{config_id}/set-default
```
**Required scope:** `write`
Marks the given config as the default; clears the flag on any other config for the same user.
**Response:** Updated `LLMSettingsResponse`.
## Test Connection
```http
POST /users/me/llm-settings/test
```
**Required scope:** `write`
Validate a provider configuration without saving it. Pass `api_key` to test a fresh key, or omit it to test the currently saved key for that provider.
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `provider` | enum | Yes | Provider to test |
| `api_key` | string | No | Override the stored key for this test |
| `base_url` | string | No | Override the stored base URL |
**Response:**
```json
{
"success": true,
"provider": "anthropic",
"message": "Connection OK",
"latency_ms": 420,
"model_available": "claude-sonnet-5-5"
}
```
Returns `404` with `error_code: "provider_not_configured"` when no key is stored and none is passed in the body.
## Stats Endpoints
URL: https://sealmetrics.com/docs/api/stats/
Analytics data endpoints for retrieving traffic, conversion, and engagement metrics.
Analytics endpoints for retrieving traffic, conversions, and engagement metrics.
## Common Parameters
All stats endpoints accept these parameters:
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `site_id` | string | Yes | Site identifier |
| `start_date` | date | No | Start date (YYYY-MM-DD) |
| `end_date` | date | No | End date (YYYY-MM-DD) |
| `period` | string | No | Period shortcut (overrides dates) |
| `segment` | string | No | Segment ID or name to apply |
| `compare` | string | No | `previous` or `yoy` for comparison |
| `country` | string | No | Filter by country: ISO-3166-1 alpha-2 code or `Unknown`; anything else → `422` ([details](https://sealmetrics.com/docs/api/#filtering-by-country)) |
| `utm_source` | string | No | Filter by UTM source |
| `utm_medium` | string | No | Filter by UTM medium |
| `utm_campaign` | string | No | Filter by UTM campaign |
## Overview
### GET /stats/overview
Dashboard summary with all key metrics. Accepts `country` (repeat it for several countries, e.g. `?country=ES&country=PT`) as well as the advanced `filters` syntax.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/overview?site_id=acme&period=7d" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"success": true,
"data": {
"date_range": {
"start_date": "2025-01-01",
"end_date": "2025-01-07",
"days": 7
},
"traffic": {
"entrances": 12543,
"engaged_entrances": 7234,
"page_views": 28976,
"microconversions": 892,
"conversions": 156,
"revenue": 12450.00,
"bounce_rate": 42.3,
"pages_per_session": 2.31
},
"conversions": {
"conversions": 156,
"revenue": 12450.00,
"microconversions": 892,
"conversion_rate": 1.24,
"average_order_value": 79.81
}
},
"meta": {},
"timestamp": "2025-01-08T00:00:00Z"
}
```
The `traffic` object carries the core traffic metrics; `conversions` carries the conversion-focused metrics. Both `bounce_rate` and `pages_per_session` (under `traffic`) are computed from `entrances`/`engaged_entrances`/`page_views`.
**With Comparison:**
```bash
curl "https://my.sealmetrics.com/api/v1/stats/overview?site_id=acme&period=7d&compare=previous"
```
When `compare` is set, the response adds `traffic_change` and `conversions_change` (same shape as `traffic` and `conversions`, holding the previous period's values), plus time series objects (`entrances_series`, `page_views_series`, `conversions_series`, etc.) and their comparison overlays (`entrances_series_compare`, `page_views_series_compare`, `conversions_series_compare`):
```json
{
"success": true,
"data": {
"date_range": { "start_date": "2025-01-01", "end_date": "2025-01-07", "days": 7 },
"traffic": {
"entrances": 12543,
"engaged_entrances": 7234,
"page_views": 28976,
"microconversions": 892,
"conversions": 156,
"revenue": 12450.00,
"bounce_rate": 42.3,
"pages_per_session": 2.31
},
"conversions": {
"conversions": 156,
"revenue": 12450.00,
"microconversions": 892,
"conversion_rate": 1.24,
"average_order_value": 79.81
},
"traffic_change": {
"entrances": 11234,
"engaged_entrances": 6498,
"page_views": 25432,
"microconversions": 780,
"conversions": 138,
"revenue": 10980.00,
"bounce_rate": 42.2,
"pages_per_session": 2.26
// ... full example at https://sealmetrics.com/docs/api/stats/
```
The API returns the raw values for both periods; compute percentage changes client-side. There are no `comparison`/`deltas` keys.
## Pages
### GET /stats/pages
Page-level metrics with pagination, grouped by `path` and `content_grouping`. Backed by the `report_pages` table — this endpoint only carries traffic metrics (`page_views`, `entrances`). For bounce/conversion/revenue per page see [`/stats/landing-pages`](https://sealmetrics.com/docs/api/stats-advanced/#landing-pages).
```bash
curl "https://my.sealmetrics.com/api/v1/stats/pages?site_id=acme&period=30d&page=1&page_size=20" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site identifier |
| `start_date` / `end_date` / `period` | date / string | - | Date range (see [Date Periods](https://sealmetrics.com/docs/api/stats-advanced/#date-periods)) |
| `segment` | string | - | Apply saved segment (ID or name) |
| `content_grouping` | string | - | Filter by content group |
| `path_filter` | string | - | Filter by path (LIKE search) |
| `country` | string[] | - | Filter by country (ISO 2-letter, repeat for OR) |
| `utm_source` / `utm_medium` / `utm_campaign` / `utm_term` | string[] | - | Filter by UTM (repeat for OR) |
| `device_type` / `browser` / `os` | string[] | - | Filter by device dimension (repeat for OR) |
| `channel_group` | string[] | - | Filter by channel group. Use `""` for pre-migration rows |
| `include` | string[] | - | Add dimensions to GROUP BY and response. Allowed: `device`, `browser`, `os`, `channel_group` |
| `filters` | string | - | Advanced filters `field:op:value,...`. Operators: `eq`, `ne`, `contains`, `not_contains`, `regex`, `in`, `not_in` |
| `sort_by` | string | `page_views` | `page_views` or `entrances` |
| `sort_order` | string | `desc` | `asc` or `desc` |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-1000) |
| `compare` | string | - | `previous` or `yoy` — adds `comparison` totals to response |
| `include_utm` | boolean | `false` | Group results by UTM and include `utm_*` fields in each row |
Unknown `include` values return **422 Unprocessable Entity**.
**Response:**
```json
{
"data": [
{
"path": "/",
"content_grouping": "Home",
"page_views": 5432,
"entrances": 3211
},
{
"path": "/products",
"content_grouping": "Products",
"page_views": 3421,
"entrances": 1256
}
],
"total": 156,
"page": 1,
"page_size": 20,
"has_next": true,
"has_prev": false
}
```
When `include_utm=true`, each row also includes `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`. When `include` is set, each row carries the requested dimension column(s) (`device_type`, `browser`, `os`, `channel_group`). When `compare` is set, response adds a `comparison` object with the previous period totals.
### GET /stats/pages/top
Top pages by page views. Includes `engaged_entrances` and a computed `bounce_rate` (not available on the paginated `/stats/pages`).
```bash
curl "https://my.sealmetrics.com/api/v1/stats/pages/top?site_id=acme&period=7d&limit=10" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site identifier |
| `start_date` / `end_date` / `period` | date / string | - | Date range |
| `country` | string | - | Filter by country (single value) |
| `utm_source` / `utm_medium` / `utm_campaign` / `utm_term` | string | - | UTM filters (single value) |
| `limit` | integer | `10` | Number of results (1-100) |
**Response:**
```json
{
"data": [
{
"path": "/",
"page_views": 5432,
"entrances": 3211,
"engaged_entrances": 1890,
"bounce_rate": 41.14
}
]
}
```
### GET /stats/pages/content-groups
Page metrics rolled up by content group. Returns one row per content group with `unique_pages` count.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/pages/content-groups?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `site_id` | string | required |
| `start_date` / `end_date` / `period` | date / string | Date range |
| `country` | string | Filter by country |
| `utm_source` / `utm_medium` / `utm_campaign` / `utm_term` | string | UTM filters (single value) |
Pages without a content group (`content_grouping = ''`) are excluded.
**Response:**
```json
{
"data": [
{
"content_grouping": "Blog",
"unique_pages": 142,
"page_views": 28930,
"entrances": 18421
},
{
"content_grouping": "Products",
"unique_pages": 56,
"page_views": 15234,
"entrances": 6890
}
]
}
```
Landing pages
For conversion/revenue per entry page, see [`GET /stats/landing-pages`](https://sealmetrics.com/docs/api/stats-advanced/#landing-pages). It pulls from `report_landing_pages` and exposes `bounce_rate`, `conversions`, `conversion_rate`, `microconversions`, and `revenue`.
## Traffic Sources (UTM)
### GET /stats/mediums
Traffic by UTM medium.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/mediums?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"data": [
{
"utm_medium": "cpc",
"entrances": 5234,
"page_views": 12456,
"engaged_entrances": 3890,
"bounce_rate": 25.7,
"conversions": 156,
"revenue": 15600.00
},
{
"utm_medium": "organic",
"entrances": 4521,
"page_views": 9876,
"engaged_entrances": 3234,
"bounce_rate": 28.5,
"conversions": 89,
"revenue": 8900.00
}
],
"total": 8,
"page": 1,
"page_size": 50
}
```
### GET /stats/sources
Traffic by UTM source.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/sources?site_id=acme&period=30d&utm_medium=cpc"
```
### GET /stats/campaigns
Traffic by UTM campaign.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/campaigns?site_id=acme&period=30d&utm_source=google&utm_medium=cpc"
```
### GET /stats/terms
Traffic by UTM term (search keywords).
```bash
curl "https://my.sealmetrics.com/api/v1/stats/terms?site_id=acme&period=30d"
```
### GET /stats/contents
Traffic by UTM content.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/contents?site_id=acme&period=30d"
```
### GET /stats/referrers
Traffic from referrer domains.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/referrers?site_id=acme&period=30d"
```
**Response:**
```json
{
"data": [
{
"referrer_domain": "reddit.com",
"entrances": 2341,
"page_views": 4567,
"engaged_entrances": 1890,
"bounce_rate": 19.3,
"conversions": 23,
"revenue": 2300.00
}
]
}
```
## Geography
### GET /stats/geo/countries
Traffic by country.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/geo/countries?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"data": [
{
"country": "ES",
"country_name": "Spain",
"entrances": 4521,
"page_views": 12345,
"engaged_entrances": 3234,
"bounce_rate": 28.5,
"conversions": 89,
"revenue": 8900.00
},
{
"country": "US",
"country_name": "United States",
"entrances": 2341,
"page_views": 5678,
"engaged_entrances": 1567,
"bounce_rate": 33.1,
"conversions": 45,
"revenue": 4500.00
}
],
"total": 42,
"page": 1,
"page_size": 50
}
```
## Devices
### GET /stats/devices
Complete device breakdown.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/devices?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"data": {
"by_device": [
{"device": "desktop", "entrances": 6543, "percentage": 58.2},
{"device": "mobile", "entrances": 3890, "percentage": 34.6},
{"device": "tablet", "entrances": 812, "percentage": 7.2}
],
"by_browser": [
{"browser": "Chrome", "entrances": 5432, "percentage": 48.3},
{"browser": "Safari", "entrances": 2341, "percentage": 20.8},
{"browser": "Firefox", "entrances": 1234, "percentage": 11.0}
],
"by_os": [
{"os": "Windows", "entrances": 4521, "percentage": 40.2},
{"os": "macOS", "entrances": 2890, "percentage": 25.7},
{"os": "iOS", "entrances": 2341, "percentage": 20.8}
]
}
}
```
### GET /stats/devices/types
Device types only.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/devices/types?site_id=acme&period=30d"
```
### GET /stats/browsers
Browser breakdown.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/browsers?site_id=acme&period=30d"
```
### GET /stats/operating-systems
Operating system breakdown.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/operating-systems?site_id=acme&period=30d"
```
## Conversions
### GET /stats/conversions
Paginated breakdown of conversions grouped by `conversion_type`. Each row carries totals plus optional attribution arrays (`by_source`, `by_country`). For aggregated dashboard-style totals across all types, see `/stats/overview`. For one row per event, see `/stats/conversions/raw`.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/conversions?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site identifier (alias: `account_id`) |
| `start_date` / `end_date` / `period` | date / string | - | Date range |
| `segment` | string | - | Apply saved segment |
| `utm_source` / `utm_medium` / `utm_campaign` | string | - | UTM filters (single value) |
| `country` | string | - | Filter by country (ISO 2-letter) |
| `filters` | string | - | Advanced filters `field:op:value,...` |
| `sort_by` | string | `count` | `count`, `revenue`, or `avg_value` |
| `sort_order` | string | `desc` | `asc` or `desc` |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `20` | Items per page (1-100) |
| `compare` | string | - | `previous` or `yoy` — adds top-level `comparison` totals |
**Response:**
```json
{
"data": [
{
"conversion_type": "purchase",
"count": 456,
"revenue": 45600.50,
"avg_value": 100.00,
"by_source": [
{
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring-sale",
"utm_term": "",
"utm_content": "",
"conversions": 234,
"revenue": 23400.00,
"percentage": 51.32
}
],
"by_country": [
{
"country": "ES",
"conversions": 180,
"revenue": 18000.00,
"percentage": 39.47
}
]
},
{
"conversion_type": "lead",
// ... full example at https://sealmetrics.com/docs/api/stats/
```
## Raw Conversions (event-level)
### GET /stats/conversions/raw
Returns **one row per conversion** with all dimensions attached: UTM parameters, country, device, channel group, custom properties, and timestamp. Use this when you need event-level granularity instead of aggregated counts.
**Constraints:**
| Limit | Value |
| --- | --- |
| Max date range | 31 days |
| Max `page_size` | 10,000 |
```bash
curl "https://my.sealmetrics.com/api/v1/stats/conversions/raw?site_id=acme&start_date=2026-04-01&end_date=2026-04-30&page_size=1000" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"data": [
{
"timestamp": "2026-04-15T14:32:11Z",
"conversion_type": "purchase",
"amount": 89.50,
"country": "ES",
"device_type": "mobile",
"channel_group": "Paid Search",
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring-sale",
"utm_term": "running shoes",
"utm_content": "banner_a",
"properties": {
"product_category": "footwear",
"order_id": "ORD-10245"
}
}
],
"total": 12453,
"page": 1,
"page_size": 1000,
"has_next": true,
"has_prev": false
}
```
Use the root-level UTMs, not the ones inside properties
`utm_source`, `utm_medium`, `utm_campaign`, `utm_term` and `utm_content` at the **root of the row** are the attribution Sealmetrics resolved for that conversion. Those are the values to analyse.
If you also see UTM keys **inside `properties`**, they are not a second opinion from us — they are values *your own tracking code sent* with the conversion call, stored verbatim like any other custom property. Sealmetrics never writes into `properties`.
The two can disagree, and the disagreement is usually meaningful rather than a bug:
```json
{
"utm_source": "Direct",
"utm_medium": "Direct",
"properties": { "utm_source": "", "utm_medium": "" }
}
```
Here the page passed empty UTMs and Sealmetrics resolved the visit as Direct. Reading `properties.utm_source` would give you a blank where the answer is "Direct".
**Rule:** for attribution, always read the root-level fields. Treat UTM keys inside `properties` as your own raw input, useful only for debugging your tagging. If you don't want them duplicated, stop sending them in the conversion call — the attribution is captured independently.
Choosing between endpoints
- **`/stats/conversions/raw`** — one row per conversion with full dimensions. Use for analysis, attribution, or feeding a warehouse incrementally.
- **`/stats/conversions`** — aggregated totals by conversion type. Use for dashboards and KPIs.
- **`/exports/stream` with `export_type: "conversions"`** — bulk CSV dump (`date, conversion_type, amount, properties` only). Use for spreadsheets.
## Raw Microconversions (event-level)
### GET /stats/microconversions/raw
Returns **one row per microconversion** with all dimensions attached: UTM parameters, country, device, channel group, custom properties, and timestamp. Same shape as `/stats/conversions/raw` but **without `amount` and `clid`** (microconversions don't carry revenue or click IDs).
Use this when you need to filter or count microconversions by **combinations of custom property values** (e.g. `hotel + checkin_date + duration + country`) — server-side aggregation in `/stats/properties/breakdown` operates on a single property at a time, so combination logic happens on the client over this raw stream.
**Constraints:**
| Limit | Value |
| --- | --- |
| Max date range | 31 days |
| Max `page_size` | 10,000 |
| Data retention | 2 years (ClickHouse TTL) |
**Multi-value filters** (repeat the query param to OR values, e.g. `?country=ES&country=FR`):
`conversion_type`, `country`, `device_type`, `browser`, `os`, `channel_group`, `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, `landing_page`.
`landing_page` matches the entry path exactly and case-insensitively, and the trailing slash counts (`/shoes` and `/shoes/` are different pages). The same filters apply to `/stats/conversions/raw`.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/microconversions/raw?site_id=acme&start_date=2026-04-01&end_date=2026-04-30&conversion_type=availability_search&page_size=1000" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"data": [
{
"date": "2026-04-15",
"hour": 14,
"timestamp_utc": "2026-04-15T14:32:11.482Z",
"timestamp_local": "2026-04-15T16:32:11.482+02:00",
"conversion_type": "availability_search",
"country": "ES",
"device_type": "mobile",
"channel_group": "Paid Search",
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring-sale",
"utm_term": "",
"utm_content": "",
"landing_page": "/hotels/ibiza",
"browser": "Chrome",
"os": "iOS",
"properties": {
"hotel": "TRS Ibiza Hotel",
"checkin_date": "2026-07-12",
"number_of_nights": "5",
"number_of_adults": "2",
"number_of_children": "1",
"result": "available"
}
}
],
"total": 8421,
// ... full example at https://sealmetrics.com/docs/api/stats/
```
**`properties` content** is whatever your tracker pushes when emitting the microconversion. There is no server-side whitelist — avoid putting PII (raw emails, government IDs, payment details) into properties, since anyone with `stats:read` on the site can read them back.
## Raw Conversion Items (event-level)
### GET /stats/conversion-items/raw
Returns **one row per item** of a conversion from `sealmetrics.conversion_items` — useful when a single purchase contains multiple products and you need product-level attribution. Each item carries its own `properties` Map (`product_id`, `sku`, `quantity`, etc.) plus the conversion's full attribution context (UTMs, country, device, channel group).
To reconstruct purchase + items, **join on the client side** using either:
1. `timestamp_utc` (millisecond precision — unique for events ingested after 2026-05-03), or
2. A property the tracker placed on both rows (e.g. `order_id`).
**Constraints, filters and response shape** are the same as `/stats/microconversions/raw`. Click IDs (`gclid`, `fbclid`…) are not returned: they are not stored (see the [changelog](https://sealmetrics.com/docs/changelog.md)).
```bash
curl "https://my.sealmetrics.com/api/v1/stats/conversion-items/raw?site_id=acme&period=30d&page_size=10000" \
-H "X-API-Key: sm_your_key"
```
## Timestamp & timezone caveats (raw endpoints)
Applies to all three raw endpoints (`/conversions/raw`, `/microconversions/raw`, `/conversion-items/raw`):
- `date` and `hour` are in the **account timezone** (pre-calculated at ingestion).
- `timestamp_utc` is ISO 8601 with `Z` suffix (true UTC, millisecond precision).
- `timestamp_local` is the same instant converted to the account timezone, ISO 8601 with explicit offset (e.g. `+02:00`).
- For accounts in a non-UTC timezone, `date`/`hour` match `timestamp_local`, **not** `timestamp_utc`. A conversion at 02:00 Sydney (UTC+10) on 2026-05-03 has `date=2026-05-03 hour=2` and `timestamp_utc=2026-05-02T16:00:00.000Z`.
**Pre-2026-05-03 rows:** `timestamp_utc` was added on that date. Older rows are returned with a synthesized hourly-precision timestamp derived from `date + hour` in the account's timezone. To distinguish synthesized vs real, check whether `seconds == 0 AND milliseconds == 0`.
## Funnel Report
### GET /stats/funnel
Funnel analysis by UTM parameters. Of the common parameters it takes `site_id`, `start_date`, `end_date`, `period` and `country` — not `segment`, `compare` or the `utm_*` shortcuts; narrow UTM values with `filters` instead.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `filters` | string | No | Advanced filters `field:op:value,...` (e.g. `utm_source:eq:google`). Applied to rows and totals alike, so the top-`limit` cut happens inside the filtered set |
| `limit` | int | No | UTM rows per page, 1–10,000 (default: `100`; out of range → `422`). The dashboard table uses the default; its CSV export asks for `10,000` |
| `page` | int | No | 1-based page of `limit` rows (default: `1`; `< 1` → `422`; `page × limit` over 1,000,000 → `400`). Keep requesting the next page while `truncated` is `true` |
```bash
curl "https://my.sealmetrics.com/api/v1/stats/funnel?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Response:**
```json
{
"data": {
"rows": [
{
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "brand-2025",
"entrances": 5234,
"page_views": 12456,
"microconversions": {
"view_product": 2341,
"add_to_cart": 823,
"checkout_start": 512
},
"conversions": {
"purchase": 156
},
"revenue": {
"purchase": 15600.50
}
}
],
"totals": {
"entrances": 15234,
"page_views": 34567,
"microconversions": {
"view_product": 8234,
"add_to_cart": 2345
},
"conversions": {
// ... full example at https://sealmetrics.com/docs/api/stats/
```
`rows` returns the top `limit` UTM combinations by entrances for the requested `page` (ties broken by the UTM key, so pages are deterministic). `truncated: true` means more combinations exist after this page. There is no `total` field — counting the full set would cost an extra full scan on every call.
#### Paging large funnels
To pull every UTM combination for a period (more than `limit` rows), request `page=1, 2, …` with the same filters and `limit` until `truncated` is `false`. Request pages **one at a time** — each page re-aggregates the whole period, so parallel paging adds load without speeding anything up. Today's data keeps arriving while you page, so a combination can shift across a page boundary; page a closed period (up to yesterday) for an exact export.
Requests with `limit` above 100, or any `page` after the first, count as **export-sized**: they are capped to one running at a time per site and three at a time across all sites. Exceeding either cap returns **`429`** with a `Retry-After: 10` header — back off and retry (the dashboard's own CSV export counts as one of these requests). A request that still runs too long on our side returns **`422`**; retry with a shorter period, a smaller `limit`, or added filters. The default dashboard table request (`limit=100`, page 1) is never export-sized.
```python
import time
import requests
rows, page = [], 1
while True:
r = requests.get(
"https://my.sealmetrics.com/api/v1/stats/funnel",
headers={"X-API-Key": "sm_your_key"},
params={"site_id": "acme", "start_date": "2026-01-01", "end_date": "2026-09-26",
"limit": 10000, "page": page},
)
if r.status_code == 429:
time.sleep(int(r.headers["Retry-After"]))
continue
r.raise_for_status()
body = r.json()["data"]
rows += body["rows"]
if not body["truncated"]:
break
page += 1
```
### POST /stats/funnel
Analyze a custom funnel with arbitrary ordered steps. Each step can be a page path (e.g. `/checkout`), a microconversion type (e.g. `add_to_cart`), or a conversion type (e.g. `purchase`).
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/stats/funnel?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Checkout funnel",
"steps": ["/products", "add_to_cart", "/checkout", "purchase"]
}'
```
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `steps` | string[] | Yes | Ordered list of funnel steps (2-10 items) |
| `name` | string | No | Funnel name (default: `"Custom Funnel"`) |
**Response:**
```json
{
"data": {
"name": "Checkout funnel",
"date_range": { "start_date": "2025-01-01", "end_date": "2025-01-30", "days": 30 },
"steps": [
{ "step_number": 1, "name": "/products", "count": 5234, "conversion_rate": 100.0, "drop_off_rate": 0.0 },
{ "step_number": 2, "name": "add_to_cart", "count": 1820, "conversion_rate": 34.78, "drop_off_rate": 65.22 },
{ "step_number": 3, "name": "/checkout", "count": 920, "conversion_rate": 50.55, "drop_off_rate": 49.45 },
{ "step_number": 4, "name": "purchase", "count": 312, "conversion_rate": 33.91, "drop_off_rate": 66.09 }
],
"total_entries": 5234,
"total_completions": 312,
"overall_conversion_rate": 5.96
}
}
```
Time series data
To get metrics over time, use the [Multi-Dimensional Query](https://sealmetrics.com/docs/api/stats-query.md) endpoint with `granularity: "daily"` or `"hourly"`. This replaces the need for a dedicated time series endpoint and gives you full control over dimensions, metrics, and filters.
## Properties Report
Analyze custom properties attached to conversions and microconversions.
### GET /stats/properties/keys
List available property keys from conversions and microconversions.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/properties/keys?site_id=acme&period=30d" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `table` | string | No | `conversions`, `microconversions`, or `both` (default: `both`) |
**Response:**
```json
{
"data": [
{"key": "product_category", "count": 1250},
{"key": "plan_type", "count": 340},
{"key": "form_id", "count": 89}
]
}
```
### GET /stats/properties/values
Get property values with counts, grouped by UTM parameter.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/properties/values?site_id=acme&period=30d&property_key=product_category" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `property_key` | string | Yes | Property key to analyze |
| `group_by` | string | No | `utm_source`, `utm_medium`, `utm_campaign`, or `all` (default: `utm_source`) |
| `table` | string | No | `conversions`, `microconversions`, or `both` (default: `both`) |
| `conversion_type` | string | No | Filter by specific conversion type |
**Response:**
```json
{
"data": [
{
"utm_source": "google",
"total": 156,
"values": {
"electronics": 89,
"fashion": 45,
"home": 22
}
},
{
"utm_source": "facebook",
"total": 78,
"values": {
"electronics": 34,
"fashion": 28,
"home": 16
}
}
],
"total": 25,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false
}
```
### GET /stats/properties/breakdown
Get a pivot-table style breakdown where rows are UTM combinations and columns are property values.
```bash
curl "https://my.sealmetrics.com/api/v1/stats/properties/breakdown?site_id=acme&period=30d&property_key=product_category" \
-H "X-API-Key: sm_your_key"
```
**Query Parameters:**
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `property_key` | string | Yes | Property key to analyze |
| `table` | string | No | `conversions`, `microconversions`, or `both` (default: `both`) |
| `conversion_type` | string | No | Filter by specific conversion type |
**Response:**
```json
{
"data": {
"property_key": "product_category",
"rows": [
{
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "brand",
"total": 156,
"values": {
"electronics": 89,
"fashion": 45,
"home": 22
}
}
],
"property_values": ["electronics", "fashion", "home", "sports"],
"totals": {
"electronics": 234,
"fashion": 156,
"home": 89,
"sports": 45
}
}
}
```
## Code Examples
### Python
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
def get_overview(site_id: str, period: str = "7d"):
response = requests.get(
f"{BASE_URL}/stats/overview",
headers={"X-API-Key": API_KEY},
params={
"site_id": site_id,
"period": period
}
)
response.raise_for_status()
return response.json()["data"]
def get_traffic_sources(site_id: str, period: str = "30d"):
response = requests.get(
f"{BASE_URL}/stats/sources",
headers={"X-API-Key": API_KEY},
params={
"site_id": site_id,
"period": period,
"sort_by": "revenue",
"sort_order": "desc"
}
)
response.raise_for_status()
return response.json()["data"]
// ... full example at https://sealmetrics.com/docs/api/stats/
```
### JavaScript
```javascript
const API_KEY = 'sm_your_api_key';
const BASE_URL = 'https://my.sealmetrics.com/api/v1';
async function getStats(accountId, period = '7d') {
const params = new URLSearchParams({
site_id: accountId,
period: period
});
const response = await fetch(`${BASE_URL}/stats/overview?${params}`, {
headers: { 'X-API-Key': API_KEY }
});
if (!response.ok) {
throw new Error(`API error: ${response.status}`);
}
const { data } = await response.json();
return data;
}
// Usage
const stats = await getStats('my-account', '30d');
console.log(`Conversions: ${stats.conversions.conversions}`);
console.log(`Revenue: $${stats.conversions.revenue}`);
```
## Stats Advanced
URL: https://sealmetrics.com/docs/api/stats-advanced/
Advanced analytics endpoints for the UTM hierarchy — mediums, sources, campaigns, terms — plus landing pages, channels, and microconversions
Complete reference for advanced analytics endpoints including UTM hierarchy, landing pages, channels, and microconversions.
## UTM Hierarchy
Sealmetrics organizes traffic data in a hierarchical UTM structure:
```plaintext
Medium (email, organic, paid, referral)
└── Source (google, facebook, newsletter)
└── Campaign (spring_sale, brand_awareness)
└── Term (running shoes, blue widget)
└── Content (banner_a, text_link)
```
Each level can be queried independently with filters from parent levels.
## Traffic by Medium
```http
GET /stats/mediums
```
Get traffic metrics grouped by UTM medium.
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site ID (alias: `account_id`) |
| `period` | string | - | Date period (see Periods) |
| `start_date` | date | - | Custom start date (YYYY-MM-DD) |
| `end_date` | date | - | Custom end date (YYYY-MM-DD) |
| `segment` | string | - | Apply saved segment filters |
| `country` | string | - | Filter by country code (ISO 2-letter) |
| `filters` | string | - | Advanced filters (see [Filtering](https://sealmetrics.com/docs/api/pagination-sorting/#advanced-filters)) |
| `search` | string | - | Case-insensitive search on `utm_medium` (max 200 chars) |
| `sort_by` | string | `entrances` | Sort field (see Sort Fields) |
| `sort_order` | string | `desc` | Sort order (`asc`/`desc`) |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-100) |
| `compare` | string | - | Comparison mode (`previous`/`yoy`) — adds top-level `comparison` totals |
| `include_totals` | boolean | `false` | Add aggregated `totals` for the current period to the response |
**Response:**
```json
{
"data": [
{
"utm_medium": "organic",
"entrances": 15420,
"engaged_entrances": 12336,
"page_views": 45780,
"conversions": 245,
"revenue": 18650.00,
"bounce_rate": 20.0
},
{
"utm_medium": "paid",
"entrances": 8750,
"engaged_entrances": 6125,
"page_views": 22400,
"conversions": 180,
"revenue": 14200.00,
"bounce_rate": 30.0
}
],
"total": 5,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false
}
```
## Traffic by Source
```http
GET /stats/sources
```
Get traffic metrics grouped by UTM source. Same query params as `/stats/mediums`, with one addition:
| Parameter | Type | Description |
| --- | --- | --- |
| `utm_medium` | string | Filter by specific medium |
`search` matches on `utm_source` instead of `utm_medium`.
**Response:**
```json
{
"data": [
{
"utm_source": "google",
"entrances": 12500,
"engaged_entrances": 10000,
"page_views": 35000,
"conversions": 150,
"revenue": 12500.00,
"bounce_rate": 20.0
}
],
"total": 25,
"page": 1,
"page_size": 50
}
```
### Top Sources
```http
GET /stats/sources/top
```
Get top sources by entrances.
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `limit` | integer | `10` | Number of results (1-100) |
| `utm_medium` | string | - | Filter by medium |
| `country` | string | - | Filter by country (ISO 2-letter or `Unknown`) |
| `landing_page` | string | - | Only sessions that entered on this path (exact, case-insensitive; trailing slash counts) |
With `landing_page`, the endpoint returns the sources of the sessions that entered on that page, so the totals add up to that page's entrances. It reads the landing-page report, which has no pageview data, so **rows have no `page_views` key**; `utm_source`, `utm_medium`, `entrances`, `engaged_entrances`, `bounces`, `bounce_rate`, `microconversions`, `conversions`, `conversion_rate` and `revenue` are all present. Advanced `filters=` are not applied in this mode. Without `landing_page`, the response is unchanged.
## Traffic by Campaign
```http
GET /stats/campaigns
```
Get traffic metrics grouped by UTM campaign. Same query params as `/stats/mediums`, with these additions:
| Parameter | Type | Description |
| --- | --- | --- |
| `utm_medium` | string | Filter by medium |
| `utm_source` | string | Filter by source |
`search` matches on `utm_campaign`.
### Top Campaigns
```http
GET /stats/campaigns/top
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `limit` | integer | `10` | Number of results (1-100) |
| `utm_medium` / `utm_source` | string | - | UTM filters |
| `country` | string | - | Filter by country |
## Traffic by Term
```http
GET /stats/terms
```
Get traffic metrics grouped by UTM term (search keywords). Same query params as `/stats/mediums`, with these additions:
| Parameter | Type | Description |
| --- | --- | --- |
| `utm_medium` | string | Filter by medium |
| `utm_source` | string | Filter by source |
| `utm_campaign` | string | Filter by campaign |
`search` matches on `utm_term`.
### Top Terms
```http
GET /stats/terms/top
```
Same params as `/stats/campaigns/top`, accepts `utm_campaign` filter.
## Traffic by Content
```http
GET /stats/contents
```
Get traffic by UTM content parameter (ad variations, link types). Same query params as `/stats/mediums`, with these additions:
| Parameter | Type | Description |
| --- | --- | --- |
| `utm_medium` | string | Filter by medium |
| `utm_source` | string | Filter by source |
| `utm_campaign` | string | Filter by campaign |
`search` matches on `utm_content`.
### Top Contents
```http
GET /stats/contents/top
```
Same params as `/stats/campaigns/top`, accepts `utm_campaign` filter.
## Referrer Traffic
```http
GET /stats/referrers
```
Get traffic from external referrer domains.
**Response:**
```json
{
"data": [
{
"referrer": "facebook.com",
"entrances": 5420,
"engaged_entrances": 3254,
"page_views": 12500,
"conversions": 45,
"revenue": 3200.00,
"bounce_rate": 40.0
}
],
"total": 150,
"page": 1,
"page_size": 50
}
```
### Top Referrers
```http
GET /stats/referrers/top
```
## Landing Pages
```http
GET /stats/landing-pages
```
Get metrics for entry pages (first page of session). Backed by `report_landing_pages`, which carries conversion and engagement data per entry page.
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site identifier |
| `start_date` / `end_date` / `period` | date / string | - | Date range (see Date Periods) |
| `segment` | string | - | Apply saved segment (ID or name) |
| `content_grouping` | string | - | Filter by content group |
| `path_filter` | string | - | Filter by path (LIKE search) |
| `country` | string[] | - | Filter by country (ISO 2-letter, repeat for OR) |
| `utm_source` / `utm_medium` / `utm_campaign` / `utm_term` | string[] | - | Filter by UTM (repeat for OR) |
| `device_type` / `browser` / `os` | string[] | - | Filter by device dimension (repeat for OR) |
| `channel_group` | string[] | - | Filter by channel group. Use `""` for pre-migration rows |
| `include` | string[] | - | Add dimensions to GROUP BY and response. Allowed: `device`, `browser`, `os`, `channel_group` |
| `filters` | string | - | Advanced filters `field:op:value,...` (`eq`, `ne`, `contains`, `not_contains`, `regex`, `in`, `not_in`) |
| `sort_by` | string | `entrances` | `entrances`, `engaged_entrances`, `microconversions`, `conversions`, `revenue`, `bounce_rate` |
| `sort_order` | string | `desc` | `asc` or `desc` |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-1000) |
| `compare` | string | - | `previous` or `yoy` — adds `comparison` totals + per-row `_prev` fields |
| `include_totals` | boolean | `false` | Add aggregated `totals` for the current period to the response |
| `include_utm` | boolean | `false` | Group by UTM and include `utm_*` fields in each row |
Unknown `include` values return **422 Unprocessable Entity**.
**Response:**
```json
{
"data": [
{
"landing_page": "/products/running-shoes",
"content_grouping": "Products",
"entrances": 8500,
"engaged_entrances": 6800,
"bounce_rate": 20.0,
"microconversions": 1200,
"conversions": 85,
"conversion_rate": 1.0,
"revenue": 7650.00
}
],
"total": 450,
"page": 1,
"page_size": 50,
"has_next": true,
"has_prev": false
}
```
When `include_utm=true`, each row also includes `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`. When `include` is set, each row carries the requested dimension column(s). When `compare` is set, the response includes a top-level `comparison` object with previous-period totals and each row gets `_prev` metric fields. When `include_totals=true`, the response includes a `totals` object aggregating the current period.
### Top Landing Pages
```http
GET /stats/landing-pages/top
```
Top landing pages by entrances. Returns the same metric shape as `/stats/landing-pages` rows.
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site identifier |
| `start_date` / `end_date` / `period` | date / string | - | Date range |
| `utm_source` / `utm_medium` | string | - | UTM filters (single value). `utm_campaign` and `utm_term` are **not** accepted on this endpoint — use `/stats/landing-pages` if you need to filter by them |
| `country` | string | - | Filter by country |
| `content_grouping` | string | - | Filter by content group |
| `filters` | string | - | Advanced filters `field:op:value,...` |
| `limit` | integer | `10` | Number of results (1-100) |
**Response:**
```json
{
"data": [
{
"landing_page": "/products/running-shoes",
"content_grouping": "Products",
"entrances": 8500,
"engaged_entrances": 6800,
"bounce_rate": 20.0,
"microconversions": 1200,
"conversions": 85,
"conversion_rate": 1.0,
"revenue": 7650.00
}
]
}
```
### Landing Pages by Content Group
```http
GET /stats/landing-pages/by-content-group
```
Aggregate landing page metrics by content group. Returns one row per group with `unique_pages` count and the full engagement/conversion metric set.
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `site_id` | string | required |
| `start_date` / `end_date` / `period` | date / string | Date range |
| `utm_source` / `utm_medium` | string | UTM filters (single value) |
| `country` | string | Filter by country |
**Response:**
```json
{
"data": [
{
"content_grouping": "Products",
"unique_pages": 56,
"entrances": 24500,
"engaged_entrances": 19200,
"bounce_rate": 21.6,
"microconversions": 3400,
"conversions": 245,
"conversion_rate": 1.0,
"revenue": 21500.00
}
]
}
```
## Channel Groups
```http
GET /stats/channels
```
Get traffic by GA4-style channel grouping.
Sealmetrics automatically classifies traffic into channels based on UTM parameters:
| Channel | Classification |
| --- | --- |
| Direct | No referrer, no UTM |
| Organic Search | `medium=organic`, source is search engine |
| Paid Search | `medium=cpc\|ppc\|paid` |
| Display | `medium=display\|banner` |
| Email | `medium=email` |
| Social | Source is social network |
| Referral | Has referrer, no UTM |
| Affiliate | `medium=affiliate` |
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site ID (alias: `account_id`) |
| `start_date` / `end_date` / `period` | date / string | - | Date range |
| `segment` | string | - | Apply saved segment |
| `country` | string | - | Filter by country (ISO 2-letter) |
| `filters` | string | - | Advanced filters |
| `search` | string | - | Case-insensitive search on channel name (max 200 chars) |
| `sort_by` | string | `entrances` | `entrances`, `engaged_entrances`, `page_views`, `conversions`, `revenue` |
| `sort_order` | string | `desc` | `asc` or `desc` |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-100) |
| `compare` | string | - | `previous` or `yoy` — adds row-level `_prev` fields and top-level `comparison` |
| `include_totals` | boolean | `false` | Include aggregated totals for the current period |
**Response:**
```json
{
"data": [
{
"channel": "Organic Search",
"entrances": 25000,
"engaged_entrances": 20000,
"page_views": 75000,
"microconversions": 3400,
"conversions": 350,
"revenue": 28000.00,
"bounce_rate": 20.0
}
],
"total": 8,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false
}
```
### Top Channels
```http
GET /stats/top-channels
```
Top channels by entrances.
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `site_id` | string | required | Site ID |
| `start_date` / `end_date` / `period` | date / string | - | Date range |
| `country` | string | - | Filter by country |
| `limit` | integer | `10` | Number of results (1-50) |
**Response:** `APIResponse` with the same metric shape as `/stats/channels` rows.
## Microconversions
Microconversions track intermediate user actions (add to cart, form start, video play, etc.).
### List Microconversions
```http
GET /stats/microconversions
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `utm_source` | string | Filter by source |
| `utm_medium` | string | Filter by medium |
| `utm_campaign` | string | Filter by campaign |
| `utm_term` | string | Filter by term |
| `country` | string | Filter by country (ISO 2-letter) |
| `device_type` | string | Filter by device (`desktop`/`mobile`/`tablet`) |
| `browser` | string | Filter by browser |
| `os` | string | Filter by operating system |
| `conversion_type` | string | Filter by specific type |
| `segment` | string | Apply saved segment |
| `filters` | string | Advanced filters |
| `sort_by` | string | Sort by: `count` |
| `compare` | string | Comparison mode |
**Response:**
```json
{
"data": [
{
"conversion_type": "add_to_cart",
"count": 4520,
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring_sale"
},
{
"conversion_type": "newsletter_signup",
"count": 890,
"utm_source": "facebook",
"utm_medium": "social",
"utm_campaign": null
}
],
"total": 125,
"page": 1,
"page_size": 20
}
```
### Microconversion Details
```http
GET /stats/microconversions/{conversion_type}
```
Get detailed breakdown for a specific microconversion type.
**Path Parameters:**
| Parameter | Description |
| --- | --- |
| `conversion_type` | Type of microconversion (e.g., `add_to_cart`) |
**Response:**
```json
{
"success": true,
"data": {
"conversion_type": "add_to_cart",
"total_count": 4520,
"by_source": [
{"utm_source": "google", "count": 2500},
{"utm_source": "facebook", "count": 1200}
],
"by_country": [
{"country": "ES", "count": 2800},
{"country": "FR", "count": 950}
],
"by_device": [
{"device_type": "mobile", "count": 2700},
{"device_type": "desktop", "count": 1820}
],
"by_landing_page": [
{"path": "/products/shoes", "count": 1500},
{"path": "/sale", "count": 980}
]
}
}
```
### Available Microconversion Types
```http
GET /stats/microconversions-types
```
Get list of microconversion types with data in the selected period.
**Response:**
```json
{
"success": true,
"data": [
"add_to_cart",
"newsletter_signup",
"video_play",
"form_start",
"wishlist_add"
]
}
```
## Date Periods
All stats endpoints accept a `period` parameter with these values:
### Relative Periods
| Value | Description |
| --- | --- |
| `today` | Current day (midnight to now) |
| `yesterday` | Previous complete day |
| `7d` | Last 7 days including today |
| `30d` | Last 30 days including today |
| `90d` | Last 90 days including today |
| `12m` | Last 12 months (365 days) |
### Calendar Periods
| Value | Description |
| --- | --- |
| `this_week` | Current week (Monday to today) |
| `last_week` | Previous complete week (Mon-Sun) |
| `this_month` | Current month (1st to today) |
| `last_month` | Previous complete month |
| `this_quarter` | Current quarter to today |
| `last_quarter` | Previous complete quarter |
| `this_year` | January 1st to today |
| `last_year` | Previous complete year |
### To-Date Aliases
| Value | Equivalent |
| --- | --- |
| `wtd` | `this_week` |
| `mtd` | `this_month` |
| `qtd` | `this_quarter` |
| `ytd` | `this_year` |
### How "today" is resolved
Every preset is resolved with **"today" in the account's timezone** (`accounts.timezone`), not in UTC or in the caller's browser. This matches how the data is stored — the pixel-service pre-computes each hit's local `date` using the account's timezone — and mirrors what GA4, Plausible and Matomo call the "reporting timezone".
Consequences worth knowing:
- Two accounts in different timezones will see different windows for `today` even at the exact same wall-clock instant.
- Explicit `start_date` / `end_date` (ISO `YYYY-MM-DD`) are also interpreted as **local days in the account's timezone**.
- The stats and query endpoints (`/stats/*`, `/stats/query`, `/batch`, `/channel-groups/stats/*`) all follow this rule. If you write your own tooling that pre-resolves a range client-side, use the account's timezone as your reference — don't use the server's UTC clock.
- Changing a site's timezone in Settings takes effect on the API within ~5 min (the timezone cache TTL).
### Period comparison
Set `compare=previous` (or `yoy` where supported) on any endpoint that accepts `period` to also fetch the equivalent prior window. See each endpoint's response shape for how comparison fields are laid out.
## Sort Fields
Different endpoints support different sort fields:
### Traffic Endpoints
`/stats/sources`, `/stats/campaigns`, `/stats/mediums`, etc.
| Field | Description |
| --- | --- |
| `entrances` | Session starts (default) |
| `engaged_entrances` | Engaged sessions |
| `page_views` | Total page views |
| `conversions` | Total conversions |
| `revenue` | Total revenue |
### Conversion Endpoints
`/stats/conversions`
| Field | Description |
| --- | --- |
| `count` | Number of conversions (default) |
| `revenue` | Total revenue |
| `avg_value` | Average conversion value |
### Microconversion Endpoints
`/stats/microconversions`
| Field | Description |
| --- | --- |
| `count` | Number of microconversions (default) |
## Code Examples
### Get Top Sources by Revenue
```python
import requests
response = requests.get(
"https://my.sealmetrics.com/api/v1/stats/sources",
headers={"X-API-Key": "sm_your_api_key"},
params={
"site_id": "my-site",
"period": "30d",
"sort_by": "revenue",
"sort_order": "desc",
"page_size": 10
}
)
for source in response.json()["data"]:
print(f"{source['utm_source']}: €{source['revenue']}")
```
### Filter by Segment and Country
```python
response = requests.get(
"https://my.sealmetrics.com/api/v1/stats/campaigns",
headers={"X-API-Key": "sm_your_api_key"},
params={
"site_id": "my-site",
"period": "7d",
"segment": "paid-traffic",
"country": "ES",
"compare": "previous"
}
)
```
### Get Microconversion Funnel
```python
# Get add_to_cart by source
carts = requests.get(
"https://my.sealmetrics.com/api/v1/stats/microconversions",
headers={"X-API-Key": "sm_your_api_key"},
params={
"site_id": "my-site",
"period": "30d",
"conversion_type": "add_to_cart"
}
).json()
for item in carts["data"]:
print(f"{item['utm_source']}: {item['count']} carts")
```
## Multi-Dimensional Query
URL: https://sealmetrics.com/docs/api/stats-query/
Flexible query endpoint to cross any combination of dimensions and metrics. Ideal for custom reports, data warehouses, and BigQuery exports.
The Query API is the most flexible way to extract analytics data from Sealmetrics. Instead of using pre-built endpoints for each dimension, you define exactly which dimensions and metrics you need in a single request.
**Use cases:**
- Export data to BigQuery, Snowflake, or any data warehouse
- Build custom reports crossing multiple dimensions (e.g., source + country + device)
- Power BI / Data Studio integrations
- Programmatic data pipelines
Recommended for data exports
If you're building an integration that needs to pull data into an external system, this is the endpoint you should use. It replaces the need to call multiple individual stats endpoints.
## Query Endpoint
```http
POST /stats/query?site_id={site_id}
```
Execute a multi-dimensional analytics query with full control over dimensions, metrics, filters, and sorting.
### Request Body
| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `date_from` | date | Yes | - | Start date (YYYY-MM-DD), inclusive |
| `date_to` | date | Yes | - | End date (YYYY-MM-DD), inclusive |
| `granularity` | string | No | `total` | `total`, `daily`, or `hourly` |
| `dimensions` | string[] | No | `[]` | Dimensions to group by (max 10) |
| `metrics` | string[] | No | all metrics | Metrics to aggregate |
| `filters` | object | No | - | Filter conditions (see Filters) |
| `order_by` | object[] | No | `entrances desc` | Sort specifications (see Sorting) |
| `limit` | integer | No | `100` | Max rows to return (1-10,000) |
| `offset` | integer | No | `0` | Rows to skip for pagination |
| `compare` | string | No | - | `previous` or `yoy` (see [Comparison](https://sealmetrics.com/docs/api/comparison.md)) |
### Available Dimensions
| Dimension | Description | Example Values |
| --- | --- | --- |
| `date` | Date (auto-added with `daily` granularity) | `2025-01-15` |
| `hour` | Hour of day (auto-added with `hourly` granularity) | `0`-`23` |
| `day_of_week` | ISO 8601 day of week | `1` (Mon) - `7` (Sun) |
| `country` | ISO 3166-1 alpha-2 country code | `ES`, `US`, `FR` |
| `utm_source` | UTM source parameter | `google`, `facebook` |
| `utm_medium` | UTM medium parameter | `cpc`, `organic`, `email` |
| `utm_campaign` | UTM campaign parameter | `spring_sale` |
| `utm_term` | UTM term parameter | `running shoes` |
| `utm_content` | UTM content parameter | `banner_a` |
| `device_type` | Device category | `desktop`, `mobile`, `tablet` |
| `browser` | Browser name | `Chrome`, `Safari`, `Firefox` |
| `os` | Operating system | `Windows`, `macOS`, `iOS` |
| `channel_group` | GA4-style channel classification | `Organic Search`, `Paid Search` |
### Available Metrics
| Metric | Type | Description |
| --- | --- | --- |
| `entrances` | integer | Session starts (visits) |
| `engaged_entrances` | integer | Sessions with more than 1 pageview |
| `page_views` | integer | Total page views |
| `microconversions` | integer | Total microconversion events |
| `conversions` | integer | Total conversion events |
| `revenue` | float | Total revenue from conversions |
Bounce rate
`bounce_rate` is automatically calculated and included in the response when both `entrances` and `engaged_entrances` are in your metrics list. Formula: `(entrances - engaged_entrances) / entrances * 100`.
### Granularity
| Value | Behavior |
| --- | --- |
| `total` | Aggregate all dates. Groups only by the dimensions you specify. |
| `daily` | Auto-adds `date` to dimensions. One row per day per dimension combination. |
| `hourly` | Auto-adds `date` and `hour` to dimensions. Uses the hourly data table. |
## Basic Examples
### Simple aggregation (no dimensions)
Get total metrics for a date range:
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/stats/query?site_id=acme" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"metrics": ["entrances", "conversions", "revenue"]
}'
```
**Response:**
```json
{
"data": [
{
"entrances": 45230,
"conversions": 1256,
"revenue": 125600.50
}
],
"meta": {
"total_rows": 1,
"has_more": false,
"granularity": "total",
"dimensions": [],
"metrics": ["entrances", "conversions", "revenue"]
}
}
```
### Single dimension
Traffic by country:
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/stats/query?site_id=acme" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"dimensions": ["country"],
"metrics": ["entrances", "conversions", "revenue"],
"order_by": [{"field": "revenue", "direction": "desc"}],
"limit": 10
}'
```
**Response:**
```json
{
"data": [
{
"country": "ES",
"entrances": 15420,
"conversions": 456,
"revenue": 45600.00
},
{
"country": "MX",
"entrances": 8750,
"conversions": 234,
"revenue": 23400.00
},
{
"country": "US",
"entrances": 6200,
"conversions": 178,
"revenue": 17800.00
}
],
"meta": {
"total_rows": 42,
"has_more": true,
"granularity": "total",
"dimensions": ["country"],
"metrics": ["entrances", "conversions", "revenue"]
}
}
```
### Multiple dimensions
Cross source, country, and device type:
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/stats/query?site_id=acme" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"dimensions": ["utm_source", "country", "device_type"],
"metrics": ["entrances", "engaged_entrances", "conversions", "revenue"],
"order_by": [{"field": "entrances", "direction": "desc"}],
"limit": 50
}'
```
**Response:**
```json
{
"data": [
{
"utm_source": "google",
"country": "ES",
"device_type": "mobile",
"entrances": 5230,
"engaged_entrances": 3920,
"conversions": 145,
"revenue": 14500.00,
"bounce_rate": 25.05
},
{
"utm_source": "google",
"country": "ES",
"device_type": "desktop",
"entrances": 4100,
"engaged_entrances": 3280,
"conversions": 198,
"revenue": 19800.00,
"bounce_rate": 20.0
}
],
"meta": {
"total_rows": 1240,
"has_more": true,
"granularity": "total",
"dimensions": ["utm_source", "country", "device_type"],
"metrics": ["entrances", "engaged_entrances", "conversions", "revenue"]
}
// ... full example at https://sealmetrics.com/docs/api/stats-query/
```
### Daily time series
Daily breakdown by source:
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/stats/query?site_id=acme" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"date_from": "2025-01-01",
"date_to": "2025-01-07",
"granularity": "daily",
"dimensions": ["utm_source"],
"metrics": ["entrances", "conversions"]
}'
```
**Response:**
```json
{
"data": [
{
"date": "2025-01-01",
"utm_source": "google",
"entrances": 1234,
"conversions": 45
},
{
"date": "2025-01-01",
"utm_source": "facebook",
"entrances": 567,
"conversions": 12
},
{
"date": "2025-01-02",
"utm_source": "google",
"entrances": 1456,
"conversions": 52
}
],
"meta": {
"total_rows": 42,
"has_more": false,
"granularity": "daily",
"dimensions": ["date", "utm_source"],
"metrics": ["entrances", "conversions"]
}
}
```
## Filters
Filters support both positive (include) and negative (exclude) conditions. Each filter accepts a single value or an array of values.
### Filter Fields
| Filter | Negative Filter | Type | Description |
| --- | --- | --- | --- |
| `utm_source` | `utm_source_not` | string \| string[] | UTM source |
| `utm_medium` | `utm_medium_not` | string \| string[] | UTM medium |
| `utm_campaign` | `utm_campaign_not` | string \| string[] | UTM campaign |
| `utm_term` | `utm_term_not` | string \| string[] | UTM term |
| `utm_content` | `utm_content_not` | string \| string[] | UTM content |
| `country` | `country_not` | string \| string[] | Country code |
| `device_type` | `device_type_not` | string \| string[] | Device type |
| `browser` | `browser_not` | string \| string[] | Browser |
| `os` | `os_not` | string \| string[] | Operating system |
| `channel_group` | `channel_group_not` | string \| string[] | Channel group |
| `hour` | - | integer \| integer[] | Hour (0-23), for hourly queries |
| `day_of_week` | - | integer \| integer[] | Day of week (1=Mon, 7=Sun) |
### Filter Examples
**Single value** — Only paid traffic from Spain:
```json
{
"filters": {
"utm_medium": "cpc",
"country": "ES"
}
}
```
**Multiple values (IN)** — Traffic from Spain, Mexico, or Argentina:
```json
{
"filters": {
"country": ["ES", "MX", "AR"]
}
}
```
**Negative filter (NOT IN)** — All traffic except from bots and direct:
```json
{
"filters": {
"channel_group_not": ["Direct"],
"utm_source_not": ["bot", "crawler"]
}
}
```
**Combined positive and negative** — Google CPC traffic, excluding US and UK:
```json
{
"filters": {
"utm_source": "google",
"utm_medium": "cpc",
"country_not": ["US", "GB"]
}
}
```
**Time-based filters** — Only business hours on weekdays:
```json
{
"filters": {
"hour": [9, 10, 11, 12, 13, 14, 15, 16, 17],
"day_of_week": [1, 2, 3, 4, 5]
}
}
```
## Sorting
Sort results by one or more fields using the `order_by` array:
```json
{
"order_by": [
{"field": "revenue", "direction": "desc"},
{"field": "entrances", "direction": "asc"}
]
}
```
You can sort by any dimension or metric in your query, plus `bounce_rate` when available.
**Default:** `[{"field": "entrances", "direction": "desc"}]`
## Pagination
Use `limit` and `offset` for pagination. The `meta` object tells you if more rows are available.
```json
{
"limit": 100,
"offset": 0
}
```
| Field | Max Value | Description |
| --- | --- | --- |
| `limit` | 10,000 | Rows per page |
| `offset` | - | Rows to skip |
**Check `meta.has_more`** to know if there are additional pages:
```python
offset = 0
all_data = []
while True:
result = query(offset=offset, limit=1000)
all_data.extend(result["data"])
if not result["meta"]["has_more"]:
break
offset += 1000
```
## Period Comparison
Add `compare` to get the same query executed against a comparison period:
```json
{
"date_from": "2025-02-01",
"date_to": "2025-02-28",
"dimensions": ["utm_source"],
"metrics": ["entrances", "conversions"],
"compare": "previous"
}
```
| Mode | Comparison Period |
| --- | --- |
| `previous` | Same duration immediately before the selected range |
| `yoy` | Same dates in the previous year |
**Response with comparison:**
```json
{
"data": [
{
"utm_source": "google",
"entrances": 12500,
"conversions": 350
}
],
"meta": {
"total_rows": 25,
"has_more": true,
"granularity": "total",
"dimensions": ["utm_source"],
"metrics": ["entrances", "conversions"]
},
"comparison_data": [
{
"utm_source": "google",
"entrances": 10800,
"conversions": 290
}
],
"comparison_meta": {
"date_from": "2025-01-04",
"date_to": "2025-01-31",
"mode": "previous",
"total_rows": 23
}
}
```
The `comparison_data` array has the same structure as `data`, making it straightforward to compute deltas client-side.
## CSV Export
```http
POST /stats/query/export?site_id={site_id}
```
Same request body as `/stats/query`, but returns a downloadable CSV file instead of JSON.
### Additional Query Parameters
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `filename` | string | `export.csv` | Output filename |
### Differences from JSON endpoint
| Feature | `/stats/query` | `/stats/query/export` |
| --- | --- | --- |
| Response format | JSON | CSV file (streaming) |
| Max rows (`limit`) | 10,000 | 100,000 |
| Comparison data | Separate `comparison_data` array | Rows with `period` column (`current` / `comparison`) |
### Example
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/stats/query/export?site_id=acme&filename=monthly_report.csv" \
-H "X-API-Key: sm_your_key" \
-H "Content-Type: application/json" \
-d '{
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"granularity": "daily",
"dimensions": ["utm_source", "utm_medium", "country"],
"metrics": ["entrances", "conversions", "revenue"],
"limit": 50000
}' \
-o monthly_report.csv
```
**CSV output:**
```csv
date,utm_source,utm_medium,country,entrances,conversions,revenue
2025-01-01,google,cpc,ES,1234,45,4500.00
2025-01-01,google,cpc,MX,567,12,1200.00
2025-01-01,facebook,social,ES,890,23,2300.00
```
**CSV with comparison** (adds `period` column):
```csv
period,date,utm_source,entrances,conversions,revenue
current,2025-01-01,google,1234,45,4500.00
current,2025-01-02,google,1456,52,5200.00
comparison,2024-12-02,google,1100,38,3800.00
comparison,2024-12-03,google,1200,41,4100.00
```
## Code Examples
### Python — Full data extraction
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
def query_stats(site_id: str, body: dict) -> dict:
response = requests.post(
f"{BASE_URL}/stats/query",
headers={
"X-API-Key": API_KEY,
"Content-Type": "application/json"
},
params={"site_id": site_id},
json=body
)
response.raise_for_status()
return response.json()
# Daily traffic by source and country for the last month
result = query_stats("my-site", {
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"granularity": "daily",
"dimensions": ["utm_source", "utm_medium", "country"],
"metrics": ["entrances", "engaged_entrances", "conversions", "revenue"],
"filters": {
"country": ["ES", "MX", "AR"],
"utm_medium_not": ["(not set)"]
},
"order_by": [{"field": "date", "direction": "asc"}],
// ... full example at https://sealmetrics.com/docs/api/stats-query/
```
### Python — Paginated export to DataFrame
```python
import pandas as pd
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
def export_all(site_id: str, body: dict) -> pd.DataFrame:
"""Fetch all rows with automatic pagination."""
all_rows = []
body = {**body, "limit": 10000, "offset": 0}
while True:
resp = requests.post(
f"{BASE_URL}/stats/query",
headers={"X-API-Key": API_KEY, "Content-Type": "application/json"},
params={"site_id": site_id},
json=body
)
resp.raise_for_status()
result = resp.json()
all_rows.extend(result["data"])
if not result["meta"]["has_more"]:
break
body["offset"] += 10000
return pd.DataFrame(all_rows)
df = export_all("my-site", {
"date_from": "2025-01-01",
// ... full example at https://sealmetrics.com/docs/api/stats-query/
```
### Python — Direct CSV download
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
response = requests.post(
f"{BASE_URL}/stats/query/export",
headers={"X-API-Key": API_KEY, "Content-Type": "application/json"},
params={"site_id": "my-site", "filename": "jan_2025.csv"},
json={
"date_from": "2025-01-01",
"date_to": "2025-01-31",
"granularity": "daily",
"dimensions": ["utm_source", "utm_medium", "country"],
"metrics": ["entrances", "conversions", "revenue"],
"limit": 100000
}
)
with open("jan_2025.csv", "wb") as f:
f.write(response.content)
print(f"Saved {len(response.content)} bytes")
```
### JavaScript — Query with comparison
```javascript
const API_KEY = 'sm_your_api_key';
const BASE_URL = 'https://my.sealmetrics.com/api/v1';
async function queryStats(siteId, body) {
const response = await fetch(
`${BASE_URL}/stats/query?site_id=${siteId}`,
{
method: 'POST',
headers: {
'X-API-Key': API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify(body)
}
);
if (!response.ok) {
throw new Error(`API error: ${response.status}`);
}
return response.json();
}
// Compare this month vs last month by channel
const result = await queryStats('my-site', {
date_from: '2025-02-01',
date_to: '2025-02-28',
dimensions: ['channel_group'],
metrics: ['entrances', 'conversions', 'revenue'],
order_by: [{ field: 'revenue', direction: 'desc' }],
// ... full example at https://sealmetrics.com/docs/api/stats-query/
```
## Error Handling
| Status | Error | Description |
| --- | --- | --- |
| 400 | `date_from must be before date_to` | Invalid date range |
| 400 | `Invalid dimensions: {...}` | Unknown dimension name |
| 400 | `Invalid metrics: {...}` | Unknown metric name |
| 400 | `Maximum 10 dimensions allowed` | Too many dimensions |
| 400 | `Invalid compare mode` | Must be `previous` or `yoy` |
| 401 | `missing_credentials` | No API key provided |
| 403 | `insufficient_scope` | API key lacks `stats:read` scope |
| 403 | `forbidden` | No access to this site |
## Best Practices
1. **Start with fewer dimensions** and add more as needed. Each additional dimension multiplies the number of result rows.
2. **Use filters to reduce data volume.** Filtering at query time is much faster than fetching everything and filtering client-side.
3. **Use the CSV export for large extractions.** The `/query/export` endpoint supports up to 100,000 rows and returns a streaming response, avoiding memory issues.
4. **Paginate when needed.** If `meta.has_more` is `true`, increment `offset` by your `limit` value to fetch the next page.
5. **Cache comparison queries.** Historical comparison data doesn't change, so `compare` results can be cached longer than current period data.
6. **Prefer `daily` granularity over `hourly`** unless you specifically need hour-level data. Daily queries are faster and return fewer rows.
## Bot Stats
URL: https://sealmetrics.com/docs/api/bot-stats/
Inspect bot detection signals — suspicion score distribution, top flag reasons, daily trends, and drill-down into suspicious sessions
Inspect the bot detection signals emitted by the tracker. The scoring engine assigns each hit a suspicion score (0-100) based on header fingerprinting, JavaScript challenges, and behavioral flags. These endpoints expose the score distribution, top flag reasons, daily trend, and let you drill into high-score sessions.
**Base path:** `/bot-stats`
Required scope: `read`.
Data window
The hits log is retained for 1 day (ClickHouse TTL). The `suspicious-sessions` endpoint additionally limits queries to the last 7 days for performance.
## Bot Stats Overview
```http
GET /bot-stats/overview?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `days` | integer | `30` | Look-back window (1-90) |
**Response:**
```json
{
"success": true,
"data": {
"period_start": "2025-01-01",
"period_end": "2025-01-30",
"distribution": {
"score_0": 458120,
"score_1_30": 28340,
"score_31_60": 4120,
"score_61_80": 890,
"score_81_100": 245,
"total_hits": 491715,
"avg_score": 2.43,
"suspicious_percentage": 1.07
},
"top_flags": [
{ "flag": "missing_accept_language", "count": 1820, "description": "Request missing Accept-Language header" },
{ "flag": "known_bot_pattern", "count": 1245, "description": "User-Agent matches known bot/scraper pattern" },
{ "flag": "missing_sec_fetch", "count": 980, "description": "Modern browser missing Sec-Fetch headers" }
],
"daily_trend": [
{ "date": "2025-01-30", "total_hits": 16234, "suspicious_hits": 178, "avg_score": 2.51 }
]
}
}
```
`suspicious_percentage` is the share of hits with score > 30. `top_flags[].description` is enriched from the server's `FLAG_DESCRIPTIONS` mapping.
**Flag values currently emitted by the scoring engine:**
| Flag | Description |
| --- | --- |
| `missing_client_hints` | Browser claims to be Chrome but doesn't send Client Hints |
| `platform_mismatch` | User-Agent platform doesn't match Client Hints platform |
| `mobile_mismatch` | User-Agent mobile flag doesn't match Client Hints |
| `missing_accept_language` | Request missing Accept-Language header |
| `incomplete_accept_encoding` | Accept-Encoding missing common compression formats |
| `missing_sec_fetch` | Modern browser missing Sec-Fetch headers |
| `sec_fetch_inconsistent` | Sec-Fetch headers inconsistent with request type |
| `suspicious_user_agent` | User-Agent contains suspicious patterns |
| `empty_user_agent` | Request has empty User-Agent |
| `known_bot_pattern` | User-Agent matches known bot/scraper pattern |
## Suspicious Sessions
```http
GET /bot-stats/suspicious-sessions?account_id={account_id}
```
Drill into sessions whose maximum score exceeds a threshold. Returns up to `limit` sessions ordered by `max_score` descending. Restricted to the **last 7 days**.
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `min_score` | integer | `50` | Minimum score threshold (1-100) |
| `limit` | integer | `20` | Max sessions to return (1-100) |
**Response:**
```json
{
"success": true,
"data": [
{
"session_id": "ses_a1b2c3",
"max_score": 87,
"flags": ["headless_user_agent", "missing_accept_language"],
"hit_count": 14,
"first_seen": "2025-01-28T09:32:11.000Z",
"last_seen": "2025-01-28T09:41:55.000Z",
"user_agent": "Mozilla/5.0 (...) HeadlessChrome/...",
"country": "ES"
}
]
}
```
## Pagination & Filtering
URL: https://sealmetrics.com/docs/api/pagination-sorting/
Reference for pagination, sorting, and advanced filters across API endpoints, including page_size limits and consistent response format
Complete reference for pagination, sorting, and advanced filtering across all API endpoints.
## Pagination
List endpoints return paginated results to handle large datasets efficiently.
### Request Parameters
| Parameter | Type | Default | Range | Description |
| --- | --- | --- | --- | --- |
| `page` | integer | `1` | 1+ | Page number (1-indexed) |
| `page_size` | integer | `50` | 1-1000 | Items per page (see per-endpoint maximum below) |
Note
The maximum `page_size` depends on the endpoint:
- **Up to 1000:** `/stats/pages`, `/stats/geo/countries`, `/stats/landing-pages`, `/stats/properties/values`
- **Up to 100:** `/stats/sources`, `/stats/mediums`, `/stats/campaigns`, `/stats/terms`, `/stats/contents`, `/stats/referrers`, `/stats/channels`, `/stats/conversions`, `/stats/microconversions`
Requesting a `page_size` above an endpoint's maximum returns a `422` validation error.
### Response Format
All paginated endpoints return a consistent response structure:
```json
{
"data": [...],
"total": 250,
"page": 1,
"page_size": 50,
"has_next": true,
"has_prev": false
}
```
| Field | Type | Description |
| --- | --- | --- |
| `data` | array | Array of result items |
| `total` | integer | Total count of items matching the query |
| `page` | integer | Current page number |
| `page_size` | integer | Items per page |
| `has_next` | boolean | `true` if more pages exist after this one |
| `has_prev` | boolean | `true` if pages exist before this one |
### Pagination Examples
**First page (default):**
```http
GET /stats/pages?site_id=my-site&period=30d
```
**Second page with 100 items:**
```http
GET /stats/pages?site_id=my-site&period=30d&page=2&page_size=100
```
**Calculate total pages:**
```javascript
const totalPages = Math.ceil(response.total / response.page_size);
```
## Sorting
Control the order of results with `sort_by` and `sort_order` parameters.
### Request Parameters
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `sort_by` | string | varies | Field to sort by |
| `sort_order` | string | `desc` | Sort direction: `asc` or `desc` |
### Available Sort Fields
#### Traffic Endpoints
For `/stats/sources`, `/stats/campaigns`, `/stats/mediums`, `/stats/terms`, `/stats/contents`, `/stats/referrers`, `/stats/geo/countries`:
| Field | Description |
| --- | --- |
| `entrances` | Session starts (default) |
| `engaged_entrances` | Engaged sessions (2+ pageviews) |
| `page_views` | Total page views |
| `conversions` | Total conversions |
| `revenue` | Total revenue |
#### Page Endpoints
For `/stats/pages`, only two sort fields are accepted:
| Field | Description |
| --- | --- |
| `page_views` | Page views (default) |
| `entrances` | Entry points to this page |
Other values (such as `conversions`, `revenue`, or `engaged_entrances`) return a `422` validation error on this endpoint.
#### Conversion Endpoints
For `/stats/conversions`:
| Field | Description |
| --- | --- |
| `count` | Number of conversions (default) |
| `revenue` | Total revenue |
| `avg_value` | Average conversion value |
#### Microconversion Endpoints
For `/stats/microconversions`:
| Field | Description |
| --- | --- |
| `count` | Number of microconversions (default) |
### Sorting Examples
**Top sources by revenue:**
```http
GET /stats/sources?site_id=my-site&sort_by=revenue&sort_order=desc
```
**Most-visited pages first:**
```http
GET /stats/pages?site_id=my-site&sort_by=page_views&sort_order=desc
```
**Newest conversions first:**
```http
GET /stats/conversions?site_id=my-site&sort_by=count&sort_order=asc
```
## Standard Filters
Most endpoints support these common filter parameters:
### UTM Filters
| Parameter | Description | Example |
| --- | --- | --- |
| `utm_source` | Traffic source | `google`, `facebook` |
| `utm_medium` | Traffic medium | `cpc`, `organic`, `email` |
| `utm_campaign` | Campaign name | `spring_sale` |
| `utm_term` | Search term/keyword | `running shoes` |
### Geographic Filters
| Parameter | Description | Example |
| --- | --- | --- |
| `country` | ISO 3166-1 alpha-2 code | `ES`, `US`, `FR` |
### Content Filters
| Parameter | Description | Example |
| --- | --- | --- |
| `content_grouping` | Content group name | `blog`, `products` |
| `path_filter` | URL path pattern | `/products/` |
### Device Filters
| Parameter | Description | Example |
| --- | --- | --- |
| `device_type` | Device category | `desktop`, `mobile`, `tablet` |
| `browser` | Browser name | `Chrome`, `Safari` |
| `os` | Operating system | `Windows`, `iOS` |
### Segment Filter
| Parameter | Description | Example |
| --- | --- | --- |
| `segment` | Saved segment ID or name | `paid-spain`, `mobile-users` |
## Advanced Filters
The `filters` parameter enables complex filtering with operators.
### Syntax
```plaintext
filters=field:operator:value,field2:operator:value2
```
Multiple filters are combined with AND logic.
### Operators
| Operator | Description | Example |
| --- | --- | --- |
| `eq` | Equals | `country:eq:ES` |
| `ne` | Not equals | `country:ne:US` |
| `contains` | Contains substring | `utm_source:contains:google` |
| `not_contains` | Does not contain | `path:not_contains:admin` |
| `regex` | Regex match | `path:regex:^/products/` |
| `not_regex` | Regex not match | `path:not_regex:^/api/` |
| `in` | In list (values separated by `\|`) | `country:in:ES\|FR\|DE` |
| `not_in` | Not in list | `utm_medium:not_in:cpc\|ppc` |
### Field Reference
Available fields for advanced filtering:
| Field | Description |
| --- | --- |
| `utm_source` | Traffic source |
| `utm_medium` | Traffic medium |
| `utm_campaign` | Campaign name |
| `utm_term` | Search term |
| `utm_content` | Ad content |
| `country` | Country code |
| `device_type` | Device type |
| `browser` | Browser name |
| `os` | Operating system |
| `path` | Page URL path |
| `referrer` | Referrer domain |
### Examples
**Spanish traffic only:**
```http
GET /stats/pages?site_id=my-site&filters=country:eq:ES
```
**EU countries excluding UK:**
```http
GET /stats/sources?site_id=my-site&filters=country:in:ES|FR|DE|IT|PT,country:ne:GB
```
**Product pages from Google:**
```http
GET /stats/pages?site_id=my-site&filters=path:contains:/products/,utm_source:eq:google
```
**Non-branded organic traffic:**
```http
GET /stats/campaigns?site_id=my-site&filters=utm_medium:eq:organic,utm_campaign:not_contains:brand
```
**Mobile users from social:**
```http
GET /stats/pages?site_id=my-site&filters=device_type:eq:mobile,utm_medium:in:social|social-media
```
**Blog pages with regex:**
```http
GET /stats/pages?site_id=my-site&filters=path:regex:^/blog/2025/
```
## Saved Segments
Segments are pre-saved filter combinations that can be reused.
### Using Segments
Apply a segment with the `segment` parameter:
```http
GET /stats/pages?site_id=my-site&segment=paid-spain
```
Segments can be referenced by ID or name.
### Segment + Explicit Filters
When you combine a segment with explicit filter parameters:
1. Segment filters are applied first
2. Explicit parameters override segment values
3. Additional filters are ANDed together
**Example:**
If segment `paid-traffic` has `utm_medium=cpc`, and you add `country=ES`:
```http
GET /stats/pages?site_id=my-site&segment=paid-traffic&country=ES
```
This applies: `utm_medium=cpc AND country=ES`
## Filter Combinations
### Standard + Advanced Filters
You can combine standard parameters with advanced filters:
```http
GET /stats/pages?site_id=my-site&utm_medium=cpc&country=ES&filters=path:contains:/products/
```
This applies:
- `utm_medium = cpc` (standard)
- `country = ES` (standard)
- `path LIKE '%/products/%'` (advanced)
### Priority
1. Saved segment filters (lowest priority)
2. Standard filter parameters
3. Advanced filters (highest priority)
If the same field appears in multiple places, the higher priority wins.
## Response with Filters
The response includes filter metadata when applicable:
```json
{
"data": [...],
"total": 45,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false,
"comparison": {
"entrances": 420,
"engaged_entrances": 336,
"page_views": 1250,
"conversions": 15,
"revenue": 1200.00
}
}
```
The `comparison` object (when `compare` is used) contains totals for the comparison period using the same filters.
## Best Practices
### Pagination
1. **Use reasonable page sizes** - 50-100 items is optimal for most cases
2. **Don't skip pages** - Iterate sequentially for complete data
3. **Cache total count** - The `total` rarely changes during pagination
### Filtering
1. **Start broad, then narrow** - Add filters incrementally
2. **Use segments for reusable filters** - Avoid repeating complex filter strings
3. **Use `in` for multiple values** - More efficient than multiple requests
### Sorting
1. **Default sort is usually optimal** - Most endpoints default to the most useful sort
2. **Secondary sorting not supported** - Results with equal values have undefined order
3. **Ascending for "worst" analysis** - Use `asc` to find lowest performers
## Code Examples
### Python - Paginate All Results
```python
import requests
def get_all_pages(site_id, period="30d"):
"""Fetch all pages with pagination."""
all_data = []
page = 1
while True:
response = requests.get(
"https://my.sealmetrics.com/api/v1/stats/pages",
headers={"X-API-Key": API_KEY},
params={
"site_id": site_id,
"period": period,
"page": page,
"page_size": 100,
"sort_by": "entrances",
"sort_order": "desc"
}
)
data = response.json()
all_data.extend(data["data"])
if not data["has_next"]:
break
page += 1
return all_data
```
### JavaScript - Advanced Filter Builder
```javascript
class FilterBuilder {
constructor() {
this.filters = [];
}
equals(field, value) {
this.filters.push(`${field}:eq:${value}`);
return this;
}
contains(field, value) {
this.filters.push(`${field}:contains:${value}`);
return this;
}
in(field, values) {
this.filters.push(`${field}:in:${values.join('|')}`);
return this;
}
notEquals(field, value) {
this.filters.push(`${field}:ne:${value}`);
return this;
}
build() {
return this.filters.join(',');
}
}
// ... full example at https://sealmetrics.com/docs/api/pagination-sorting/
```
### PHP - Sorted and Filtered Request
```php
'my-site',
'period' => '30d',
'filters' => 'country:in:ES|FR,utm_medium:eq:organic',
'sort_by' => 'revenue',
'sort_order' => 'desc',
'page' => 1,
'page_size' => 50
]);
$response = file_get_contents(
"https://my.sealmetrics.com/api/v1/stats/sources?{$params}",
false,
stream_context_create([
'http' => [
'header' => "X-API-Key: {$apiKey}"
]
])
);
$data = json_decode($response, true);
foreach ($data['data'] as $source) {
echo "{$source['utm_source']}: €{$source['revenue']}\n";
}
```
## Period Comparison
URL: https://sealmetrics.com/docs/api/comparison/
Compare analytics between time periods with the compare parameter — previous period or year-over-year deltas on any stats endpoint
Compare analytics data between time periods to track growth, identify trends, and measure performance changes.
## Overview
The Sealmetrics API supports two comparison modes:
| Mode | Value | Description |
| --- | --- | --- |
| **Previous Period** | `previous` | Same duration, immediately before the selected range |
| **Year over Year** | `yoy` | Same dates in the previous year |
## Using Comparison
Add the `compare` parameter to any stats endpoint:
```http
GET /stats/overview?site_id=my-site&period=30d&compare=previous
```
### Parameter Values
| Value | Effect |
| --- | --- |
| `previous` | Compare with the previous period of same duration |
| `yoy` | Compare with the same period last year |
| *(omit)* | No comparison (default for most endpoints) |
| `true` | Alias for `previous` |
Note
The `/stats/overview` endpoint defaults to `compare=previous` if not specified.
## Comparison Modes Explained
### Previous Period
Compares with the same duration immediately before the selected range.
**Examples:**
| Selected Period | Comparison Period |
| --- | --- |
| Jan 15-21 (7 days) | Jan 8-14 (7 days) |
| Last 30 days | Previous 30 days |
| This month (Jan 1-10) | Dec 2-11 (same duration) |
```http
GET /stats/sources?site_id=my-site&period=7d&compare=previous
```
This compares:
- **Current**: Last 7 days (e.g., Jan 4-10)
- **Previous**: 7 days before that (Dec 28 - Jan 3)
### Year over Year (YoY)
Compares with the exact same dates in the previous year.
**Examples:**
| Selected Period | Comparison Period |
| --- | --- |
| Jan 1-31, 2025 | Jan 1-31, 2024 |
| Q4 2024 | Q4 2023 |
| Dec 25, 2024 | Dec 25, 2023 |
```http
GET /stats/sources?site_id=my-site&period=this_month&compare=yoy
```
This compares:
- **Current**: January 2025
- **Previous**: January 2024
When to use YoY
Use `yoy` for seasonal businesses where comparing to last year is more meaningful than the previous period. Black Friday vs Black Friday, not Black Friday vs early November.
## Response Format
### Overview Endpoint
The `/stats/overview` endpoint includes comparison data inline. Current-period metrics live under `data.traffic` and `data.conversions`; the previous period is returned under `data.traffic_change` and `data.conversions_change` (same shapes). Time series for the current period are returned per metric (`data.entrances_series`, etc.) with comparison overlays under `*_series_compare`:
```json
{
"success": true,
"data": {
"date_range": { "start_date": "2025-01-01", "end_date": "2025-01-31", "days": 31 },
"traffic": {
"entrances": 15420,
"engaged_entrances": 12336,
"page_views": 45780,
"microconversions": 1820,
"conversions": 245,
"revenue": 18650.00,
"bounce_rate": 20.0,
"pages_per_session": 2.97
},
"conversions": {
"conversions": 245,
"revenue": 18650.00,
"microconversions": 1820,
"conversion_rate": 1.59,
"average_order_value": 76.12
},
"traffic_change": {
"entrances": 14200,
"engaged_entrances": 11360,
"page_views": 42500,
"microconversions": 1650,
"conversions": 210,
"revenue": 16800.00,
"bounce_rate": 20.0,
"pages_per_session": 2.99
// ... full example at https://sealmetrics.com/docs/api/comparison/
```
| Field | Description |
| --- | --- |
| `traffic` / `conversions` | Current-period traffic and conversion metrics |
| `traffic_change` / `conversions_change` | Raw metrics from the comparison period (same shape as `traffic` / `conversions`) |
| `entrances_series`, `page_views_series`, `conversions_series`, … | Time series for the current period (one object per metric) |
| `entrances_series_compare`, `page_views_series_compare`, `conversions_series_compare` | Time series for the comparison period |
There are no `comparison` or `deltas` keys; the API returns raw values for both periods and you compute the percentage changes client-side.
### List Endpoints
Paginated list endpoints include comparison totals:
```json
{
"data": [
{
"utm_source": "google",
"entrances": 8500,
"conversions": 95,
"revenue": 7600.00
},
{
"utm_source": "facebook",
"entrances": 3200,
"conversions": 42,
"revenue": 3150.00
}
],
"total": 25,
"page": 1,
"page_size": 50,
"has_next": false,
"has_prev": false,
"comparison": {
"entrances": 10500,
"engaged_entrances": 8400,
"page_views": 31500,
"conversions": 115,
"revenue": 9200.00
}
}
```
The `comparison` object contains **aggregate totals** for the comparison period (not per-row comparisons).
## Calculating Deltas
The API returns comparison data; you calculate deltas client-side:
```javascript
function calculateDelta(current, previous) {
if (previous === 0) return current > 0 ? 100 : 0;
return ((current - previous) / previous) * 100;
}
// Example
const currentEntrances = response.data.traffic.entrances;
const previousEntrances = response.data.traffic_change.entrances;
const delta = calculateDelta(currentEntrances, previousEntrances);
// Result: 8.59 (8.59% increase)
```
### Delta Interpretation
| Delta | Meaning |
| --- | --- |
| `+15.2%` | 15.2% increase vs comparison period |
| `-8.5%` | 8.5% decrease vs comparison period |
| `0%` | No change |
| `N/A` | No comparison data available |
### Metric Polarity
Some metrics are "inverse" - lower is better:
| Metric | Improvement Direction |
| --- | --- |
| Entrances | Higher is better |
| Conversions | Higher is better |
| Revenue | Higher is better |
| **Bounce Rate** | **Lower is better** |
When displaying deltas, consider inverting colors for bounce rate.
## Endpoints Supporting Comparison
| Endpoint | Default | Notes |
| --- | --- | --- |
| `/stats/overview` | `previous` | Full comparison with time series |
| `/stats/pages` | none | Totals only |
| `/stats/sources` | none | Totals only |
| `/stats/mediums` | none | Totals only |
| `/stats/campaigns` | none | Totals only |
| `/stats/terms` | none | Totals only |
| `/stats/referrers` | none | Totals only |
| `/stats/geo/countries` | none | Totals only |
| `/stats/conversions` | none | Totals only |
| `/stats/conversions/raw` | none | Event-level rows |
| `/stats/microconversions` | none | Totals only |
| `/stats/microconversions/raw` | none | Event-level rows |
| `/stats/conversion-items/raw` | none | One row per item |
| `/stats/landing-pages` | none | Totals only |
## Date Period + Comparison
The comparison period is calculated based on the selected date range:
### With Period Shortcuts
| Period | Current Range | Previous Comparison | YoY Comparison |
| --- | --- | --- | --- |
| `7d` | Last 7 days | Previous 7 days | Same 7 days last year |
| `30d` | Last 30 days | Previous 30 days | Same 30 days last year |
| `this_month` | Month to date | Same days in previous month | Same days in previous year |
| `last_month` | Full previous month | Month before that | Same month last year |
| `this_quarter` | Quarter to date | Same days in previous quarter | Same days in previous year |
| `ytd` | Year to date | Same days in previous year | N/A (same as period) |
### With Custom Dates
```http
GET /stats/overview?site_id=my-site&start_date=2025-01-01&end_date=2025-01-15&compare=previous
```
| | Dates |
| --- | --- |
| **Current** | Jan 1-15, 2025 (15 days) |
| **Previous** | Dec 17-31, 2024 (15 days) |
| **YoY** | Jan 1-15, 2024 |
## Edge Cases
### Leap Years
For YoY comparison on February 29:
- 2024-02-29 (leap year) → 2023-02-28 (non-leap year)
The API automatically adjusts to February 28.
### New Accounts
If the comparison period is before the account existed, the overview's `traffic_change` / `conversions_change` objects come back with zero values:
```json
{
"data": {
"traffic_change": {
"entrances": 0,
"conversions": 0,
"revenue": 0.00
}
}
}
```
All comparison values will be zero. (For list endpoints, the aggregate `comparison` totals object is zeroed the same way.)
### Missing Data Days
If some days in the comparison period have no data, those days contribute zero to totals. This is normal and doesn't indicate an error.
## Code Examples
### Python - Calculate All Deltas
```python
import requests
def get_stats_with_comparison(site_id, period="30d", compare="previous"):
response = requests.get(
"https://my.sealmetrics.com/api/v1/stats/overview",
headers={"X-API-Key": API_KEY},
params={
"site_id": site_id,
"period": period,
"compare": compare
}
)
return response.json()["data"]
def calculate_delta(current, previous):
if previous == 0:
return 100.0 if current > 0 else 0.0
return round(((current - previous) / previous) * 100, 2)
# Get data
data = get_stats_with_comparison("my-site", "30d", "previous")
current = data["traffic"]
previous = data["traffic_change"]
# Calculate deltas (entrances, revenue and bounce_rate all live under traffic)
metrics = ["entrances", "conversions", "revenue", "bounce_rate"]
for metric in metrics:
current_value = current[metric]
previous_value = previous[metric]
delta = calculate_delta(current_value, previous_value)
// ... full example at https://sealmetrics.com/docs/api/comparison/
```
### JavaScript - Display Comparison Card
```javascript
async function fetchWithComparison(accountId, period, compare = 'previous') {
const params = new URLSearchParams({
site_id: accountId,
period,
compare
});
const response = await fetch(
`https://my.sealmetrics.com/api/v1/stats/overview?${params}`,
{ headers: { 'X-API-Key': API_KEY } }
);
return response.json();
}
function formatDelta(current, previous, inverse = false) {
if (previous === 0) {
return current > 0 ? '+∞' : '0%';
}
const delta = ((current - previous) / previous) * 100;
const formatted = `${delta >= 0 ? '+' : ''}${delta.toFixed(1)}%`;
// For inverse metrics (bounce_rate), flip the color logic
const isPositive = inverse ? delta < 0 : delta > 0;
return {
text: formatted,
color: isPositive ? 'green' : delta < 0 ? 'red' : 'gray'
};
// ... full example at https://sealmetrics.com/docs/api/comparison/
```
### Build Trend Analysis
```python
def analyze_trend(site_id, periods=["7d", "30d", "90d"]):
"""Analyze trends across multiple time periods."""
results = {}
for period in periods:
data = get_stats_with_comparison(site_id, period, "previous")
results[period] = {
"entrances": {
"current": data["traffic"]["entrances"],
"delta": calculate_delta(
data["traffic"]["entrances"],
data["traffic_change"]["entrances"]
)
},
"revenue": {
"current": data["traffic"]["revenue"],
"delta": calculate_delta(
data["traffic"]["revenue"],
data["traffic_change"]["revenue"]
)
}
}
return results
# Output
trends = analyze_trend("my-site")
for period, metrics in trends.items():
print(f"\n{period}:")
// ... full example at https://sealmetrics.com/docs/api/comparison/
```
## Best Practices
### Choosing Comparison Mode
| Scenario | Recommended Mode |
| --- | --- |
| Daily monitoring | `previous` |
| Weekly review | `previous` |
| Monthly reporting | `yoy` (seasonal) or `previous` |
| Campaign analysis | `previous` (vs pre-campaign) |
| Seasonal business | `yoy` |
| Growth tracking | `previous` |
### Handling Zero Baselines
When previous period has zero values:
```javascript
if (previous === 0) {
// Don't show percentage, show absolute change
return current > 0 ? `+${current} (new)` : 'No data';
}
```
### Caching Comparison Data
Comparison calculations are more expensive than single-period queries. Consider:
1. Cache comparison results longer (data won't change)
2. Fetch comparison data less frequently than real-time data
3. Pre-calculate and store daily comparison summaries
## Billing API
URL: https://sealmetrics.com/docs/api/billing/
Manage plans, subscriptions, invoices, usage, coupons, and the Seal AI Private add-on through the cookie-authenticated billing proxy
Billing operations — plans, checkout, subscription lifecycle, invoices, usage, and the Seal AI Private add-on — exposed through the main API as a **proxy** to the internal billing service. The dashboard (and any cookie-authenticated client) calls these endpoints; the API validates the session and forwards the request to the billing service with internal trust headers.
**Base path:** `/billing`
## Access Control
| Who | What they can call |
| --- | --- |
| Anyone (no auth) | `GET /billing/plans` |
| `billing:checkout` **or** `billing:manage` scope | `POST /billing/checkout`, `POST /billing/coupons/validate` (registration-flow tokens carry `billing:checkout`) |
| `billing:manage` scope (org **owner**) or superadmin | Everything else |
Requests without the required scope receive `403` ("Billing access denied. Requires billing:manage scope."). Org owners get `billing:manage` automatically via their org role; superadmins always pass. On top of the scope check, the billing service re-validates that the requested `org_id` belongs to the caller.
If the billing service is unreachable or fails internally, the proxy returns `502` (`"Billing service unavailable"` / `"Billing service error"`). Query parameters are whitelisted per endpoint — unknown parameters are silently dropped before forwarding.
Most endpoints take the target organization as an `org_id` query parameter (GET/lifecycle endpoints) or body field (POST endpoints with a JSON body).
## Plans
### GET /billing/plans
Public — no authentication. Lists the available pricing plans.
**Response** (array of plans; prices are in **cents**):
```json
[
{
"tier": "growth",
"name": "Growth",
"description": "For growing businesses",
"price_monthly": 59900,
"price_yearly": 598800,
"seats": 5,
"accounts": 10,
"data_retention_days": 730,
"api_requests_per_minute": 240,
"features": ["Consentless analytics", "Unlimited reports"],
"is_popular": false
},
{
"tier": "scale",
"name": "Scale",
"description": "For scaling teams",
"price_monthly": 107900,
"price_yearly": 1078800,
"seats": 15,
"accounts": 30,
"data_retention_days": 730,
"api_requests_per_minute": 480,
"features": ["Consentless analytics", "Unlimited reports"],
"is_popular": true
}
]
```
## Overview
### GET /billing/overview
Complete billing summary for an organization: subscription, current usage, upcoming invoice, and payment method.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
**Response:**
```json
{
"subscription": {
"id": "42",
"status": "active",
"plan_tier": "growth",
"billing_interval": "monthly",
"current_period_start": "2025-01-08T00:00:00Z",
"current_period_end": "2025-02-08T00:00:00Z",
"cancel_at_period_end": false,
"trial_end": null
},
"usage": {
"human_events": 1240500,
"agent_events": 88210,
"event_limit": 5000000,
"percentage": 24.8,
"days_remaining": 12,
"is_unlimited": false
},
"upcoming_invoice": null,
"payment_method": {
"brand": "visa",
"last4": "4242",
"exp_month": 12,
"exp_year": 2027
}
}
```
## Invoices
### GET /billing/invoices
List invoices for an organization.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
| `limit` | int | No | Max invoices to return |
| `starting_after` | string | No | Cursor for pagination |
**Response** (array; amounts in cents):
```json
[
{
"id": "in_1QaBcD...",
"number": "SM-2025-0042",
"status": "paid",
"amount_due": 59900,
"amount_paid": 59900,
"currency": "eur",
"created_at": "2025-01-08T00:00:00Z",
"due_date": null,
"paid_at": "2025-01-08T00:05:12Z",
"pdf_url": "https://pay.stripe.com/invoice/.../pdf",
"hosted_invoice_url": "https://invoice.stripe.com/i/..."
}
]
```
## Accounting Email
### GET /billing/accounting-email
Get the accounting department email that receives invoice copies.
**Response:**
```json
{ "accounting_email": "finance@acme.com" }
```
### PUT /billing/accounting-email
Update the accounting email.
**Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string (email) | Yes | New accounting email |
**Response:** same shape as the GET.
## Customer Portal
### POST /billing/portal
Create a Stripe customer portal session where the user can manage payment methods and view billing history.
**Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `return_url` | string | No | URL to return to after the portal (max 500 chars) |
| `org_id` | string | No | Organization ID to scope the portal session |
**Response:**
```json
{ "portal_url": "https://billing.stripe.com/p/session/..." }
```
## Subscription
### GET /billing/subscription
Current subscription details. Returns `null` if the org has no subscription.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
**Response:**
```json
{
"id": "42",
"status": "active",
"plan_tier": "growth",
"billing_interval": "yearly",
"current_period_start": "2025-01-08T00:00:00Z",
"current_period_end": "2026-01-08T00:00:00Z",
"cancel_at_period_end": false,
"trial_end": null
}
```
### POST /billing/subscription/cancel
Schedule cancellation at the end of the current period.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID (query parameter) |
**Response:**
```json
{
"success": true,
"message": "Subscription will be canceled at the end of the billing period",
"subscription": {
"id": "42",
"status": "active",
"plan_tier": "growth",
"billing_interval": "monthly",
"current_period_start": "2025-01-08T00:00:00Z",
"current_period_end": "2025-02-08T00:00:00Z",
"cancel_at_period_end": true,
"trial_end": null
},
"cancels_at": "2025-02-08T00:00:00Z"
}
```
### POST /billing/subscription/resume
Undo a scheduled cancellation (only while `cancel_at_period_end` is `true`).
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID (query parameter) |
**Response:**
```json
{
"success": true,
"message": "Subscription resumed",
"subscription": { "cancel_at_period_end": false, "...": "..." }
}
```
### GET /billing/subscription/history
Audit trail of subscription changes (checkouts, cancellations, plan changes, webhook events).
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
| `limit` | int | No | Max entries |
| `offset` | int | No | Pagination offset |
**Response** (array):
```json
[
{
"id": 118,
"subscription_id": 42,
"org_id": "9f6e1a2b-...",
"user_id": 7,
"user_email": "owner@acme.com",
"user_name": "Jane Doe",
"action": "cancel_scheduled",
"source": "dashboard",
"previous_state": { "cancel_at_period_end": false },
"new_state": { "cancel_at_period_end": true },
"success": true,
"error_message": null,
"error_code": null,
"ip_address": "203.0.113.10",
"created_at": "2025-01-15T10:24:00Z"
}
]
```
## Usage
### GET /billing/usage/current
Event usage for the current billing period. Returns `null` if there is no usage record yet.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
**Response:**
```json
{
"org_id": "9f6e1a2b-...",
"plan_tier": "growth",
"status": "active",
"period_start": "2025-01-08",
"period_end": "2025-02-08",
"human_events": 1240500,
"agent_events": 88210,
"event_limit": 5000000,
"percentage": 24.8,
"days_remaining": 12,
"last_synced_at": "2025-01-27T03:00:00Z",
"is_unlimited": false
}
```
### GET /billing/usage/history
Event usage for past periods.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
| `limit` | int | No | Max entries |
**Response** (array):
```json
[
{
"period_start": "2024-12-08",
"period_end": "2025-01-08",
"human_events": 4120300,
"agent_events": 210040
}
]
```
### GET /billing/overage-status
Overage history (last 12 periods) and whether the yearly one-time forgiveness is still available.
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
**Response:**
```json
{
"org_id": "9f6e1a2b-...",
"history": [
{
"period_start": "2024-12-01",
"period_end": "2024-12-31",
"plan_tier": "growth",
"event_limit": 5000000,
"total_events": 5430000,
"overage_percent": 8.6,
"is_forgiven": true,
"action_taken": "forgiven"
}
],
"forgiveness_available": false,
"forgiveness_year": 2025
}
```
## Coupons
### POST /billing/coupons/validate
Validate a discount code before checkout. Accepts `billing:checkout` **or** `billing:manage` scope (registration-flow tokens can call it).
**Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | Yes | Coupon code (max 100 chars) |
| `plan_tier` | string | No | Plan the coupon will apply to |
| `billing_interval` | string | No | `monthly` or `yearly` (for the price preview) |
**Response** (prices in cents):
```json
{
"valid": true,
"coupon": {
"code": "LAUNCH20",
"name": "Launch discount",
"description": null,
"discount_type": "percent",
"discount_value": 20,
"discount_display": "20% off",
"applicable_tiers": null,
"valid_until": "2025-06-30T23:59:59Z",
"duration": "once",
"duration_in_months": null
},
"error": null,
"original_price": 59900,
"discounted_price": 47920,
"savings": 11980
}
```
## Checkout
### POST /billing/checkout
Create a Stripe Checkout session for a plan subscription. Accepts `billing:checkout` **or** `billing:manage` scope — a signed-in user who does not belong to an organization yet holds `billing:checkout`, so they can subscribe without being an organization owner.
**Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | string | Yes | Organization ID to subscribe |
| `plan_tier` | string | Yes | `growth` or `scale` (`free` is rejected; `enterprise` is contact-sales) |
| `billing_interval` | string | Yes | `monthly` or `yearly` |
| `success_url` | string | No | Redirect after successful payment (max 500 chars) |
| `cancel_url` | string | No | Redirect if the user abandons checkout |
| `company_name` | string | No | Company name for the invoice |
| `country` | string | No | Country code (VAT) |
| `tax_id` | string | No | VAT/tax ID |
| `coupon_code` | string | No | Discount code |
**Response:**
```json
{
"checkout_url": "https://checkout.stripe.com/c/pay/cs_live_...",
"session_id": "cs_live_a1B2c3..."
}
```
Returns `409` if the org is billed through Shopify (`shopify_subscription_active`) — Shopify merchants manage their plan in Shopify Admin.
## Seal AI Private Add-on
Billing actions for the [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) add-on — the platform-hosted, EU-private LLM for chat and LENS. All three require `billing:manage` (org owner or superadmin); the billing service re-validates org membership and plan eligibility.
### POST /billing/seal-ai/subscribe
Activate the add-on on the org's existing Stripe subscription (billing starts on the next invoice, no proration).
**Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | string | Yes | Organization ID |
**Response:**
```json
{
"status": "active",
"billing_interval": "yearly",
"ends_at": null
}
```
Errors: `403` for Free/no-subscription orgs (`seal_ai_not_available_free`), `409` if the plan already includes it (`seal_ai_included_in_plan`, Scale/Enterprise), if it is already active, or if the org is Shopify-billed.
### POST /billing/seal-ai/unsubscribe
Remove the add-on. No refund — access continues until the already-paid period ends.
**Body:** same as subscribe (`org_id`).
**Response:**
```json
{
"status": "cancelled",
"billing_interval": "yearly",
"ends_at": "2026-01-08"
}
```
### POST /billing/seal-ai/token-pack/checkout
One-time Stripe Checkout for extra 5M-token packs (non-expiring). Only orgs entitled to Seal AI Private can buy packs.
**Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | string | Yes | Organization ID to credit the tokens to |
| `quantity` | int | No | Number of 5M packs, 1-10 (default 1) |
**Response:**
```json
{
"checkout_url": "https://checkout.stripe.com/c/pay/cs_live_...",
"session_id": "cs_live_x9Y8z7..."
}
```
See [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) for pricing, quotas, and how token packs interact with the monthly 5M allowance.
## Errors
| HTTP Code | Cause |
| --- | --- |
| 403 | Missing `billing:manage` (or `billing:checkout` where accepted) scope, or org access denied |
| 404 | No subscription / resource for the org |
| 409 | Conflicting state (Shopify-billed org, add-on already active or included in plan) |
| 502 | Billing service unreachable or internal billing error |
## See Also
- [Subscription Status](https://sealmetrics.com/docs/api/subscription.md) — lightweight read-only subscription state for paywall checks
- [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) — product context for the add-on
## Segments
URL: https://sealmetrics.com/docs/api/segments/
Create reusable saved filter configurations, apply them consistently across all analytics endpoints, and share segments with your team
Create and manage saved filter configurations that can be reused across all analytics endpoints.
## Overview
Segments allow you to:
- Save complex filter combinations for reuse
- Apply consistent filters across reports
- Share segments with your team
- Use system segments for common patterns
**Base path:** `/segments`
## Segment Structure
A segment consists of a name, display name, and filter conditions:
```json
{
"id": "seg_abc123",
"account_id": "my-site",
"name": "paid-spain",
"display_name": "Paid Traffic Spain",
"description": "CPC traffic from Spain",
"filters": {
"conditions": [
{"field": "utm_medium", "operator": "eq", "value": "cpc"},
{"field": "country", "operator": "eq", "value": "ES"}
]
},
"color": "#F59E0B",
"is_system": false,
"created_by": 123,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
```
## Filter Fields
Available fields for segment conditions:
| Field | Description | Example Values |
| --- | --- | --- |
| `utm_source` | Traffic source | `google`, `facebook` |
| `utm_medium` | Traffic medium | `cpc`, `organic`, `email` |
| `utm_campaign` | Campaign name | `spring_sale` |
| `utm_term` | Search term | `running shoes` |
| `utm_content` | Ad content | `banner_a` |
| `country` | Country code | `ES`, `US`, `FR` |
| `device_type` | Device category | `desktop`, `mobile`, `tablet` |
| `browser` | Browser name | `Chrome`, `Safari` |
| `os` | Operating system | `Windows`, `iOS` |
| `path` | URL path | `/products/`, `/blog/` |
| `content_grouping` | Content group | `blog`, `products` |
| `referrer` | Referrer URL | `facebook.com` |
| `referrer_domain` | Referrer domain | `facebook.com` |
| `channel` | Channel group | `Organic Search`, `Direct` |
## Filter Operators
| Operator | Description | Example |
| --- | --- | --- |
| `eq` | Equals | `{"field": "country", "operator": "eq", "value": "ES"}` |
| `neq` | Not equals | `{"field": "country", "operator": "neq", "value": "US"}` |
| `contains` | Contains substring | `{"field": "path", "operator": "contains", "value": "/blog/"}` |
| `not_contains` | Does not contain | `{"field": "path", "operator": "not_contains", "value": "/admin/"}` |
| `starts_with` | Starts with | `{"field": "path", "operator": "starts_with", "value": "/products/"}` |
| `ends_with` | Ends with | `{"field": "path", "operator": "ends_with", "value": ".html"}` |
| `in` | In list | `{"field": "country", "operator": "in", "value": ["ES", "FR", "DE"]}` |
| `not_in` | Not in list | `{"field": "device_type", "operator": "not_in", "value": ["tablet"]}` |
| `regex` | Regex match | `{"field": "path", "operator": "regex", "value": "^/products/[0-9]+"}` |
| `not_regex` | Regex not match | `{"field": "utm_source", "operator": "not_regex", "value": "^spam"}` |
## Filter Logic
### Simple Mode (AND)
All conditions combined with AND:
```json
{
"filters": {
"conditions": [
{"field": "country", "operator": "eq", "value": "ES"},
{"field": "device_type", "operator": "eq", "value": "mobile"}
]
}
}
```
**Result:** `country = 'ES' AND device_type = 'mobile'`
### Advanced Mode (OR between groups)
Multiple groups combined with OR, conditions within each group with AND:
```json
{
"filters": {
"groups": [
{
"conditions": [
{"field": "country", "operator": "eq", "value": "ES"},
{"field": "device_type", "operator": "eq", "value": "mobile"}
]
},
{
"conditions": [
{"field": "country", "operator": "eq", "value": "FR"},
{"field": "device_type", "operator": "eq", "value": "desktop"}
]
}
]
}
}
```
**Result:** `(country = 'ES' AND device_type = 'mobile') OR (country = 'FR' AND device_type = 'desktop')`
### Exclusion Mode (NOT)
Use `not_groups` to exclude matching records:
```json
{
"filters": {
"conditions": [
{"field": "country", "operator": "eq", "value": "ES"}
],
"not_groups": [
{
"conditions": [
{"field": "utm_source", "operator": "eq", "value": "spam"}
]
}
]
}
}
```
**Result:** `country = 'ES' AND NOT (utm_source = 'spam')`
## List Segments
```http
GET /segments?account_id={account_id}
```
Get all segments for an account.
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID (segments endpoints do not accept the `site_id` alias) |
| `include_system` | boolean | `true` | Include system segments |
**Response:**
```json
{
"success": true,
"data": [
{
"id": "seg_system_organic",
"name": "organic-search",
"display_name": "Organic Search",
"description": "Visitors from organic search results",
"color": "#10B981",
"is_system": true,
"filter_count": 1
},
{
"id": "seg_abc123",
"name": "paid-spain",
"display_name": "Paid Traffic Spain",
"description": "CPC traffic from Spain",
"color": "#F59E0B",
"is_system": false,
"filter_count": 2
}
]
}
```
## Get Segment
```http
GET /segments/{segment_id}?account_id={account_id}
```
Get a segment by ID or name.
**Path Parameters:**
| Parameter | Description |
| --- | --- |
| `segment_id` | Segment ID (seg_xxx) or name slug (paid-spain) |
**Response:**
```json
{
"success": true,
"data": {
"id": "seg_abc123",
"account_id": "my-site",
"name": "paid-spain",
"display_name": "Paid Traffic Spain",
"description": "CPC traffic from Spain",
"filters": {
"conditions": [
{"field": "utm_medium", "operator": "eq", "value": "cpc"},
{"field": "country", "operator": "eq", "value": "ES"}
]
},
"color": "#F59E0B",
"is_system": false,
"created_by": 123,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
}
```
## Create Segment
```http
POST /segments?account_id={account_id}
```
Create a new segment.
**Required scope:** `editor` or higher
**Request Body:**
```json
{
"name": "eu-mobile-paid",
"display_name": "EU Mobile Paid Traffic",
"description": "Paid traffic from EU countries on mobile devices",
"filters": {
"conditions": [
{"field": "utm_medium", "operator": "eq", "value": "cpc"},
{"field": "device_type", "operator": "eq", "value": "mobile"},
{"field": "country", "operator": "in", "value": ["ES", "FR", "DE", "IT", "PT"]}
]
},
"color": "#8B5CF6"
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Unique slug (lowercase, alphanumeric, hyphens) |
| `display_name` | string | Yes | Human-readable name (1-100 chars) |
| `description` | string | No | Description (max 500 chars) |
| `filters` | object | Yes | Filter conditions |
| `color` | string | No | Hex color code (#RRGGBB) |
**Response (201 Created):** Full segment object
## Update Segment
```http
PUT /segments/{segment_id}?account_id={account_id}
```
Update an existing segment.
**Request Body:**
```json
{
"display_name": "EU Mobile CPC Traffic",
"filters": {
"conditions": [
{"field": "utm_medium", "operator": "in", "value": ["cpc", "ppc"]},
{"field": "device_type", "operator": "eq", "value": "mobile"},
{"field": "country", "operator": "in", "value": ["ES", "FR", "DE", "IT", "PT", "NL", "BE"]}
]
}
}
```
All fields are optional. Only provided fields are updated.
Warning
System segments cannot be modified. Duplicate them first if you need a variation.
## Delete Segment
```http
DELETE /segments/{segment_id}?account_id={account_id}
```
Delete a segment.
**Response:** 204 No Content
Warning
System segments cannot be deleted.
## Duplicate Segment
```http
POST /segments/{segment_id}/duplicate?account_id={account_id}&new_name={new_name}
```
Create a copy of an existing segment with a new name.
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `new_name` | string | Name for the new segment (slug format) |
**Example:**
```http
POST /segments/organic-search/duplicate?account_id=my-site&new_name=organic-search-spain
```
**Response (201 Created):** Full segment object of the new copy
## System Segments
Sealmetrics includes built-in segments for common patterns:
| Name | Display Name | Filter |
| --- | --- | --- |
| `all-traffic` | All Traffic | No filters |
| `organic-search` | Organic Search | `utm_medium = organic` |
| `paid-search` | Paid Search | `utm_medium = cpc` |
| `social` | Social Media | `channel = Social` |
| `direct` | Direct Traffic | `channel = Direct` |
| `referral` | Referral Traffic | `channel = Referral` |
| `mobile` | Mobile Users | `device_type = mobile` |
| `desktop` | Desktop Users | `device_type = desktop` |
System segments:
- Cannot be modified or deleted
- Can be duplicated to create custom variations
- Are included by default in segment lists
## Using Segments in Stats Endpoints
Apply a segment to any stats endpoint with the `segment` parameter:
```http
GET /stats/pages?site_id=my-site&segment=paid-spain
```
You can reference segments by:
- **Name:** `segment=paid-spain`
- **ID:** `segment=seg_abc123`
### Combining Segment with Explicit Filters
When you use a segment AND explicit filter parameters:
```http
GET /stats/pages?site_id=my-site&segment=paid-spain&utm_campaign=spring_sale
```
The segment filters are applied first, then explicit parameters are added (AND logic).
## Error Codes
| HTTP | Error Code | Description |
| --- | --- | --- |
| 403 | `forbidden` | Editor permission required |
| 403 | `cannot_modify_system` | System segments cannot be modified |
| 404 | `not_found` | Segment not found |
| 409 | `conflict` | Segment name already exists |
## Code Examples
### Python - Create and Use Segment
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
ACCOUNT_ID = "my-site"
def create_segment(name, display_name, conditions, color=None):
"""Create a new segment."""
response = requests.post(
f"{BASE_URL}/segments",
headers={"X-API-Key": API_KEY},
params={"account_id": ACCOUNT_ID},
json={
"name": name,
"display_name": display_name,
"filters": {"conditions": conditions},
"color": color
}
)
response.raise_for_status()
return response.json()["data"]
def get_stats_with_segment(segment_name, period="30d"):
"""Get stats using a saved segment."""
response = requests.get(
f"{BASE_URL}/stats/overview",
headers={"X-API-Key": API_KEY},
params={
"site_id": ACCOUNT_ID,
"period": period,
// ... full example at https://sealmetrics.com/docs/api/segments/
```
### JavaScript - List and Apply Segments
```javascript
const API_KEY = 'sm_your_api_key';
const BASE_URL = 'https://my.sealmetrics.com/api/v1';
const ACCOUNT_ID = 'my-site';
async function listSegments(includeSystem = true) {
const params = new URLSearchParams({
account_id: ACCOUNT_ID,
include_system: includeSystem
});
const response = await fetch(`${BASE_URL}/segments?${params}`, {
headers: { 'X-API-Key': API_KEY }
});
const { data } = await response.json();
return data;
}
async function getStatsForAllSegments(period = '30d') {
const segments = await listSegments();
const results = {};
for (const segment of segments) {
const params = new URLSearchParams({
site_id: ACCOUNT_ID,
period,
segment: segment.name
});
const response = await fetch(`${BASE_URL}/stats/overview?${params}`, {
// ... full example at https://sealmetrics.com/docs/api/segments/
```
### Create Complex Segment with OR Logic
```python
# Spanish mobile users OR French desktop users
complex_segment = create_segment(
name="es-mobile-or-fr-desktop",
display_name="ES Mobile OR FR Desktop",
filters={
"groups": [
{
"conditions": [
{"field": "country", "operator": "eq", "value": "ES"},
{"field": "device_type", "operator": "eq", "value": "mobile"}
]
},
{
"conditions": [
{"field": "country", "operator": "eq", "value": "FR"},
{"field": "device_type", "operator": "eq", "value": "desktop"}
]
}
]
}
)
```
## Webhooks API
URL: https://sealmetrics.com/docs/api/webhooks/
Receive real-time HTTP callbacks for alerts and export events, signed with HMAC-SHA256 and retried up to 5 attempts on failure
Receive real-time notifications when events occur in your Sealmetrics account.
## Overview
Webhooks allow you to:
- Receive instant notifications when alerts trigger
- Get notified when exports complete
- Integrate with external systems (Slack, custom apps)
- Build real-time dashboards and alerting systems
All webhooks are:
- Signed with HMAC-SHA256 for security
- Retried automatically on failure (up to 5 attempts)
- Logged for debugging and replay
## Endpoints
### List Webhook Endpoints
```http
GET /webhooks?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `account_id` | string | Required. Account ID |
| `include_inactive` | boolean | Include disabled endpoints |
| `limit` | int | Max results (default: 50) |
| `offset` | int | Pagination offset |
**Response:**
```json
{
"endpoints": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"account_id": "acme",
"name": "Slack Alerts",
"url": "https://hooks.slack.com/services/xxx",
"event_types": ["alert.triggered"],
"is_active": true,
"is_verified": true,
"secret_last_4": "a1b2",
"created_at": "2025-01-01T10:00:00Z",
"last_delivery_at": "2025-01-10T14:30:00Z"
}
],
"total": 1
}
```
### Create Webhook Endpoint
```http
POST /webhooks?account_id={account_id}
```
**Request Body:**
```json
{
"name": "My Webhook",
"url": "https://my-app.com/webhooks/sealmetrics",
"event_types": ["alert.triggered", "export.completed"],
"headers": {
"X-Custom-Header": "value"
},
"description": "Notifications for my dashboard"
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Display name (max 255 chars) |
| `url` | string | Yes | HTTPS endpoint URL |
| `event_types` | string[] | Yes | Events to subscribe to |
| `headers` | object | No | Custom headers to include |
| `description` | string | No | Description for reference |
**Response (201 Created):**
```json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"account_id": "acme",
"name": "My Webhook",
"url": "https://my-app.com/webhooks/sealmetrics",
"event_types": ["alert.triggered", "export.completed"],
"secret": "whsec_abc123def456...",
"is_active": true,
"is_verified": false,
"created_at": "2025-01-10T14:30:00Z"
}
```
**Important:** The `secret` is only returned once. Store it securely for signature verification.
### Get Webhook Endpoint
```http
GET /webhooks/{endpoint_id}?account_id={account_id}
```
### Update Webhook Endpoint
```http
PATCH /webhooks/{endpoint_id}?account_id={account_id}
```
**Request Body:**
```json
{
"name": "Updated Name",
"url": "https://new-url.com/webhook",
"event_types": ["alert.triggered"],
"is_active": false
}
```
All fields are optional. Only provided fields are updated.
### Delete Webhook Endpoint
```http
DELETE /webhooks/{endpoint_id}?account_id={account_id}
```
Deletes the endpoint and all delivery history.
## Event Types
### List Available Event Types
```http
GET /webhooks/event-types
```
**Response:**
```json
{
"event_types": [
{
"type": "alert.triggered",
"name": "Alert Triggered",
"description": "Fired when an anomaly alert triggers"
},
{
"type": "alert.resolved",
"name": "Alert Resolved",
"description": "Fired when an alert condition resolves"
},
{
"type": "export.completed",
"name": "Export Completed",
"description": "Fired when a bulk export finishes"
},
{
"type": "export.failed",
"name": "Export Failed",
"description": "Fired when a bulk export fails"
},
{
"type": "goal.reached",
"name": "Goal Reached",
"description": "Fired when a conversion goal milestone is reached"
}
]
}
```
## Testing
### Send Test Webhook
```http
POST /webhooks/{endpoint_id}/test?account_id={account_id}
```
Sends a test event to verify your endpoint is correctly configured.
**Request Body (optional):**
```json
{
"event_type": "alert.triggered",
"include_sample_context": true
}
```
**Response:**
```json
{
"success": true,
"delivery_id": "d-12345",
"response_status": 200,
"response_time_ms": 145,
"verified": true
}
```
On first successful test, the endpoint is marked as `verified`.
## Secret Rotation
### Rotate Webhook Secret
```http
POST /webhooks/{endpoint_id}/rotate-secret?account_id={account_id}
```
Generates a new secret key. The previous secret remains valid for 24 hours to allow graceful migration.
**Response:**
```json
{
"new_secret": "whsec_new123...",
"previous_secret_expires_at": "2025-01-11T14:30:00Z",
"secret_version": 2
}
```
**Important:** Update your signature verification code with the new secret before the previous one expires.
## Deliveries
### List Deliveries
```http
GET /webhooks/{endpoint_id}/deliveries?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `status` | string | Filter: `pending`, `success`, `failed`, `retrying` |
| `limit` | int | Max results (default: 50) |
| `offset` | int | Pagination offset |
**Response:**
```json
{
"deliveries": [
{
"id": "d-12345",
"delivery_id": "550e8400-e29b-41d4-a716-446655440001",
"event_type": "alert.triggered",
"status": "success",
"attempt_number": 1,
"response_status_code": 200,
"response_time_ms": 145,
"created_at": "2025-01-10T14:30:00Z",
"completed_at": "2025-01-10T14:30:01Z"
}
],
"total": 156
}
```
### Get Delivery Details
```http
GET /webhooks/{endpoint_id}/deliveries/{delivery_id}?account_id={account_id}
```
Returns full delivery details including payload and response.
**Response:**
```json
{
"id": "d-12345",
"delivery_id": "550e8400-e29b-41d4-a716-446655440001",
"event_type": "alert.triggered",
"status": "success",
"payload": {
"event": "alert.triggered",
"data": {...}
},
"payload_size_bytes": 1234,
"attempt_number": 1,
"response_status_code": 200,
"response_body": "OK",
"response_time_ms": 145,
"created_at": "2025-01-10T14:30:00Z",
"completed_at": "2025-01-10T14:30:01Z"
}
```
### Replay Delivery
```http
POST /webhooks/{endpoint_id}/deliveries/{delivery_id}/replay?account_id={account_id}
```
Replays a failed delivery with the same payload.
**Request Body (optional):**
```json
{
"force": true
}
```
Set `force: true` to replay a delivery that already succeeded.
**Response:**
```json
{
"success": true,
"new_delivery_id": "550e8400-e29b-41d4-a716-446655440002",
"message": "Delivery queued for retry"
}
```
### Bulk Replay
```http
POST /webhooks/bulk/replay?account_id={account_id}
```
Replay multiple failed deliveries at once.
**Request Body:**
```json
{
"delivery_ids": [
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
],
"force": false
}
```
## Statistics
### Get Endpoint Statistics
```http
GET /webhooks/{endpoint_id}/stats?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `hours` | int | Hours to look back (default: 24, max: 720) |
**Response:**
```json
{
"endpoint": {...},
"stats": {
"total_deliveries": 156,
"successful": 150,
"failed": 4,
"pending": 2,
"success_rate": 96.2,
"avg_response_time_ms": 125
},
"recent_failures": [
{
"delivery_id": "d-12345",
"error_type": "timeout",
"error_message": "Request timed out after 30s",
"created_at": "2025-01-10T14:00:00Z"
}
]
}
```
## Webhook Payload
All webhooks are sent as HTTP POST requests with JSON body:
```json
{
"event": "alert.triggered",
"event_id": "evt_abc123",
"timestamp": "2025-01-10T14:30:00Z",
"account_id": "acme",
"data": {
// Event-specific data
}
}
```
### Alert Triggered
```json
{
"event": "alert.triggered",
"event_id": "evt_abc123",
"timestamp": "2025-01-10T14:30:00Z",
"account_id": "acme",
"data": {
"alert_id": 123,
"rule_name": "Traffic Drop",
"severity": "warning",
"message": "Traffic dropped 35% compared to previous period",
"metric": "entrances",
"current_value": 650,
"expected_value": 1000,
"threshold_percent": 25,
"triggered_at": "2025-01-10T14:30:00Z"
}
}
```
### Export Completed
```json
{
"event": "export.completed",
"event_id": "evt_def456",
"timestamp": "2025-01-10T15:00:00Z",
"account_id": "acme",
"data": {
"export_id": "exp_abc123",
"export_type": "pageviews",
"row_count": 15234,
"file_size_bytes": 2456789,
"download_url": "https://my.sealmetrics.com/api/v1/exports/download/token123",
"expires_at": "2025-01-17T15:00:00Z"
}
}
```
## Signature Verification
All webhooks include a signature header for verification:
```plaintext
X-Sealmetrics-Signature: sha256=abc123...
X-Sealmetrics-Timestamp: 1704898200
```
### Verification Steps
1. Extract the timestamp and signature from headers
2. Prepare the signed payload: `{timestamp}.{request_body}`
3. Compute HMAC-SHA256 with your webhook secret
4. Compare with the provided signature
### Python Example
```python
import hmac
import hashlib
def verify_webhook(request_body: bytes, signature: str, timestamp: str, secret: str) -> bool:
# Prepare signed payload
signed_payload = f"{timestamp}.{request_body.decode()}"
# Compute expected signature
expected = hmac.new(
secret.encode(),
signed_payload.encode(),
hashlib.sha256
).hexdigest()
# Extract signature value (remove 'sha256=' prefix)
provided = signature.replace('sha256=', '')
return hmac.compare_digest(expected, provided)
```
### Node.js Example
```javascript
const crypto = require('crypto');
function verifyWebhook(body, signature, timestamp, secret) {
const signedPayload = `${timestamp}.${body}`;
const expected = crypto
.createHmac('sha256', secret)
.update(signedPayload)
.digest('hex');
const provided = signature.replace('sha256=', '');
return crypto.timingSafeEqual(
Buffer.from(expected),
Buffer.from(provided)
);
}
```
## Best Practices
### 1. Verify Signatures
Always verify webhook signatures to ensure requests are from Sealmetrics:
```python
if not verify_webhook(request.body, request.headers['X-Sealmetrics-Signature'],
request.headers['X-Sealmetrics-Timestamp'], WEBHOOK_SECRET):
return Response(status=401)
```
### 2. Respond Quickly
Return a 2xx response within 30 seconds. Process asynchronously if needed:
```python
@app.post("/webhook")
async def handle_webhook(request: Request, background_tasks: BackgroundTasks):
# Verify signature first
verify_webhook(...)
# Queue for processing
background_tasks.add_task(process_webhook, request.json())
# Return immediately
return {"received": True}
```
### 3. Handle Duplicates
Webhooks may be retried. Use `event_id` for idempotency:
```python
if redis.sismember("processed_events", event_id):
return {"status": "already_processed"}
redis.sadd("processed_events", event_id)
redis.expire("processed_events", 86400 * 7) # 7 days
```
### 4. Use HTTPS
Always use HTTPS endpoints. HTTP endpoints are rejected.
### 5. Rotate Secrets Periodically
Rotate webhook secrets every 90 days for security:
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/webhooks/{id}/rotate-secret?account_id=acme" \
-H "X-API-Key: sm_your_key"
```
## Email Reports
URL: https://sealmetrics.com/docs/api/email-reports/
Schedule daily, weekly, or monthly email reports with selectable sections and delivery at a fixed hour in a chosen timezone
Schedule recurring email reports (daily, weekly, monthly) that summarize key analytics for an account. Each report can include selected sections (overview, sources, pages, geography, devices, conversions) and is delivered at a fixed hour in a chosen timezone.
**Base path:** `/email-reports`
Required scope: `read` to list/get; `write` to create, update, send, or delete.
## Create Email Report
```http
POST /email-reports?account_id={account_id}
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Report name (1-255 chars) |
| `frequency` | enum | No | `daily`, `weekly`, `monthly` (default `weekly`) |
| `day_of_week` | integer | No | 0-6 (0 = Sunday) — required for weekly |
| `day_of_month` | integer | No | 1-28 — required for monthly |
| `hour_utc` | integer | No | 0-23, default `9` |
| `timezone` | string | No | Display timezone (max 64), default `"UTC"` |
| `report_type` | enum | No | `summary` (default), `detailed`, `custom` |
| `include_overview` | boolean | No | Default `true` |
| `include_sources` | boolean | No | Default `true` |
| `include_pages` | boolean | No | Default `true` |
| `include_geo` | boolean | No | Default `false` |
| `include_devices` | boolean | No | Default `false` |
| `include_conversions` | boolean | No | Default `true` |
| `compare_previous` | boolean | No | Default `true` |
| `recipients` | string[] | Yes | 1-20 valid email addresses |
| `config` | object | No | Custom configuration (default `{}`) |
**Response (201 Created):**
```json
{
"id": 42,
"account_id": "acme",
"name": "Weekly summary",
"frequency": "weekly",
"day_of_week": 1,
"day_of_month": null,
"hour_utc": 9,
"timezone": "Europe/Madrid",
"report_type": "summary",
"include_overview": true,
"include_sources": true,
"include_pages": true,
"include_geo": false,
"include_devices": false,
"include_conversions": true,
"compare_previous": true,
"recipients": ["alice@acme.com", "bob@acme.com"],
"config": {},
"is_active": true,
"last_sent_at": null,
"next_scheduled_at": "2025-01-13T09:00:00Z",
"send_count": 0,
"created_by": 7,
"created_at": "2025-01-08T14:23:00Z",
"updated_at": null
}
```
## List Email Reports
```http
GET /email-reports?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `include_inactive` | boolean | `false` | Include inactive reports |
**Response:**
```json
{
"reports": [ /* EmailReportInfo objects */ ],
"total": 3
}
```
## Get Email Report
```http
GET /email-reports/{report_id}?account_id={account_id}
```
Returns the report or `404` if not found.
## Update Email Report
```http
PATCH /email-reports/{report_id}?account_id={account_id}
```
**Required scope:** `write`
All fields from create are optional. Returns the updated `EmailReportInfo`.
## Delete Email Report
```http
DELETE /email-reports/{report_id}?account_id={account_id}
```
**Required scope:** `write`. Returns `204 No Content`.
## Send Report Now
```http
POST /email-reports/{report_id}/send?account_id={account_id}
```
**Required scope:** `write`
Send a one-off render of the report immediately. Useful for previews or ad-hoc deliveries without modifying the schedule.
**Request Body (optional):**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `period` | string | No | `7d`, `30d`, `month`, or `custom` (default `7d`) |
| `custom_start` / `custom_end` | date | No | Required when `period=custom` |
| `recipient_override` | string[] | No | Send only to these recipients (max 20). When omitted, uses the report's saved recipients |
**Response:**
```json
{
"success": true,
"history_id": 318,
"recipients_count": 2,
"message": "Report sent successfully"
}
```
Returns `500` if the underlying send fails.
## Report History
```http
GET /email-reports/{report_id}/history?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `limit` | integer | `20` | Max results (1-100) |
| `offset` | integer | `0` | Pagination offset |
**Response:**
```json
{
"history": [
{
"id": 318,
"report_id": 42,
"report_period_start": "2025-01-01",
"report_period_end": "2025-01-07",
"recipients_sent_to": ["alice@acme.com", "bob@acme.com"],
"recipient_count": 2,
"status": "sent",
"error_message": null,
"report_stats": { "entrances": 15420, "conversions": 245 },
"created_at": "2025-01-08T09:00:00Z",
"completed_at": "2025-01-08T09:00:14Z"
}
],
"total": 12
}
```
`status` values: `pending`, `generating`, `sending`, `sent`, `failed`, `partial`.
## Shared Dashboards
URL: https://sealmetrics.com/docs/api/shared-dashboards/
Create public or password-protected shareable dashboards with share tokens, embed configs, allowed domains, and expiration dates
Create public or password-protected shareable dashboards, and configure embed parameters for iframe usage. Each dashboard gets a `share_token` for public access and an optional `EmbedConfig` controlling allowed domains, theme, and dimensions.
API only — there is no dashboard screen for this
These endpoints exist and work, but **the Sealmetrics dashboard has no UI for creating or managing shared dashboards**, and there is no hosted page that renders one. The API stores the configuration and issues the `share_token`; rendering the dashboard your recipients see is something you build.
If you're looking for ready-made client-facing reporting, use the [Data Studio connector](https://sealmetrics.com/docs/platform/settings/integrations/looker-studio.md) or the [Stats API](https://sealmetrics.com/docs/api/stats.md) instead. Treat this page as a building block, not a shipped feature.
**Base path:** `/shared-dashboards`
Required scope: `read` to list/get owned dashboards; `write` to create, update, delete, or configure embeds. The two `/public/{share_token}` endpoints are unauthenticated.
## Create Shared Dashboard
```http
POST /shared-dashboards?account_id={account_id}
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | Yes | Dashboard name (1-255) |
| `slug` | string | Yes | URL-friendly slug (1-100, `[a-z0-9][a-z0-9-]*[a-z0-9]`) |
| `dashboard_type` | enum | No | `overview` (default), `sources`, `pages`, `geo`, `devices`, `conversions`, `custom` |
| `is_public` | boolean | No | Default `false` |
| `password` | string | No | Optional password (4-100 chars) |
| `fixed_date_range` | string | No | `7d`, `30d`, `90d`, `month`, `year`, or `custom` |
| `config` | object | No | Custom dashboard configuration (default `{}`) |
| `show_branding` | boolean | No | Default `true` |
| `custom_logo_url` | string | No | Custom logo URL (max 500) |
| `expires_at` | datetime | No | Optional expiration |
**Response (201 Created):**
```json
{
"id": 17,
"account_id": "acme",
"share_token": "tok_8sf2k3...",
"name": "Marketing report",
"slug": "marketing-report",
"dashboard_type": "overview",
"is_public": true,
"has_password": false,
"fixed_date_range": "30d",
"config": {},
"show_branding": true,
"custom_logo_url": null,
"view_count": 0,
"last_viewed_at": null,
"share_url": "https://my.sealmetrics.com/share/tok_8sf2k3...",
"embed_url": "https://my.sealmetrics.com/embed/tok_8sf2k3...",
"is_active": true,
"expires_at": null,
"created_by": 7,
"created_at": "2025-01-08T14:23:00Z",
"updated_at": null
}
```
Returns `409` if the slug already exists for the account.
## List Shared Dashboards
```http
GET /shared-dashboards?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `include_inactive` | boolean | `false` | Include inactive dashboards |
**Response:**
```json
{
"dashboards": [ /* SharedDashboardInfo objects */ ],
"total": 5
}
```
## Get / Update / Delete Dashboard
```http
GET /shared-dashboards/{dashboard_id}?account_id={account_id}
PATCH /shared-dashboards/{dashboard_id}?account_id={account_id}
DELETE /shared-dashboards/{dashboard_id}?account_id={account_id}
```
`GET` requires `read`; `PATCH`/`DELETE` require `write`.
`PATCH` accepts the same fields as create, all optional, plus:
| Field | Type | Description |
| --- | --- | --- |
| `remove_password` | boolean | Remove the password protection (default `false`) |
| `is_active` | boolean | Activate / deactivate |
`PATCH` returns `409` if the new slug is already taken. `DELETE` returns `204 No Content`.
## Embed Configuration
### Get Embed Config
```http
GET /shared-dashboards/{dashboard_id}/embed?account_id={account_id}
```
**Required scope:** `read`
**Response:**
```json
{
"dashboard_id": 17,
"allowed_domains": ["acme.com", "marketing.acme.com"],
"show_header": true,
"show_filters": false,
"theme": "auto",
"min_width": 320,
"min_height": 400,
"embed_code": ""
}
```
Returns `404` if no embed config exists yet.
### Create or Update Embed Config
```http
PUT /shared-dashboards/{dashboard_id}/embed?account_id={account_id}
```
**Required scope:** `write`
Upsert — creates the embed config if missing, otherwise updates it.
**Request Body:**
| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `allowed_domains` | string[] | `null` | Domains allowed to embed. `null` means all |
| `show_header` | boolean | `true` | Show dashboard header in the iframe |
| `show_filters` | boolean | `false` | Show date-range filters in the iframe |
| `theme` | enum | `auto` | `light`, `dark`, `auto` |
| `min_width` | integer | `320` | Min iframe width (200-2000) |
| `min_height` | integer | `400` | Min iframe height (200-2000) |
## Public Access (unauthenticated)
### Get Public Info
```http
GET /shared-dashboards/public/{share_token}
```
No authentication. Returns metadata needed by the public viewer to decide whether to prompt for a password.
**Response:**
```json
{
"name": "Marketing report",
"dashboard_type": "overview",
"show_branding": true,
"custom_logo_url": null,
"requires_password": false,
"fixed_date_range": "30d",
"account_name": "Acme Corp"
}
```
### Access Dashboard
```http
POST /shared-dashboards/public/{share_token}/access
```
No authentication. Validates an optional password and logs the access (IP, user-agent, referer).
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `password` | string | No | Required only if `requires_password` is `true` (1-100 chars) |
Returns `401` if the password is invalid, `404` if the dashboard does not exist.
## Alerts
URL: https://sealmetrics.com/docs/api/alerts/
Create alert rules for traffic anomaly detection with email, Slack, or webhook notifications, plus alert history and statistics
Create alert rules to get notified when traffic anomalies occur.
## Overview
The Alerts API allows you to:
- Create rules for traffic anomaly detection
- Configure notifications (email, Slack, webhook)
- View alert history and statistics
- Acknowledge and manage triggered alerts
**Base path:** `/alerts`
Scopes and API keys
Read endpoints (`GET /alerts/rules`, `/alerts/history`, `/alerts/stats`) require the `read` scope. Endpoints that create, update, delete, test, or acknowledge alerts require the `write` scope. API keys are **read-only**, so those write operations must be performed with a user session that holds the `write` scope — an API key alone cannot create or modify alert rules.
## Alert Rules
### List Alert Rules
```http
GET /alerts/rules?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `account_id` | string | Required. Account ID |
| `include_inactive` | boolean | Include disabled rules |
**Response:**
```json
{
"rules": [
{
"id": 1,
"account_id": "acme",
"name": "Traffic Drop Alert",
"description": "Alert when traffic drops significantly",
"alert_type": "traffic_drop",
"metric": "entrances",
"condition_type": "percentage_change",
"threshold_value": 25,
"threshold_direction": "decrease",
"baseline_period": "7d",
"comparison_window": "1h",
"custom_condition": null,
"notify_email": true,
"notify_slack": false,
"notify_webhook": true,
"email_recipients": ["alerts@company.com"],
"slack_webhook_url": null,
"custom_webhook_url": "https://hooks.example.com/abc",
"cooldown_minutes": 60,
"last_triggered_at": "2025-01-05T10:30:00Z",
"is_active": true,
"trigger_count": 4,
"created_by": 12,
"created_at": "2024-12-01T10:00:00Z",
"updated_at": null
}
],
// ... full example at https://sealmetrics.com/docs/api/alerts/
```
### Create Alert Rule
```http
POST /alerts/rules?account_id={account_id}
```
**Request Body:**
```json
{
"name": "Conversions Drop",
"description": "Alert when conversions drop more than 30%",
"alert_type": "conversion_change",
"metric": "conversions",
"condition_type": "percentage_change",
"threshold_value": 30,
"threshold_direction": "decrease",
"baseline_period": "7d",
"comparison_window": "1h",
"notify_email": true,
"notify_slack": false,
"notify_webhook": false,
"email_recipients": ["alerts@company.com"],
"cooldown_minutes": 60
}
```
| Field | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `name` | string | Yes | — | Rule name (1-255 chars) |
| `description` | string | No | `null` | Rule description (max 1000 chars) |
| `alert_type` | enum | No | `traffic_spike` | Type of alert |
| `metric` | enum | No | `pageviews` | Metric to monitor |
| `condition_type` | enum | No | `percentage_change` | How to detect the anomaly |
| `threshold_value` | number | No | `50.0` | Threshold value, e.g. `50` for 50% change (0–10000) |
| `threshold_direction` | enum | No | `both` | `increase`, `decrease`, or `both` |
| `baseline_period` | enum | No | `7d` | Period for baseline calculation |
| `comparison_window` | enum | No | `1h` | Window for the current value |
| `custom_condition` | object | No | `null` | Custom condition config |
| `notify_email` | boolean | No | `true` | Send email notifications |
| `notify_slack` | boolean | No | `false` | Send Slack notifications |
| `notify_webhook` | boolean | No | `false` | Send webhook notifications |
| `email_recipients` | string[] | No | `[]` | Email addresses (max 10) |
| `slack_webhook_url` | string | No | `null` | Slack webhook URL (max 500 chars) |
| `custom_webhook_url` | string | No | `null` | Custom webhook URL (max 500 chars) |
| `cooldown_minutes` | int | No | `60` | Minutes between alerts (5–1440) |
### Alert Types
| Type | Description |
| --- | --- |
| `traffic_spike` | Traffic spike |
| `traffic_drop` | Traffic drop |
| `conversion_change` | Conversion change |
| `error_rate` | Error rate |
| `source_change` | Source change |
| `goal_reached` | Goal reached |
| `custom` | Custom |
### Available Metrics
| Metric | Description |
| --- | --- |
| `pageviews` | Total pageviews |
| `sessions` | Sessions |
| `entrances` | Session starts |
| `bounce_rate` | Bounce rate percentage |
| `conversions` | Conversion count |
| `conversion_rate` | Conversion rate |
| `custom` | Custom metric |
`visitors` is not accepted: Sealmetrics does not identify visitors, so a rule with `"metric": "visitors"` is rejected with a validation error. Use `entrances` instead.
### Condition Types
| Condition | Description |
| --- | --- |
| `percentage_change` | Percentage change vs baseline |
| `absolute_threshold` | Absolute threshold value |
| `std_deviation` | Standard deviation from baseline |
| `rate_of_change` | Rate of change |
### Threshold Directions
| Direction | Description |
| --- | --- |
| `increase` | Alert on increases only |
| `decrease` | Alert on decreases only |
| `both` | Alert on either direction |
### Baseline Periods
| Period | Description |
| --- | --- |
| `24h` | Last 24 hours |
| `7d` | Last 7 days |
| `30d` | Last 30 days |
| `90d` | Last 90 days |
### Comparison Windows
| Window | Description |
| --- | --- |
| `1h` | Last hour |
| `6h` | Last 6 hours |
| `24h` | Last 24 hours |
`15m` is not accepted: traffic is aggregated per hour, so a rule with `"comparison_window": "15m"` is rejected with a validation error. Use `1h` or longer.
**Response (201 Created):**
```json
{
"id": 2,
"account_id": "acme",
"name": "Conversions Drop",
"description": "Alert when conversions drop more than 30%",
"alert_type": "conversion_change",
"metric": "conversions",
"condition_type": "percentage_change",
"threshold_value": 30,
"threshold_direction": "decrease",
"baseline_period": "7d",
"comparison_window": "1h",
"custom_condition": null,
"notify_email": true,
"notify_slack": false,
"notify_webhook": false,
"email_recipients": ["alerts@company.com"],
"slack_webhook_url": null,
"custom_webhook_url": null,
"cooldown_minutes": 60,
"last_triggered_at": null,
"is_active": true,
"trigger_count": 0,
"created_by": 12,
"created_at": "2025-01-10T14:30:00Z",
"updated_at": null
}
```
### Get Alert Rule
```http
GET /alerts/rules/{rule_id}?account_id={account_id}
```
### Update Alert Rule
```http
PATCH /alerts/rules/{rule_id}?account_id={account_id}
```
**Request Body:**
```json
{
"name": "Updated Name",
"threshold_value": 40,
"is_active": false
}
```
All fields are optional. Only provided fields are updated. In addition to the creation fields, the update accepts `is_active` (boolean) to enable or disable the rule.
### Delete Alert Rule
```http
DELETE /alerts/rules/{rule_id}?account_id={account_id}
```
Returns `204 No Content` on success.
## Test Alert
### Test Alert Rule
```http
POST /alerts/rules/{rule_id}/test?account_id={account_id}
```
Test a rule without triggering actual notifications.
**Request Body (optional):**
```json
{
"send_notification": true
}
```
Set `send_notification: true` to send a real test notification.
**Response:**
```json
{
"success": true,
"current_value": 650,
"baseline_value": 1000,
"would_trigger": true,
"change_percentage": -35.0,
"notification_sent": false,
"message": "Rule would trigger: entrances decreased 35% vs baseline"
}
```
## Alert History
### Get Alert History
```http
GET /alerts/history?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| `account_id` | string | Required. Account ID |
| `rule_id` | int | Filter by specific rule |
| `status` | string | Filter by status |
| `limit` | int | Max results (default: 50, range 1–200) |
| `offset` | int | Pagination offset |
### Alert Statuses
| Status | Description |
| --- | --- |
| `active` | Alert fired, awaiting acknowledgment |
| `acknowledged` | User acknowledged the alert |
| `resolved` | Alert condition no longer active |
| `false_positive` | Alert was a false positive |
**Response:**
```json
{
"alerts": [
{
"id": 123,
"rule_id": 1,
"rule_name": "Traffic Drop Alert",
"account_id": "acme",
"alert_type": "traffic_drop",
"metric": "entrances",
"current_value": 650,
"baseline_value": 1000,
"change_percentage": -35.0,
"triggered_at": "2025-01-10T10:30:00Z",
"period_start": "2025-01-10T09:30:00Z",
"period_end": "2025-01-10T10:30:00Z",
"context": null,
"notification_sent": true,
"notification_channels": ["email"],
"notification_error": null,
"acknowledged_at": null,
"acknowledged_by": null,
"notes": null,
"status": "active"
}
],
"total": 45
}
```
### Acknowledge Alert
```http
PATCH /alerts/history/{alert_id}?account_id={account_id}
```
**Request Body:**
```json
{
"status": "acknowledged",
"notes": "Investigating the traffic drop"
}
```
| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `status` | enum | `acknowledged` | `acknowledged`, `resolved`, or `false_positive` |
| `notes` | string | `null` | Optional notes about the action taken (max 1000 chars) |
**Response:** the full alert history entry with updated status, for example:
```json
{
"id": 123,
"rule_id": 1,
"rule_name": "Traffic Drop Alert",
"account_id": "acme",
"status": "acknowledged",
"acknowledged_at": "2025-01-10T14:30:00Z",
"acknowledged_by": 12,
"notes": "Investigating the traffic drop"
}
```
## Statistics
### Get Alert Statistics
```http
GET /alerts/stats?account_id={account_id}
```
**Response:**
```json
{
"active_rules": 4,
"total_triggers_24h": 3,
"total_triggers_7d": 12,
"total_triggers_30d": 45,
"unacknowledged_alerts": 3,
"most_triggered_rule": "Traffic Drop Alert",
"last_trigger": "2025-01-10T10:30:00Z"
}
```
| Field | Type | Description |
| --- | --- | --- |
| `active_rules` | int | Number of active rules |
| `total_triggers_24h` | int | Triggers in the last 24 hours |
| `total_triggers_7d` | int | Triggers in the last 7 days |
| `total_triggers_30d` | int | Triggers in the last 30 days |
| `unacknowledged_alerts` | int | Alerts still awaiting acknowledgment |
| `most_triggered_rule` | string | Name of the most-triggered rule |
| `last_trigger` | datetime | Timestamp of the most recent trigger |
## Code Examples
### Python - Create and Monitor Alerts
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
ACCOUNT_ID = "my-account"
def create_alert_rule(name: str, metric: str, threshold: int) -> dict:
"""Create a new alert rule."""
response = requests.post(
f"{BASE_URL}/alerts/rules",
headers={"X-API-Key": API_KEY},
params={"account_id": ACCOUNT_ID},
json={
"name": name,
"metric": metric,
"condition_type": "percentage_change",
"threshold_value": threshold,
"threshold_direction": "decrease",
"baseline_period": "7d",
"comparison_window": "1h",
"notify_email": True,
"email_recipients": ["alerts@company.com"]
}
)
response.raise_for_status()
return response.json()
def get_active_alerts() -> list:
"""Get all active (unacknowledged) alerts."""
response = requests.get(
// ... full example at https://sealmetrics.com/docs/api/alerts/
```
### JavaScript - React Hook for Alerts
```javascript
import { useState, useEffect } from 'react';
function useAlerts(accountId) {
const [alerts, setAlerts] = useState([]);
const [loading, setLoading] = useState(true);
useEffect(() => {
async function fetchAlerts() {
const response = await fetch(
`${BASE_URL}/alerts/history?account_id=${accountId}&status=active`,
{ headers: { 'X-API-Key': API_KEY } }
);
const data = await response.json();
setAlerts(data.alerts);
setLoading(false);
}
fetchAlerts();
const interval = setInterval(fetchAlerts, 60000); // Poll every minute
return () => clearInterval(interval);
}, [accountId]);
const acknowledgeAlert = async (alertId, notes) => {
await fetch(
`${BASE_URL}/alerts/history/${alertId}?account_id=${accountId}`,
{
method: 'PATCH',
headers: {
'X-API-Key': API_KEY,
// ... full example at https://sealmetrics.com/docs/api/alerts/
```
## Best Practices
### 1. Start with Conservative Thresholds
Begin with higher thresholds to avoid alert fatigue:
```json
{
"threshold_value": 40
}
```
Adjust lower as you understand normal traffic patterns.
### 2. Use Cooldowns to Avoid Alert Fatigue
Set a `cooldown_minutes` window so a noisy rule doesn't fire repeatedly:
```json
{
"name": "Paid Traffic Drop",
"cooldown_minutes": 120
}
```
### 3. Combine with Slack and Webhooks
Integrate with Slack or other tools by enabling the relevant notification flags and providing the webhook URLs:
```json
{
"notify_slack": true,
"slack_webhook_url": "https://hooks.slack.com/services/...",
"notify_webhook": true,
"custom_webhook_url": "https://hooks.example.com/alerts"
}
```
### 4. Review and Resolve Alerts
Don't let alerts pile up:
```python
# Auto-resolve old active alerts
old_alerts = get_alerts(status="active", older_than_days=7)
for alert in old_alerts:
acknowledge_alert(alert["id"], "Auto-resolved after 7 days")
```
## Exports
URL: https://sealmetrics.com/docs/api/exports/
Create and download bulk exports of analytics data in CSV or JSON, covering pages, sources, conversions, devices, and time series
Create and download bulk exports of analytics data in CSV or JSON format.
## Overview
The Exports API allows you to:
- Export analytics data for external analysis
- Choose between CSV and JSON formats
- Apply filters to export specific segments
- Handle large exports asynchronously
**Base path:** `/exports`
Account identifier
All `/exports/*` routes require the `account_id` query parameter — `site_id` is rejected. The value is the **site slug** (the identifier in your dashboard URL), the same value you'd pass as `site_id` to `/stats/*`. See the [API FAQ](https://sealmetrics.com/docs/api/faq.md) for details.
## Export Types
| Type | Description |
| --- | --- |
| `pages` | Page-level metrics (path, views, entrances, conversions) |
| `sources` | Traffic by UTM source |
| `mediums` | Traffic by UTM medium |
| `campaigns` | Traffic by UTM campaign |
| `terms` | Traffic by UTM term (keywords) |
| `countries` | Traffic by country |
| `devices` | Traffic by device type |
| `browsers` | Traffic by browser |
| `os` | Traffic by operating system |
| `conversions` | Conversion events |
| `microconversions` | Microconversion events |
| `time_series` | Daily time series data |
| `landing_pages` | Landing page metrics |
## Export Formats
| Format | Content-Type | Best For |
| --- | --- | --- |
| `csv` | `text/csv` | Spreadsheets, BI tools |
| `json` | `application/json` | Programmatic analysis |
## Create Export
```http
POST /exports?account_id={site_slug}
```
Create a new export job.
**Request Body:**
```json
{
"export_type": "sources",
"format": "csv",
"date_from": "2025-01-01",
"date_to": "2025-01-10",
"filters": {
"country": "ES",
"utm_medium": "cpc"
}
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `export_type` | enum | Yes | Type of data to export |
| `format` | enum | No | `csv` (default) or `json` |
| `date_from` | date | Yes | Start date (YYYY-MM-DD) |
| `date_to` | date | Yes | End date (YYYY-MM-DD) |
| `filters` | object | No | Filter conditions |
### Filter Options
```json
{
"filters": {
"utm_source": "google",
"utm_medium": "cpc",
"utm_campaign": "spring_sale",
"utm_term": "running shoes",
"utm_content": "banner_a",
"country": "ES",
"device_type": "mobile",
"browser": "Chrome",
"os": "iOS",
"content_grouping": "blog",
"conversion_type": "purchase",
"advanced_filters": "path:contains:/products/"
}
}
```
**Response (201 Created):**
```json
{
"job": {
"id": 1,
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"site_id": "my-site",
"export_type": "sources",
"format": "csv",
"date_from": "2025-01-01",
"date_to": "2025-01-10",
"filters": {"country": "ES", "utm_medium": "cpc"},
"status": "completed",
"estimated_rows": 850,
"actual_rows": 847,
"file_size_bytes": 45230,
"file_size_human": "44.2 KB",
"progress_percent": 100,
"download_url": "https://my.sealmetrics.com/api/v1/exports/download/abc123...",
"download_expires_at": "2025-01-11T14:30:00Z",
"started_at": "2025-01-10T14:30:00Z",
"completed_at": "2025-01-10T14:30:02Z",
"created_at": "2025-01-10T14:30:00Z"
},
"estimate": {
"estimated_rows": 850,
"estimated_size_bytes": 45000,
"estimated_size_human": "43.9 KB",
"recommended_format": "csv",
"will_use_background_job": false,
"estimated_duration_seconds": 2
},
// ... full example at https://sealmetrics.com/docs/api/exports/
```
### Export Status Values
| Status | Description |
| --- | --- |
| `pending` | Job created, waiting to start |
| `estimating` | Calculating export size |
| `generating` | Export in progress |
| `completed` | Ready for download |
| `failed` | Export failed (check `error_message`) |
| `expired` | Download link expired |
## Estimate Export Size
```http
POST /exports/estimate?account_id={site_slug}
```
Get size estimate without creating a job.
**Request Body:** Same as create export.
**Response:**
```json
{
"estimated_rows": 125000,
"estimated_size_bytes": 8500000,
"estimated_size_human": "8.1 MB",
"recommended_format": "csv",
"will_use_background_job": true,
"estimated_duration_seconds": 45
}
```
| Field | Description |
| --- | --- |
| `estimated_rows` | Approximate number of rows |
| `estimated_size_bytes` | Approximate file size |
| `will_use_background_job` | `true` if >10K rows (async processing) |
| `estimated_duration_seconds` | Approximate processing time |
## List Exports
```http
GET /exports?account_id={site_slug}
```
List all exports for an account.
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `limit` | integer | `20` | Max results (1-100) |
| `offset` | integer | `0` | Skip N results |
| `include_expired` | boolean | `false` | Include expired exports |
**Response:**
```json
{
"exports": [
{
"id": 5,
"job_id": "550e8400-e29b-41d4-a716-446655440000",
"export_type": "sources",
"format": "csv",
"status": "completed",
"actual_rows": 847,
"file_size_human": "44.2 KB",
"download_url": "https://...",
"created_at": "2025-01-10T14:30:00Z"
}
],
"total": 12
}
```
## Get Export Status
```http
GET /exports/{job_id}?account_id={site_slug}
```
Get status of a specific export job.
**Response:** Same as single job in create response.
## Download Export
```http
GET /exports/download/{download_token}
```
Download completed export file.
Note
This endpoint uses a secure download token and does not require authentication headers. The token is included in the `download_url` field.
**Response Headers:**
```plaintext
Content-Type: text/csv
Content-Disposition: attachment; filename="sealmetrics_sources_20250101_20250110.csv"
```
## Stream Export (Small Datasets)
```http
POST /exports/stream?account_id={site_slug}
```
Stream export directly for small datasets (<10K rows).
**Request Body:** Same as create export.
**Response:** A **direct file download**, not the usual JSON envelope. Headers:
| Header | Value |
| --- | --- |
| `Content-Type` | `text/csv; charset=utf-8` (or `application/json`, `application/x-ndjson` depending on `format`) |
| `Content-Disposition` | `attachment; filename="{export_type}_{date_from}_{date_to}.{ext}"` |
| `Cache-Control` | `no-store` |
Save the response body to a file (or pipe it) — do not try to `.json()` parse it.
**Working example — `conversions` export:**
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/exports/stream?account_id=YOUR_SITE" \
-H "X-API-Key: sm_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"export_type": "conversions",
"format": "csv",
"date_from": "2026-04-01",
"date_to": "2026-04-30"
}'
```
The response is a CSV stream with header `date, conversion_type, amount, properties`. For richer dimensions per conversion (UTMs, country, device, channel group, custom properties) use [`/stats/conversions/raw`](https://sealmetrics.com/docs/api/stats/#raw-conversions-event-level) instead.
**Error (413 - Too Large):**
```json
{
"detail": "Export too large for streaming (125,000 rows). Use POST /exports to create a background job."
}
```
## Cancel/Delete Export
```http
DELETE /exports/{job_id}?account_id={site_slug}
```
Cancel a pending export or delete a completed one.
**Response:** 204 No Content
## Small vs Large Exports
| Rows | Processing | Response |
| --- | --- | --- |
| Less than 10,000 | Synchronous | Immediate download URL |
| 10,000 or more | Background job | Poll status until complete |
For large exports:
1. Create export (returns `status: pending`)
2. Poll `GET /exports/{job_id}` until `status: completed`
3. Download using the `download_url`
## Download Link Expiration
- Download links expire after **24 hours**
- After expiration, you must create a new export
- Expired exports show `status: expired`
## Rate Limits
| Plan | Concurrent Exports | Max Rows/Export |
| --- | --- | --- |
| Growth | 1 | 100,000 |
| Scale | 3 | 1,000,000 |
| Enterprise | 10 | Unlimited |
## Code Examples
### Python - Export and Download
```python
import requests
import time
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
def export_data(account_id, export_type, date_from, date_to, filters=None):
"""Create export and return download URL."""
# Create export
response = requests.post(
f"{BASE_URL}/exports",
headers={"X-API-Key": API_KEY},
params={"account_id": account_id},
json={
"export_type": export_type,
"format": "csv",
"date_from": date_from,
"date_to": date_to,
"filters": filters or {}
}
)
response.raise_for_status()
data = response.json()
job = data["job"]
job_id = job["job_id"]
# Poll until complete (for large exports)
while job["status"] in ("pending", "estimating", "generating"):
// ... full example at https://sealmetrics.com/docs/api/exports/
```
### JavaScript - Stream Small Export
```javascript
async function streamExport(accountId, exportType, dateFrom, dateTo) {
const response = await fetch(
`${BASE_URL}/exports/stream?account_id=${accountId}`,
{
method: 'POST',
headers: {
'X-API-Key': API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
export_type: exportType,
format: 'csv',
date_from: dateFrom,
date_to: dateTo
})
}
);
if (response.status === 413) {
throw new Error('Export too large for streaming. Use background job.');
}
const blob = await response.blob();
return blob;
}
```
### Check Estimate Before Export
```python
def estimate_first(account_id, export_config):
"""Check size before creating export."""
response = requests.post(
f"{BASE_URL}/exports/estimate",
headers={"X-API-Key": API_KEY},
params={"account_id": account_id},
json=export_config
)
estimate = response.json()
print(f"Estimated rows: {estimate['estimated_rows']:,}")
print(f"Estimated size: {estimate['estimated_size_human']}")
print(f"Background job: {estimate['will_use_background_job']}")
print(f"Est. duration: {estimate['estimated_duration_seconds']}s")
if estimate['estimated_rows'] > 500000:
confirm = input("Large export. Continue? (y/n): ")
if confirm.lower() != 'y':
return None
# Proceed with export
return export_data(account_id, **export_config)
```
## For agents: this is your long-running-task primitive
An export is a proper asynchronous job, so an agent never has to hold an HTTP request open:
1. `POST /exports` returns immediately with a job id.
2. The job advances through `pending` → `estimating` → `generating` → `completed` (or `failed` / `expired`).
3. **Do not poll if you can avoid it.** Subscribe a [webhook](https://sealmetrics.com/docs/api/webhooks.md) to `export.completed` and `export.failed`; the API pushes the result to you when the job lands.
4. `DELETE /exports/{id}` cancels a job you no longer need.
Exports are also the right tool when you need a **consistent** snapshot of a large report: paging with `page`/`page_size` can drift while new analytics data arrives, an export cannot.
## Related
- [For AI Agents](https://sealmetrics.com/docs/api/for-agents.md) — the full agent integration guide
- [Webhooks](https://sealmetrics.com/docs/api/webhooks.md) — `export.completed` / `export.failed`
- [Batch API](https://sealmetrics.com/docs/api/batch.md) — many small queries in one request, instead of one big job
- [Error codes](https://sealmetrics.com/docs/api/errors.md)
## BigQuery Integration API
URL: https://sealmetrics.com/docs/api/bigquery/
Sync Sealmetrics analytics to Google BigQuery with hourly or daily schedules, backfill options, and BI tool integration
Export Sealmetrics analytics data to Google BigQuery for advanced analysis, custom reporting, and data warehousing.
## Overview
The BigQuery integration allows you to:
- Automatically sync analytics data to your BigQuery dataset
- Run custom SQL queries on your traffic and conversion data
- Integrate with BI tools like Looker, Data Studio, or Tableau
- Perform advanced analysis not available in the dashboard
**Base path:** `/integrations/bigquery`
Note
BigQuery integration is available on every plan, the [free tier](https://sealmetrics.com/docs/api/provision/#free-tier) included (Growth, Scale, Enterprise and free tier).
## Setup Flow
1. Create a Google Cloud service account with BigQuery permissions
2. Configure the integration by uploading the service account JSON file
3. The dataset and tables are created automatically during setup
4. Enable automatic sync or trigger manual/backfill syncs
## Configure Integration
### Create Integration
```http
POST /integrations/bigquery?account_id={account_id}
```
This endpoint uses **query parameters** for configuration and a **multipart/form-data** body to upload the Google Cloud service account JSON file. The dataset and tables are created in BigQuery as part of this call.
**Query Parameters:**
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `account_id` | string | Yes | Account ID |
| `gcp_project_id` | string | Yes | Google Cloud project ID (6-30 chars, lowercase letters, digits and hyphens, starts with a letter) |
| `dataset_id` | string | No | BigQuery dataset name (alphanumeric and underscores). Default: `sealmetrics` |
| `location` | enum | No | Dataset location: `EU` (default), `US`, `europe-west1`, `us-central1`, `us-east1` |
| `sync_frequency` | enum | No | `hourly`, `daily` (default), `manual` |
| `data_types` | string[] | No | Data types to sync. Default: `traffic`, `conversions`, `microconversions`, `pages`, `landing_pages`. Also valid: `traffic_hourly`, `accounts` |
| `backfill_days` | integer | No | Days of historical data to sync initially (0-365). Default: `30` |
| `initial_date_from` | date | No | Custom initial sync start date (overrides `backfill_days`; must be set with `initial_date_to`) |
| `initial_date_to` | date | No | Custom initial sync end date (must be set with `initial_date_from`) |
**Form Data (multipart):**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `service_account_file` | file | Yes | Google Cloud service account JSON file (must end in `.json` and have `"type": "service_account"`) |
Note
A custom date range (`initial_date_from`/`initial_date_to`) cannot exceed 365 days, and `initial_date_to` cannot be in the future.
**Example request:**
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/integrations/bigquery?account_id=my-account&gcp_project_id=my-analytics-project&dataset_id=sealmetrics&location=EU&sync_frequency=daily&data_types=traffic&data_types=conversions&backfill_days=30" \
-H "X-API-Key: sm_your_api_key" \
-F "service_account_file=@service-account.json"
```
**Response (201 Created):**
```json
{
"integration": {
"id": 1,
"account_id": "my-account",
"gcp_project_id": "my-analytics-project",
"dataset_id": "sealmetrics",
"location": "EU",
"sync_frequency": "daily",
"data_types": ["traffic", "conversions", "microconversions", "pages", "landing_pages"],
"backfill_days": 30,
"initial_date_from": null,
"initial_date_to": null,
"is_active": true,
"setup_completed": true,
"setup_completed_at": "2025-01-10T14:30:05Z",
"tables_created": ["fact_traffic_daily", "fact_conversions", "fact_microconversions", "fact_pages", "fact_landing_pages", "sync_metadata", "dim_countries"],
"last_sync_at": null,
"last_sync_status": null,
"last_error": null,
"created_at": "2025-01-10T14:30:00Z",
"updated_at": "2025-01-10T14:30:05Z",
"created_by": 42
},
"dataset_ref": "my-analytics-project.sealmetrics",
"tables_created": ["fact_traffic_daily", "fact_conversions", "fact_microconversions", "fact_pages", "fact_landing_pages", "sync_metadata", "dim_countries"],
"message": "BigQuery integration configured. Dataset: my-analytics-project.sealmetrics"
}
```
Note
Data is **not** automatically synced after setup. Use the sync endpoint or wait for a scheduled sync.
### Get Integration
```http
GET /integrations/bigquery?account_id={account_id}
```
Returns `null` if no integration is configured.
**Response:**
```json
{
"id": 1,
"account_id": "my-account",
"gcp_project_id": "my-analytics-project",
"dataset_id": "sealmetrics",
"location": "EU",
"sync_frequency": "daily",
"data_types": ["traffic", "conversions", "microconversions", "pages", "landing_pages"],
"backfill_days": 30,
"initial_date_from": null,
"initial_date_to": null,
"is_active": true,
"setup_completed": true,
"setup_completed_at": "2025-01-01T10:00:05Z",
"tables_created": ["fact_traffic_daily", "fact_conversions", "fact_microconversions", "fact_pages", "fact_landing_pages", "sync_metadata", "dim_countries"],
"last_sync_at": "2025-01-10T03:00:00Z",
"last_sync_status": "success",
"last_error": null,
"created_at": "2025-01-01T10:00:00Z",
"updated_at": "2025-01-10T03:00:00Z",
"created_by": 42
}
```
### Update Integration
```http
PATCH /integrations/bigquery?account_id={account_id}
```
**Request Body (JSON):**
```json
{
"sync_frequency": "hourly",
"data_types": ["traffic", "conversions", "microconversions", "pages"],
"is_active": true,
"backfill_days": 60
}
```
| Field | Type | Description |
| --- | --- | --- |
| `sync_frequency` | enum | `hourly`, `daily`, `manual` |
| `data_types` | string[] | Which data to sync (at least one) |
| `is_active` | boolean | Enable/disable sync |
| `backfill_days` | integer | Historical data range (0-365) |
All fields are optional. Only provided fields are updated. If `data_types` changes, any new tables are created in BigQuery automatically.
### Delete Integration
```http
DELETE /integrations/bigquery?account_id={account_id}
```
Removes the integration configuration. Data already synced to BigQuery is **not** deleted — you retain full ownership of your BigQuery data.
**Response:** 204 No Content
## Initial Setup
The dataset and tables are created automatically when you create the integration. You can also (re)create the BigQuery dataset and tables explicitly using the stored credentials — useful if the integration was configured but the resources need to be recreated.
```http
POST /integrations/bigquery/setup?account_id={account_id}
```
This endpoint:
1. Creates the dataset if it doesn't exist
2. Creates all tables based on the configured `data_types`
3. Always creates the `sync_metadata` table (for transparency) and the `dim_countries` lookup table
**Response:**
```json
{
"status": "success",
"dataset_ref": "my-analytics-project.sealmetrics",
"tables_created": ["fact_traffic_daily", "fact_conversions", "fact_microconversions", "fact_pages", "fact_landing_pages", "sync_metadata", "dim_countries"],
"location": "EU",
"message": "BigQuery dataset and tables created successfully"
}
```
## Sync Operations
### Trigger Manual Sync
```http
POST /integrations/bigquery/sync?account_id={account_id}
```
Trigger an immediate incremental sync of recent data. The date range is passed as **query parameters** (there is no request body).
| Query Parameter | Type | Description |
| --- | --- | --- |
| `date_from` | date | Start date (default: last sync minus 2 days, or `backfill_days` ago) |
| `date_to` | date | End date (default: today) |
**Response:**
```json
{
"status": "success",
"sync_id": "550e8400-e29b-41d4-a716-446655440000",
"sync_type": "incremental",
"date_from": "2025-01-01",
"date_to": "2025-01-10",
"tables": {
"fact_traffic_daily": {"rows": 12000, "bytes": 3200000},
"fact_conversions": {"rows": 3420, "bytes": 1300000}
},
"total_rows": 15420,
"total_bytes": 4500000,
"duration_seconds": 45.2,
"message": "Synced 15,420 rows to BigQuery"
}
```
### Backfill Historical Data
```http
POST /integrations/bigquery/backfill?account_id={account_id}
```
Sync historical data that may be missing. Backfills are processed in chunks for better progress visibility and resilience; failed chunks are tracked and can be retried.
**Request Body (JSON):**
```json
{
"date_from": "2024-01-01",
"date_to": "2024-12-31",
"chunk_days": 7
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `date_from` | date | Yes | Start date for backfill (cannot be in the future) |
| `date_to` | date | Yes | End date for backfill (cannot be in the future) |
| `chunk_days` | integer | No | Days per chunk (1-30, default 7). Smaller chunks = more progress updates |
Caution
A backfill range cannot exceed **365 days**. For larger historical imports, run multiple backfills. Backfills consume BigQuery quota and may take several minutes.
**Response:**
```json
{
"sync_id": "550e8400-e29b-41d4-a716-446655440001",
"sync_type": "backfill",
"date_from": "2024-01-01",
"date_to": "2024-12-31",
"status": "success",
"tables": {
"fact_traffic_daily": {"rows": 980000, "bytes": 210000000},
"fact_conversions": {"rows": 270000, "bytes": 90000000}
},
"total_rows": 1250000,
"total_bytes": 300000000,
"total_chunks": 52,
"failed_chunks": [],
"duration_seconds": 540.7,
"message": "Backfill completed successfully. 1,250,000 rows synced."
}
```
### Retry Failed Sync
```http
POST /integrations/bigquery/retry/{log_id}?account_id={account_id}
```
Retry a failed sync operation, reusing the date range from the original sync. Only `failed` or `partial` syncs can be retried.
**Response:**
```json
{
"status": "success",
"original_log_id": 123,
"new_sync_id": "550e8400-e29b-41d4-a716-446655440002",
"sync_type": "incremental",
"total_rows": 15420,
"message": "Retry successful. 15,420 rows synced."
}
```
## Sync Logs
### List Sync Logs
```http
GET /integrations/bigquery/logs?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `limit` | integer | `20` | Max results (1-100) |
| `offset` | integer | `0` | Skip N results |
**Response:**
```json
{
"logs": [
{
"id": 123,
"sync_id": "550e8400-e29b-41d4-a716-446655440000",
"sync_type": "incremental",
"sync_started_at": "2025-01-10T03:00:00Z",
"sync_completed_at": "2025-01-10T03:00:45Z",
"date_from": "2025-01-09",
"date_to": "2025-01-09",
"tables_synced": {
"fact_traffic_daily": {"rows": 12000, "bytes": 3200000},
"fact_conversions": {"rows": 3420, "bytes": 1300000}
},
"total_rows_synced": 15420,
"total_bytes_synced": 4500000,
"status": "success",
"error_message": null,
"duration_seconds": 45.2
}
],
"total": 30
}
```
### Sync Status Values
| Status | Description |
| --- | --- |
| `running` | Sync in progress |
| `success` | Sync completed successfully |
| `partial` | Some tables failed |
| `failed` | Sync failed completely |
| `cancelled` | Sync was cancelled |
### Get Sync Log Detail
```http
GET /integrations/bigquery/logs/{log_id}?account_id={account_id}
```
Returns detailed information for a single sync operation, including per-table results and any error message.
## Schema Information
Sealmetrics is a **cookieless, aggregated** analytics platform. The BigQuery export is a **star schema** of pre-aggregated daily (and optionally hourly) facts — there is **no session-, visitor-, or event-level data**. Every fact table is aggregated by `date` and a set of dimensions (UTM, geo, device, channel).
The tables created depend on the integration's `data_types`:
| Table | `data_type` | Description |
| --- | --- | --- |
| `fact_traffic_daily` | `traffic` | Daily traffic with all dimensions (UTM, geo, device, channel) |
| `fact_traffic_hourly` | `traffic_hourly` | Hourly traffic for intraday analysis (opt-in, 90-day TTL) |
| `fact_pages` | `pages` | Page performance metrics |
| `fact_landing_pages` | `landing_pages` | Landing page performance with attribution |
| `fact_conversions` | `conversions` | Conversion events with full attribution (aggregated by day + dimensions) |
| `fact_microconversions` | `microconversions` | Microconversion events (form fills, clicks, etc.) |
| `dim_accounts` | `accounts` | Account metadata for context and JOINs (synced from PostgreSQL) |
| `dim_countries` | — | ISO 3166-1 country code lookup table (always created, static data) |
| `sync_metadata` | — | Sync operation metadata for transparency and auditing (always created) |
All fact tables are partitioned by `date` and clustered (primarily by `account_id`). Every synced row carries `sync_id`, `synced_at`, and `account_id` provenance columns.
### Get Table Schema
```http
GET /integrations/bigquery/schema
```
Returns the schema for all BigQuery tables that Sealmetrics creates. This endpoint does not require an `account_id` — it describes the static star-schema definition.
**Response:**
```json
{
"tables": {
"fact_traffic_daily": {
"description": "Daily traffic with all dimensions (UTM, geo, device, channel)",
"data_type": "traffic",
"schema": [
{"name": "sync_id", "type": "STRING", "mode": "REQUIRED"},
{"name": "synced_at", "type": "TIMESTAMP", "mode": "REQUIRED"},
{"name": "account_id", "type": "STRING", "mode": "REQUIRED"},
{"name": "date", "type": "DATE", "mode": "REQUIRED"},
{"name": "utm_source", "type": "STRING", "mode": "NULLABLE"},
{"name": "utm_medium", "type": "STRING", "mode": "NULLABLE"},
{"name": "utm_campaign", "type": "STRING", "mode": "NULLABLE"},
{"name": "utm_term", "type": "STRING", "mode": "NULLABLE"},
{"name": "utm_content", "type": "STRING", "mode": "NULLABLE"},
{"name": "channel_group", "type": "STRING", "mode": "NULLABLE"},
{"name": "country", "type": "STRING", "mode": "NULLABLE"},
{"name": "device_type", "type": "STRING", "mode": "NULLABLE"},
{"name": "browser", "type": "STRING", "mode": "NULLABLE"},
{"name": "os", "type": "STRING", "mode": "NULLABLE"},
{"name": "day_of_week", "type": "INT64", "mode": "NULLABLE"},
{"name": "entrances", "type": "INT64", "mode": "NULLABLE"},
{"name": "engaged_entrances", "type": "INT64", "mode": "NULLABLE"},
{"name": "page_views", "type": "INT64", "mode": "NULLABLE"},
{"name": "microconversions", "type": "INT64", "mode": "NULLABLE"},
{"name": "conversions", "type": "INT64", "mode": "NULLABLE"},
{"name": "revenue", "type": "NUMERIC", "mode": "NULLABLE"}
],
"partition_field": "date",
"clustering_fields": ["account_id", "utm_source", "country"],
// ... full example at https://sealmetrics.com/docs/api/bigquery/
```
Each table entry includes `description`, `data_type`, the full `schema` (field `name`, `type`, `mode`), `partition_field`, `clustering_fields`, and `partition_expiration_days` (e.g. `90` for `fact_traffic_hourly`).
### Table Fields
#### `fact_traffic_daily` / `fact_traffic_hourly`
Aggregated traffic. `fact_traffic_hourly` adds an `hour` (0-23) column and omits `utm_campaign`/`utm_term`/`utm_content`; it has a 90-day partition expiration.
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the row was synced |
| `account_id` | STRING | Account identifier |
| `date` | DATE | Aggregation day (partition field) |
| `hour` | INT64 | Hour 0-23 (`fact_traffic_hourly` only) |
| `utm_source` / `utm_medium` / `utm_campaign` / `utm_term` / `utm_content` | STRING | UTM dimensions |
| `channel_group` | STRING | Channel grouping |
| `country` | STRING | Country code (ISO) |
| `device_type` / `browser` / `os` | STRING | Device/tech dimensions |
| `day_of_week` | INT64 | ISO day of week (1=Mon, 7=Sun) |
| `entrances` | INT64 | Entrances |
| `engaged_entrances` | INT64 | Engaged entrances |
| `page_views` | INT64 | Page views |
| `microconversions` | INT64 | Microconversions |
| `conversions` | INT64 | Conversions |
| `revenue` | NUMERIC | Revenue |
#### `fact_pages`
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the row was synced |
| `account_id` | STRING | Account identifier |
| `date` | DATE | Aggregation day (partition field) |
| `page_path` | STRING | Page path |
| `content_grouping` | STRING | Content grouping |
| `country` | STRING | Country code (ISO) |
| `channel_group` | STRING | Channel grouping |
| `entrances` | INT64 | Entrances |
| `engaged_entrances` | INT64 | Engaged entrances |
| `page_views` | INT64 | Page views |
#### `fact_landing_pages`
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the row was synced |
| `account_id` | STRING | Account identifier |
| `date` | DATE | Aggregation day (partition field) |
| `landing_page` | STRING | Landing page path |
| `content_grouping` | STRING | Content grouping |
| `utm_source` / `utm_medium` | STRING | UTM dimensions |
| `channel_group` | STRING | Channel grouping |
| `country` | STRING | Country code (ISO) |
| `entrances` | INT64 | Entrances |
| `engaged_entrances` | INT64 | Engaged entrances |
| `microconversions` | INT64 | Microconversions |
| `conversions` | INT64 | Conversions |
| `revenue` | NUMERIC | Revenue |
#### `fact_conversions`
Conversion events aggregated by day and attribution dimensions.
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the row was synced |
| `account_id` | STRING | Account identifier |
| `date` | DATE | Aggregation day (partition field) |
| `conversion_type` | STRING | Conversion type |
| `utm_source` / `utm_medium` / `utm_campaign` / `utm_term` / `utm_content` | STRING | UTM dimensions |
| `channel_group` | STRING | Channel grouping |
| `country` | STRING | Country code (ISO) |
| `device_type` / `browser` / `os` | STRING | Device/tech dimensions |
| `landing_page` | STRING | Landing page path |
| `click_id` | STRING | Click identifier (clid) |
| `count` | INT64 | Number of conversions |
| `amount` | NUMERIC | Per-conversion value |
| `revenue` | NUMERIC | Total revenue |
| `properties` | JSON | Conversion properties |
Custom properties live inside properties, not as columns
Everything your tracking code sends as a custom property on a conversion or microconversion — `transaction_id`, `event_type`, your own UTM copies, order metadata — lands inside the `properties` JSON field. It never becomes a top-level column, which is why a field list of the export shows only the standard dimensions above.
Read individual keys with `JSON_VALUE`:
```sql
JSON_VALUE(properties, '$.transaction_id') AS transaction_id
```
Full query examples: [Custom Conversion Properties](https://sealmetrics.com/docs/platform/settings/integrations/bigquery/#custom-conversion-properties).
#### `fact_microconversions`
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the row was synced |
| `account_id` | STRING | Account identifier |
| `date` | DATE | Aggregation day (partition field) |
| `conversion_type` | STRING | Microconversion type |
| `utm_source` / `utm_medium` / `utm_campaign` | STRING | UTM dimensions |
| `channel_group` | STRING | Channel grouping |
| `country` | STRING | Country code (ISO) |
| `device_type` | STRING | Device type |
| `count` | INT64 | Number of microconversions |
| `properties` | JSON | Event properties |
#### `dim_accounts`
Account metadata (synced from PostgreSQL when the `accounts` data type is enabled).
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the row was synced |
| `account_id` | STRING | Account identifier |
| `account_name` | STRING | Account name |
| `timezone` | STRING | Account timezone |
| `currency` | STRING | Account currency |
| `plan_tier` | STRING | Plan tier |
| `organization_name` | STRING | Organization name |
| `created_at` | TIMESTAMP | Account creation time |
| `is_active` | BOOL | Whether the account is active |
#### `dim_countries`
Static ISO 3166-1 lookup, always created.
| Field | Type | Description |
| --- | --- | --- |
| `country_code` | STRING | ISO 3166-1 country code |
| `country_name` | STRING | Country name |
| `continent` | STRING | Continent |
| `region` | STRING | Region |
#### `sync_metadata`
Per-sync audit record, always created.
| Field | Type | Description |
| --- | --- | --- |
| `sync_id` | STRING | Sync operation identifier |
| `synced_at` | TIMESTAMP | When the sync ran |
| `sync_type` | STRING | `incremental` or `backfill` |
| `date_from` | DATE | Start of synced range |
| `date_to` | DATE | End of synced range |
| `tables_synced` | STRING (REPEATED) | Tables included in the sync |
| `total_rows` | INT64 | Total rows synced |
| `duration_seconds` | FLOAT64 | Sync duration |
| `sealmetrics_version` | STRING | Sealmetrics export version |
## Required Permissions
The service account needs these BigQuery permissions:
| Permission | Purpose |
| --- | --- |
| `bigquery.datasets.create` | Create dataset (if needed) |
| `bigquery.datasets.get` | Read dataset metadata |
| `bigquery.tables.create` | Create tables |
| `bigquery.tables.get` | Read table metadata |
| `bigquery.tables.updateData` | Insert data |
| `bigquery.jobs.create` | Run load jobs |
**Recommended Role:** `roles/bigquery.dataEditor` on the dataset.
## Code Examples
### Python - Setup and Sync
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
ACCOUNT_ID = "my-account"
def setup_bigquery(gcp_project_id, dataset_id, credentials_path):
"""Configure BigQuery integration (multipart file upload)."""
# Configuration goes in query params; the service account JSON is uploaded
# as a multipart file. The dataset and tables are created automatically.
with open(credentials_path, "rb") as f:
response = requests.post(
f"{BASE_URL}/integrations/bigquery",
headers={"X-API-Key": API_KEY},
params={
"account_id": ACCOUNT_ID,
"gcp_project_id": gcp_project_id,
"dataset_id": dataset_id,
"location": "EU",
"sync_frequency": "daily",
"data_types": ["traffic", "conversions", "microconversions",
"pages", "landing_pages"],
"backfill_days": 30,
},
files={"service_account_file": ("service-account.json", f, "application/json")},
)
response.raise_for_status()
return response.json()
// ... full example at https://sealmetrics.com/docs/api/bigquery/
```
### JavaScript - Monitor Sync
```javascript
async function monitorSync(syncId) {
const checkStatus = async () => {
const response = await fetch(
`${BASE_URL}/integrations/bigquery/logs?account_id=${ACCOUNT_ID}`,
{
headers: { 'X-API-Key': API_KEY }
}
);
const { logs } = await response.json();
const log = logs.find(l => l.sync_id === syncId);
return log?.status || 'not_found';
};
let status = await checkStatus();
while (status === 'running') {
await new Promise(r => setTimeout(r, 5000)); // Wait 5s
status = await checkStatus();
console.log(`Sync status: ${status}`);
}
return status;
}
```
## Error Codes
| HTTP Code | Error | Description |
| --- | --- | --- |
| 400 | `invalid_credentials` | Service account JSON is malformed |
| 401 | `authentication_failed` | Credentials rejected by Google |
| 403 | `insufficient_permissions` | Missing required BigQuery permissions |
| 404 | `integration_not_found` | No BigQuery integration configured |
| 409 | `sync_in_progress` | Another sync is already running |
| 429 | `quota_exceeded` | BigQuery API quota exceeded |
## Best Practices
### 1. Use Dedicated Service Account
Create a service account specifically for Sealmetrics:
```bash
gcloud iam service-accounts create sealmetrics-sync \
--display-name="Sealmetrics BigQuery Sync"
```
### 2. Limit Dataset Permissions
Grant permissions only on the specific dataset:
```bash
bq add-iam-policy-binding \
--member="serviceAccount:sealmetrics-sync@project.iam.gserviceaccount.com" \
--role="roles/bigquery.dataEditor" \
project:sealmetrics
```
### 3. Choose the Right Sync Frequency
Set `sync_frequency` to `daily` (default) for most use cases, `hourly` for near-real-time intraday analysis, or `manual` to trigger syncs only on demand via the sync endpoint.
### 4. Keep Data in the EU for GDPR
Use the default `location` of `EU` (or `europe-west1`) to keep your aggregated analytics data within the EU.
### 5. Monitor Sync Logs
Regularly check sync logs for failures and watch for the `failed` or `partial` status.
## Channel Groups
URL: https://sealmetrics.com/docs/api/channel-groups/
Manage GA4-style channel classification rules that match utm_source, medium, and campaign via regex with priority ordering
Manage the rules that classify traffic into channels (GA4-style channel grouping). Each rule matches against `utm_source`, `utm_medium`, and `utm_campaign` via regex; the rule with the highest priority that matches wins.
**Base path:** `/channel-groups`
## Scopes
Reads need `read` (dashboard session) or `sites:read` (API key). Mutations need `write` (dashboard session, editor or higher) or one of the two channel-rule scopes on an API key:
| Scope | Can do |
| --- | --- |
| `channel_rules:write` | Create **drafts**, edit and delete **drafts**. Nothing on live rules |
| `channel_rules:publish` | All of the above plus creating live rules and activating, editing or deleting live ones. Implies `channel_rules:write` |
**The draft-only restriction is enforced server-side**, so a client cannot work around it:
- `POST` with `is_active: true` on a `channel_rules:write` key stores a **draft** anyway. The `201` response carries `draft_forced: true` and `draft_forced_reason`.
- `PATCH` with `is_active: true` → `403 Required scope: channel_rules:publish (activating a rule)`. The rule is not touched.
- `PATCH` or `DELETE` on a **live** rule → `403 Required scope: channel_rules:publish (rule is live)`.
- `POST /channel-groups/import` runs as `scope=drafts` whatever the query says. The response reports the effective `scope` and `draft_forced_reason`, on a dry run too.
Live rules apply to **new traffic** within ~5 minutes and never reclassify history; there is no review step. Test each combination with `POST /channel-groups/test` before publishing. Every mutation is recorded in **Settings → Audit Logs**.
How to create a key with these scopes: [Channel Grouping → the API key the write tools need](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping/#the-api-key-the-write-tools-need).
## List Rules
```http
GET /channel-groups?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `include_inactive` | boolean | `false` | Include inactive rules |
| `include_defaults` | boolean | `true` | Include system-default rules |
**Response:**
```json
{
"success": true,
"data": {
"rules": [
{
"id": 12,
"account_id": "acme",
"channel_name": "Paid Search",
"source_pattern": "google|bing",
"medium_pattern": "cpc|ppc|paid",
"campaign_pattern": null,
"priority": 100,
"is_default": false,
"is_active": true,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
],
"total": 18,
"default_count": 12,
"custom_count": 6
}
}
```
Default rules have `account_id = null` and `is_default = true`. They cannot be modified or deleted, only overridden via higher-priority custom rules.
## Create Rule
```http
POST /channel-groups?account_id={account_id}
```
**Required scope:** `write` (session, editor or higher) or `channel_rules:write` / `channel_rules:publish` (API key — see Scopes)
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `channel_name` | string | Yes | Channel name (1-50 chars, e.g. `"Paid Social"`) |
| `source_pattern` | string | No | Regex against `utm_source` (max 255). Null matches any |
| `medium_pattern` | string | No | Regex against `utm_medium` (max 255). Null matches any |
| `campaign_pattern` | string | No | Regex against `utm_campaign` (max 255). Null matches any |
| `priority` | integer | No | Evaluation priority 0-1000 (default `50`). Higher wins |
| `is_active` | boolean | No | Default `true` |
**Response (201 Created):** full rule object (same shape as list response items).
## Get Rule
```http
GET /channel-groups/{rule_id}?account_id={account_id}
```
Returns the rule or `404` if not found.
## Update Rule
```http
PATCH /channel-groups/{rule_id}?account_id={account_id}
```
**Required scope:** `write` (session) or `channel_rules:write` / `channel_rules:publish` (API key — see Scopes)
All fields from create are optional. Default (system) rules cannot be modified — attempting returns `403`.
## Delete Rule
```http
DELETE /channel-groups/{rule_id}?account_id={account_id}
```
**Required scope:** `write` (session) or `channel_rules:write` / `channel_rules:publish` (API key — see Scopes). Default rules cannot be deleted (`403`). Returns `204 No Content`.
### Draft-only guard (for MCP / automation)
Both `PATCH` and `DELETE` accept `only_if_inactive=true` as a query parameter. When set, the mutation is applied **atomically** only if the rule is a draft (`is_active = false`). If the rule has gone live between your read and your write, the endpoint returns `409 Conflict` with `error.code = "rule_is_live"`. This is what the MCP `update_channel_rule` / `delete_channel_rule` tools use to guarantee they never touch a live rule.
The dashboard omits this flag so live rules remain editable there.
## Export Rules
```http
GET /channel-groups/export?account_id={account_id}
```
Returns the account's custom rules **and** the current active defaults in a versioned JSON envelope suitable for import back into another site or for external storage.
**Response:**
```json
{
"success": true,
"data": {
"version": 1,
"rules": [
{
"channel_name": "Paid Social — Meta",
"source_pattern": "^(facebook|instagram|fb|ig)$",
"medium_pattern": "^(cpc|paid)$",
"campaign_pattern": null,
"priority": 110,
"is_active": true
}
],
"default_rules": [ /* read-only, cannot be imported */ ]
}
}
```
Only the entries in `rules` are importable. `default_rules` are surfaced for reference and to allow tooling to compute an "override" set.
## Import Rules
```http
POST /channel-groups/import?account_id={account_id}&dry_run={bool}&scope={all|drafts}
```
**Required scope:** `write` (session) or `channel_rules:write` / `channel_rules:publish` (API key — see Scopes).
Atomic replace-all import of custom rules. Body carries the same envelope as the export.
| Query parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `dry_run` | boolean | `false` | Validate and report per-rule errors without writing |
| `scope` | string | `all` | `all` = replace every custom rule; `drafts` = replace only drafts (live rules kept intact) and force incoming rules to `is_active=false` (MCP draft-only invariant) |
Rules:
- **All-or-nothing.** Any invalid row → `422` with a per-row report; no partial writes.
- **Replace-all semantics.** A successful `scope=all` import **removes** any custom rule not present in the payload. Passing `rules: []` returns the site to defaults-only.
- Limits: **100 custom rules per account** (drafts included), body **≤ 256 KB**.
- Regex validated in **RE2** (`google-re2`) — the same engine the pixel uses. Lookaheads / lookbehinds / backrefs are rejected at import time, so a rule that passes here matches identically in production.
**Response (dry-run):**
```json
{
"success": true,
"data": {
"dry_run": true,
"would_insert": 5,
"would_delete": 2,
"errors": []
}
}
```
**Response (real import):**
```json
{
"success": true,
"data": {
"inserted": 5,
"deleted": 2,
"total_after": 5
}
}
```
## Test a Visit (rule tester)
```http
POST /channel-groups/test?account_id={account_id}
```
Classifies a hypothetical visit using the **exact same matching engine as the pixel** (same RE2 library, same custom-before-default ordering). This is what powers the "Test a visit" panel in Site settings → Channels.
**Request Body:**
```json
{
"source": "google",
"medium": "cpc",
"campaign": "brand-summer",
"include_inactive": true
}
```
| Field | Type | Description |
| --- | --- | --- |
| `source` | string | Value to test against `utm_source` (case-insensitive) |
| `medium` | string | Value to test against `utm_medium` |
| `campaign` | string | Value to test against `utm_campaign` |
| `include_inactive` | boolean | If `true`, drafts are also evaluated (default `false`, i.e. only what the pixel is running today) |
**Response:**
```json
{
"success": true,
"data": {
"channel": "Paid Search Brand",
"matched_rule": {
"id": 42,
"channel_name": "Paid Search Brand",
"source_pattern": "^(google|bing)$",
"medium_pattern": "^cpc$",
"campaign_pattern": "brand",
"priority": 110,
"is_active": true,
"is_default": false
}
}
}
```
If nothing matches, `channel` is `"Unassigned"` and `matched_rule` is `null`.
## Helper: my IP
Not on the channel-groups router, but paired with this feature set for the "Add my current IP" shortcut in Site settings → IP Exclusions:
```http
GET /utils/my-ip
```
Echoes the caller's public IP, resolved through the trusted-proxy chain. Used by the dashboard's "Add my current IP" button.
```json
{ "success": true, "data": { "ip": "203.0.113.7" } }
```
## Get Channel Metrics
```http
GET /channel-groups/stats/channels?account_id={account_id}
```
Traffic metrics rolled up by the channels resolved through the current rule set.
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `start_date` / `end_date` | date | - | Local dates in account timezone |
| `period` | string | - | Period shortcut (overrides explicit dates). Default `30d` when nothing provided |
| `country` | string | - | Filter by country (ISO 2-letter) |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-100) |
**Response:**
```json
{
"success": true,
"data": {
"channels": [
{
"channel": "Organic Search",
"entrances": 25000,
"engaged_entrances": 20000,
"bounces": 5000,
"bounce_rate": 20.0,
"page_views": 75000,
"microconversions": 3400,
"conversions": 350,
"conversion_rate": 1.4,
"revenue": 28000.00
}
],
"total": 8
}
}
```
This is similar to [`GET /stats/channels`](https://sealmetrics.com/docs/api/stats-advanced/#channel-groups) but limited to the current rule set's channels and without comparison/sort options.
## Referrer Mappings API
URL: https://sealmetrics.com/docs/api/referrer-mappings/
Map referrer domains to UTM values so untagged partner and vendor traffic is attributed correctly, with priority-ordered matching rules
Map incoming referrer domains to UTM values. The idea: when a visit lacks UTM parameters but arrives from a recognized referrer, the matching rule's UTMs would be applied — useful for partner traffic, vendor portals, and external platforms that don't tag links.
**Base path:** `/referrer-mappings`
Default scope: `read`. Mutations require `write` (editor or higher).
Not yet applied at ingest
The CRUD endpoints on this router work — you can create, list, update and delete mappings and they are stored per-account. **However, the pixel-service does not yet read this table at ingest time.** Mappings you save today have no effect on the classification of incoming traffic. This is a documented gap (silent no-op) tracked for a future PRD.
Until the pixel is wired to consume this table, treat these endpoints as configuration storage only. For traffic that needs to be re-attributed today, use [Channel Grouping rules](https://sealmetrics.com/docs/api/channel-groups.md) (fully wired at ingest) or [UTM Mapping](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping.md) for custom URL parameters.
## List Mappings
```http
GET /referrer-mappings?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `include_inactive` | boolean | `false` | Include inactive mappings |
**Response:**
```json
{
"success": true,
"data": {
"mappings": [
{
"id": 7,
"account_id": "acme",
"referrer_pattern": "partner-site.com",
"match_type": "exact",
"utm_source": "partner-site",
"utm_medium": "referral",
"utm_campaign": "",
"utm_term": "",
"utm_content": "",
"label": "Partner Site Traffic",
"description": null,
"priority": 100,
"is_active": true,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
],
"total": 12,
"active_count": 11
}
}
```
## Create Mapping
```http
POST /referrer-mappings?account_id={account_id}
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `referrer_pattern` | string | Yes | Pattern to match against referrer domain (1-255 chars). Protocol is stripped, comparison is lowercase |
| `match_type` | enum | No | `exact` (default), `contains`, `starts_with`, `ends_with`, `regex` |
| `utm_source` | string | Yes | UTM source to apply (1-255 chars) |
| `utm_medium` | string | No | Default `"referral"` (max 100) |
| `utm_campaign` | string | No | Default `""` (max 255) |
| `utm_term` | string | No | Default `""` (max 255) |
| `utm_content` | string | No | Default `""` (max 255) |
| `label` | string | No | Human-readable label (max 100) |
| `description` | string | No | Optional description (max 500) |
| `priority` | integer | No | Higher priority is checked first (0-1000, default `0`) |
| `is_active` | boolean | No | Default `true` |
**Response (201 Created):** full mapping object. Returns `409` if a mapping with the same pattern already exists.
## Get Mapping
```http
GET /referrer-mappings/{mapping_id}?account_id={account_id}
```
Returns the mapping or `404` if not found.
## Update Mapping
```http
PATCH /referrer-mappings/{mapping_id}?account_id={account_id}
```
**Required scope:** `write`
All fields from create are optional. Returns `409` if the new pattern would conflict with another mapping.
## Delete Mapping
```http
DELETE /referrer-mappings/{mapping_id}?account_id={account_id}
```
**Required scope:** `write`. Returns `204 No Content`.
## Passthrough Referrers API
URL: https://sealmetrics.com/docs/api/passthrough-referrers/
Register booking engines, payment gateways, and other domains that preserve session attribution instead of creating a new referral
Register external domains (booking engines, payment processors, sandboxed iframes) that should **preserve the visitor's session attribution** instead of becoming a new referral. When the tracker sees a passthrough referrer, it keeps the existing UTMs; if no session exists, it falls back to the UTMs declared on the rule.
**Base path:** `/passthrough-referrers`
Default scope: `read`. Mutations require `write` (editor or higher).
## List Passthrough Referrers
```http
GET /passthrough-referrers?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `include_inactive` | boolean | `false` | Include inactive referrers |
**Response:**
```json
{
"success": true,
"data": {
"referrers": [
{
"id": 4,
"account_id": "acme",
"domain": "booking.mirai.com",
"utm_source": "mirai",
"utm_medium": "passthrough",
"utm_campaign": "",
"utm_term": "",
"service_name": "Mirai Booking Engine",
"is_active": true,
"created_at": "2025-01-05T10:00:00Z",
"updated_at": "2025-01-05T10:00:00Z"
}
],
"total": 3,
"active_count": 3
}
}
```
## Create Passthrough Referrer
```http
POST /passthrough-referrers?account_id={account_id}
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | Yes | Domain (1-255 chars, e.g. `"booking.mirai.com"`). Protocol is stripped; must match a domain regex |
| `utm_source` | string | Yes | Fallback UTM source when no session exists (1-255 chars) |
| `utm_medium` | string | No | Default `"passthrough"` (max 100) |
| `utm_campaign` | string | No | Default `""` (max 255) |
| `utm_term` | string | No | Default `""` (max 255) |
| `service_name` | string | No | Friendly name (max 100, e.g. `"Mirai Booking Engine"`) |
| `is_active` | boolean | No | Default `true` |
**Response (201 Created):** full referrer object. Returns `409` if the domain already exists.
## Get Passthrough Referrer
```http
GET /passthrough-referrers/{referrer_id}?account_id={account_id}
```
Returns the referrer or `404` if not found.
## Update Passthrough Referrer
```http
PATCH /passthrough-referrers/{referrer_id}?account_id={account_id}
```
**Required scope:** `write`
All fields from create are optional. Returns `409` if the new domain would conflict with another referrer.
## Delete Passthrough Referrer
```http
DELETE /passthrough-referrers/{referrer_id}?account_id={account_id}
```
**Required scope:** `write`. Returns `204 No Content`.
## IP Blocklist
URL: https://sealmetrics.com/docs/api/blocklist-ips/
Block individual IPs or CIDR ranges from tracking to exclude internal traffic, known bots, competitors, or test infrastructure
Block individual IPs or CIDR ranges from tracking. Useful for excluding internal traffic, known bots, competitor monitoring, or test infrastructure.
**Base path:** `/blocklist-ips`
Default scope: `read`. Mutations require `write` (editor or higher).
Allowlist vs Blocklist
This endpoint **blocks** traffic. To **restrict dashboard access** by IP, see the [IP Allowlist API](https://sealmetrics.com/docs/api/ip-allowlist.md).
## List Blocklist Entries
```http
GET /blocklist-ips?account_id={account_id}
```
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `account_id` | string | required | Account ID |
| `include_inactive` | boolean | `false` | Include inactive entries |
**Response:**
```json
{
"success": true,
"data": {
"entries": [
{
"id": 1,
"account_id": "acme",
"ip_or_cidr": "10.0.0.0/8",
"reason": "internal office network",
"is_active": true,
"created_at": "2025-01-05T10:00:00Z"
},
{
"id": 2,
"account_id": "acme",
"ip_or_cidr": "203.0.113.42",
"reason": "competitor monitoring",
"is_active": true,
"created_at": "2025-02-10T08:15:00Z"
}
],
"total": 2,
"active_count": 2
}
}
```
## Create Blocklist Entry
```http
POST /blocklist-ips?account_id={account_id}
```
**Required scope:** `write`
**Request Body:**
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `ip_or_cidr` | string | Yes | IP address or CIDR range (1-50 chars). Validated with Python `ipaddress` — both IPv4 and IPv6 supported (e.g. `"192.168.1.100"`, `"10.0.0.0/8"`) |
| `reason` | string | No | Why this is blocked (max 255, default `""`) |
| `is_active` | boolean | No | Default `true` |
**Response (201 Created):** full entry object. Returns `400` if the IP/CIDR is malformed, `409` if the entry already exists.
## Get Blocklist Entry
```http
GET /blocklist-ips/{entry_id}?account_id={account_id}
```
Returns the entry or `404` if not found.
## Update Blocklist Entry
```http
PATCH /blocklist-ips/{entry_id}?account_id={account_id}
```
**Required scope:** `write`
All fields from create are optional. Returns `409` if the new IP/CIDR would conflict with another entry.
## Delete Blocklist Entry
```http
DELETE /blocklist-ips/{entry_id}?account_id={account_id}
```
**Required scope:** `write`. Returns `204 No Content`.
## Limits and behavior
- **Maximum 100 entries per site.** Enforced by the API: creating the 101st entry returns `422 max_entries_reached`. If you need more, prefer CIDR ranges over individual IPs (a `/24` covers a full office subnet in one entry).
- **IPv4 and IPv6 both supported**, including CIDR ranges. The pixel matches on exact IP and on CIDR containment.
- **Propagation delay: ~5 minutes.** The pixel refreshes its per-site cache every ~5 min, so a new entry or an `is_active` toggle takes effect on future traffic within that window.
- **Discarded, not tagged.** Traffic from a blocked IP is dropped at the pixel with `204 No Content` — nothing is stored, and blocked hits are not visible anywhere in reports. There is no "internal traffic" segment; the traffic simply doesn't exist as far as your analytics are concerned.
- **Not retroactive.** Removing an entry does not restore historical data from that IP. The block only applies to future traffic.
- **Sealmetrics doesn't store visitor IPs.** The pixel checks the incoming IP in memory against a public list of automated-traffic IPs and against this blocklist, to decide whether to accept the hit, and doesn't keep it.
For the user-facing walkthrough (with worked examples, the "Add my current IP" shortcut, and the difference vs the IP Allowlist), see [IP Exclusions](https://sealmetrics.com/docs/platform/settings/tracking/ip-exclusions.md).
## IP Allowlist API
URL: https://sealmetrics.com/docs/api/ip-allowlist/
Restrict API and dashboard access to allowed IPs or CIDR ranges, with bulk import/export and audit logging (Enterprise plans)
Restrict access to your Sealmetrics account by whitelisting specific IP addresses or CIDR ranges.
## Overview
IP Allowlist provides:
- Access control for API requests
- Optional dashboard login restrictions
- Support for individual IPs and CIDR ranges
- Bulk import/export of patterns
- Audit logging of access attempts
**Base path:** `/ip-allowlist`
Enterprise Feature
IP Allowlist is available on Enterprise plans only.
## How It Works
When enabled:
1. Every API request is checked against the allowlist
2. Requests from non-allowed IPs receive `403 Forbidden`
3. Dashboard logins can optionally be restricted
4. All access attempts are logged for audit
## Settings
### Get Settings
```http
GET /ip-allowlist/settings?account_id={account_id}
```
**Response:**
```json
{
"data": {
"account_id": "my-site",
"is_enabled": true,
"enforce_for_api_tokens": true,
"enforce_for_dashboard": false,
"active_patterns_count": 5,
"created_at": "2025-01-01T10:00:00Z",
"updated_at": "2025-01-10T14:30:00Z"
}
}
```
| Field | Description |
| --- | --- |
| `is_enabled` | Allowlist is active |
| `enforce_for_api_tokens` | Check IPs for API token authentication |
| `enforce_for_dashboard` | Check IPs for dashboard/JWT login |
| `active_patterns_count` | Number of active patterns |
### Update Settings
```http
PUT /ip-allowlist/settings?account_id={account_id}
```
**Request Body:**
```json
{
"is_enabled": true,
"enforce_for_api_tokens": true,
"enforce_for_dashboard": true
}
```
**Response:**
```json
{
"data": {
"account_id": "my-site",
"is_enabled": true,
"enforce_for_api_tokens": true,
"enforce_for_dashboard": true,
"active_patterns_count": 5,
"created_at": "2025-01-01T10:00:00Z",
"updated_at": "2025-01-10T14:30:00Z"
}
}
```
Warning
Enabling `enforce_for_dashboard` without adding your current IP will lock you out. Always test with `enforce_for_api_tokens` first.
## IP Patterns
### List Patterns
```http
GET /ip-allowlist/patterns?account_id={account_id}
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `include_inactive` | boolean | `false` | Include inactive patterns |
**Response:**
```json
{
"data": {
"patterns": [
{
"id": 1,
"pattern": "203.0.113.0/24",
"pattern_type": "cidr",
"label": "Office network",
"description": "Office network",
"is_active": true,
"created_by": 42,
"created_at": "2025-01-01T10:00:00Z",
"updated_at": "2025-01-10T14:30:00Z"
},
{
"id": 2,
"pattern": "198.51.100.50",
"pattern_type": "ip",
"label": "CI/CD server",
"description": "CI/CD server",
"is_active": true,
"created_by": 42,
"created_at": "2025-01-05T09:00:00Z",
"updated_at": "2025-01-05T09:00:00Z"
}
],
"total": 5,
"active_count": 4
}
}
```
### Add Pattern
```http
POST /ip-allowlist/patterns?account_id={account_id}
```
**Request Body:**
```json
{
"pattern": "203.0.113.0/24",
"pattern_type": "cidr",
"label": "Office network",
"description": "Office network",
"is_active": true
}
```
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `pattern` | string | Yes | IP address, CIDR range, or regex pattern |
| `pattern_type` | enum | No | Pattern type: `ip`, `cidr`, or `regex` (default: `ip`) |
| `label` | string | No | Human-readable label (e.g. `Office Network`) |
| `description` | string | No | Optional description |
| `is_active` | boolean | No | Enable pattern (default: true) |
**Supported Pattern Types:**
| Type | Example | Description |
| --- | --- | --- |
| `ip` | `192.168.1.100` or `2001:db8::1` | Exact IPv4 or IPv6 address |
| `cidr` | `192.168.1.0/24` or `2001:db8::/32` | IPv4 or IPv6 CIDR range |
| `regex` | `^192\.168\..*` | Regular expression matched against the client IP |
**Response (201 Created):**
```json
{
"data": {
"id": 3,
"pattern": "203.0.113.0/24",
"pattern_type": "cidr",
"label": "Office network",
"description": "Office network",
"is_active": true,
"created_by": 42,
"created_at": "2025-01-10T15:00:00Z",
"updated_at": "2025-01-10T15:00:00Z"
}
}
```
### Update Pattern
```http
PATCH /ip-allowlist/patterns/{pattern_id}?account_id={account_id}
```
**Request Body:**
```json
{
"description": "Main office network",
"is_active": true
}
```
### Delete Pattern
```http
DELETE /ip-allowlist/patterns/{pattern_id}?account_id={account_id}
```
**Response:** 204 No Content
## Bulk Operations
### Add Multiple Patterns
```http
POST /ip-allowlist/patterns/bulk?account_id={account_id}
```
**Request Body:**
```json
{
"patterns": [
{"pattern": "203.0.113.0/24", "description": "Office A"},
{"pattern": "198.51.100.0/24", "description": "Office B"},
{"pattern": "192.0.2.50", "description": "VPN endpoint"}
]
}
```
**Response:**
```json
{
"data": {
"created": 3,
"skipped": 0,
"errors": [],
"patterns": [
{"id": 4, "pattern": "203.0.113.0/24"},
{"id": 5, "pattern": "198.51.100.0/24"},
{"id": 6, "pattern": "192.0.2.50"}
]
}
}
```
### Delete Multiple Patterns
```http
POST /ip-allowlist/patterns/bulk-delete?account_id={account_id}
```
**Request Body:**
```json
{
"pattern_ids": [4, 5, 6]
}
```
**Response:**
```json
{
"data": {
"deleted": 3,
"message": "Patterns deleted successfully"
}
}
```
## Import/Export
### Export Patterns
```http
GET /ip-allowlist/export?account_id={account_id}
```
Export all patterns as JSON for backup or transfer.
**Response:**
```json
{
"data": {
"exported_at": "2025-01-10T15:00:00Z",
"account_id": "my-site",
"active_patterns_count": 5,
"patterns": [
{"pattern": "203.0.113.0/24", "description": "Office A", "is_active": true},
{"pattern": "198.51.100.0/24", "description": "Office B", "is_active": true},
{"pattern": "192.0.2.50", "description": "VPN", "is_active": true}
]
}
}
```
### Import Patterns
```http
POST /ip-allowlist/import?account_id={account_id}
```
Import patterns from a previous export.
**Request Body:**
```json
{
"patterns": [
{"pattern": "203.0.113.0/24", "description": "Office A", "is_active": true},
{"pattern": "198.51.100.0/24", "description": "Office B", "is_active": true}
],
"mode": "merge"
}
```
| Field | Type | Description |
| --- | --- | --- |
| `patterns` | array | Patterns to import |
| `mode` | enum | `merge` (add new) or `replace` (delete existing first) |
**Response:**
```json
{
"data": {
"imported": 2,
"skipped": 0,
"errors": [],
"mode": "merge"
}
}
```
## Validation
### Check IP Address
```http
POST /ip-allowlist/check?account_id={account_id}
```
Test if an IP would be allowed.
**Request Body:**
```json
{
"ip_address": "203.0.113.50"
}
```
**Response:**
```json
{
"data": {
"ip_address": "203.0.113.50",
"allowed": true,
"matched_pattern": {
"id": 1,
"pattern": "203.0.113.0/24",
"description": "Office network"
}
}
}
```
**Response (not allowed):**
```json
{
"data": {
"ip_address": "198.51.100.99",
"allowed": false,
"matched_pattern": null
}
}
```
### Check Current IP
```http
GET /ip-allowlist/check-current?account_id={account_id}
```
Check if your current IP is allowed.
**Response:**
```json
{
"data": {
"your_ip": "203.0.113.50",
"allowed": true,
"matched_pattern": {
"id": 1,
"pattern": "203.0.113.0/24",
"description": "Office network"
},
"warning": null
}
}
```
Tip
Always use `/check-current` before enabling `enforce_for_dashboard` to ensure you won't be locked out.
## Audit Log
### Get Audit Log
```http
GET /ip-allowlist/audit?account_id={account_id}
```
View access attempts and configuration changes.
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page |
| `event_type` | enum | - | Filter: `access_denied`, `access_granted`, `config_changed` |
| `date_from` | date | - | Start date (YYYY-MM-DD) |
| `date_to` | date | - | End date (YYYY-MM-DD) |
**Response:**
```json
{
"data": {
"events": [
{
"id": 1234,
"event_type": "access_denied",
"ip_address": "198.51.100.99",
"user_agent": "Python/3.9 requests/2.28.0",
"endpoint": "/api/v1/stats/overview",
"timestamp": "2025-01-10T14:35:00Z"
},
{
"id": 1233,
"event_type": "config_changed",
"action": "pattern_added",
"details": {"pattern": "203.0.113.0/24"},
"user_email": "admin@company.com",
"ip_address": "203.0.113.50",
"timestamp": "2025-01-10T14:30:00Z"
}
],
"total": 156,
"page": 1,
"page_size": 50
}
}
```
### Event Types
| Type | Description |
| --- | --- |
| `access_granted` | Request from allowed IP |
| `access_denied` | Request from non-allowed IP |
| `config_changed` | Settings or patterns modified |
## Code Examples
### Python - Setup Allowlist
```python
import requests
API_KEY = "sm_your_api_key"
BASE_URL = "https://my.sealmetrics.com/api/v1"
ACCOUNT_ID = "my-site"
def setup_ip_allowlist(office_ips, vpn_ips):
"""Configure IP allowlist with office and VPN IPs."""
# First, check current IP is in the list
current_response = requests.get(
f"{BASE_URL}/ip-allowlist/check-current",
headers={"X-API-Key": API_KEY},
params={"account_id": ACCOUNT_ID}
)
current_ip = current_response.json()["data"]["your_ip"]
# Build patterns list
patterns = []
for ip in office_ips:
patterns.append({"pattern": ip, "description": "Office"})
for ip in vpn_ips:
patterns.append({"pattern": ip, "description": "VPN"})
# Add current IP if not covered
if not current_response.json()["data"]["allowed"]:
patterns.append({"pattern": current_ip, "description": "Admin IP"})
// ... full example at https://sealmetrics.com/docs/api/ip-allowlist/
```
### JavaScript - Monitor Denied Access
```javascript
async function getRecentDeniedAccess(hours = 24) {
const dateFrom = new Date(Date.now() - hours * 60 * 60 * 1000)
.toISOString()
.split('T')[0];
const response = await fetch(
`${BASE_URL}/ip-allowlist/audit?account_id=${ACCOUNT_ID}&event_type=access_denied&date_from=${dateFrom}`,
{
headers: { 'X-API-Key': API_KEY }
}
);
const { data } = await response.json();
// Group by IP
const byIp = {};
for (const event of data.events) {
byIp[event.ip_address] = (byIp[event.ip_address] || 0) + 1;
}
console.log('Denied access attempts by IP:');
for (const [ip, count] of Object.entries(byIp)) {
console.log(` ${ip}: ${count} attempts`);
}
return byIp;
}
```
### Backup and Restore
```python
import json
def backup_allowlist(output_file):
"""Export allowlist to file."""
response = requests.get(
f"{BASE_URL}/ip-allowlist/export",
headers={"X-API-Key": API_KEY},
params={"account_id": ACCOUNT_ID}
)
with open(output_file, "w") as f:
json.dump(response.json()["data"], f, indent=2)
print(f"Exported {response.json()['data']['active_patterns_count']} patterns")
def restore_allowlist(input_file, mode="merge"):
"""Import allowlist from file."""
with open(input_file) as f:
data = json.load(f)
response = requests.post(
f"{BASE_URL}/ip-allowlist/import",
headers={"X-API-Key": API_KEY},
params={"account_id": ACCOUNT_ID},
json={
"patterns": data["patterns"],
"mode": mode
}
)
// ... full example at https://sealmetrics.com/docs/api/ip-allowlist/
```
## Error Codes
| HTTP Code | Error | Description |
| --- | --- | --- |
| 400 | `invalid_pattern` | IP or CIDR format is invalid |
| 400 | `duplicate_pattern` | Pattern already exists |
| 403 | `ip_not_allowed` | Your IP is not in the allowlist |
| 404 | `pattern_not_found` | Pattern ID not found |
| 409 | `would_lock_out` | Operation would lock out all users |
## Best Practices
### 1. Start with API Only
Enable `enforce_for_api_tokens` first, test thoroughly, then enable `enforce_for_dashboard`.
### 2. Always Include Your IP
Before enabling, verify your current IP is covered:
```bash
curl "https://my.sealmetrics.com/api/v1/ip-allowlist/check-current?account_id=my-site" \
-H "X-API-Key: sm_your_api_key"
```
### 3. Use CIDR for Office Networks
Instead of individual IPs, use CIDR ranges for office networks:
```plaintext
# Bad: Individual IPs
192.168.1.1
192.168.1.2
192.168.1.3
# Good: CIDR range
192.168.1.0/24
```
### 4. Monitor the Audit Log
Regularly review `access_denied` events to detect unauthorized access attempts or legitimate users being blocked.
### 5. Document Your Patterns
Use the `description` field to document what each pattern is for:
```json
{
"pattern": "203.0.113.0/24",
"description": "NYC Office - Floor 3-5 - Added Jan 2025"
}
```
## Audit Logs API
URL: https://sealmetrics.com/docs/api/audit/
Query the audit trail of mutating actions across your organization, filterable by action type, resource, author, and date range
Query the audit trail of mutating actions across your organization. Superadmins see every entry; regular users see only entries authored by members of organizations they belong to.
**Base path:** `/audit`
Required scope: `read`.
## List Audit Logs
```http
GET /audit/logs
```
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `action` | string | - | Filter by action type (e.g. `segment.create`, `user.deactivate`) |
| `resource_type` | string | - | Filter by resource type (e.g. `segment`, `user`, `site`) |
| `user_id` | integer | - | Filter by author |
| `from_date` | datetime | - | Lower bound (ISO 8601) |
| `to_date` | datetime | - | Upper bound (ISO 8601) |
| `page` | integer | `1` | Page number |
| `page_size` | integer | `50` | Items per page (1-100) |
**Response:**
```json
{
"success": true,
"data": {
"logs": [
{
"id": 12041,
"user_id": 7,
"user_email": "alice@acme.com",
"user_name": "Alice",
"action": "segment.create",
"resource_type": "segment",
"resource_id": "seg_abc123",
"account_id": "acme",
"details": {
"segment_name": "paid-spain",
"filter_count": 2
},
"ip_address": "203.0.113.42",
"created_at": "2025-01-08T14:23:00Z"
}
],
"total": 1248,
"page": 1,
"page_size": 50,
"total_pages": 25
}
}
```
`details` is a free-form object whose shape depends on the action type — treat it as opaque JSON when consuming.
## Auth Advanced
URL: https://sealmetrics.com/docs/api/auth-advanced/
Session management, password reset, and two-factor authentication reference — list active sessions and terminate them per device
Complete reference for session management, password reset, and two-factor authentication.
## Session Management
Sealmetrics tracks user sessions with device and IP information. Users can view and terminate sessions from any device.
### List Sessions
```http
GET /auth/sessions
```
Returns all active sessions for the current user.
**Response:**
```json
{
"success": true,
"data": {
"sessions": [
{
"id": 123,
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)...",
"ip_address": "203.0.113.45",
"created_at": "2025-01-08T10:30:00Z",
"last_used_at": "2025-01-10T14:25:00Z",
"is_current": true
},
{
"id": 121,
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_0)...",
"ip_address": "198.51.100.89",
"created_at": "2025-01-05T08:15:00Z",
"last_used_at": "2025-01-09T18:42:00Z",
"is_current": false
}
],
"total": 2
}
}
```
| Field | Description |
| --- | --- |
| `id` | Session ID for termination |
| `user_agent` | Browser/device information |
| `ip_address` | IP address of the session |
| `created_at` | When the session was created (login time) |
| `last_used_at` | Last API request with this session |
| `is_current` | `true` if this is the session making the request |
### Terminate Session
```http
DELETE /auth/sessions/{session_id}
```
Terminate a specific session (logs out that device).
**Response:**
```json
{
"success": true,
"data": {
"message": "Session terminated successfully"
}
}
```
### Logout All Sessions
```http
DELETE /auth/sessions
```
Terminate all sessions except the current one (force logout from all devices).
**Query Parameters:**
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `include_current` | boolean | `false` | Also terminate current session |
**Response:**
```json
{
"success": true,
"data": {
"message": "All sessions terminated successfully",
"sessions_terminated": 3
}
}
```
### Logout Current Session
```http
POST /auth/logout
```
Logout the current session only.
**Response:**
```json
{
"success": true,
"data": {
"message": "Logged out successfully"
}
}
```
## Password Reset
### Request Password Reset
```http
POST /auth/forgot-password
```
Send a password reset email.
**Request Body:**
```json
{
"email": "user@example.com"
}
```
**Response:**
```json
{
"success": true,
"data": {
"message": "If the email exists, a password reset link has been sent"
}
}
```
Security
The response is always the same regardless of whether the email exists. This prevents email enumeration attacks.
### Reset Password
```http
POST /auth/reset-password
```
Reset password using the token from the email.
**Request Body:**
```json
{
"token": "abc123def456...",
"new_password": ""
}
```
**Response:**
```json
{
"success": true,
"data": {
"message": "Password has been reset successfully",
"sessions_terminated": 2
}
}
```
Warning
All existing sessions are terminated after a password reset. The user must log in again on all devices.
## Two-Factor Authentication (2FA)
Sealmetrics supports TOTP-based two-factor authentication compatible with apps like Google Authenticator, Authy, and 1Password.
### Check 2FA Status
```http
GET /2fa/status
```
Check if 2FA is enabled for the current user.
**Response:**
```json
{
"success": true,
"data": {
"enabled": true,
"enabled_at": "2024-12-15T10:30:00Z",
"backup_codes_remaining": 8
}
}
```
| Field | Description |
| --- | --- |
| `enabled` | Whether 2FA is active |
| `enabled_at` | When 2FA was enabled |
| `backup_codes_remaining` | Number of unused backup codes |
### Enable 2FA - Step 1: Setup
```http
POST /2fa/setup
```
Start 2FA setup. Requires password verification.
**Request Body:**
```json
{
"password": ""
}
```
**Response:**
```json
{
"success": true,
"data": {
"secret": "YOUR_TOTP_SECRET_KEY",
"qr_code_data_url": "data:image/png;base64,iVBORw0KGgo...",
"backup_codes": [
"ABCD-1234-EFGH",
"IJKL-5678-MNOP",
"QRST-9012-UVWX",
"..."
],
"provisioning_uri": "otpauth://totp/Sealmetrics:user@example.com?secret=YOUR_TOTP_SECRET_KEY&issuer=Sealmetrics",
"expires_in_minutes": 10
}
}
```
| Field | Description |
| --- | --- |
| `secret` | TOTP secret for manual entry |
| `qr_code_data_url` | Base64 PNG for QR code display |
| `backup_codes` | Recovery codes (store securely, shown once) |
| `provisioning_uri` | URI for manual authenticator setup |
| `expires_in_minutes` | Time until setup expires |
Note
The `secret` and `backup_codes` shown above are example values. Real values are unique per user.
Warning
Save the backup codes immediately. They are only shown once and cannot be retrieved later.
### Enable 2FA - Step 2: Verify
```http
POST /2fa/setup/verify
```
Complete setup by verifying a code from the authenticator app.
**Request Body:**
```json
{
"code": "123456"
}
```
**Response:**
```json
{
"success": true,
"data": {
"message": "Two-factor authentication enabled successfully"
}
}
```
### Cancel 2FA Setup
```http
POST /2fa/setup/cancel
```
Cancel pending 2FA setup if not completed.
### Disable 2FA
```http
POST /2fa/disable
```
Disable two-factor authentication. Requires password and current 2FA code.
**Request Body:**
```json
{
"password": "",
"code": "123456"
}
```
The `code` can be either a 6-digit TOTP code or a backup code.
### Regenerate Backup Codes
```http
POST /2fa/backup-codes/regenerate
```
Generate new backup codes. Old codes are invalidated.
**Request Body:**
```json
{
"code": "123456"
}
```
Requires a valid TOTP code (not backup code).
**Response:**
```json
{
"success": true,
"data": {
"backup_codes": [
"WXYZ-3456-ABCD",
"EFGH-7890-IJKL",
"..."
],
"count": 10
}
}
```
## Login with 2FA
When 2FA is enabled, the login flow has an additional step.
### Step 1: Initial Login
```http
POST /auth/token
```
**Request Body:**
```json
{
"email": "user@example.com",
"password": ""
}
```
**Response (2FA Required):**
```json
{
"success": true,
"data": {
"requires_2fa": true,
"user_id": 123,
"message": "Two-factor authentication required"
}
}
```
### Step 2: Verify 2FA Code
```http
POST /2fa/verify-login
```
**Request Body:**
```json
{
"user_id": 123,
"code": "123456",
"is_backup_code": false
}
```
| Field | Type | Description |
| --- | --- | --- |
| `user_id` | integer | User ID from Step 1 response |
| `code` | string | 6-digit TOTP or backup code |
| `is_backup_code` | boolean | Set `true` if using backup code |
**Response (Success):**
```json
{
"success": true,
"data": {
"access_token": "",
"token_type": "bearer",
"expires_in": 900,
"user": {
"id": 123,
"email": "user@example.com",
"name": "John Doe",
"role": "admin",
"account_ids": ["acme-corp"]
},
"ip_filtered_accounts": [],
"client_ip": "203.0.113.45"
}
}
```
## Impersonation Status
Sealmetrics support engineers can impersonate a customer session (via the internal admin tooling). When that happens, the active JWT carries an `impersonated_by` claim. The dashboard polls this endpoint on layout mount to decide whether to render the "you are being impersonated" banner.
### GET /auth/impersonation-status
Authentication: standard session (JWT or cookie).
**Response when no impersonation is active:**
```json
{ "active": false }
```
**Response during an impersonation:**
```json
{
"active": true,
"impersonated_by_user_id": 1,
"impersonated_by_email": "support@sealmetrics.com",
"impersonated_by_name": "Sealmetrics Support",
"started_at": "2025-01-08T13:55:00Z"
}
```
The exact field set inside the active payload may evolve — treat the response as opaque metadata for the banner, and rely only on `active` for behavior decisions.
## Error Codes
The `error.code` is derived from the HTTP status (`400` → `bad_request`, `401` → `unauthorized`, `403` → `forbidden`, `404` → `not_found`, `429` → `rate_limit_exceeded`). The specific reason is carried in the human-readable `error.message`. The IP allowlist checks are the exception: they return a structured `code: "IP_NOT_ALLOWED"`.
### Authentication Errors
| HTTP | Error Code | Example message |
| --- | --- | --- |
| 401 | `unauthorized` | `Invalid email or password` |
| 401 | `unauthorized` | `Invalid token` / `Token has expired` |
| 401 | `unauthorized` | `Invalid API key` / `API key has expired` |
| 403 | `forbidden` | `Email not verified. Please check your email for a verification link.` |
| 403 | `IP_NOT_ALLOWED` | `Access from this IP address is not allowed` (Enterprise) |
### 2FA Errors
| HTTP | Error Code | Example message |
| --- | --- | --- |
| 400 | `bad_request` | `2FA is already enabled. Disable it first to reconfigure.` |
| 400 | `bad_request` | `2FA is not enabled` / `2FA is not enabled for this user` |
| 400 | `bad_request` | `Invalid verification code` |
| 401 | `unauthorized` | `Invalid verification code` (during `/2fa/verify-login`) |
| 400 | `bad_request` | `Invalid verification code. Please try again.` (setup) / setup expired |
| 429 | `rate_limit_exceeded` | `Too many verification attempts. Please try again later.` |
### Session Errors
| HTTP | Error Code | Example message |
| --- | --- | --- |
| 400 | `bad_request` | `Session management not available for this auth method` |
| 404 | `not_found` | `Session not found` |
## Code Examples
### Python - Complete 2FA Login Flow
```python
import requests
BASE_URL = "https://my.sealmetrics.com/api/v1"
def login_with_2fa(email, password, totp_code):
# Step 1: Initial login
response = requests.post(
f"{BASE_URL}/auth/token",
json={"email": email, "password": password}
)
data = response.json()["data"]
# Check if 2FA is required
if data.get("requires_2fa"):
# Step 2: Verify 2FA
response = requests.post(
f"{BASE_URL}/2fa/verify-login",
json={
"user_id": data["user_id"],
"code": totp_code,
"is_backup_code": False
}
)
data = response.json()["data"]
return data["access_token"]
```
### JavaScript - Session Management
```javascript
const API_KEY = 'sm_your_api_key';
const BASE_URL = 'https://my.sealmetrics.com/api/v1';
async function getSessions(token) {
const response = await fetch(`${BASE_URL}/auth/sessions`, {
headers: { 'Authorization': `Bearer ${token}` }
});
return response.json();
}
async function logoutOtherDevices(token) {
// Keep current session, logout all others
const response = await fetch(`${BASE_URL}/auth/sessions`, {
method: 'DELETE',
headers: { 'Authorization': `Bearer ${token}` }
});
return response.json();
}
async function terminateSession(token, sessionId) {
const response = await fetch(`${BASE_URL}/auth/sessions/${sessionId}`, {
method: 'DELETE',
headers: { 'Authorization': `Bearer ${token}` }
});
return response.json();
}
```
### Security: Force Logout After Suspicious Activity
```python
async def handle_suspicious_activity(user_token):
"""Force logout all sessions when suspicious activity detected."""
# Terminate all sessions including current
response = requests.delete(
f"{BASE_URL}/auth/sessions",
headers={"Authorization": f"Bearer {user_token}"},
params={"include_current": True}
)
if response.status_code == 200:
# User will need to re-authenticate
return True
return False
```
## Subscription Status
URL: https://sealmetrics.com/docs/api/subscription/
Check an organization's subscription state — plan tier, trial end, billing period, and paywall block status from a single endpoint
Return the current subscription state for an organization. The dashboard calls this on every layout load to decide whether to render the paywall, the trial banner, or the free-tier usage gauge.
**Base path:** `/subscription`
Authentication is required: the caller must be a member of the requested `org_id` (or be a superadmin). Returns `403` otherwise. No specific scope is required beyond a valid session.
## Get Subscription Status
```http
GET /subscription/status?org_id={org_id}
```
| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `org_id` | UUID | Yes | Organization ID |
**Response:**
```json
{
"success": true,
"data": {
"billing_enabled": true,
"has_subscription": true,
"status": "active",
"plan_tier": "growth",
"trial_ends_at": null,
"current_period_end": "2025-02-08T00:00:00Z",
"cancel_at_period_end": false,
"is_blocked": false,
"block_reason": null,
"source": "stripe",
"usage": null
}
}
```
**Field reference:**
| Field | Description |
| --- | --- |
| `billing_enabled` | `true` when the billing feature is enabled for this org. `false` for self-hosted / grandfathered installs |
| `has_subscription` | Whether the org currently has an active paid subscription |
| `status` | Raw status (e.g. `active`, `trialing`, `past_due`, `canceled`, `free`) |
| `plan_tier` | Plan tier name (`free`, `growth`, `scale`, `enterprise`) or `null` |
| `trial_ends_at` | Trial end timestamp or `null` |
| `current_period_end` | When the current paid period ends, or `null` |
| `cancel_at_period_end` | `true` if cancellation is scheduled |
| `is_blocked` | `true` when the dashboard should show a hard paywall |
| `block_reason` | Human-readable block reason (e.g. `"trial_expired"`) or `null` |
| `source` | Where the entitlement comes from: `stripe`, `free`, `grandfathered`, or `none` |
| `usage` | For free orgs: `{ events_used, event_limit, percentage }`. Otherwise `null` |
## Rate Limits
URL: https://sealmetrics.com/docs/api/rate-limits/
Per-plan API rate limits, X-RateLimit response headers, and 429 handling with the Retry-After header when the limit is exceeded
Rate limits protect the API from abuse and ensure fair usage across all clients.
## Rate Limit Headers
Every API response includes these headers:
| Header | Description | Example |
| --- | --- | --- |
| `X-RateLimit-Limit` | Max requests per minute for your plan | `240` |
| `X-RateLimit-Remaining` | Requests remaining in current window | `235` |
| `X-RateLimit-Reset` | Unix timestamp when window resets | `1704067200` |
The value of `X-RateLimit-Limit` depends on your plan tier (see Plan Limits below). The examples here use the Growth tier value of `240`.
Example response headers:
```http
HTTP/1.1 200 OK
X-RateLimit-Limit: 240
X-RateLimit-Remaining: 235
X-RateLimit-Reset: 1704067200
Content-Type: application/json
```
## Rate Limit Exceeded (429)
When you exceed the limit, you receive:
```http
HTTP/1.1 429 Too Many Requests
Retry-After: 15
X-RateLimit-Limit: 240
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1704067200
Content-Type: application/json
```
```json
{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests. Please retry after 15 seconds."
},
"request_id": "req_abc123"
}
```
The `Retry-After` header indicates how many seconds to wait.
There is no soft-limiting, warning, or throttling phase: requests within the limit return normally, and once the limit is exceeded the API returns `429 Too Many Requests` directly. Use the `X-RateLimit-Remaining` header to track how close you are to the limit.
## Plan Limits
Rate limits are applied per minute, based on your account's plan tier:
| Plan tier | Requests per minute |
| --- | --- |
| Free | 240 |
| Growth | 240 |
| Scale | 480 |
| Enterprise | Custom (set in your contract) |
Requests that are not authenticated (or where the plan tier can't be resolved) fall back to a default limit of **60 requests per minute**, applied per IP address.
## Per-Endpoint Adjustments
Stats endpoints (`/api/v1/stats/*`) run heavier queries, so requests authenticated with an **API key** are limited to **50% of the plan limit** (with a floor of 30 requests per minute). Requests authenticated via a dashboard session (JWT Bearer token or cookie) keep the full plan limit.
| Request type | Limit on `/api/v1/stats/*` |
| --- | --- |
| API key (`X-API-Key`) | 50% of plan limit (minimum 30/min) |
| Dashboard session (JWT / cookie) | 100% of plan limit |
| All other endpoints | 100% of plan limit |
## Endpoints Without Rate Limits
These endpoints are excluded from rate limiting. They live at the host root, not under `/api/v1`:
- `/health` - Health check
- `/livez` - Liveness probe
- `/readyz` - Readiness probe
- `/t.js` - The tracking script
- `/api/static/*` - Static assets (email logos)
Where the API reference lives
Interactive docs are **not** served from the API host in production. The reference and the machine-readable spec are published on the docs site instead:
- [API Reference](https://sealmetrics.com/docs/api.md) — endpoint reference
- [`openapi.json`](https://sealmetrics.com/docs/openapi.json) — OpenAPI 3.1 spec
## Best Practices
### 1. Monitor Rate Limit Headers
```python
def make_request(url, headers):
response = requests.get(url, headers=headers)
remaining = int(response.headers.get('X-RateLimit-Remaining', 0))
if remaining < 10:
print(f"Warning: Only {remaining} requests remaining")
return response
```
### 2. Implement Exponential Backoff
```python
import time
import random
def request_with_backoff(url, headers, max_retries=5):
for attempt in range(max_retries):
response = requests.get(url, headers=headers)
if response.status_code != 429:
return response
retry_after = int(response.headers.get('Retry-After', 1))
# Add jitter to prevent thundering herd
sleep_time = retry_after + random.uniform(0, 1)
time.sleep(sleep_time)
raise Exception("Max retries exceeded")
```
### 3. Cache Responses
```python
from functools import lru_cache
import time
# Cache stats for 5 minutes
@lru_cache(maxsize=100)
def get_stats_cached(site_id, period, cache_key):
return get_stats(site_id, period)
def get_stats(site_id, period):
# Create cache key that expires every 5 minutes
cache_key = int(time.time() / 300)
return get_stats_cached(site_id, period, cache_key)
```
### 4. Batch Requests When Possible
Instead of:
```python
# Bad: 10 separate requests
for site_id in site_ids:
stats = get_stats(site_id)
```
Consider:
```python
# Better: Fewer requests with more data per request
stats = get_stats_batch(site_ids) # If batch endpoint available
```
### 5. Use Webhooks for Real-Time Data
For real-time updates, use webhooks instead of polling:
```python
# Bad: Polling every second (60 req/min just for one metric)
while True:
stats = get_stats(site_id)
time.sleep(1)
# Better: Configure webhook for real-time updates
# (No API calls needed - data pushed to you)
```
## Enterprise Custom Limits
Enterprise plans can negotiate custom limits:
- Per-endpoint limits
- Higher burst allowances
- Dedicated API instances
- SLA guarantees
Contact [sales@sealmetrics.com](mailto:sales@sealmetrics.com) for Enterprise pricing.
## Related
- [For AI Agents](https://sealmetrics.com/docs/api/for-agents.md) — retry policy and the rest of the agent surface
- [Error codes](https://sealmetrics.com/docs/api/errors.md) — which responses are safe to retry
- [Batch API](https://sealmetrics.com/docs/api/batch.md) — up to 50 queries per request, so you spend fewer of them
## Error codes
URL: https://sealmetrics.com/docs/api/errors/
Every error code the Sealmetrics API can return, with its HTTP status, what it means, and whether the request is safe to retry.
Every non-2xx response from the Sealmetrics API uses the same envelope. Branch on `error.code`, which is stable — never on `error.message`, which is written for humans and may change.
```json
{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests. Please retry after 15 seconds."
},
"request_id": "ae817c5b-82df-430f-83e6-10c937e4e5e4"
}
```
| Field | Description |
| --- | --- |
| `error.code` | Stable machine-readable identifier. Switch on this. |
| `error.message` | Human-readable description. Do not parse it. |
| `error.detail` | Optional. Structured context — field-level validation errors, quota information, and similar. |
| `request_id` | Correlation id, also returned in the `X-Request-ID` response header. Log it, and quote it in support requests. |
One exception: OAuth
The `/oauth/*` endpoints use the RFC 6749 shape (`{"error": "...", "error_description": "..."}`) instead of this envelope, because the OAuth spec requires it. See [OAuth 2.1](https://sealmetrics.com/docs/api/oauth/#error-format).
## Catalogue
### Client errors
| Code | HTTP | Meaning | Retry? |
| --- | --- | --- | --- |
| `bad_request` | 400 | Malformed request or an invalid parameter combination. | No |
| `invalid_domain` | 400 | The domain is not a valid hostname. | No |
| `invalid_timezone` | 400 | Not a recognised IANA timezone. | No |
| `unauthorized` | 401 | Missing, malformed or unrecognised credentials. | No — re-authenticate |
| `invalid_credentials` | 401 | Email or password rejected at login. | No |
| `token_expired` | 401 | The JWT or token has passed its expiry. | No — refresh first |
| `token_invalid` | 401 | Signature or format rejected. | No |
| `forbidden` | 403 | Authenticated, but not permitted. Usually a missing scope or another organization's resource. | No |
| `email_not_verified` | 403 | The account exists but the email has not been confirmed. | No |
| `two_factor_required` | 403 | Login needs the TOTP step. See [2FA](https://sealmetrics.com/docs/api/2fa.md). | No |
| `not_found` | 404 | The resource does not exist, or is not visible to these credentials. | No |
| `account_not_found` | 404 | Unknown `account_id`. See [the FAQ on `account_id` vs `site_id`](https://sealmetrics.com/docs/api/faq.md). | No |
| `user_not_found` | 404 | Unknown user. | No |
| `method_not_allowed` | 405 | Wrong HTTP verb for this path. | No |
| `conflict` | 409 | The request conflicts with current state. | No |
| `duplicate_entry` | 409 | A resource with that identifier already exists. | No |
| `payload_too_large` | 413 | Request body exceeds the size limit. | No — split the request |
| `validation_error` | 422 | Schema validation failed. `error.detail` is an array of `{field, message, type}`. | No |
| `rate_limit_exceeded` | 429 | Over the rate limit. Honour `Retry-After`. | **Yes** |
| `quota_exceeded` | 429 | A plan quota is exhausted (not the per-minute rate limit). | No — upgrade or wait for the period |
### Server errors
| Code | HTTP | Meaning | Retry? |
| --- | --- | --- | --- |
| `internal_error` | 500 | Unhandled server error. | **Yes**, with backoff |
| `database_error` | 500 | A query failed. | **Yes**, with backoff |
| `bad_gateway` | 502 | Upstream dependency returned an invalid response. | **Yes**, with backoff |
| `database_unavailable` | 503 | A database is temporarily unreachable. Sent with `Retry-After: 30`. | **Yes** |
| `service_unavailable` | 503 | A dependency or a feature switch is unavailable. | Depends — read the message |
| `gateway_timeout` | 504 | Upstream dependency timed out. | **Yes**, with backoff — consider narrowing the date range |
### Endpoint-specific codes
Some endpoints add their own codes on top of the list above:
| Code | HTTP | Where | Meaning |
| --- | --- | --- | --- |
| `provision_unavailable` | 409 | [`POST /provision`](https://sealmetrics.com/docs/api/provision.md) | The account could not be created. Deliberately ambiguous — it does not reveal whether the email is already registered. |
| `invalid_input` | 400 | [`POST /provision`](https://sealmetrics.com/docs/api/provision.md) | A provisioning field failed validation. |
| `rule_is_live` | 409 | [Channel groups](https://sealmetrics.com/docs/api/channel-groups.md) | A draft-only mutation (`only_if_inactive=true`) was attempted on a rule that has gone live. |
| `dependency_failed` | — | [Batch](https://sealmetrics.com/docs/api/batch.md) | Per-query status: a query was skipped because a `depends_on` query failed. |
| `csrf_failed` | 403 | Cookie-authenticated requests | The double-submit CSRF token is missing or does not match. Does not apply to `X-API-Key` or bearer-token requests. |
## Validation errors in detail
A `422` carries the offending fields:
```json
{
"error": {
"code": "validation_error",
"message": "Request validation failed",
"detail": [
{"field": "query.period", "message": "Input should be a valid string", "type": "string_type"}
]
},
"request_id": "…"
}
```
`field` is the dotted path to the parameter, so you can map it straight back to your request.
## Retry policy
| Status | Retry? | How |
| --- | --- | --- |
| `429` | Yes | Wait `Retry-After` seconds + jitter |
| `503` | Yes | Wait `Retry-After` seconds |
| `500`, `502`, `504` | Yes | Exponential backoff, capped attempts |
| `4xx` (others) | No | Fix the request first |
Writes are not idempotent yet
The API does not currently accept an `Idempotency-Key` header, so retrying a failed `POST` can create a duplicate resource. Only retry a write once you have confirmed the first attempt did not take effect. See [For AI Agents](https://sealmetrics.com/docs/api/for-agents/#retry-policy-that-works).
```python
import random, time
import requests
RETRYABLE = {429, 500, 502, 503, 504}
def get_with_retry(url, headers, max_attempts=5):
for attempt in range(max_attempts):
r = requests.get(url, headers=headers, timeout=30)
if r.status_code not in RETRYABLE:
return r
# Retry-After is authoritative when present (429 and 503 always send it)
wait = float(r.headers.get("Retry-After", 2 ** attempt))
time.sleep(wait + random.uniform(0, 1))
r.raise_for_status()
return r
```
## Related
- [For AI Agents](https://sealmetrics.com/docs/api/for-agents.md) — the full agent integration guide
- [Rate Limits](https://sealmetrics.com/docs/api/rate-limits.md) — limits per plan and the `X-RateLimit-*` headers
- [Authentication](https://sealmetrics.com/docs/api/authentication.md) · [OAuth 2.1](https://sealmetrics.com/docs/api/oauth.md)
- [API FAQ](https://sealmetrics.com/docs/api/faq.md)
## Batch API
URL: https://sealmetrics.com/docs/api/batch/
Execute multiple analytics queries in one HTTP request with dependency ordering, parallel limits, and per-query timing options
The Batch API lets you execute multiple analytics queries in a single HTTP request. This is useful when building dashboards or reports that need data from several endpoints simultaneously.
## Endpoint
```plaintext
POST /api/v1/batch
```
## Request format
```json
{
"queries": [
{
"id": "overview",
"endpoint": "/stats/overview",
"params": {
"account_id": "my-site",
"period": "30d"
}
},
{
"id": "pages",
"endpoint": "/stats/pages",
"params": {
"account_id": "my-site",
"period": "30d",
"page_size": 10
}
},
{
"id": "sources",
"endpoint": "/stats/sources",
"params": {
"account_id": "my-site",
"period": "30d"
},
"depends_on": ["overview"]
}
],
"options": {
// ... full example at https://sealmetrics.com/docs/api/batch/
```
### Query fields
| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Unique identifier for this query (alphanumeric) |
| `endpoint` | string | Yes | Analytics endpoint path (must start with `/stats/`) |
| `params` | object | Yes | Parameters for the endpoint |
| `depends_on` | string[] | No | Query IDs that must complete before this one runs |
### Options
| Option | Default | Description |
| --- | --- | --- |
| `fail_fast` | false | Stop execution on first error |
| `parallel_limit` | 5 | Maximum concurrent queries (1-10) |
| `include_timing` | true | Include execution time per query |
### Multi-account timezone handling
Each query resolves date filters **using its own account's timezone**. So a batch containing one query for `account_id=acme` (Europe/Madrid) and another for `account_id=partner` (America/New_York) will interpret `period=30d` correctly for each site — no need to pre-resolve dates on your side or coerce all queries to UTC.
This is important when you're building a multi-site dashboard: the `today` / `this_month` / `30d` presets each expand against the specific site they target, matching how the data is stored in ClickHouse (each hit is bucketed by the account's local `date` at ingest). See [Date periods and account timezone](https://sealmetrics.com/docs/api/stats-advanced/#how-today-is-resolved) for the full rule.
## Supported endpoints
All `/stats/` endpoints are available:
- `/stats/overview` — Traffic overview
- `/stats/pages` — Pages report
- `/stats/sources` — Traffic sources
- `/stats/mediums` — UTM mediums
- `/stats/campaigns` — UTM campaigns
- `/stats/terms` — UTM terms
- `/stats/referrers` — Referrers
- `/stats/geo/countries` — Geographic data
- `/stats/devices` — Device types
- `/stats/browsers` — Browsers
- `/stats/operating-systems` — Operating systems
- `/stats/conversions` — Conversions
- `/stats/microconversions` — Microconversions
- `/stats/funnel` — Funnel analysis
- `/stats/landing-pages` — Landing pages
- `/stats/channels` — Channel groups
## Response format
```json
{
"batch_id": "uuid",
"status": "completed",
"results": {
"overview": {
"status": "success",
"data": { },
"timing_ms": 45
},
"pages": {
"status": "success",
"data": { },
"timing_ms": 32
},
"sources": {
"status": "success",
"data": { },
"timing_ms": 28
}
},
"meta": {
"total_queries": 3,
"successful": 3,
"failed": 0,
"skipped": 0,
"total_timing_ms": 105
}
}
```
### Query statuses
| Status | Description |
| --- | --- |
| `success` | Query completed successfully |
| `error` | Query failed (see `error` field) |
| `skipped` | Skipped because a dependency failed |
## Validation endpoint
Validate your batch request without executing it:
```plaintext
POST /api/v1/batch/validate
```
Returns the planned execution order and parallel groups:
```json
{
"valid": true,
"query_count": 3,
"execution_order": ["overview", "pages", "sources"],
"parallel_groups": [["overview", "pages"], ["sources"]]
}
```
## Limits
- Maximum 50 queries per batch
- All query IDs must be unique
- Circular dependencies are not allowed
## For agents: fan out without spending requests
A batch is one HTTP request and one rate-limit slot, no matter how many queries it carries. For an agent assembling a report, that turns a dozen round trips into one:
- **Dry-run first.** `POST /batch/validate` returns the execution order and the parallel groups without running anything, so you can check a generated plan before spending the request.
- **Express ordering, don't serialise.** `depends_on` lets the API run everything it can in parallel while still respecting your dependencies.
- **Cap concurrency** with `parallel_limit` (1–10) when you are querying many sites at once.
- **Read `timing_ms`** per query (`include_timing`) to find the expensive part of a report.
- **Handle partial failure.** With `fail_fast: false` you get per-query `status`, so one bad query does not lose the whole batch. Dependants of a failed query come back as `skipped`.
Batch covers `/stats/*` endpoints. For configuration reads (sites, segments, alerts), issue normal requests.
## Related
- [For AI Agents](https://sealmetrics.com/docs/api/for-agents.md) — the full agent integration guide
- [Multi-Dimensional Query](https://sealmetrics.com/docs/api/stats-query.md) — one query with several dimensions, as an alternative to several batched queries
- [Rate Limits](https://sealmetrics.com/docs/api/rate-limits.md)
- [Error codes](https://sealmetrics.com/docs/api/errors.md)
## API FAQ
URL: https://sealmetrics.com/docs/api/faq/
Answers to common API integration questions — account_id vs site_id, event-level conversions, JWT scopes, and working /exports/stream examples.
Quick answers to the questions integrators ask most. Each entry is self-contained and links to the canonical reference.
## How do I get event-level conversions (one row per conversion)?
Use **`GET /api/v1/stats/conversions/raw`**. It returns one row per conversion with all dimensions: UTM parameters, country, device, channel group, custom properties, and timestamps.
**Constraints:**
- Maximum date range: **31 days**
- Maximum `page_size`: **10,000**
```bash
curl "https://my.sealmetrics.com/api/v1/stats/conversions/raw?site_id=YOUR_SITE&start_date=2026-04-01&end_date=2026-04-30&page_size=1000" \
-H "X-API-Key: sm_your_api_key"
```
For **aggregated** conversion totals (count, revenue, avg value per conversion type), use [`/stats/conversions`](https://sealmetrics.com/docs/api/stats/#conversions) instead. For bulk dumps to file, use [`/exports/stream`](https://sealmetrics.com/docs/api/exports/#stream-export-small-datasets) with `export_type: "conversions"`.
## How do I get event-level microconversions (with their custom `properties`)?
Use **`GET /api/v1/stats/microconversions/raw`** — same shape as `/stats/conversions/raw` but without `amount`. Each row carries the full `properties` Map so you can filter or count by **combinations of property values** (e.g. `hotel + checkin_date + duration + country`) client-side.
If you only need to break down by **one** property at a time and want server-side aggregation, use [`/stats/properties/breakdown`](https://sealmetrics.com/docs/api/stats/#properties-report) instead.
For per-item attribution on conversions (one row per product in a purchase, joinable by `timestamp_utc` or a shared property like `order_id`), use **`GET /api/v1/stats/conversion-items/raw`**.
Both endpoints share the same constraints as `/stats/conversions/raw` (31-day max range, `page_size` up to 10,000, 2-year ClickHouse TTL).
## My conversion rows have UTMs twice — at the root and inside `properties`. Which one is real?
**The root-level ones.** `utm_source`, `utm_medium`, `utm_campaign`, `utm_term` and `utm_content` at the root of the row are the attribution Sealmetrics resolved for that conversion. Analyse those.
UTM keys **inside `properties`** are values your own tracking code sent along with the conversion call. Sealmetrics stores them verbatim, like any other custom property, and never writes into `properties` itself. There is no hierarchy between the two blocks and they do not represent different moments in the attribution — one is our answer, the other is your input.
They can disagree, and that is usually informative:
```json
{
"utm_source": "Direct",
"utm_medium": "Direct",
"properties": { "utm_source": "", "utm_medium": "" }
}
```
The page sent empty UTMs; Sealmetrics resolved the visit as Direct. Reading `properties.utm_source` would hand you a blank where the answer is "Direct".
If the duplication is noise for your pipeline, stop passing UTMs in the conversion call — attribution is captured independently of what you send.
## What value do I pass for `account_id`? My `site_id` is being rejected.
Both parameters refer to **the same value: the site slug** (the identifier shown in the dashboard URL, e.g. `acme` in `my.sealmetrics.com/acme/...`).
The naming differs by route:
| Route group | Accepts | Notes |
| --- | --- | --- |
| `/stats/*` | `site_id` **or** `account_id` | Either works |
| `/exports/*` | `account_id` only | `site_id` is rejected |
| `/batch` | `account_id` only | Used inside the `params` of each query |
If you got a 400 on `/exports/*` with `site_id`, switch the parameter name to `account_id` and keep the same value.
## Why does `/exports/stream` return an empty file (or used to return 403)?
If you saw **403 with an API key** on `/exports/*` or `/batch`: that was a permission bug — those routes were checking for a scope that API keys don't carry. **It's fixed and deployed.** Your existing API key now works without changes.
If you're still getting an **empty file**, check:
1. The `account_id` matches the site slug exactly (see question above).
2. `date_from` / `date_to` cover a period where conversions actually exist (verify with `GET /stats/conversions`).
3. `export_type` is one of the values listed in the [Export Types table](https://sealmetrics.com/docs/api/exports/#export-types).
## Do JWT tokens issued by `/auth/token` inherit all scopes? Do I need to request extras?
Scopes are **assigned automatically based on the user's role** — you don't request them.
A standard user has `read` + `write`, which already covers every endpoint integrators typically need:
- All `/stats/*`
- All `/exports/*`
- `/batch`
- All `/sites/*`
No extra scope parameters in the `/auth/token` request body. If you hit a 403 with a valid JWT, the issue is the user's **role**, not missing scopes — check the role in the dashboard or use an API key bound to the site.
See [Authentication → JWT scopes](https://sealmetrics.com/docs/api/authentication/#jwt-scopes) for the full role → scope mapping.
## Working `curl` example for `/exports/stream` with `conversions`
```bash
curl -X POST "https://my.sealmetrics.com/api/v1/exports/stream?account_id=YOUR_SITE" \
-H "X-API-Key: sm_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"export_type": "conversions",
"format": "csv",
"date_from": "2026-04-01",
"date_to": "2026-04-30"
}'
```
The response is a CSV stream with the header `date, conversion_type, amount, properties`.
If you need additional dimensions (UTMs, country, device, channel group), use **`/stats/conversions/raw`** instead — see the first question on this page.
**Response codes you may see:**
| Code | Meaning | Action |
| --- | --- | --- |
| 200 | CSV stream | Save the body to a file |
| 400 | Bad request | Check `account_id` and date format |
| 413 | Too large for streaming | Switch to `POST /exports` (background job) |
## Related
- [Exports API reference](https://sealmetrics.com/docs/api/exports.md)
- [Stats endpoints](https://sealmetrics.com/docs/api/stats.md)
- [Authentication](https://sealmetrics.com/docs/api/authentication.md)
- [Batch API](https://sealmetrics.com/docs/api/batch.md)
## Python SDK (unreleased)
URL: https://sealmetrics.com/docs/api/sdk-python/
Design reference for the Sealmetrics Python SDK — not yet published to PyPI. Use the OpenAPI spec, the REST API or the MCP server today.
Not published yet — pip install sealmetrics does not work
The Sealmetrics Python SDK is **built but not yet released to PyPI**. There is no installable package, and the code on this page will not run today. It is documented here as the design reference for the release.
**What to use instead, right now:**
| You want | Use |
| --- | --- |
| A typed client in any language | Generate one from the [OpenAPI 3.1 spec](https://sealmetrics.com/docs/openapi.json) — see [For AI Agents](https://sealmetrics.com/docs/api/for-agents/#1-read-the-spec-first) |
| Plain HTTP from Python | [Quick Start](https://sealmetrics.com/docs/api/quick-start.md) — `httpx` or `requests` against the [REST API](https://sealmetrics.com/docs/api.md) |
| Analytics inside an AI assistant | The [MCP server](https://sealmetrics.com/docs/integrations/mcp-server.md) — no code at all |
| A DataFrame | `POST /stats/query/export` returns CSV; `pandas.read_csv()` it. See [Multi-Dimensional Query](https://sealmetrics.com/docs/api/stats-query/#csv-export) |
We will update this page the day the package ships.
The **Sealmetrics Python SDK** is a type-safe client for the Sealmetrics Analytics API, designed for data scientists and analytics professionals. It wraps the [REST API](https://sealmetrics.com/docs/api.md) with Pydantic models, native pandas/polars DataFrame conversion, magic date shortcuts, automatic pagination, and retries.
Note
There is also a Node.js SDK, but it is **deprecated**, and likewise not published to npm.
## Features
- **Type-safe**: full Pydantic models with IDE autocompletion
- **DataFrame integration**: native pandas and polars support
- **Sync and async**: both clients built on `httpx`
- **Magic dates**: shortcuts like `"30d"`, `"mtd"`, `"ytd"`
- **Automatic pagination**: fetches all results seamlessly
- **Automatic retries**: exponential backoff for reliability
- **Bulk exports**: download large datasets efficiently
- **Batch queries**: multiple queries in a single request
## Installation
Planned, not available
The commands below are what installation **will** look like once the package is published. They fail today — there is no `sealmetrics` project on PyPI.
The package will be published as `sealmetrics` and requires Python 3.10+.
```bash
pip install sealmetrics
# With pandas support (recommended for data scientists)
pip install sealmetrics[pandas]
# With Jupyter support (pandas + progress bars)
pip install sealmetrics[jupyter]
# With polars support
pip install sealmetrics[polars]
# All optional dependencies
pip install sealmetrics[all]
```
## Authentication
The SDK authenticates with a Sealmetrics **API key**. Generate one in **Settings → API Keys** (it starts with the `sm_` prefix and is shown only once).
API keys are **read-only**: they hold the `stats:read`, `sites:read`, and `accounts:read` scopes, which is exactly what the analytics methods below require. Write operations (such as creating or updating segments) need a JWT session instead. See [Authentication](https://sealmetrics.com/docs/api/authentication.md) and [API Tokens](https://sealmetrics.com/docs/api/api-tokens.md) for details.
```python
from sealmetrics import Sealmetrics
client = SealMetrics(
api_key="sm_live_xxxxx", # Settings → API Keys
account_id="acc_123"
)
```
## Client initialization
The main entry point is the `SealMetrics` class.
```python
from sealmetrics import Sealmetrics
client = SealMetrics(
api_key="sm_live_xxxxx",
account_id="acc_123",
base_url="https://my.sealmetrics.com", # Set explicitly (see note below)
timeout=30.0, # Request timeout (seconds)
max_retries=3, # Retry attempts
show_progress=True, # Progress bars (requires tqdm)
)
# Use as a context manager for proper cleanup
with SealMetrics(api_key="...", account_id="...") as client:
df = client.pages("30d").to_df()
```
| Argument | Default | Description |
| --- | --- | --- |
| `api_key` | — | Sealmetrics API key (required) |
| `account_id` | — | Account to query (required) |
| `base_url` | `https://api.sealmetrics.com` | API base URL. **Always pass `https://my.sealmetrics.com` explicitly** — the built-in default points at a host that does not currently serve the API. |
| `timeout` | `30.0` | Per-request timeout in seconds |
| `max_retries` | `3` | Retry attempts with exponential backoff |
| `show_progress` | `True` | Show pagination progress bars (if `tqdm` is installed) |
## Magic dates
Most methods accept a period as the first argument. You can use a shortcut, a `Period` enum, or an explicit date range.
```python
# Relative periods
client.pages("today") # Today
client.pages("yesterday") # Yesterday
client.pages("7d") # Last 7 days
client.pages("30d") # Last 30 days
client.pages("90d") # Last 90 days
client.pages("12m") # Last 12 months
# To-date periods
client.pages("wtd") # Week to date
client.pages("mtd") # Month to date
client.pages("qtd") # Quarter to date
client.pages("ytd") # Year to date
# Named periods
client.pages("this_month")
client.pages("last_month")
client.pages("this_year")
client.pages("last_year")
# Explicit date range
client.pages("2025-01-01", "2025-01-31")
```
## Analytics methods
Query methods return a `QueryResult` (see below) unless noted otherwise. They accept the period arguments plus optional filters (`utm_source`, `utm_medium`, `segment`, `sort_by`, `page_size`, `max_pages`, …).
### Traffic analytics
| Method | Description | Returns |
| --- | --- | --- |
| `overview()` | Dashboard metrics with time series | `OverviewData` |
| `pages()` | Page-level metrics | `QueryResult[PageMetrics]` |
| `landing_pages()` | Entry page metrics | `QueryResult[LandingPageMetrics]` |
| `time_series()` | Daily time series | `QueryResult[TimeSeriesPoint]` |
| `realtime()` | Real-time visitors (last 5 min) | `dict` |
### Traffic sources (UTM)
| Method | Description | Returns |
| --- | --- | --- |
| `sources()` | By `utm_source` | `QueryResult[SourceMetrics]` |
| `mediums()` | By `utm_medium` | `QueryResult[MediumMetrics]` |
| `campaigns()` | By `utm_campaign` | `QueryResult[CampaignMetrics]` |
| `channels()` | GA4-style channels | `QueryResult[ChannelMetrics]` |
### Geographic and device
| Method | Description | Returns |
| --- | --- | --- |
| `countries()` | By country (ISO codes) | `QueryResult[GeoMetrics]` |
| `devices()` | Device / browser / OS breakdown | `DeviceBreakdown` |
### Conversions
| Method | Description | Returns |
| --- | --- | --- |
| `conversions()` | Conversions by type | `QueryResult[ConversionMetrics]` |
| `microconversions()` | Microconversions | `QueryResult[MicroconversionMetrics]` |
| `funnel()` | Funnel analysis | `FunnelReport` |
### Example
```python
from sealmetrics import CompareMode, Period, Sealmetrics
client = SealMetrics(api_key="sm_live_xxxxx", account_id="acc_123")
# Dashboard overview with year-over-year comparison
overview = client.overview("30d", compare="yoy")
print(f"Pageviews: {overview.traffic.page_views}")
print(f"Bounce rate: {overview.traffic.bounce_rate}%")
if overview.comparison:
print(f"YoY change in entrances: {overview.traffic.entrances_change}%")
# Pages as a DataFrame (automatic pagination)
df_pages = client.pages("30d").to_df()
print(df_pages.head())
# Filter to paid traffic only
df_paid = client.sources("mtd", utm_medium="cpc").to_df()
# Top countries
df_countries = client.countries("30d").to_df()
top10 = df_countries.nlargest(10, "entrances")
# Device breakdown
devices = client.devices("30d")
print([(d.device_type, d.entrances) for d in devices.devices])
# Funnel analysis
funnel = client.funnel("30d")
print(f"Overall conversion rate: {funnel.overall_conversion_rate}%")
// ... full example at https://sealmetrics.com/docs/api/sdk-python/
```
### Generic query
For endpoints without a dedicated method, use `query()`:
```python
data = client.query(
"/stats/properties/breakdown",
start="30d",
property_key="plan",
)
```
## QueryResult
Query methods return a `QueryResult`, which behaves like a list of typed models and adds DataFrame conversion.
```python
result = client.pages("30d")
# Metadata
print(result.total)
print(result.has_more)
# Conversions
df = result.to_df() # pandas DataFrame
df_pl = result.to_polars() # polars DataFrame
dicts = result.to_dicts() # list of dicts
# Iterate directly
for page in result:
print(f"{page.path}: {page.page_views} views")
```
## Segments
Segments are saved filter configurations exposed via `client.segments`. Reading segments works with a read-only API key; creating or modifying them requires a write-capable session (see [Authentication](https://sealmetrics.com/docs/api/authentication.md)).
```python
# List all available segments (including built-in system segments)
for seg in client.segments.list_all():
print(f"{seg.name}: {seg.display_name}")
# list() is an alias for list_all()
custom = client.segments.list_all(include_system=False)
# Get details by ID or name slug
segment = client.segments.get("paid-spain")
# Use a segment in a query
df = client.pages("30d", segment="paid-spain").to_df()
df = client.sources("mtd", segment="paid-spain").to_df()
```
Segment management methods (write scope required):
```python
# Create a segment
segment = client.segments.create(
name="paid-spain",
display_name="Paid Traffic Spain",
filters=[
{"field": "utm_medium", "operator": "eq", "value": "cpc"},
{"field": "country", "operator": "eq", "value": "ES"},
],
color="#F59E0B",
)
# Update, duplicate, delete
client.segments.update("paid-spain", display_name="Paid Traffic Spain (CPC)")
my_organic = client.segments.duplicate("organic-search", "my-organic")
client.segments.delete("paid-spain")
```
See [Segments](https://sealmetrics.com/docs/api/segments.md) for the underlying REST resource.
## Bulk exports
For large datasets, use `client.exports` instead of paginating.
```python
# Estimate export size first
estimate = client.exports.estimate("pages", "30d")
print(f"Estimated rows: {estimate.estimated_rows}")
if estimate.can_stream:
# Stream small exports (< 10K rows) directly
df = client.exports.stream_df("pages", "30d")
else:
# Create an async export job
job = client.exports.create("pages", "30d", format="csv")
# Wait and download as a DataFrame
df = client.exports.download_df(job.job_id)
# Or download raw bytes
content = client.exports.download(job.job_id)
with open("export.csv", "wb") as f:
f.write(content)
```
Export types: `pages`, `sources`, `mediums`, `campaigns`, `countries`, `devices`, `browsers`, `os`, `conversions`, `microconversions`, `time_series`, `landing_pages`.
Other export helpers: `estimate()`, `create()`, `get_status()`, `list_all()`, `cancel()`, `wait()`, `download()`, `download_df()`, `stream()`, `stream_df()`. See [Exports](https://sealmetrics.com/docs/api/exports.md).
## Batch queries
Reduce latency by fetching multiple datasets in one request via `client.batch`.
```python
# Execute arbitrary batch queries
results = client.batch.execute([
{"id": "overview", "endpoint": "/stats/overview", "params": {"period": "30d"}},
{"id": "pages", "endpoint": "/stats/pages", "params": {"period": "30d", "page_size": 100}},
{"id": "sources", "endpoint": "/stats/sources", "params": {"period": "30d"}},
])
overview = results["overview"]
# Dashboard shortcut: overview + top pages + top sources + channels + devices
dashboard = client.batch.dashboard("30d", compare="previous")
print(dashboard["overview"])
print(dashboard["top_pages"])
print(dashboard["channels"])
```
`client.batch` also exposes `validate()` to check queries without executing them. See [Batch Requests](https://sealmetrics.com/docs/api/batch.md).
## Async support
Use the async methods (prefixed with `async_`) for concurrent operations.
```python
import asyncio
from sealmetrics import Sealmetrics
async def analyze():
async with SealMetrics(api_key="...", account_id="...") as client:
overview, pages, sources = await asyncio.gather(
client.async_overview("30d"),
client.async_pages("30d"),
client.async_sources("30d"),
)
return overview, pages, sources
overview, pages, sources = asyncio.run(analyze())
```
## Error handling
All SDK errors inherit from `SealMetricsError`.
```python
from sealmetrics import (
Sealmetrics,
AuthenticationError,
AuthorizationError,
RateLimitError,
ValidationError,
NotFoundError,
SealMetricsError,
)
try:
data = client.pages("30d")
except AuthenticationError:
print("Invalid or missing API key")
except AuthorizationError:
print("No access to this account")
except RateLimitError as e:
print(f"Rate limited, retry after {e.retry_after}s")
except ValidationError as e:
print(f"Invalid parameters: {e.message}")
except NotFoundError:
print("Resource not found")
except SealMetricsError as e:
print(f"API error: {e.message} (status={e.status_code}, request_id={e.request_id})")
```
The full exception hierarchy: `SealMetricsError` (base), `AuthenticationError`, `AuthorizationError`, `RateLimitError` (with `retry_after`), `ValidationError`, `NotFoundError`, `ConflictError`, `ExportError`, `NetworkError`, `TimeoutError`, and `ServerError`.
## Pagination
Paginated query methods fetch **all** pages automatically by default. You can control this behavior with arguments:
```python
# Default: fetch everything (auto-pagination)
all_pages = client.pages("30d")
# Top 100 only — a single page
top_pages = client.pages("30d", max_pages=1, page_size=100, sort_by="page_views")
```
The returned `QueryResult` exposes `total` and `has_more` so you can inspect the result set. For very large datasets, prefer bulk exports. See [Pagination & Sorting](https://sealmetrics.com/docs/api/pagination-sorting.md) for the REST-level details.
## See also
- [Authentication](https://sealmetrics.com/docs/api/authentication.md) — API keys, scopes, and JWT sessions
- [Stats Endpoints](https://sealmetrics.com/docs/api/stats.md) — the REST endpoints the SDK wraps
- [Segments](https://sealmetrics.com/docs/api/segments.md), [Exports](https://sealmetrics.com/docs/api/exports.md), [Batch Requests](https://sealmetrics.com/docs/api/batch.md)
- [Rate Limits](https://sealmetrics.com/docs/api/rate-limits.md)
---
# Guides
## Guides
URL: https://sealmetrics.com/docs/guides/
Step-by-step Sealmetrics guides — cookieless analytics implementation, GDPR compliance, and platform best practices.
Welcome to the Sealmetrics guides section. Here you'll find step-by-step tutorials and best practices for getting the most out of Sealmetrics.
## Available Guides
- [Complete Guide to Cookieless Analytics 2025](https://sealmetrics.com/docs/guides/complete-guide-cookieless-analytics.md) - Learn how cookieless analytics measures visitors without consent banners. Complete technical guide covering GDPR compliance, implementation, and Sealmetrics advantages.
- [UTM Governance: Naming Conventions That Keep Attribution Clean](https://sealmetrics.com/docs/guides/utm-governance.md) - A practical UTM playbook: naming conventions, a source/medium taxonomy aligned with Sealmetrics default channels, the mistakes that corrupt attribution, a spreadsheet template, and how Sealmetrics processes UTMs end to end.
- [GA4 to Sealmetrics: The Complete Migration Checklist](https://sealmetrics.com/docs/guides/ga4-migration-checklist.md) - Phase-by-phase migration checklist: audit your GA4 events, map them to conv()/micro(), install the tracker, run 30 days in parallel, know which data differences to expect, and switch GA4 off safely.
- [Tracker Performance Report: Sealmetrics vs GA4, Matomo and Piwik PRO](https://sealmetrics.com/docs/guides/tracker-performance-report.md) - A technical comparison of tracking pixel weight, protocol, latency, and traffic capture against gtag.js, plus measured script weights for Matomo and Piwik PRO, with methodology, measured data from an anonymized reference site, and modeled network scenarios.
- [Tracker Performance: Sealmetrics vs GA4 vs Adobe Analytics](https://sealmetrics.com/docs/guides/tracker-performance-three-way.md) - The three-way comparison in one table set: script weight, delivery chains, time to first hit, transport, consent, and measured traffic differences across all three trackers.
- [Tracker Performance Report: Sealmetrics vs Adobe Analytics](https://sealmetrics.com/docs/guides/tracker-performance-adobe-analytics.md) - Field-measured comparison against the Adobe Launch + AppMeasurement stack on an anonymized dual-vendor site: script weight, delivery chain, time to first hit, and a 30-day dual-tag validation.
## Complete Guide to Cookieless Analytics 2026
URL: https://sealmetrics.com/docs/guides/complete-guide-cookieless-analytics/
Cookieless analytics measures visitors without consent banners: how it works, why cookie-based tools lose the visitors who reject or ignore the cookie banner, and how to set it up.
Website analytics is fundamental to understanding visitor behavior. Yet a large share of EU visitors never consent — some reject, many simply ignore the banner — and cookie-based analytics typically lose the visitors who reject or ignore the cookie banner as a result, depending on sector, brand strength and traffic mix. This represents the critical challenge of modern analytics: how do you capture meaningful insights when cookie-based solutions fail across Europe?
The answer lies in cookieless analytics—a technical approach that captures visitor data without relying on cookies or requiring consent banners. Unlike traditional analytics that depend on third-party cookies or consent mechanisms, cookieless analytics uses alternative tracking methods so that measurement does not depend on consent, while being designed for GDPR compliance.
This guide explains how cookieless analytics works, why it matters for your business, and how to implement it effectively. By the end, you'll understand why industry leaders like Sealmetrics are moving toward cookieless tracking as the future of web analytics.
## What is Cookieless Analytics?
Cookieless analytics is a method of tracking website visitors and their behavior without using HTTP cookies. Instead of storing persistent identifiers in user browsers, cookieless analytics platforms use alternative mechanisms—such as session-based identifiers, server-side tracking, or request-based tracking—to maintain visitor context and measure analytics events.
### The Core Difference from Cookie-Based Analytics
Traditional cookie-based analytics (including Google Analytics) stores a persistent identifier in the user's browser. This cookie follows the user across sessions, allowing platforms to build comprehensive visitor profiles. The process works like this:
1. User visits website
2. Analytics code creates a cookie in browser
3. Cookie persists for months or years
4. Each subsequent visit references that same cookie
5. Platform links all visits to same user ID
Cookieless analytics eliminates this dependency. Instead, it might use:
- **Session-based tracking**: Generate temporary identifiers that reset each session
- **Server-side tracking**: Process analytics data on your server rather than user's browser
- **Request-based tracking**: Associate data with each request without persistent storage
- **Zero-IP approach**: Avoid storing or hashing IP addresses (as Sealmetrics does)
The difference is profound: cookieless analytics doesn't require persistent cookies, doesn't mandate consent mechanisms, and doesn't suffer from banner ghosting — the phenomenon where users ignore cookie banners without making a decision, which analytics platforms must treat as a refusal.
### Why Cookieless Analytics Matters Now
In 2024, three forces converge to make cookieless analytics essential:
**1. Browser Privacy Changes**: Apple's [Intelligent Tracking Prevention (ITP)](https://webkit.org/blog/7675/intelligent-tracking-prevention/) and Safari's default privacy settings have eliminated third-party cookies for Safari users (representing 25-30% of traffic). Firefox Enhanced Tracking Protection and other privacy features continue eroding cookie reliability.
**2. Regulatory Pressure**: GDPR, [CNIL guidance](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications), and the TDDDG (German privacy law, formerly TTDSG) establish that cookie-based analytics require explicit user consent or a clear legal basis. Sealmetrics stores nothing on the device and no data that identifies anyone: its session identifier rotates daily and cannot be reconstructed afterwards, the short-lived pseudonymised data is processed under legitimate interest (GDPR Art. 6(1)(f)), and reports are always aggregated.
**3. Data Loss Crisis**: with a large share of EU visitors never consenting, cookie-based analytics become unreliable — typically losing the visitors who reject or ignore the cookie banner depending on sector, brand strength and traffic mix, and creating blind spots you cannot see from inside the tool.
Cookieless analytics solves all three challenges simultaneously.
## The Data Loss Problem: Why Standard Analytics Fail
Understanding why you need cookieless analytics requires examining how severely cookie-based approaches fail in modern environments.
### The Cone of Data Loss
When a user visits your website with Google Analytics or similar cookie-based platforms, multiple points of data loss occur:
**Banner ghosting**: users see the cookie banner and ignore it entirely — neither accepting nor rejecting. No consent means no data collection, so these visitors are invisible even though they never said no.
**Active rejection**: users click reject, which prevents any tracking.
**Browser privacy**: Safari, Firefox and other privacy-focused browsers block third-party cookies and restrict tracking regardless of what the visitor chose.
**Cumulative effect**: in practice these add up to a real loss of visitor data. How much depends on three things — the site's sector, the strength of its brand, and its traffic mix: a recognised consumer brand whose visitors mostly arrive direct loses less than a site running mostly cold paid acquisition in a privacy-sensitive market.
The point is not the exact percentage, which nobody can quote for your site without measuring it. The point is that the loss is invisible in your own reports: GA4 shows you 100% of what it captured, not what actually happened.
### Banner Ghosting: The Hidden Problem
Banner ghosting deserves special attention because it's invisible to most analytics practitioners. When users ignore cookie banners:
- No consent decision is recorded
- No rejection event is captured
- Analytics platforms default to "no consent"
- Visitor is excluded from tracking
- You lose all data about that user
Regulations support this approach. [GDPR Article 4(11)](https://eur-lex.europa.eu/eli/reg/2016/679/oj) defines consent as "freely given, specific, informed and unambiguous." Ignoring a banner doesn't constitute consent. Therefore, GDPR-compliant platforms cannot track banner ghosters.
Banner ghosters are often the largest of the three groups. They are genuinely interested visitors, but you see nothing about them.
Cookieless analytics solves this by eliminating the consent requirement. Sealmetrics and similar platforms state that they don't need consent for their own measurement because they don't rely on cookies or third-party tracking (for Sealmetrics this is our self-assessment; in Germany it is an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)). This means Sealmetrics captures data from banner ghosters, active rejectors, and privacy-focused browsers—groups entirely invisible to Google Analytics.
## How Cookieless Analytics Works
The technical architecture of cookieless analytics varies by platform, but the core principle remains: capture visitor data without persistent cookies.
### Sealmetrics' Dual-Method Approach
Sealmetrics uses a sophisticated approach combining:
**1. Session-Based Tracking (Session-ID Method)**:
- Generate temporary session identifier when user visits
- Identifier resets at end of session or after inactivity
- Server associates all events with that session ID
- No persistent cookies stored in browser
- Designed for the GDPR: no personal data retained beyond necessary period
**2. Isolated Hit Method**:
- Track individual events without requiring persistent session
- Each pageview or interaction is independently captured
- Server correlates related events through patterns
- Provides fallback when session tracking unavailable
- Maintains privacy by avoiding persistent user profiles
### Key Technical Advantages
**Zero IP Storage**: Unlike tools that hash and keep IPs, Sealmetrics doesn't store IP addresses: to filter bots we check the IP in flight against a public list of automated-traffic IPs, and don't keep it. This provides additional privacy benefits and simplifies GDPR compliance.
**No Consent Required**: nothing is written to the visitor's device, and no data that identifies anyone is stored — the session identifier rotates daily and, once rotated, not even Sealmetrics can reconstruct it. The tracker does read standard browser properties to compute a session identifier (re-keyed daily on the server and never stored as sent), which engages the ePrivacy Directive's Article 5(3); see [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) for how the audience-measurement exemption criteria apply. In our self-assessment that removes the banner for Sealmetrics' own analytics (in Germany an open question: the DSK does not extend §25(2) TDDDG to audience measurement, and reading device properties via JavaScript may count as "access" under §25(1) — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)) and captures data from visitors who reject or ignore the banner too.
**No consent-driven loss**: Because consent isn't required, Sealmetrics captures visitor data from:
- Banner ghosters (often the largest missing group)
- Cookie rejectors
- Privacy-focused browsers (when they don't block the script)
### Comparison: Technical Approaches
Different cookieless analytics platforms use different technical methods:
| Aspect | Session-Based | Server-Side | Persistent fingerprinting | Sealmetrics |
| --- | --- | --- | --- | --- |
| Persistent Cookies | No | No | Optional | No |
| Requires Consent | No | No | Yes | No (self-assessed) |
| IP Storage | No | No | Yes | **No** |
| Designed to comply with the GDPR | Yes | Yes | No | **Designed for it (self-assessed)** |
| Cost | $ | $$$ | $$ | **$** |
## Cookieless vs Cookie-Based Analytics: Complete Comparison
| Feature | Google Analytics 4 | Sealmetrics |
| --- | --- | --- |
| **Cookies** | Yes (`_ga`) | **No** — nothing stored on the device |
| **Consent in the EU** | Required for analytics cookies ([source](https://www.google.com/about/company/user-consent-policy/)) | **Not required for its own analytics** (self-assessed; Germany: open question) |
| **Consent-driven data loss** | Depends on the site | **None from consent** |
| **IP address** | Not stored for EU/UK/CH users; used for geolocation, then discarded ([source](https://support.google.com/analytics/answer/12017362)) | **Not stored**; checked in flight against a public list of bot IPs, then dropped |
| **GDPR** | Configuration, DPA and consent are the site's job | **Designed to comply with the GDPR** (self-assessed, not certified) |
| **Data retention** | 2 or 14 months for event data ([source](https://support.google.com/analytics/answer/7667196)) | **24 months**, fixed for every plan |
| **Price** | Standard properties free; Analytics 360 paid | **First 1M events free**, then from €499/month billed annually ([pricing](https://sealmetrics.com/docs/billing.md)) |
| **Captures visitors who ignore the banner** | No | **Yes** |
For side-by-side comparisons with other analytics vendors, see the [comparisons](https://sealmetrics.com/docs/compare.md): every claim about another vendor there links to its public source.
## Why GDPR Compliance Matters More Than You Think
Many websites believe Google Analytics is GDPR-compliant if they have:
- A privacy policy
- A Data Processing Agreement (DPA)
- Explicit consent mechanism
This approach creates significant legal risk. Multiple EU data protection authorities have clarified that Google Analytics violates GDPR because:
1. **Transfers to US**: Data transfers to Google's US servers lack adequate legal basis post-Schrems II
2. **Excessive Data Collection**: Google Analytics collects more data than necessary for analytics
3. **Google's Own Use**: User data is used for Google's own purposes (advertising, profiling)
4. **Legitimacy Questions**: Even with DPA, the fundamental transfer violates GDPR
CNIL (French data protection authority) explicitly stated in 2022 that Google Analytics use is non-compliant, and pointed site owners to audience-measurement tools that meet its consent-exemption criteria. (No authority has certified or recommended Sealmetrics; our own [CNIL self-assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) is exactly that.)
Cookieless analytics platforms like Sealmetrics solve this by:
- Processing data in EU (no US transfers)
- Collecting only necessary analytics data
- Not using data for secondary purposes
- Storing nothing on the device and only short-lived pseudonymised data, processed under legitimate interest (GDPR Art. 6(1)(f)), with aggregated reports
- Eliminating the need for complex consent mechanisms
For a German eCommerce site, the choice between Google Analytics and Sealmetrics isn't just about data accuracy—it's also about legal risk. Germany is also where the consent question for Sealmetrics itself is still open: the DSK does not extend §25(2) TDDDG to audience measurement, and the tracker reads device properties via JavaScript, which may count as "access" under §25(1) — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md).
## How to Implement Cookieless Analytics
Implementing cookieless analytics depends on your platform, but the general process is straightforward.
### Sealmetrics Implementation (Simplest Option)
**Step 1: Create Account** [Open your free account](https://my.sealmetrics.com/register). Your first 1M events are free, with no card; paid plans only start when you choose one.
**Step 2: Add Tracking Code** Sealmetrics provides a single JavaScript snippet. Add this to your website's `` section.
**Step 3: Verify Installation** Go to Sealmetrics dashboard. If you see today's visitor count, installation is complete. Most websites complete this in about 4 minutes.
**Step 4: (Optional) Remove Old Analytics** Once you confirm Sealmetrics data is flowing, you can remove Google Analytics if desired.
### Verification Checklist
```plaintext
[ ] Sealmetrics code added to
[ ] Dashboard shows visitor count
[ ] Page views appear in real-time
[ ] Conversion tracking configured (if needed)
[ ] No console errors in browser DevTools
[ ] Privacy policy updated (mention Sealmetrics)
```
## Cookieless Analytics Best Practices
Once implemented, follow these practices to maximize data quality and insights:
### 1. Use Clear UTM Parameters
Cookieless analytics captures UTM parameters like utm_source, utm_medium, utm_campaign. Structure these consistently:
```plaintext
utm_source=google_ads
utm_medium=cpc
utm_campaign=gdpr_compliance
utm_content=video_ad
```
### 2. Track Meaningful Conversions
Define conversion events that matter to your business:
- Form submissions
- Product purchases
- Demo requests
- Newsletter signups
- Download completion
Sealmetrics and similar platforms allow custom event tracking without code changes.
### 3. Implement Regularly Scheduled Reviews
Review analytics weekly for:
- Traffic trends
- Top-performing pages
- Conversion rates
- Geographic distribution
Monthly deeper analysis:
- Device/browser trends
- Seasonal patterns
- ROI by traffic source
### 4. Avoid Common Mistakes
**Mistake 1**: Ignoring data quality
- Verify UTM parameters are applied correctly
- Check that conversion events fire reliably
- Monitor for bot traffic
**Mistake 2**: Expecting overnight improvements
- Analytics changes take 2-4 weeks to show trends
- Don't adjust strategy based on single-day data
- Let data accumulate before drawing conclusions
## Frequently Asked Questions About Cookieless Analytics
### Is cookieless analytics accurate?
Yes, cookieless analytics is as accurate as—or more accurate than—cookie-based analytics. Sealmetrics does not lose visitors to consent because it doesn't rely on cookies or consent. Cookie-based platforms lose the visitors who reject or ignore the cookie banners, depending on sector, brand strength and traffic mix.
### Do I need consent for cookieless analytics?
Not for Sealmetrics, in its own self-assessment: it sets nothing on the device, stores no data that identifies anyone, and its session identifier rotates daily and cannot be reconstructed, which is how it fits the ePrivacy audience-measurement exemption. In Germany this is an open question — check with your DPO. You should still mention analytics in your privacy policy, but you do not need a cookie banner or consent popup.
### Will my visitors see a cookie banner?
Not for Sealmetrics' own analytics, in our self-assessment (in Germany an open question). Because no cookies are involved, Sealmetrics adds no banner of its own. This improves user experience and increases consent rates for other necessary elements (like contact forms).
### How long does data persist?
Sealmetrics retains aggregated analytics data for 24 months — a fixed period, identical for every plan, enforced by database TTLs (event-level detail is purged after 14 days). This is significantly longer than Google Analytics (14 months default) and sufficient for annual trend analysis.
### Is cookieless analytics GDPR compliant?
Sealmetrics is designed to comply with the GDPR: nothing stored on the device, EU-only data, aggregated reports — our self-assessment, not a certification. It is designed so that no data that identifies anyone is stored — no IP addresses, no persistent identifiers; the session identifier is ephemeral, rotates daily and, once rotated, cannot be reconstructed. During the day it is pseudonymised data processed under legitimate interest (GDPR Art. 6(1)(f)); reports are always aggregated. You should still update your privacy policy to mention analytics.
### What happens with cross-domain tracking?
Cookieless analytics handles cross-domain scenarios differently than cookie-based approaches. Sealmetrics tracks each domain separately unless you configure specific cross-domain setup. Consult documentation for your specific platform.
### Can I migrate from Google Analytics to Sealmetrics?
Yes. Historical Google Analytics data cannot be imported, but you can implement Sealmetrics alongside GA4 temporarily. After 2-3 months of Sealmetrics data, switch completely.
### How does cookieless analytics handle mobile users?
Mobile browsers increasingly block third-party cookies and tracking. Sealmetrics captures mobile traffic reliably because it doesn't depend on cookies or third-party mechanisms. Mobile data is typically more accurate with cookieless platforms.
### What about bot traffic?
Sealmetrics filters obvious bot traffic automatically. However, sophisticated bots can occasionally appear as real visitors. Regularly review traffic sources and set up exclusions if needed.
### Is cookieless analytics cheaper than Google Analytics?
Google Analytics 4 is free. Cookieless alternatives like Sealmetrics cost $9-100+ monthly depending on volume. The tradeoff is: free but dependent on consent — and on the data that consent costs you — versus paid but measuring the traffic you lose today to the cookie banner.
### Can I use both Google Analytics and cookieless analytics simultaneously?
Yes. Many companies run both initially. Google Analytics provides additional features; cookieless analytics is designed for GDPR compliance and captures data GA4 misses. Eventually, you'll likely consolidate on cookieless.
## The Future of Analytics: Why Cookieless is Inevitable
Multiple trends guarantee cookieless analytics becomes dominant:
**1. Browser protections**: Safari and Firefox already restrict cookies; Google dropped its plan to remove third-party cookies from Chrome, so in the EU the consent banner remains the main source of data loss for cookie-based analytics.
**2. EU Regulatory Pressure**: CNIL, GDPR enforcement, and similar bodies continue pressuring cookie-based approaches. Cookieless becomes legally preferred.
**3. Privacy-Conscious Users**: Consumer demand for privacy increases annually. Cookieless analytics aligns with user values.
**4. Better Business Outcomes**: Platforms like Sealmetrics measure the traffic that cookie-based solutions lose to the banner. Better data drives better decisions.
The question isn't whether your analytics approach will eventually become cookieless—it's when you'll make the transition.
## Conclusion: Moving to Cookieless Analytics
Cookieless analytics represents the modern standard for privacy-compliant, accurate website tracking. Unlike cookie-based approaches that lose the visitors who reject or ignore the cookie banner, consentless analytics like Sealmetrics keep the visitors that banner rejection would remove.
The business case is clear:
- **Better Insights**: measure the traffic you lose today to the cookie banner, not only the visitors who consented
- **Designed for the GDPR**: measure with minimal, pseudonymised data that becomes unrecoverable daily
- **No Consent Complexity**: no banner for Sealmetrics' own analytics (self-assessed; Germany: open question)
- **Faster Implementation**: Set up in minutes, not hours
Starting with Sealmetrics takes about 4 minutes. The result is clearer understanding of your visitors, better-informed marketing decisions, and analytics designed to comply with the GDPR (self-assessed, not certified).
Your competitors are already making this shift. The websites that understand their complete visitor behavior will outperform those relying on incomplete cookie-based data.
In short
- Cookieless analytics tracks visitors without HTTP cookies, so — for Sealmetrics' own analytics, by our self-assessment (Germany: open question) — no consent banner is needed and banner ghosters, cookie rejectors and privacy-focused browsers are all measured.
- Cookie-based analytics lose the visitors who reject or ignore the cookie banner depending on sector, brand strength and traffic mix — a loss invisible inside the tool's own reports.
- Sealmetrics stores no IP addresses, nothing on the device and no data that identifies anyone, keeps aggregated data for 24 months, and installs with one script tag in about 4 minutes.
## Related documentation
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the consentless concept behind cookieless measurement
- [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md) — technical deep dive into how hits are recorded without identifying anyone
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — full legal analysis with GDPR article references
- [GA4 vs Sealmetrics — Complete Comparison](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) — feature-by-feature comparison with Google Analytics
- [First Steps with Sealmetrics](https://sealmetrics.com/docs/getting-started/quick-start.md) — implement cookieless analytics in a few minutes
## UTM Governance: Naming Conventions That Keep Attribution Clean
URL: https://sealmetrics.com/docs/guides/utm-governance/
UTM governance for Sealmetrics: lowercase values, one separator, one canonical name per source, mediums matching default channels, no UTMs on internal links.
UTM governance is a small set of written naming rules, applied by everyone who creates a link, that keeps attribution clean. Every marketing report starts with a decision someone made while pasting a link — what to type after `utm_source=`. Get it right consistently and your Sources report tells you exactly which channels make money; get it wrong — `Facebook` here, `facebook` there, `fb` in the ESP — and the same channel splinters into three rows, your channel grouping misfires, and every downstream decision is made on fragmented data.
This is what UTM governance means: a small set of written rules, applied by everyone who creates a link, forever. This guide gives you the complete playbook — naming conventions, a source/medium taxonomy that matches Sealmetrics's default channel definitions, the errors that silently corrupt attribution, a spreadsheet template your team can adopt today, and a walkthrough of how Sealmetrics actually processes UTM parameters so you understand *why* the rules matter.
It matters even more in Sealmetrics than in cookie-based tools. Sealmetrics reads UTM parameters **directly from the URL on every page load, without cookies** — attribution also works for the visitors who reject or ignore consent banners. That's the good news. The flip side: your UTMs are the primary attribution signal, so their quality *is* your attribution quality.
## The Five UTM Parameters, and What Each Is Actually For
Sealmetrics recognizes the five standard UTM parameters:
| Parameter | URL format | Answers | Example values |
| --- | --- | --- | --- |
| Source | `utm_source=` | *Which site or platform sent the click?* | `google`, `facebook`, `newsletter` |
| Medium | `utm_medium=` | *What kind of channel is it?* | `cpc`, `organic`, `email` |
| Campaign | `utm_campaign=` | *Which initiative paid for or produced the link?* | `spring-sale`, `brand-2025` |
| Term | `utm_term=` | *Which keyword (paid search)?* | `running+shoes` |
| Content | `utm_content=` | *Which variant of the ad or link?* | `banner-a`, `text-link` |
A fully tagged URL looks like this:
```plaintext
https://example.com/landing?utm_source=google&utm_medium=cpc&utm_campaign=spring-sale&utm_term=running+shoes&utm_content=banner-a
```
Two of these carry almost all the analytical weight. **Source** and **medium** together determine which row of the Sources report the visit lands in and — critically — which **channel** it's assigned to (more on that below). **Campaign** is how you compare initiatives against each other. **Term** and **content** are refinements: keyword-level analysis and creative A/B testing respectively.
The most common conceptual mistake is blurring the source/medium boundary. A useful mental test:
- **Source is a proper noun** — the name of a specific place: `google`, `facebook`, `mailchimp`, `partner-blog`.
- **Medium is a category** — a type of traffic that many sources can share: `cpc`, `email`, `social`, `affiliate`.
If you find yourself typing `utm_medium=facebook`, stop — Facebook is a source. The medium is `social` (organic posts) or `cpc`/`paid` (ads).
## What happens when a UTM parameter is missing?
When a UTM parameter is absent from the URL, Sealmetrics reports **"(not set)"** for that field — except `utm_medium`, which shows as **"(none)"**, aligned with GA4's convention. Untagged visits aren't lost: a visit arriving from an untagged external link is attributed to its **referring domain** with medium `referrer` (e.g. `reddit.com / referrer`), and a visit with no referrer at all is `direct`. See [Understanding the "(not set)" value](https://sealmetrics.com/docs/reports/insights/understanding-not-set.md) and [Referral vs Direct Traffic](https://sealmetrics.com/docs/reports/insights/referral-vs-direct-traffic.md).
Governance implication: you only need to tag links **you control** (ads, emails, social posts, partner placements). Organic search, untagged referrals, and direct traffic classify themselves.
## Naming Conventions: The Non-Negotiables
These four rules prevent most UTM chaos. Put them at the top of your governance doc.
### 1. Always lowercase
Sealmetrics reports group by the **exact string value**. `Facebook`, `facebook`, and `FACEBOOK` are three different sources — three separate rows in your report, three separate inputs to channel classification. There is no automatic case normalization at ingest (and deliberately so: silently rewriting your data would be its own problem).
The fix is procedural, not technical: **every UTM value is lowercase, no exceptions.** It's the single highest-leverage rule in this guide because case errors are invisible in the URL bar and only surface weeks later as duplicate rows.
### 2. snake_case or hyphens — pick one separator, never spaces
Multi-word values need a separator. Use underscores (`black_friday_2026`) or hyphens (`black-friday-2026`) — both are fine; what matters is that your team picks **one** and uses it everywhere. Mixed separators (`black_friday` in email, `black-friday` in ads) split one campaign into two rows exactly like a case mismatch does.
**Never use spaces.** A space in a URL gets encoded as `%20` or `+` depending on the tool that built the link, which means "summer sale" can arrive as `summer%20sale`, `summer+sale`, or break the URL entirely. Spaces are how you end up with unexplainable garbage values in the Campaigns tab.
Avoid other special characters too (`&`, `?`, `#`, `=` have structural meaning in URLs). Stick to `a–z`, `0–9`, and your chosen separator.
### 3. One canonical name per entity
Decide the one true spelling of every recurring source and medium, write it down, and outlaw the synonyms:
- `facebook` — not `fb`, not `facebook.com`, not `meta`
- `google` — not `google.com`, not `adwords`
- `newsletter` — not `news_letter`, not `nl`
Domains make bad source values (`facebook.com` vs `facebook`) because they look plausible and thus survive review. Pick the bare platform name.
### 4. Stable, structured campaign names
Campaign names live forever in your historical data, so make them self-describing. A structure that scales well:
```plaintext
{year}_{initiative}_{detail}
2026_black_friday_early_access
2026_brand_awareness_q3
2026_product_launch_alpine
```
Prefixing the year keeps recurring campaigns comparable across editions (`2025_black_friday` vs `2026_black_friday`) without ambiguity. Whatever structure you choose, the governance rule is the same: campaign names are **created in the spreadsheet first** (see below), never improvised in the ad platform at publish time.
## A Source/Medium Taxonomy Aligned with Sealmetrics Channels
Here's why medium discipline pays off directly in Sealmetrics: the **Channels** tab of the [Sources report](https://sealmetrics.com/docs/reports/sources.md) buckets every session into a marketing channel by matching its `utm_source`, `utm_medium`, and `utm_campaign` against channel grouping rules. Sealmetrics ships with default channels — from **Paid Search** and **Paid Social** down to **Referral** and **Direct** — whose rules match on exactly the source and medium values in the canonical table on that page. Traffic that matches no rule lands in **Unassigned**.
So the taxonomy below isn't arbitrary: each recommended medium is one the **default channel rules already recognize**. Use these values and your Channels tab works out of the box, with zero custom configuration.
| Traffic type | `utm_source` (examples) | `utm_medium` | Default channel it lands in |
| --- | --- | --- | --- |
| Paid search ads | `google`, `bing` | `cpc` | **Paid Search** |
| Paid social ads | `facebook`, `instagram`, `linkedin`, `tiktok` | `cpc` (or `paid`) | **Paid Social** |
| Paid video ads | `youtube`, `vimeo`, `twitch` | `cpc` (or a paid/video medium) | **Paid Video** |
| Display / banners | ad network name | `display` | **Display** |
| Shopping ads | `google`, `bing` | `shopping` | **Paid Shopping** |
| Organic social posts | `facebook`, `instagram`, `linkedin`, `x` | `social` | **Organic Social** |
| Email campaigns | `newsletter`, `mailchimp`, `klaviyo` | `email` | **Email** |
| AI assistants | `chatgpt`, `perplexity` | `ai` | **AI** |
| Affiliate partners | partner name | `affiliate` | **Affiliates** |
| SMS campaigns | your brand or tool name | `sms` | **SMS** |
| Push notifications | your tool name | `push` | **Push** |
| Podcast / audio | `spotify`, podcast name | audio medium | **Audio** |
A few notes on using this table:
- **Don't tag what classifies itself.** Organic search (`Organic Search`), untagged referrals (`Referral`), and direct visits (`Direct`) are detected without UTMs. Tagging is for the links you place.
- **The default rules are forgiving; your taxonomy shouldn't be.** The Paid Search rule matches several paid mediums (`cpc`, `ppc`, `paid`, `sem`) precisely because teams are inconsistent. Pick **one** — we recommend `cpc` for all paid click inventory — so your Mediums tab stays clean even though the channel layer would have caught the synonyms.
- The full, canonical channel-by-channel matching table lives in the [Sources report documentation](https://sealmetrics.com/docs/reports/sources/#default-channels). If you go beyond the defaults — Brand vs Non-Brand splits, per-partner affiliate channels — that's what custom [Channel Grouping](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping.md) rules are for, with a safe draft → test → publish workflow.
## The Errors That Silently Corrupt Attribution
Every one of these comes from a real-world pattern. Screen your links against this list.
### Case and synonym drift
Covered above, but worth restating as the #1 offender: `utm_source=Facebook` vs `facebook`, `fb` vs `facebook`, `Email` vs `email`. Each variant is a separate row and a separate input to channel rules. The symptom is a Sources report where the same logical channel appears multiple times with split metrics.
### Spaces and encoding surprises
`utm_campaign=spring sale` becomes `spring%20sale` or `spring+sale` depending on which tool encoded it — potentially both, in the same campaign, from different tools. Use your separator instead.
### UTMs on internal links — never
UTM parameters describe **how a visitor arrived at your site from outside**. Putting them on internal links — a homepage banner tagged `utm_source=homepage_banner`, a menu item tagged `utm_campaign=nav_test` — is the most destructive mistake on this list: mid-visit, you're overwriting the *acquisition* signal with *navigation* trivia. The visitor who actually came from your expensive Google Ads campaign now shows up in reports attributed to "homepage_banner". Your acquisition data gets polluted by on-site behavior, and no report can un-mix them afterwards.
For measuring internal elements, use [microconversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) (`sealmetrics.micro('cta_click')`) or [Content Grouping](https://sealmetrics.com/docs/platform/settings/tracking/content-grouping.md) — that's what they're for. UTMs are for external links only. No exceptions.
### Medium/source role confusion
`utm_medium=facebook` (a source in the medium slot), `utm_source=cpc` (a medium in the source slot). Both cause the channel rules to see nonsense — the Paid Social rule expects a social network in *source* and a paid medium in *medium*, so an inverted pair falls through to **Unassigned**. Apply the proper-noun/category test from above.
### Redundant or overloaded parameters
Stuffing everything into one parameter (`utm_campaign=facebook_cpc_black_friday_banner_a`) wastes the structure that makes reports filterable. That string contains a source, a medium, a campaign, and a content variant — put each in its own parameter and the Sources report's drill-downs (source → campaigns → terms) work for free.
### Tagging your own domain in emails-to-site handoffs
Watch out for tools that append their own tracking parameters (some affiliate networks and CMSes do). If a vendor's parameter carries real attribution value under a non-UTM name, don't rewrite your links — map it with [UTM Mapping](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping.md) (see below).
## The Governance Spreadsheet
The difference between having conventions and having *governance* is a living document. One shared spreadsheet, one owner, and a rule: **no tagged link ships unless its campaign row exists in the sheet.**
A battle-tested structure — one row per tagged link (or per link family):
| Column | Example | Notes |
| --- | --- | --- |
| Date created | `2026-07-23` | |
| Owner | `maria` | Who to ask when the row is unclear |
| Landing URL | `https://example.com/landing` | Without parameters |
| `utm_source` | `facebook` | **Dropdown** from your canonical source list |
| `utm_medium` | `cpc` | **Dropdown** from your canonical medium list |
| `utm_campaign` | `2026_black_friday_early_access` | Free text, but validated against the naming pattern |
| `utm_term` | `running_shoes` | Paid search only |
| `utm_content` | `banner_a` | Only when A/B testing creatives |
| Final URL | *(formula)* | Concatenated automatically — humans never hand-assemble URLs |
| Status | `live` | `draft` / `live` / `ended` |
Three practices make the sheet actually work:
1. **Dropdown validation on source and medium.** Free-text fields are where `Facebook` sneaks in. Data-validation dropdowns make the canonical list the only possible input — the spreadsheet becomes your enforcement mechanism, not just your record.
2. **A URL-building formula.** The Final URL column concatenates the landing URL and parameters (lowercasing on the way is cheap insurance). Marketers copy the finished URL; nobody types `?utm_` by hand.
3. **A named owner.** Someone approves new campaign names, prunes ended rows, and owns the canonical value lists. Governance without an owner decays in about one quarter.
Review the sheet against your live data monthly: open the Sources report, sort each tab, and look for rows that shouldn't exist — an unfamiliar source, a `(not set)` where a campaign should be, a near-duplicate value. Every anomaly traces back to either an untagged link (add it to the sheet) or a rule violation (fix the link, remind the human).
## How Sealmetrics Processes Your UTMs
Understanding the pipeline turns the rules above from dogma into engineering. When a visit arrives, Sealmetrics processes attribution in this order:
```plaintext
URL arrives → UTMs extracted → Your UTM Mappings applied
→ Channel rules evaluated (custom → default)
→ Channel assigned to the visit
```
### Stage 1: UTMs are read from the URL — every load, no cookies
The tracker reads the query string on each page load. There is no consent gate and no cookie dependency, which is why Sealmetrics attributes campaigns correctly even for visitors that cookie-based tools lose entirely. Your tagged URL *is* the attribution record.
### Stage 2: UTM Mappings translate custom parameters
If your ESP, CRM, or ad platform emits its own parameter names — `campaign_id`, `email_source`, `ad_medium` — [UTM Mapping](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping.md) lets you declare, per site, "treat `campaign_id` as `utm_campaign`". The mapping is applied at ingest, before classification, with well-defined semantics: **explicit UTMs win** over mapped values by default (unless you enable the per-mapping *Override the UTM if the URL already has one* option, meant for feeds whose UTMs you don't control), mappings copy (never move) the value, and empty parameters are a no-op. Mappings take effect in ~5 minutes and apply to future traffic only.
Governance implication: UTM Mapping is your integration escape hatch, not an excuse to skip conventions. The *values* still need to follow your taxonomy — mapping renames the parameter, it never rewrites `Facebook` into `facebook`. There's deliberately no value transformation at ingest.
### Stage 3: Channel rules classify the visit
With final UTM values in hand, Sealmetrics evaluates [channel grouping rules](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping.md) in priority order — your account's custom rules first, then the defaults — and the first match wins. This is where your source/medium discipline cashes out: rules are regex patterns over `utm_source`, `utm_medium`, and `utm_campaign`, so consistent values mean deterministic channels.
Two governance-relevant features of the channel settings:
- **Test before you trust.** The **Test a visit** tool in Channel Grouping settings lets you type any source/medium/campaign combination and see exactly which rule catches it — including draft rules that aren't live yet. Make it a habit: when you add a new taxonomy value, test it before the campaign launches, not after a week of Unassigned traffic.
- **Drafts → test → publish.** Custom rules are created as drafts and only affect real classification when a human publishes them, so experimenting is safe. Rules can also be bulk-managed via CSV import/export.
### Where it all shows up
The [Sources report](https://sealmetrics.com/docs/reports/sources.md) presents the result across seven tabs — Channels (the default view), Sources, Mediums, Campaigns, Terms, Content, and Referrers — each with entrances, bounce rate, conversions, and revenue per row. Clean UTMs in, clean seven-way breakdown out.
## Your UTM Governance Checklist
Condensed version to copy into your team wiki:
- All UTM values are **lowercase**, always
- One separator (`_` or `-`), no spaces, no special characters
- One canonical name per source and medium — synonyms are outlawed in writing
- Mediums come from the [default-channel-compatible taxonomy](https://sealmetrics.com/docs/reports/sources/#default-channels)
- Campaign names follow a documented structure and are created in the spreadsheet first
- **Zero UTMs on internal links** — use microconversions or Content Grouping instead
- Links are generated by the spreadsheet formula, never hand-typed
- Custom vendor parameters are handled via [UTM Mapping](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping.md), values still follow the taxonomy
- New values are checked in the [Channel Grouping "Test a visit" tool](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping/#using-test-a-visit) before launch
- Monthly audit of the Sources report against the spreadsheet, with a named owner
In short
- Four non-negotiables: always lowercase, one separator (`_` or `-`, never spaces), one canonical name per source and medium, and structured campaign names created in a shared spreadsheet first.
- Sealmetrics reads UTMs from the URL on every page load without cookies, applies UTM Mappings at ingest, then evaluates channel rules (custom first, then default) — so consistent values mean deterministic channels.
- Never put UTMs on internal links: they overwrite the acquisition source mid-visit; use microconversions or Content Grouping instead.
## Related documentation
- [Sources Report](https://sealmetrics.com/docs/reports/sources.md) — the canonical default-channel table and all seven analysis tabs
- [UTM Mapping](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping.md) — custom parameter names → standard UTMs at ingest
- [Channel Grouping](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping.md) — custom channels, the rule tester, and the draft workflow
- [How to Track Google Ads Campaigns](https://sealmetrics.com/docs/reports/insights/how-to-track-google-ads-campaigns.md) — UTM templates for paid search
- [How to Track Social Ads Campaigns](https://sealmetrics.com/docs/reports/insights/how-to-track-social-ads-campaigns.md) — UTM tagging for Meta Ads
- [How to Change UTM Parameters](https://sealmetrics.com/docs/reports/insights/how-to-change-utm-parameters.md) — the UTM Mappings UI walkthrough
## GA4 to Sealmetrics: The Complete Migration Checklist
URL: https://sealmetrics.com/docs/guides/ga4-migration-checklist/
Phase-by-phase checklist to migrate from GA4 to Sealmetrics: audit events, map them to conv()/micro(), run 30 days in parallel, then switch GA4 off safely.
Migrating from Google Analytics 4 to Sealmetrics is not technically hard — the tracker is one script tag and conversions are one JavaScript call. What trips teams up is everything *around* the install: forgetting an event that a monthly report depends on, comparing metrics that aren't defined the same way, or switching GA4 off before anyone validated the new numbers.
This guide is the antidote: a phase-by-phase checklist that takes you from a GA4 audit to a confident GA4 shutdown, with a full metric-equivalence table and a realistic picture of what the side-by-side data **should** look like — because if you don't know in advance that Sealmetrics will report substantially more traffic than GA4, the first parallel-running week will look like a bug instead of the whole point.
Most teams complete the migration in **1–2 weeks of work spread over ~5 weeks of calendar time** (the parallel-validation month is deliberately slow). Both platforms coexist without conflict, so there is no risky cutover moment: GA4 keeps running until you choose to stop it.
Companion pages
This checklist goes deep on process. For the concept-by-concept overview see the [GA4 Migration Guide](https://sealmetrics.com/docs/ga4-migration.md), and for the full product comparison (features, pricing, compliance) see [GA4 vs Sealmetrics](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md).
## Phase 0 — Audit What You Actually Use in GA4 (2–4 hours)
Before touching any code, inventory your GA4 property. The goal is a written list of everything the migration must preserve — and, just as valuable, everything it doesn't need to.
- **List the core metrics your team reports on.** Sessions, users, pageviews, conversions, revenue — note which reports and dashboards consume each.
- **Export the event inventory.** In GA4, list every event (including [recommended events](https://support.google.com/analytics/answer/9267735)) and which ones are marked as key events (conversions). For each: what triggers it, what parameters it carries, who looks at it.
- **Flag the zombie events.** Most GA4 properties accumulate events nobody has looked at in a year. Mark them — you will *not* migrate them, and that's a feature.
- **Document your eCommerce implementation.** Which eCommerce events fire (`purchase`, `add_to_cart`, `begin_checkout`, `view_item`), whether they're implemented via gtag or Google Tag Manager, and where the purchase value comes from.
- **List audiences and custom definitions** (custom dimensions/metrics) that reports depend on.
- **List connected integrations.** Google Ads links, Search Console, Data Studio dashboards, BigQuery export. For each: who consumes it and what breaks without it.
- **Note your GA4 reporting timezone.** You'll need it in Phase 2 — timezone mismatch is the most common cause of "the daily numbers don't line up".
- **Note your data-retention settings** and decide what history you need to export before shutdown (Phase 5).
One integration deserves a decision now, not later: **Google Ads audience sync**. Sealmetrics tracks Google Ads campaigns end to end via UTM parameters and provides ROAS reporting, but it does not push audience segments back to Google Ads for automated bidding — that requires GA4 with consented users. If your bidding strategy depends on GA4 audiences, plan to keep GA4 running for that single purpose while Sealmetrics becomes the source of truth for traffic and conversions. Many teams run exactly this split permanently.
## Phase 1 — Map GA4 Events to `conv()` and `micro()` (half a day)
Sealmetrics has a deliberately simpler event model than GA4. Instead of one undifferentiated event stream where anything can be promoted to a "key event", there are two explicit calls:
- **`sealmetrics.conv(type, amount)`** — a **conversion**: a goal completion, optionally with monetary value.
- **`sealmetrics.micro(type)`** — a **microconversion**: a funnel step or engagement signal on the way to a conversion.
The mapping exercise is to sort your surviving GA4 events into those two buckets. The dividing line: *would you celebrate this event on its own?* Purchases, leads, signups — conversions. Add-to-carts, video plays, scroll milestones — microconversions.
### Recommended event mapping
| GA4 event | Sealmetrics call | Notes |
| --- | --- | --- |
| `purchase` | `sealmetrics.conv('purchase', value)` | Pass the order total; it feeds Revenue and AOV |
| `generate_lead` | `sealmetrics.conv('lead')` | Amount optional |
| `sign_up` | `sealmetrics.conv('signup')` | |
| Subscription started | `sealmetrics.conv('subscription', value)` | |
| Booking / reservation | `sealmetrics.conv('booking', value)` | |
| `view_item` | `sealmetrics.micro('view_item')` | |
| `add_to_cart` | `sealmetrics.micro('add_to_cart')` | |
| `begin_checkout` | `sealmetrics.micro('begin_checkout')` | |
| Form submitted (non-lead) | `sealmetrics.micro('form_submit')` | |
| Newsletter subscription | `sealmetrics.micro('newsletter_signup')` | |
| CTA / button click | `sealmetrics.micro('cta_click')` | |
| `video_start` | `sealmetrics.micro('video_play')` | |
| `video_complete` | `sealmetrics.micro('video_complete')` | |
| `scroll` (90% default) | `sealmetrics.micro('scroll_50')` / `sealmetrics.micro('scroll_100')` | Pick the milestones you care about |
| `file_download` | `sealmetrics.micro('file_download')` | |
| `view_search_results` | `sealmetrics.micro('search')` | |
Naming rules (they matter for data continuity):
- **snake_case, descriptive, stable.** `add_to_cart`, not `addToCart`; `begin_checkout`, not `step2`. Changing a name later breaks historical continuity.
- **Never put personal data in events.** No order IDs, no user IDs, no emails — neither in the type name nor in properties. This is core to Sealmetrics's consentless model, and the platform's verification tooling actively rejects PII it detects.
- **Write the mapping down** as a two-column table (GA4 event → Sealmetrics call) before writing any code. It becomes your Phase 3 test plan.
- **Map custom dimensions to event properties.** GA4 custom dimensions become properties on the call: `sealmetrics.conv('purchase', 99.99, { currency: 'EUR', payment_method: 'card' })`. Only migrate the ones your reports actually use.
- **Map audiences to Segments** and **data streams to Sites** — see the concept table in the [GA4 Migration Guide](https://sealmetrics.com/docs/ga4-migration/#how-ga4-concepts-map-to-sealmetrics).
Let your AI assistant do the mapping
If you use Claude or another MCP-capable assistant, the [AI setup flow](https://sealmetrics.com/docs/getting-started/install-with-ai.md) can drive this phase: the assistant fetches the canonical instrumentation guide for your account, writes the `conv()`/`micro()` calls, and verifies each event arrives — rejecting typos and PII automatically.
## Phase 2 — Install Sealmetrics Alongside GA4 (1–2 hours)
Do **not** remove GA4 yet. The two coexist cleanly — Sealmetrics's tracker is 2.2 KB uncompressed, sets zero cookies, and doesn't interfere with gtag.
- **Create your account and site** — [First Steps](https://sealmetrics.com/docs/getting-started/quick-start.md) walks through it (or let [your AI assistant do it from a chat](https://sealmetrics.com/docs/getting-started/install-with-ai.md)).
- **Set the site timezone to match your GA4 reporting timezone** (Site settings → General) *before* collecting comparison data. Sealmetrics resolves every date preset in the site's timezone; a mismatch with GA4's reporting timezone shifts daily rollups by up to a day at the seams and will poison your Phase 3 comparison.
- **Install the tracker** on every page — one script tag in the ``, or via the [WordPress plugin, Google Tag Manager](https://sealmetrics.com/docs/getting-started/quick-start/#installation-methods), or your platform's [integration](https://sealmetrics.com/docs/integrations.md).
- **Verify the pixel:** open your site, then check the **Overview** report's *Last hit* timestamp — it updates within seconds.
- **Instrument the mapped events** from your Phase 1 table with `sealmetrics.conv()` / `sealmetrics.micro()` — see [How to Measure Conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) for placement patterns (thank-you pages, form handlers, button clicks).
- **Fire each event once and confirm it arrives** in the Conversions report with the date range set to today. Check the browser Network tab for requests to `t.sealmetrics.com` when the event fires.
- **Configure attribution settings** if you customized them in GA4: [channel grouping rules](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping.md), [UTM mappings](https://sealmetrics.com/docs/platform/settings/tracking/utm-mapping.md) for any custom parameter names, and [IP exclusions](https://sealmetrics.com/docs/platform/settings/tracking/ip-exclusions.md) for office/QA traffic.
- **Keep your UTM conventions intact.** Sealmetrics reads [standard UTMs](https://support.google.com/analytics/answer/10917952) automatically — no retagging needed. (This is also the ideal moment to clean up your taxonomy: see the [UTM Governance guide](https://sealmetrics.com/docs/guides/utm-governance.md).)
## Phase 3 — Run 30 Days in Parallel (calendar time, low effort)
Now both platforms measure the same site. Give it **30 days** — enough to cover weekly cycles, at least one campaign, and enough conversion volume for stable ratios.
- Week 1: confirm all pages are tracked (compare pageview coverage, spot-check key templates)
- Week 1: confirm every mapped event fires in production, not just in your test
- Weekly: record the GA4-vs-Sealmetrics ratio for entrances/sessions, conversions, and revenue
- Weekly: compare the *shape* of traffic (top sources, top pages, device split) — shapes should correlate even where totals differ
- Rebuild one key dashboard on Sealmetrics data early, so stakeholders acclimate before cutover
### What should the comparison look like?
This is the phase where unprepared teams panic, because **the numbers will not match — by design**. Here's what to expect and why:
**Sealmetrics will report substantially more traffic.** GA4 only records visitors who accept cookies (Consent Mode models part of the rest). Rejection plus banner-ghosting means GA4 misses part of your traffic; how much depends on your site, your banner and your audience, and the parallel run is how you measure it. Sealmetrics doesn't depend on consent, so it measures the traffic you lose to the banner today. If Sealmetrics shows *more*, that's the migration working. If it shows *less*, something's wrong — check tracker coverage.
**GA4's "Direct" share will look inflated by comparison.** When a visitor rejects cookies, GA4 loses the UTM/attribution context and often misfiles paid and organic traffic as "Direct / (none)". Sealmetrics reads UTMs from the URL on every load, consent or not, so campaign attribution stays intact for visitors who reject the banner too. Expect Sealmetrics to show more campaign-attributed traffic and proportionally less direct.
**The ratio, not the absolute, is your validation metric.** You can't reconcile the totals — they measure different populations. What you *can* validate: the GA4:Sealmetrics ratio should be roughly **stable week over week**, and relative rankings (top campaigns, top landing pages) should broadly agree. A stable ratio plus consistent shapes means both tools are healthy; a swinging ratio means an instrumentation problem.
**Some metrics won't exist to compare.** See the equivalence table below — GA4's users and session duration have no Sealmetrics counterpart, on purpose.
**Engagement metrics use different formulas.** GA4 counts a session as engaged if it lasted 10+ seconds *or* had a key event *or* had 2+ pageviews. Sealmetrics defines engaged strictly as **2+ pageviews** — computed in aggregate, with no individual tracking. Expect Sealmetrics's bounce rate to read somewhat higher and engagement rate somewhat lower than GA4's on the same traffic. Neither is wrong; they answer with different yardsticks.
### Metric equivalence table
| GA4 metric | Sealmetrics metric | Comparable? | Notes |
| --- | --- | --- | --- |
| Sessions | **Entrances** | Roughly | Same idea — a visit. Sealmetrics starts a session on arrival with an external (or no) referrer and groups follow-up hits within a ~2-hour inactivity window, with **no persistent identifier**. Expect higher counts (no consent loss). See [How Sealmetrics Calculates Entrances](https://sealmetrics.com/docs/reports/insights/how-sealmetrics-calculates-entrances.md) |
| Users / Total users | **Not tracked** | No | Identifying unique visitors requires a persistent identifier — personal data under GDPR. Use Entrances as the audience-size signal. See [Metrics Reference](https://sealmetrics.com/docs/reports/definitions/#unique-visitors--not-tracked) |
| Views (`page_view`) | **Pageviews** | Yes | Same definition: one page load = one pageview |
| Engaged sessions | **Engaged Entrances** | Formula differs | Sealmetrics: strictly sessions with 2+ pageviews. GA4 also counts 10s duration or a key event |
| Engagement rate | **Engagement Rate** | Formula differs | Engaged Entrances / Entrances × 100. Expect a lower reading than GA4's |
| Bounce rate | **Bounce Rate** | Formula differs | (Entrances − Engaged Entrances) / Entrances × 100, aggregate-only. Expect a higher reading than GA4's |
| Views per session | **Pages per Session** | Yes | Pageviews / Entrances |
| Average engagement time / session duration | **Not tracked** | No | Requires following an individual across page loads — excluded by design |
| Key events (conversions) | **Conversions** | Yes | Each `sealmetrics.conv()` call counts as 1; a session can convert more than once |
| Events (non-key) | **Microconversions** | Yes | Each `sealmetrics.micro()` call counts as 1 |
| Purchase revenue | **Revenue** | Yes | Sum of amounts passed to `sealmetrics.conv(type, amount)` |
| — | **AOV** | — | Revenue / Conversions, built in |
| Session conversion rate | **Conversion Rate** | Roughly | Conversions / Entrances × 100 — not deduplicated per session, capped at 100% |
| Session default channel group | **Channels** | Yes | Default channel rules (Paid Search, Organic Social, Email, AI…) — see the [Sources report](https://sealmetrics.com/docs/reports/sources/#default-channels), customizable via [Channel Grouping](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping.md) |
| Audiences | **Segments** | Yes | Saved filter sets |
| Custom dimensions | **Custom properties** | Yes | Properties on `conv()`/`micro()` calls, reported under [Properties](https://sealmetrics.com/docs/reports/properties.md) |
| Predictive metrics (purchase/churn probability) | **Not available** | No | Sealmetrics reports observed behavior only |
### Sign-off criteria to exit Phase 3
- Every event in the Phase 1 mapping table has produced production data
- The GA4:Sealmetrics entrance ratio has been stable (±~10%) for 2+ consecutive weeks
- Top-5 sources, campaigns, and landing pages broadly agree in ranking across both tools
- Revenue totals are explainable (Sealmetrics ≥ GA4, with the gap consistent with your consent-rejection rate)
- Stakeholders have seen a Sealmetrics-based version of their key report and accepted the definitional differences above
## Phase 4 — Preserve GA4 History and Repoint Consumers (half a day)
Sealmetrics starts collecting from day one; it does not import GA4 history. Whatever you'll want to reference later must be exported **while GA4 still works**.
- **Export the reports you'll want as reference** — monthly traffic, top campaigns, conversion totals — via CSV, or raw events via BigQuery export if you have it. GA4's retention window (14 months on the free tier) means this history disappears on its own schedule anyway.
- **Rebuild dashboards** (Data Studio, BI) against Sealmetrics's [Exports API](https://sealmetrics.com/docs/api/exports.md) or [Batch API](https://sealmetrics.com/docs/api/batch.md), and use per-report CSV/PDF export for one-off needs.
- **Repoint every consumer** from the Phase 0 integration list: dashboards, scheduled reports, internal tools.
- **Brief the team on the new vocabulary** — entrances not sessions, no users metric, the engagement formula difference. The equivalence table above is the handout.
## Phase 5 — Switch GA4 Off (1 hour, plus a decision)
Only after Phase 3 sign-off and Phase 4 exports:
- **Remove the GA4 tag** (gtag snippet or the GTM tag) from your site — unless you decided in Phase 0 to keep GA4 alive for Google Ads audience sync, in which case scope it to that and stop using it for reporting.
- **Archive, don't delete, the GA4 property** — it costs nothing to keep and preserves whatever history remains accessible.
- **Revisit your consent banner.** With GA4 gone, analytics no longer requires consent — Sealmetrics operates consentless because it stores nothing on the device and its session identifier rotates daily and cannot be reconstructed (its self-assessment against the ePrivacy audience-measurement exemption; in Germany this is an open question, so check with your DPO). If other cookie-setting tools remain (ad pixels, etc.) you still need consent for *those*; if analytics was the only reason for the banner, you can now remove it. See the [compliance overview](https://sealmetrics.com/docs/compliance.md).
- **Announce the cutover date** internally: from this date, Sealmetrics is the source of truth and GA4 numbers are historical reference only. Comparing across the boundary without the equivalence table above is banned in polite company.
## What are the common migration pitfalls?
- **Comparing absolutes instead of ratios in Phase 3.** The totals will never match; the stability of the gap is the signal.
- **Skipping the timezone alignment.** A GA4/Sealmetrics reporting-timezone mismatch shifts daily numbers at the day boundary and makes honest data look broken.
- **Migrating every GA4 event.** The zombie events you flagged in Phase 0 stay dead. Migrate what reports consume.
- **Putting IDs in events.** GA4 tolerated `purchase_12345`-style event data; Sealmetrics's model (and its verification tooling) forbids personal data and order/user IDs in events. Keep types stable and generic; details go in non-PII properties.
- **Switching off GA4 before exporting.** Retention limits make this a one-way door.
- **Expecting session duration or users.** They're not late features — they're deliberately excluded because they require individually tracking people. The privacy-safe substitutes are pages per session, engaged entrances, and entrances.
In short
- Six phases: audit GA4 (2–4 h), map events to `conv()`/`micro()` (half a day), install alongside GA4 (1–2 h), run 30 days in parallel, export GA4 history, then switch GA4 off — about 1–2 weeks of work over ~5 weeks.
- Expect Sealmetrics to report substantially more traffic than GA4 and less "Direct"; validate the stability of the GA4:Sealmetrics ratio (±~10% for 2+ weeks), not the absolute totals.
- Users and session duration have no Sealmetrics counterpart by design; engaged entrances are strictly sessions with 2+ pageviews, so bounce rate reads higher than GA4's.
## Related documentation
- [GA4 Migration Guide](https://sealmetrics.com/docs/ga4-migration.md) — concept-mapping overview and what's different
- [GA4 vs Sealmetrics — Complete Comparison](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) — features, compliance, and pricing side by side
- [First Steps with Sealmetrics](https://sealmetrics.com/docs/getting-started/quick-start.md) — the installation walkthrough
- [Set Up Sealmetrics with Your AI Assistant](https://sealmetrics.com/docs/getting-started/install-with-ai.md) — let an AI agent run the install and event verification
- [How to Measure Conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) — `conv()`/`micro()` implementation patterns
- [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md) — every formula behind the equivalence table
## Tracker Performance Report: Sealmetrics vs GA4, Matomo and Piwik PRO
URL: https://sealmetrics.com/docs/guides/tracker-performance-report/
Sealmetrics t.js is 2.2 KB uncompressed (3 Dec 2026) — ~6× lighter than the legacy v1 tracker, ~202× lighter than GA4 gtag.js; Matomo and Piwik PRO sit between.
The current Sealmetrics tracker is **2.2 KB uncompressed** (measured 3 December 2026; every figure in this report that compares scripts is uncompressed) — about 6× less than the legacy Sealmetrics v1 tracker and roughly 202× less than GA4's `gtag.js`. The two open-source-lineage alternatives sit in between and much closer to GA4 than to Sealmetrics: Piwik PRO's `ppms.js` is ~32× larger than `t.js`, Matomo's `matomo.js` ~103× larger. That weight, combined with a single-step dispatch chain and an ingestion pipeline rebuilt from scratch (Go → RabbitMQ → ClickHouse), translates into more hits captured: dual-tagged sites (running both Sealmetrics trackers in parallel) measure **25–30% more traffic on average with the current tracker than with v1**, with the gain concentrated in mobile traffic and in visitors geographically far from our Dublin servers.
**Key numbers at a glance:**
| Sealmetrics compared with | Script size advantage (uncompressed) | Measured traffic difference |
| --- | --- | --- |
| Legacy Sealmetrics v1 | ~6× lighter | +25–30% (dual-tag average) |
| GA4 (`gtag.js`) | ~202× lighter | Specific to each site (EU markets) |
| Matomo (`matomo.js`) | ~103× lighter | not measured |
| Piwik PRO (`ppms.js`) | ~32× lighter | not measured |
Matomo and Piwik PRO appear here on **script weight only** — see Matomo and Piwik PRO for why this report makes no timing or traffic-capture claim about either.
Measurement dates
Three dated passes, all taken the same way: one GET per script with `Accept-Encoding: gzip`, bytes counted on disk, headers read from that same GET.
- **9 August 2026** — Sealmetrics (current and v1) and GA4.
- **27 August 2026** — Matomo and Piwik PRO added, with Sealmetrics and GA4 re-measured alongside them.
- **3 December 2026** — Sealmetrics, GA4, Matomo and Piwik PRO re-measured with a desktop Chrome User-Agent. **These are the figures published in this report.** `t.js` is currently served without compression, so the comparison uses the **uncompressed size of every script**; compressed and uncompressed values are never mixed in one comparison. The legacy v1 tracker (13.7 KB, also served uncompressed) was last measured in August 2026.
Vendor scripts change: `gtag.js` was ~408 KB uncompressed on 27 August and ~437 KB on 3 December, and the Sealmetrics tracker itself grew from 1,991 B to 2,213 B. Treat every figure here as a dated snapshot, not a constant.
## Methodology
The latency figures in this report come from **direct measurements** taken in July 2026 (script sizes were re-measured on 3 December 2026, see above) against production scripts, downloaded exactly as a real browser receives them (`Accept-Encoding: gzip`, 3 samples per measurement, fiber connection from Spain):
- **Sealmetrics (current)**: `t.sealmetrics.com/t.js` — the production script.
- **Sealmetrics v1 (legacy)**: `app.sealmetrics.com/tag/v3/tracker` (version `sm 16.x`).
- **GA4**: `googletagmanager.com/gtag/js` with the ID of a real GA4 property in production.
- **Matomo**: `demo.matomo.cloud/matomo.js` — the vendor's own public demo instance (3 December pass).
- **Piwik PRO**: `demo.piwik.pro/ppms.js` — the vendor's own public demo instance (3 December pass).
Script URLs and tag configurations were extracted from the **real Google Tag Manager container** of a European eCommerce site that runs both Sealmetrics trackers in parallel alongside GA4. To preserve the site's anonymity, the GA4 figures and latency values have been rounded and lightly adjusted; orders of magnitude and ratios between systems are preserved. The Sealmetrics tracker weights are exact — they are product scripts, identical for every customer.
### What is measured and what is modeled?
- **Measured**: script weights (exact bytes, compressed and uncompressed), HTTP protocol and headers, the latency table below (median of 3 samples from a single location), IP addresses, and GTM configuration. Absolute latency values depend on the origin network; the relative differences between systems hold.
- **Modeled**: the four network scenarios (round-trip, bandwidth, and CPU arithmetic built on top of the measurements) and the per-device parse costs. These are always labeled as estimates.
- **Business data**: the +25–30% traffic difference vs v1 comes from Sealmetrics accounts running both trackers in parallel on the same site (dual-tagging). No figure is given for GA4: the gap depends on each site's consent banner and is measured site by site.
### Reproducing the weight measurements
The weight figures are the part of this report easiest to verify independently, and the one most often cited back at us. Four things trip up a re-run:
- **`t.js` needs a query parameter**: `https://t.sealmetrics.com/t.js?id=`. A bare GET returns HTTP 400. The account id is echoed into the script body, so the uncompressed size is a function of its length by a handful of bytes — the canonical 2,213 B corresponds to the id `measure`.
- **Do not read `content-encoding` from `curl -I`.** Servers routinely skip compression on HEAD requests, so a gzipped asset looks uncompressed and the wire figure comes out several times too high. Read the headers from the same GET that fetches the bytes.
- **Do not use `curl`'s `%{size_download}`.** It reports bytes handed to the transfer regardless of `--compressed`. Count the bytes on disk instead.
- **Validate against `t.js` before measuring any vendor.** It should return 2,213 B on 3 December 2026 (served uncompressed, so wire and uncompressed bytes are the same; the figure changes with the account id length and with each release). If it does not, the method is wrong and every other number in the run is too.
### How consent is treated
Every GA4 measurement and model in this report represents its technical chain *once the tag fires* — that is, GA4's **best case** (a visitor who has already granted consent). The cost of the consent banner is quantified separately, as volume loss, in the traffic impact section. Sealmetrics trackers have no such wait: they are consentless measurement by design (nothing stored on the device; an ephemeral identifier that rotates daily).
## Script weight
Script size determines how long the first hit takes to fire. All figures below are **uncompressed** sizes, the only value that is comparable across scripts while `t.js` is served without compression. The legacy v1 tracker is also served uncompressed.
| | Sealmetrics (current) | Sealmetrics v1 (legacy) | GA4 (gtag.js) |
| --- | --- | --- | --- |
| **Uncompressed script size** | **2.2 KB** (2,213 B, 3 Dec 2026) | 13.7 KB (Aug 2026) | ~437 KB (447,537 B, 3 Dec 2026) |
| **Relative size** | 1× | ~6× | ~202× |
**Sealmetrics**
2.2 KB
**Sealmetrics v1**
13.7 KB
**GA4**
~437 KB
Uncompressed script size
**The TCP detail that matters:** the current tracker's 2.2 KB fits well inside TCP's initial congestion window (~14.6 KB, [RFC 6928](https://datatracker.ietf.org/doc/html/rfc6928)) and arrives in the first round-trip. The v1 tracker's 13.7 KB sits right at the edge of that window, and GA4's payload needs 4–5 slow-start round-trips. When the visitor is far from the server, every extra round-trip multiplies latency.
## Matomo and Piwik PRO
Matomo and Piwik PRO are the alternatives most often evaluated alongside Sealmetrics by teams leaving GA4 for privacy reasons, so they belong in a weight comparison even though the rest of this report predates them. Both descend from the same open-source `piwik.js` tracking client, and both land between Sealmetrics and GA4 — far closer to GA4.
Measured **3 December 2026**, same method as above (desktop Chrome User-Agent, `Accept-Encoding: gzip`, bytes counted on disk, headers read from that same GET), uncompressed sizes. Sealmetrics and GA4 were measured in the same pass so all four rows share one snapshot.
| Vendor | Script measured | Uncompressed | Size vs Sealmetrics |
| --- | --- | --- | --- |
| **Sealmetrics** | `t.sealmetrics.com/t.js` | **2,213 B** (~2.2 KB) | 1× |
| Piwik PRO | `demo.piwik.pro/ppms.js` | 70,242 B (~69 KB) | **~32×** |
| Matomo | `demo.matomo.cloud/matomo.js` | 227,274 B (~222 KB) | **~103×** |
| GA4 | `googletagmanager.com/gtag/js` | 447,537 B (~437 KB) | **~202×** |
**Sealmetrics**
2.2 KB
**Piwik PRO**
~69 KB
**Matomo**
~222 KB
**GA4**
~437 KB
Uncompressed script size, 3 December 2026
Reading these numbers:
- **Piwik PRO is the lightest of the three incumbents**, and by a wide margin over GA4 — roughly a sixth of `gtag.js` by size. It is still ~32× the Sealmetrics tracker, and its ~69 KB of JavaScript still has to be parsed on the visitor's device.
- **Matomo sits between the two**, at ~103×. Its ~222 KB parse cost is the figure that matters on mobile: the TCP and CPU arguments made earlier in this report apply to it in the same direction as to GA4, just at a smaller multiple.
- **`matomo.js` is not a fixed size.** Matomo compiles the tracker code of installed plugins into the file it serves — the build measured here carries the MediaAnalytics and FormAnalytics extensions. A bare install serves less, a plugin-heavy one more. Treat ~222 KB as this instance's figure (it was ~153 KB uncompressed on 27 August), not a constant for every Matomo deployment.
- **Only the Sealmetrics tracker is small enough to arrive in the first round-trip.** At 2,213 B it fits inside TCP's initial congestion window (~14.6 KB); `ppms.js` and `matomo.js` are ~32× and ~103× larger and still exceed that window when compressed, so they need extra slow-start round-trips before the script is even complete.
- **Every script moves between passes.** `gtag.js` was ~408 KB uncompressed on 27 August and ~437 KB on 3 December; `ppms.js` ~67 KB and ~69 KB; and `t.js` itself 1,991 B and 2,213 B. The drift is the reason these figures carry dates.
What this pass covers, and what it does not
This is a **script-weight measurement only**. The delivery-chain, latency, time-to-first-hit, hit-transport and traffic-capture sections of this report rest on a field run over a real site carrying the Sealmetrics trackers and GA4, plus dual-tag traffic data. **No equivalent run exists for Matomo or Piwik PRO**, so this report deliberately makes no timing, transport or capture claim about either: their rows appear in the weight tables and nowhere else. The structural arguments about download and parse cost follow from the measured weights; anything about when their hit actually leaves the device would be an estimate we have not made.
## Delivery protocol and infrastructure
| | Sealmetrics (current) | Sealmetrics v1 (legacy) | GA4 |
| --- | --- | --- | --- |
| Protocol | HTTP/2 | HTTP/1.1 | HTTP/2 + HTTP/3 |
| Compression | none (served uncompressed as of 3 Dec 2026) | none | gzip |
| Origin | Dedicated Go service (Dublin) | nginx (Dublin) | Google global anycast CDN |
| Requests until first hit | 1 script → immediate beacon | loader + script + hit (2 steps) | gtag script + collect on a 2nd domain |
| Hit transport | `sendBeacon` — survives page close | standard request after tracker loads | beacon/fetch after evaluating ~437 KB |
| Data pipeline | Go → RabbitMQ → ClickHouse (columnar, real time) | legacy monolithic stack | batch processing; reports lag 24–48 h with thresholds |
## Measured latency (fiber, Spain)
Median of 3 samples with warm DNS. Even in the best possible network scenario, the current tracker completes its download in roughly half the time of v1 and GA4.
| Phase | Sealmetrics (current) | Sealmetrics v1 | GA4 |
| --- | --- | --- | --- |
| TCP connect (≈ RTT) | ~34 ms | ~48 ms | ~19 ms (local edge) |
| TLS established | ~80 ms | ~95–100 ms | ~55–70 ms |
| Time to first byte | ~110 ms | ~190–280 ms | ~110–140 ms |
| Script fully downloaded | **~110 ms** | ~190–340 ms | ~210–290 ms |
GA4 wins on network proximity (a Google edge in every city) but loses it all on volume: even with a better RTT, downloading the gtag.js payload took about twice as long as downloading `t.js` from Dublin in the July 2026 latency run — and after that, ~437 KB of JavaScript still has to be parsed on the visitor's device.
## Time to first hit: four network scenarios
The tables below break the full pageview path into four phases: **connection** (DNS + TCP + TLS — driven by distance to the server), **download** (driven by script weight), **CPU** (parsing and executing the JavaScript — driven by uncompressed weight and device), and **hit dispatch** (v1 needs an extra round-trip; GA4 connects to a second domain; in the current tracker the beacon fires inside the execution phase). These are **modeled estimates** built on the measurements above. This is the time from tag fire until the pageview leaves the device — the window during which an abandonment is a lost hit.
GA4's bars are its best case
They model the technical chain from the moment the tag fires — a visitor with consent already granted. For a new EU visitor, GA4 additionally requires prior banner acceptance: an extra delay of seconds (or forever, if they never accept) that does not appear in these numbers.
**Fiber / fast 4G · Spain** (RTT ~30 ms to Dublin, ~15 ms to Google edge, fast CPU):
| | Connection | Download | CPU | Hit dispatch | Total |
| --- | --- | --- | --- | --- | --- |
| Sealmetrics (current) | ~80 ms | ~30 ms | ~2 ms | included | **~0.1 s** |
| Sealmetrics v1 | ~95 ms | ~145 ms | ~15 ms | ~45 ms | ~0.2–0.3 s |
| GA4 | ~60 ms | ~170 ms | ~180 ms | ~60 ms | ~0.5–0.7 s |
GA4's connection phase is the shortest of the three — its edge is 15 ms away. It still finishes last: download and CPU consume the advantage twenty times over.
**Mid 4G · mobile** (RTT ~80 ms to Dublin, ~50 ms to edge, 8 Mbps, mid-range CPU):
| | Connection | Download | CPU | Hit dispatch | Total |
| --- | --- | --- | --- | --- | --- |
| Sealmetrics (current) | ~180 ms | ~90 ms | ~5 ms | included | **~0.3 s** |
| Sealmetrics v1 | ~260 ms | ~250 ms | ~35 ms | ~80 ms | ~0.6–0.9 s |
| GA4 | ~120 ms | ~380 ms | ~400 ms | ~100 ms | ~1.0–1.5 s |
On a mid-range phone, CPU becomes GA4's largest phase: parsing ~437 KB costs more than the current tracker's entire chain.
**3G / weak signal** (RTT ~200 ms, 1.5 Mbps, slow CPU):
| | Connection | Download | CPU | Hit dispatch | Total |
| --- | --- | --- | --- | --- | --- |
| Sealmetrics (current) | ~430 ms | ~220 ms | ~10 ms | included | **~0.7 s** |
| Sealmetrics v1 | ~650 ms | ~800 ms | ~100 ms | ~250 ms | ~1.6–2.2 s |
| GA4 | ~350 ms | ~1.8 s | ~1.6 s | ~400 ms | ~3.5–5 s |
At 1.5 Mbps, GA4 spends ~3.4 s just downloading and parsing. The current tracker has had the hit delivered for 3 seconds by the time gtag is still downloading.
**Remote visitor · e.g. LATAM → Dublin** (RTT ~220 ms to Dublin, ~30 ms to local Google edge, 10 Mbps):
| | Connection | Download | CPU | Hit dispatch | Total |
| --- | --- | --- | --- | --- | --- |
| Sealmetrics (current) | ~460 ms | ~280 ms | ~10 ms | included | **~0.7–0.9 s** |
| Sealmetrics v1 | ~680 ms | ~500 ms | ~40 ms | ~250 ms | ~1.4–1.9 s |
| GA4 | ~80 ms | ~330 ms | ~450 ms | ~140 ms | ~0.9–1.4 s |
The most illustrative case: GA4 has its best connection here (an edge in the visitor's own city) and Sealmetrics its worst (2 round-trips of ~220 ms to Dublin). Even with that network disadvantage, **the current tracker delivers the hit first**: its download and CPU phases are so small that distance is the only thing it pays for. GA4 wins the connection and loses the race on volume and CPU.
### Round-trips and bytes
| | Sealmetrics (current) | Sealmetrics v1 | GA4 |
| --- | --- | --- | --- |
| TLS connections needed | 1 | 1 | 2 (gtag + collect) |
| Round-trips until the hit | ~3 | ~5–6 | ~7–9 |
| Script size (uncompressed) | 2.2 KB | 13.7 KB | ~510 KB (scenario model) |
### The hidden cost: parsing JavaScript has no CDN
A global edge brings bytes closer, but parsing always happens on the visitor's device. Estimated parse + execution cost by device class:
| Device | Sealmetrics · 2.2 KB | v1 · 13.7 KB | GA4 · ~510 KB (modeled) |
| --- | --- | --- | --- |
| Laptop / high-end | under 1 ms | ~5 ms | ~120–250 ms |
| Mid-range phone | ~2 ms | ~15 ms | ~300–500 ms |
| Low-end phone | ~5 ms | ~40 ms | ~800–1,500 ms |
This is the structural reason GA4 cannot compensate for its weight with infrastructure: Google can put an edge in every city, but it cannot put a faster CPU in every visitor's pocket. The current tracker attacks the problem from the other side — making sure there is almost nothing to download or parse.
## Why does the current tracker capture hits the others lose?
Every visit that abandons the page **before** the pixel fires is invisible traffic. The current tracker's vulnerability window is ~0.1–0.9 s depending on network; v1's is 2–3× larger — and v1 can also lose the hit to a race condition even when the visitor stays.
**Legacy v1 chain — two steps with a race:**
1. An inline loader snippet creates the `sealmetrics.q` queue.
2. The 13.7 KB tracker downloads (HTTP/1.1, no gzip).
3. The script parses and executes; tags call `window.sm`.
4. If the tracker has not loaded yet: `"sm2 plugin is not available"` — **hit lost, no retry**.
5. The hit request fires (an additional round-trip).
**Current tracker chain — one step:**
1. `t.js` downloads: 2.2 KB, HTTP/2, within the first congestion window.
2. The pageview fires from inside the script itself via `sendBeacon` — no dependencies, no race.
3. The beacon survives even if the visitor closes or navigates away: the browser delivers it anyway.
4. The Go ingestion service acknowledges in milliseconds → RabbitMQ → ClickHouse.
### The hit's life insurance: sendBeacon
There is a transport difference that multiplies everything above. A classic request (`XMLHttpRequest`, `fetch`) is **tied to the page's lifetime**: if the visitor closes the tab or navigates to another URL while the request is in flight, the browser cancels it and the hit is lost. `navigator.sendBeacon()` inverts the model: the page **hands the packet to the browser** and steps aside — the browser queues it internally and delivers it even after the page no longer exists. It is the API browsers themselves designed for telemetry (see [`navigator.sendBeacon()` on MDN](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon)).
Verified against the production scripts: the **current tracker uses `sendBeacon`** (with `fetch keepalive` as fallback, which has the same property), while the **legacy v1 tracker does not use it at all** — it sends via a cancelable `XMLHttpRequest`. In practice: as soon as the current tracker executes (~0.1–0.3 s), the hit already belongs to the browser and closing the page cannot lose it; v1 additionally needs to **complete the round-trip to the server** with the page still alive.
The band of visits lasting **between ~0.3 s and ~1.5–2 s** — instant bounces from paid traffic, accidental taps on mobile, abandonments due to slowness — is captured systematically by the current tracker and lost systematically by v1. It is one of the clearest signatures of the dual-tag gap: segmented by visit duration, the current tracker's surplus should concentrate in the shortest visits.
| Hit transport | Sealmetrics (current) | Sealmetrics v1 | GA4 |
| --- | --- | --- | --- |
| Mechanism | `sendBeacon` + `fetch keepalive` | `XMLHttpRequest` | `sendBeacon`/`fetch keepalive` |
| Survives page close? | Yes | No — canceled | Yes |
| Moment the hit is secured | ~0.1–0.3 s | ~0.5–2 s (when the XHR completes) | ~0.5–1.5 s (after parsing gtag, and only with consent) |
Nuances
GA4 also uses beacon-style transport — its problem is not the transport but that it reaches the dispatch point much later (weight + CPU) and only after consent. And `sendBeacon` is *best effort*: if the browser crashes or the OS kills the process, the beacon can be lost — practical reliability is very high, but not literally 100%. The current tracker also cannot measure a visitor who leaves before `t.js` executes; loading it through GTM widens that window, which is one more reason to install the snippet directly in the ``.
## Impact on measured traffic
| Comparison | Traffic difference | Where it comes from |
| --- | --- | --- |
| Current vs legacy v1 | **+25–30% on average** | Observed on dual-tagged accounts (both trackers in parallel on the same site). Gain concentrated in mobile traffic, slow connections, and visitors far from Dublin: earlier fire, race-free chain, `sendBeacon`, HTTP/2, and HTTP/2. |
| Current vs GA4 (EU markets) | **Specific to each site** | Three GA4 losses the Sealmetrics tracker does not have: consent banner rejection/ignoring, blocking of Google domains by browsers and filter lists (partially overlapping), and abandonment before gtag fires. How large they are depends on the site — measure it side by side; in the [Incapto case](https://sealmetrics.com/case-studies/incapto.md) (one store, not a benchmark), GA4 did not record 29% of real visits. |
### Session window change ("Rejoined Traffic"): 6 h → 2 h
There is also a **definitional** factor that pushes the current tracker's numbers up, worth keeping in mind when reading the gap: the session re-entry window. In v1, if a visitor clicked through to the site again within **6 hours** of their entrance, that visit was classified as *Rejoined* — it did not open a new entrance. In the current tracker that window is **2 hours**.
Example: a user with 2 clicks 5 hours apart — v1 counted **1 entrance + 1 pageview** (the second click became Rejoined); the current tracker counts **2 entrances + 2 pageviews**. Same user behavior, more entrances and pageviews recorded.
This effect is **more granular measurement, not newly captured traffic**: it adds to the real capture gains (timing, `sendBeacon`, race-free chain) in the total v1-vs-current difference. To isolate it in your own data, look at the segment of re-entries between 2 and 6 hours — that is exactly the band where the two definitions diverge.
## Deployment recommendations
- **Do not gate Sealmetrics tags behind consent in GTM.** A frequent misconfiguration: if Sealmetrics tags sit behind the CMP's consent state, you give up their main advantage — Sealmetrics is designed to measure without consent (no cookies, no persistent identifiers; our self-assessment). Fire them on *Consent Initialization* or with no consent condition.
- **Install the snippet directly in the ``, outside GTM.** Loaded through GTM, the tracker inherits the container's latency (typically 100–250 KB): if GTM is slow, blocked, or the visitor leaves before it loads, the tracker cannot measure either. With the snippet directly in the `` you capture the full advantage shown above.
- **Compare v1 and the current tracker with homogeneous metrics.** When evaluating a dual-tag, compare pageviews with pageviews and entrances with entrances — and account for the different session windows (Rejoined at 6 h in v1 vs 2 h in the current tracker, see above): mixing metrics or ignoring the window inflates or hides differences.
- **Keep the dual-tag for a validation period.** Running both trackers in parallel lets you quantify the capture difference with your own data, segmented by device and geography, before retiring v1.
## Limitations and honest notes
- Latencies were measured from a single location (fiber, Spain) in July 2026; the four network scenarios are **models**, not field measurements, and should be cited as such.
- The GA4 timings above are its **best case**: they exclude the consent wait, which for new EU visitors adds seconds or prevents measurement entirely.
- The +25–30% vs v1 is an average across dual-tagged accounts; each site will have its own figure depending on its device, network, and geography mix. The gap vs GA4 depends critically on each site's CMP acceptance rate.
- Part of the entrance increase vs v1 is definitional, not capture: the Rejoined session window changed from 6 h (v1) to 2 h (current tracker).
- [EasyPrivacy](https://easylist.to/) includes the rule `||sealmetrics.com^$third-party`: visitors with uBlock/AdGuard block both Sealmetrics tracker versions equally. The advantage over GA4 lies in consent and timing, not in ad blockers.
- Matomo and Piwik PRO were measured on **each vendor's own public demo instance**, the most neutral source available for products that are otherwise self-hosted or account-provisioned. The file a given install serves can differ — Matomo in particular bundles installed plugins' tracker code into `matomo.js`.
- There is **no field run, no dual-tag data and no latency measurement for Matomo or Piwik PRO**. Their script weights are measured; nothing else about them in this report is claimed.
- To preserve the anonymity of the reference site, GA4 figures and latencies are rounded and lightly adjusted (see methodology); Sealmetrics tracker weights are exact.
In short
- Measured 3 December 2026, uncompressed: Sealmetrics `t.js` is 2.2 KB — ~6× lighter than the legacy v1 tracker (measured August 2026), ~32× lighter than Piwik PRO, ~103× lighter than Matomo and ~202× lighter than GA4's gtag.js.
- Dual-tagged sites measure 25–30% more traffic with the current tracker than with v1; the gap vs GA4 in EU markets is specific to each site, and no timing or capture claim is made for Matomo or Piwik PRO.
- The current tracker fires from a single small script via `sendBeacon`, so the hit survives page close; install it directly in the `` and never gate it behind consent in GTM.
## Tracker Performance Report: Sealmetrics vs Adobe Analytics
URL: https://sealmetrics.com/docs/guides/tracker-performance-adobe-analytics/
A technical comparison of tracking pixel weight, delivery chain, and time-to-first-hit: the Sealmetrics tracker vs the Adobe Analytics stack (Launch + AppMeasurement) — with field measurements from a real site running both, methodology included.
The Sealmetrics tracker is **2.2 KB uncompressed** (measured 3 December 2026). The Adobe Analytics stack it competed against on a real page — Adobe Launch container, AppMeasurement, ActivityMap module, and rule payloads — is **~730 KB of JavaScript to parse** (field measurement, July 2026). And the difference is not just weight: measured on a real European media site that runs both vendors side by side, **Adobe's pageview left the device at ~3.0 seconds** into the page load, while the Sealmetrics hit was secured at ~1.8 seconds — despite Sealmetrics being loaded late through the site's own tag chain. Installed directly in the ``, Sealmetrics secures the hit at ~0.1–0.3 s.
**Key numbers at a glance:**
| | Sealmetrics | Adobe Analytics stack |
| --- | --- | --- |
| Script size (uncompressed; Adobe: parsed on the reference site) | 2.2 KB (3 Dec 2026) | ~730 KB (~330× more; field, Jul 2026) |
| Pageview hit secured (field, fiber) | ~1.8 s (late tag-chain load) / ~0.1–0.3 s (`` install) | ~3.0 s |
| Measured traffic (30-day dual-tag, reference site) | **+25% pageviews** | baseline |
## Methodology
This report combines two kinds of measurement, both taken in July 2026:
- **Field measurements** via the browser's Resource Timing API during a real page load of a **European media platform that runs Sealmetrics and Adobe Analytics in parallel** (site anonymized). This captures the actual sequence: when each script started, how long it took, and when each vendor's pageview hit left the device — same page, same visit, same network.
- **Direct downloads** of the production scripts with `curl` (`Accept-Encoding: gzip`, 3 samples, fiber connection from Spain) for exact byte sizes and latency.
To preserve the reference site's anonymity, figures are rounded and lightly adjusted; orders of magnitude and ratios are preserved. The Sealmetrics tracker weights are exact — they are product scripts, identical for every customer.
The Adobe stack analyzed is the most common one: **Adobe Launch (Tags) + AppMeasurement 2.x** with the ActivityMap module, ECID/Audience Manager ID calls, and Adobe Target on the same container. Installs using the newer Web SDK (alloy.js) have a different chain; the weight-and-sequence logic of this report still applies, but the specific numbers do not.
### How consent is treated
On the reference site, the Adobe stack fired **without any prior consent interaction** — so the timings below are Adobe's realistic best case there. In many EU installs, Adobe Analytics is gated behind the CMP: everything in this report would then apply only *after* banner acceptance, and the visitors lost to the banner, a share that differs by site, come on top. Sealmetrics doesn't depend on consent for its own analytics (nothing stored on the device; an ephemeral identifier that rotates daily) and has no such gate.
## The Adobe delivery chain
What has to happen before Adobe Analytics registers a pageview, as observed on the reference site:
1. The **Launch container** downloads: ~150 KB gzipped, **~670 KB of JavaScript** to parse. It is served from Akamai's edge (fast delivery — the weight is in the parse, not the network).
2. The **ECID / Audience Manager identity calls** fire (demdex round-trips).
3. **AppMeasurement + ActivityMap** download and execute (~14 KB gzipped, ~37 KB decoded).
4. **Rule payloads** (per-site logic split into separate files) download and run.
5. Other Experience Cloud calls on the same container (Adobe Target delivery, in this case) execute.
6. The **pageview finally fires as an image GET request** to a first-party collection domain (`smetrics.` + the site's domain, a CNAME that resolves to Adobe's `data.adobedc.net`).
The Sealmetrics chain, for comparison: `t.js` downloads (2.2 KB, well inside TCP's initial congestion window), executes, and dispatches the pageview via `sendBeacon` from inside the script. One script, no identity round-trips, no rule payloads.
## Field timeline: the same page load, both vendors
Measured with the Resource Timing API on a fiber connection (values rounded):
| Moment (from navigation start) | Event |
| --- | --- |
| ~0.2 s | Adobe Launch container starts downloading |
| ~0.8 s | Launch container loaded (~670 KB parsed after) · identity calls fire |
| ~1.1 s | AppMeasurement loaded |
| ~1.2–1.9 s | Rule payloads + Adobe Target delivery calls |
| ~1.5–1.6 s | Sealmetrics `t.js` loads (late — through the site's tag chain) |
| **~1.8 s** | **Sealmetrics pageview events dispatched (`sendBeacon` — secured)** |
| **~3.0 s** | **Adobe Analytics pageview fires** (image GET to the collection domain) |
**Adobe**Launch + AppMeasurement
hit ~3.0 s
**Sealmetrics**via the site's tag chain
hit ~1.75 s
0 0.5 s 1 s 1.5 s 2 s 2.5 s 3 s
Two readings of this table:
- **Adobe's hit fires ~1.2 s after Sealmetrics'** on the same page, same visit, same network — and this is fiber. On a mid-range phone over 4G, parsing ~730 KB of JavaScript alone adds several hundred milliseconds to seconds; the Adobe hit realistically moves past ~4–6 s (estimate), while the Sealmetrics window barely grows.
- Sealmetrics was **handicapped on this site** — loaded through the tag chain at ~1.5 s instead of from the ``. Even so it beat the Adobe hit by more than a second. With the snippet in the ``, the hit is secured at ~0.1–0.3 s: an order of magnitude earlier.
A note of fairness: part of Adobe's ~3.0 s is this site's specific rule sequencing (identity and personalization calls run before the analytics hit). That ordering is common — Target and ECID exist precisely to run early — but a leaner Adobe install can fire earlier. The structural floor remains: ~730 KB to parse and a multi-stage chain before any hit can leave the device.
## Weight comparison
| | Sealmetrics | Adobe: Launch container | Adobe: AppMeasurement + modules + rules | Adobe total |
| --- | --- | --- | --- | --- |
| Uncompressed (what the CPU parses) | **2.2 KB** (3 Dec 2026) | ~670 KB | ~55 KB | **~730 KB** (field, Jul 2026) |
**Sealmetrics**
2.2 KB
**Adobe**full stack
~730 KB
Uncompressed script size — Sealmetrics 3 Dec 2026, Adobe field measurement Jul 2026
The parse cost has no CDN: Adobe serves its container from Akamai's edge in every region, but ~730 KB of JavaScript is parsed on the visitor's device every time the cache is cold. On a low-end phone that is commonly over a second of CPU work — before rules, identity calls, or the hit itself.
## Hit transport: image GET vs sendBeacon
| Hit transport | Sealmetrics | Adobe Analytics (AppMeasurement) |
| --- | --- | --- |
| Mechanism | `sendBeacon` + `fetch keepalive` fallback | image GET request (beacon transport only for exit-link tracking) |
| Survives page close? | Yes — the browser owns delivery | No — an in-flight image request is canceled on unload |
| Moment the hit is secured (field) | ~0.1–0.3 s (`` install) | ~3.0 s on the reference site |
Every visit shorter than the vulnerability window is invisible traffic. With Adobe's hit at ~3.0 s, **any visit that bounces within the first ~3 seconds never existed** in Adobe Analytics: instant bounces from paid and social traffic, accidental taps, impatient mobile visitors. That band of very short visits is precisely where mobile and campaign traffic concentrates.
## Ad blockers and filter lists
- EasyPrivacy carries **28+ rules against `omtrdc.net`** and several against `demdex.net` — Adobe's collection and identity endpoints are extensively targeted.
- First-party CNAME collection (`smetrics.` subdomains pointing to `data.adobedc.net`) is **uncloaked and blocked by uBlock Origin on Firefox**, which resolves CNAMEs before matching.
- In fairness: `sealmetrics.com` also appears in EasyPrivacy as a third-party rule. The Sealmetrics advantage over Adobe lies in consent, weight, and timing — not in ad-blocker immunity.
## What this means for measured traffic
The mechanisms above give the loss structure (ranges are estimates, clearly labeled as such — the field validation below puts a real number on them):
| Loss mechanism for Adobe | Applies when |
| --- | --- |
| Visits shorter than the hit window (~3 s on the reference site) | Always; highest on mobile/campaign-heavy traffic |
| Collection endpoints blocked (filter lists, CNAME uncloaking) | Always; overlaps partially with the above |
| Consent banner rejection/ignoring | Only where the install is CMP-gated (common in the EU) |
On the reference site, with Adobe firing without a consent gate, Sealmetrics measured about 25% more pageviews over 30 days of dual tagging (see the [three-way comparison](https://sealmetrics.com/docs/guides/tracker-performance-three-way.md)). Where Adobe sits behind a CMP, expect a larger gap; how large is specific to each site.
### Field validation: a month of dual-tag data
The reference site runs both vendors in parallel, and its **June 2026 data (30 days of daily pageviews from both platforms)** puts a real number on the estimate:
| | Sealmetrics | Adobe Analytics |
| --- | --- | --- |
| Daily pageviews (month range) | ~0.9–1.6 M | ~0.7–1.2 M |
| Average difference | **+25% over Adobe** | — (on this reference site, Adobe recorded ~1 in 5 fewer pageviews than Sealmetrics) |
| Ratio stability | The gap holds ~constant across all 30 days — peaks and troughs, weekdays and weekends | |
Three conclusions from that month of data:
- **The estimated range is validated at its high end**: +25% observed, with Adobe firing without a consent gate on this site — meaning the gap is fully explained by the structural mechanisms (blocked collection endpoints, the ~3 s hit window, cancelable transport), not by consent. Where Adobe sits behind a CMP, expect a larger gap.
- **A constant ratio is the signature of a systematic cause**: bot traffic, an outage, or a one-off event would make the gap fluctuate. A stable ~25% while traffic swings 1.5× points to a fixed fraction of the audience Adobe structurally cannot see.
- **The metric is homogeneous**: pageviews against pageviews — the clean comparison, free of session- or visit-definition effects.
## Recommendations for Adobe Analytics sites evaluating Sealmetrics
- **Install the Sealmetrics snippet directly in the ``, not through your tag manager.** The reference site loads it through the tag chain and still beats Adobe's hit by over a second — but a `` install secures the hit at ~0.1–0.3 s and removes the container dependency entirely.
- **Do not gate Sealmetrics behind your CMP.** It is designed to measure without consent (our self-assessment); gating it recreates Adobe's biggest loss for no benefit.
- **Run both in parallel for a validation period.** Keep Adobe untouched, add Sealmetrics, and compare 30 days of data segmented by device and traffic source. Expect the gap to concentrate in mobile and short visits.
- **Map metric definitions before comparing.** Adobe *visits* use a 30-minute inactivity timeout; Sealmetrics *entrances* are click-based with a 2-hour re-entry window. Compare page views with page views first — it is the cleanest apples-to-apples metric.
## Limitations and honest notes
- The field timeline comes from **one real page load of one site** (plus 3-sample curl measurements for sizes/latency, from a single location). It is a representative illustration, not a statistical sample; the ~3.0 s figure includes that site's specific rule sequencing.
- The stack analyzed is Launch + AppMeasurement 2.x; Web SDK (alloy.js) installs have a different chain and different numbers.
- Cross-origin Resource Timing entries without `Timing-Allow-Origin` hide transfer sizes; where the browser hid them, sizes come from direct downloads instead.
- Figures are rounded and lightly adjusted to preserve the reference site's anonymity; Sealmetrics tracker weights are exact.
- The traffic-impact ranges are estimates built from the measured mechanisms. The +25% figure comes from one month of dual-tag data on a single site (June 2026); every site will have its own number depending on its audience mix, so run the parallel test on your own site.
## Tracker Performance: Sealmetrics vs GA4 vs Adobe Analytics
URL: https://sealmetrics.com/docs/guides/tracker-performance-three-way/
The three-way comparison: tracking pixel weight, delivery chain, time to first hit, transport, consent, and measured traffic differences between Sealmetrics, GA4's gtag.js, and the Adobe Launch + AppMeasurement stack.
This guide puts the three trackers side by side: the **Sealmetrics tracker**, **GA4's `gtag.js`**, and the **Adobe Analytics stack** (Launch + AppMeasurement). It condenses our two detailed reports — [Sealmetrics vs GA4](https://sealmetrics.com/docs/guides/tracker-performance-report.md) and [Sealmetrics vs Adobe Analytics](https://sealmetrics.com/docs/guides/tracker-performance-adobe-analytics.md) — into one comparison table set, with the same methodology and the same anonymized reference sites.
**Everything at a glance:**
| | Sealmetrics | GA4 | Adobe Analytics |
| --- | --- | --- | --- |
| Script size (uncompressed, 3 Dec 2026; Adobe: field, Jul 2026) | **2.2 KB** | ~437 KB (~202×) | ~730 KB parsed (~330×) |
| Hit secured (`` install, fiber) | **~0.1–0.3 s** | ~0.5–0.7 s (best case) | ~3.0 s (field-measured) |
| Hit transport | `sendBeacon` — survives page close | beacon-style | image GET — cancelable |
| Consent required in the EU | **No — consentless by design** | Yes (Consent Mode models the gap) | Yes in most installs |
| Traffic measured in parallel runs | baseline | Less; specific to each site (depends on the banner's acceptance rate) | ~20% less (30-day dual-tag, field) |
Measurement date
Script sizes re-measured **3 December 2026** from each vendor's production CDN: one GET with `Accept-Encoding: gzip` and a desktop Chrome User-Agent, bytes counted on disk, shown uncompressed for every script. The Sealmetrics tracker is currently served without compression, so only uncompressed sizes are comparable across the three. Adobe has no single public script: its figure is the code parsed on the reference site (field measurement, July 2026). Vendor scripts change, so treat these as a dated snapshot.
## Methodology
All figures come from measurements taken in July 2026, except the script sizes, re-measured on 3 December 2026:
- **Direct downloads** of the three production scripts with `curl` (`Accept-Encoding: gzip`, 3 samples, fiber from Spain) for exact byte sizes and latencies. GA4 was measured with the ID of a real production property; the Adobe chain with the real container of a production site.
- **Field measurements** via the browser's Resource Timing API on an **anonymized European media platform** that runs Sealmetrics and Adobe Analytics in parallel — capturing when each script started, how long it took, and when each vendor's pageview left the device in the same page load.
- **Parallel-run traffic data**: 30 days of daily pageviews from that dual-vendor site (June 2026) for the Adobe comparison. No GA4 traffic figure is given: the gap depends on each site's consent banner and has to be measured on that site.
To preserve the anonymity of the reference sites, third-party figures are rounded and lightly adjusted; ratios and orders of magnitude are preserved. Sealmetrics tracker weights are exact — they are product scripts, identical for every customer. GA4 and Adobe timings represent their chains *once their tags fire*: the best case for both, since any consent wait comes on top.
## Script weight
| | Sealmetrics | GA4 (gtag.js) | Adobe (Launch + AppMeasurement + rules) |
| --- | --- | --- | --- |
| Uncompressed (what the CPU parses) | **2.2 KB** (2,213 B) | ~437 KB (447,537 B) | ~730 KB |
| Measured | 3 Dec 2026 | 3 Dec 2026 | Jul 2026 (field) |
**Sealmetrics**
2.2 KB
**GA4**
~437 KB
**Adobe**
~730 KB
Uncompressed script size — Sealmetrics and GA4 measured 3 Dec 2026, Adobe field measurement Jul 2026
Two structural notes:
- The Sealmetrics tracker (2.2 KB) fits well inside TCP's initial congestion window (~14.6 KB) and arrives in the first round-trip. Both competitor payloads need 4–5 slow-start round-trips just for the download.
- **Parsing has no CDN.** Google and Adobe both serve from excellent global edges — but ~437 KB or ~730 KB of JavaScript is parsed on the visitor's device, every time the cache is cold. On a low-end phone that is commonly 0.8–1.5 s of CPU work before any hit can fire.
## Delivery chains
**Sealmetrics** — one step: `t.js` downloads (2.2 KB), executes, and dispatches the pageview via `sendBeacon` from inside the script. Own work, measured in the field: **~0.26 s** from script start to hit delivered.
**GA4** — `gtag.js` downloads, parses (~437 KB), runs its config, then sends the pageview to `google-analytics.com` on a **second connection**. In the EU, none of this starts for a new visitor until the consent banner is accepted.
**Adobe** — the longest chain: Launch container (~670 KB of JS) → ECID/Audience Manager identity round-trips → AppMeasurement + modules → rule payloads → other Experience Cloud calls (Target) → pageview as an **image GET** to a first-party CNAME collection domain. Field-measured on the reference site: the pageview left the device at **~3.0 s**.
## Time to first hit
The window between page start and the hit leaving the device is the window where an abandoning visitor is invisible traffic.
| Scenario | Sealmetrics | GA4 (best case) | Adobe (as observed) |
| --- | --- | --- | --- |
| Fiber, `` install | **~0.1–0.3 s** | ~0.5–0.7 s | ~3.0 s (field) |
| Mid-range 4G mobile (estimate) | ~0.3 s | ~1.0–1.5 s | ~4–6 s |
| Consent wait (new EU visitor) | none | + seconds or forever | + seconds or forever (where gated) |
**Sealmetrics**
~0.1–0.3 s
**GA4**
~0.5–0.7 s
**Adobe**
~3.0 s (field)
Hit secured, fiber, head install — GA4 and Adobe at their best case (consent already granted)
A fairness note on Adobe's ~3.0 s: part of it is the reference site's rule sequencing (identity and personalization run before the analytics hit). That ordering is common — it is what the Experience Cloud chain is designed to do — but a leaner Adobe install can fire earlier. The structural floor (~730 KB to parse, multi-stage chain) remains.
## Transport: what happens when the visitor leaves
| | Sealmetrics | GA4 | Adobe (AppMeasurement) |
| --- | --- | --- | --- |
| Mechanism | `sendBeacon` + `fetch keepalive` | beacon-style transport | image GET (beacon only for exit links) |
| Survives page close? | **Yes** | Yes | No — canceled on unload |
| Practical vulnerability window | ~0.1–0.3 s | ~0.5–1.5 s (after parsing, with consent) | until the hit completes (~3 s observed) |
GA4's transport is fine — its problem is reaching the dispatch point late and only after consent. Adobe combines a late dispatch point with a cancelable transport: every visit shorter than its window never existed.
## Blockers and consent
- **Consent**: Sealmetrics is designed to measure without consent (no cookies, no persistent identifiers; our self-assessment). GA4 legally requires consent in the EU, so visitors who reject or ignore the banner are lost. Adobe requires it in most EU installs.
- **Filter lists**: EasyPrivacy targets Google's analytics domains extensively, carries 28+ rules against Adobe's `omtrdc.net` plus several against `demdex.net`, and uBlock Origin on Firefox uncloaks CNAME first-party collection domains. In fairness: `sealmetrics.com` is also listed as a third-party rule — the Sealmetrics advantage lies in consent, weight, and timing, not in ad-blocker immunity.
## Measured traffic differences
| Comparison | Difference | Basis |
| --- | --- | --- |
| Sealmetrics vs GA4 (EU markets) | **Specific to each site** | Consent rejection + blocked domains + late-fire abandonment; measure it side by side (in the [Incapto case](https://sealmetrics.com/case-studies/incapto.md), one store and not a benchmark, GA4 did not record 29% of real visits) |
| Sealmetrics vs Adobe Analytics | **+25% for Sealmetrics** | 30 days of dual-tag pageview data on the reference site (June 2026), ratio stable across the whole month — with Adobe firing *without* a consent gate; expect more where Adobe sits behind a CMP |
The Adobe figure is the strongest evidence in this guide: same site, same visits, pageviews against pageviews, a full month — and a constant ~25% gap, which is the signature of a structural cause (a fixed fraction of the audience the heavy tracker cannot see), not of bots or incidents.
## Recommendations
- **Install the Sealmetrics snippet directly in the ``**, not through a tag manager — the tag-manager route delays the hit by whatever the container costs (the dual-vendor reference site loads it through its tag chain at ~1.5 s and still beats Adobe's hit by over a second).
- **Never gate Sealmetrics behind a CMP.** It recreates the incumbents' biggest loss for no benefit.
- **Run in parallel for 30 days** before drawing conclusions, and segment the comparison by device and traffic source — the gap concentrates in mobile and short visits.
- **Map metric definitions first**: GA4 sessions (30-min timeout, event-based), Adobe visits (30-min timeout), Sealmetrics entrances (click-based, 2-hour re-entry window). Page views against page views is the cleanest first comparison.
## Limitations and honest notes
- Latencies were measured from a single location; the mobile scenarios are models, labeled as such. The Adobe field timeline comes from one real page load of one site.
- GA4 and Adobe timings are their best case — they exclude the consent wait.
- The stacks analyzed are the most common ones (gtag.js; Launch + AppMeasurement 2.x). Server-side tagging setups and Adobe Web SDK installs have different chains and different numbers.
- Third-party figures are rounded and lightly adjusted to preserve the reference sites' anonymity; Sealmetrics weights are exact.
---
# GA4 Migration
## GA4 Migration Guide
URL: https://sealmetrics.com/docs/ga4-migration/
How to migrate from Google Analytics 4 to Sealmetrics — what to export from GA4, how metrics map, and how to run both in parallel during the transition.
Moving from Google Analytics 4 (GA4) to Sealmetrics takes most teams **1–2 weeks** to set up, followed by a **2–4 week** parallel validation period before GA4 is switched off. This guide walks through what to prepare, how GA4 concepts map to Sealmetrics, and how to run both platforms in parallel so you can validate data before cutting GA4 off.
## Before you start
Document the following from your current GA4 property:
- Core metrics you rely on (sessions, users, pageviews, conversions, revenue).
- Custom events and the parameters they carry.
- eCommerce tracking implementation (GA4 events or GTM-based).
- Audiences and custom definitions.
- Connected integrations (Google Ads, Search Console, Data Studio, BigQuery export).
- Retention settings and historical data you need to export before shutdown.
## How GA4 concepts map to Sealmetrics
| GA4 | Sealmetrics |
| --- | --- |
| Session | Session (cookieless, ~2-hour inactivity window) |
| Engaged session | Engaged session (configurable engagement threshold) |
| User | Visitor (first-party, consent-free identifier) |
| Event | Event (typed: pageview, conversion, micro-conversion, custom) |
| Conversion | Conversion (native) + Micro-conversion |
| Audience | Segment |
| Data streams | Sites |
| Custom dimensions / metrics | Custom properties on events |
| BigQuery export | [Exports API](https://sealmetrics.com/docs/api/exports.md) |
## Migration steps
1. **Install the Sealmetrics tracker** alongside GA4 — see [Tracker installation](https://sealmetrics.com/docs/implementation/tracker/installation.md). Both can run in parallel without conflict.
2. **Map events.** Re-declare your GA4 custom events as Sealmetrics events. See [Conversion tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md).
3. **Configure attribution.** Set up custom [channel rules](https://sealmetrics.com/docs/platform/settings/tracking/channel-grouping.md) and [passthrough referrers](https://sealmetrics.com/docs/platform/tracking-and-attribution-settings/passthrough-referrers.md) for external checkouts or SSO. (Referrer mappings are stored but [not yet applied at ingest](https://sealmetrics.com/docs/platform/tracking-and-attribution-settings/referrer-mappings.md).) There is no attribution window to configure: attribution is session-scoped, with no lookback across sessions.
4. **Validate in parallel** for 2–4 weeks. Expect Sealmetrics to report more traffic than GA4 in EU markets — consent-based tools lose the visitors who reject or ignore the cookie banner depending on sector, brand strength and traffic mix — so the two will never match 1:1.
5. **Export GA4 history** you want to keep — raw events via BigQuery, reports via CSV. Sealmetrics retains data for 24 months without consent; GA4 maxes out at 14 months under consent-free operation.
6. **Update dashboards.** Rebuild Data Studio / BI reports against [Sealmetrics exports](https://sealmetrics.com/docs/api/exports.md) or the [Batch API](https://sealmetrics.com/docs/api/batch.md).
7. **Cut GA4 off** once parallel validation passes your QA.
The steps in order, from the pre-migration inventory to switching GA4 off:
1. Document your GA4 setup: metrics, custom events, eCommerce, integrations
2. Install the Sealmetrics tracker alongside GA4
3. Map GA4 custom events to Sealmetrics events and conversions
4. Configure attribution: channel rules and passthrough referrers
5. Validate in parallel for 2–4 weeks
6. Export the GA4 history you want to keep
7. Rebuild dashboards on Sealmetrics exports
8. Cut GA4 off once validation passes QA
## What's different
- **No cookies, no consent banner for its own analytics.** Sealmetrics stores nothing on the device and no data that identifies anyone; its session identifier rotates daily and cannot be reconstructed afterwards. On that basis Sealmetrics self-assesses that it fits the ePrivacy audience-measurement exemption. In Germany this is an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md).
- **Google Ads tracking, no audience sync.** Sealmetrics tracks Google Ads campaigns via UTM parameters end-to-end (source, medium, campaign, term, content) and provides ROAS reporting. What it does **not** do is push audience segments back to Google Ads for automated bidding — that requires GA4 with consented users. Teams commonly run both: GA4 for Ads audience/bidding, Sealmetrics as the source of truth for total traffic and conversions.
- **No predictive metrics** (purchase probability, churn probability). Sealmetrics reports observed behavior.
- **Simpler attribution model.** Session-scoped last click: each conversion is credited to the source of the session in which it fires, with no lookback window across sessions and no alternative model to switch to. See [How Sealmetrics attributes conversions](https://sealmetrics.com/docs/reports/insights/attribution-model.md).
- **Reporting in the account's timezone, not UTC.** Every preset ("today", "7d", "this month") is resolved with "today in the account's timezone" — matching how GA4 calls it the "reporting timezone". Set it correctly in **Site settings → General** before you start validating side-by-side; a mismatch between GA4's reporting timezone and Sealmetrics's will shift daily rollups by up to a day at the seam.
## Related
- [Google Analytics 4 vs Sealmetrics](https://sealmetrics.com/blog/google-analytics-vs-sealmetrics.md) — feature-by-feature comparison.
- [GA4 vs Sealmetrics FAQ](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) — common migration questions.
- [Compliance overview](https://sealmetrics.com/docs/compliance.md) — GDPR, ePrivacy, CNIL, UK PECR posture.
---
# Compare
## Sealmetrics compared with other analytics tools
URL: https://sealmetrics.com/docs/compare/
How Sealmetrics compares with GA4, Matomo, Plausible, Fathom, Piwik PRO and Simple Analytics on identifiers, IP handling, data residency, consent and script size.
This section compares Sealmetrics with the six analytics tools most often evaluated alongside it. Each page follows the same structure: a side-by-side table, an explanation of how each tool identifies visitors, an honest list of cases where the other tool is the better choice, and a short FAQ.
Every competitor fact on these pages was read on the vendor's own documentation or website, and each table row links to the page it was taken from. Sealmetrics facts come from the [security and privacy](https://sealmetrics.com/docs/security-privacy.md) and [billing](https://sealmetrics.com/docs/billing.md) sections of these docs. Vendor documentation changes; if a linked page no longer says what a row claims, the row is out of date, not the vendor.
## The six criteria that separate these tools
Most privacy comparisons collapse into "cookieless or not". That is the wrong axis: every tool below except GA4 can run without cookies. The differences that matter for a DPO or a procurement review are these:
1. **What identifier links two pageviews together?** A cookie, a hash that includes the IP address, a hash of device characteristics re-keyed daily, or nothing at all.
2. **Is the visitor's IP address an input to that identifier, or to geolocation?** A hashed IP is still derived from personal data; a discarded IP is not.
3. **Where is the data stored?** One region, a choice of regions, or the vendor's global infrastructure.
4. **Does the vendor say a consent banner is needed?** Reported here as the vendor's own position, not our judgement.
5. **Can you self-host it?** Open-source licence and on-premise availability.
6. **How heavy is the tracking script?** The vendor's published figure where one exists, otherwise a dated Sealmetrics measurement.
## Side-by-side
Vendor facts checked 2026-09-04.
| Tool | Identifier between pageviews | Visitor IP used | Data residency | Vendor's position on consent banner | Open source / self-host | Script (uncompressed, 3 Dec 2026) |
| --- | --- | --- | --- | --- | --- | --- |
| **Sealmetrics** | Hash of standard device characteristics computed in the browser, not derived from IP, never written to the device; re-keyed server-side with a daily salt destroyed on rotation; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | Never stored; country from browser timezone | Dublin, Ireland only | Not needed for its own analytics (self-assessed; Germany: open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)) | No — cloud only | 2.2 KB ([measured](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) |
| [Google Analytics 4](https://sealmetrics.com/docs/compare/google-analytics-4.md) | First-party cookie `_ga`, 2-year default ([source](https://support.google.com/analytics/answer/11397207)) | Used for geolocation, then discarded for EU/UK/CH traffic ([source](https://support.google.com/analytics/answer/12017362)) | Collected on EU servers, then forwarded to Analytics servers; final location not stated ([source](https://support.google.com/analytics/answer/12017362)) | Consent required for cookies where legally required ([EU User Consent Policy](https://www.google.com/about/company/user-consent-policy/)) | No | ~437 KB (Sealmetrics measurement) |
| [Matomo](https://sealmetrics.com/docs/compare/matomo.md) | Cookie by default; cookieless mode uses `config_id`, a daily-rotated hash of OS, browser, plugins, IP and language ([source](https://matomo.org/faq/general/how-is-the-visitor-config_id-processed/)) | Yes — input to `config_id`; masking optional ([source](https://matomo.org/faq/general/faq_18254/)) | Cloud: Frankfurt, Germany; On-Premise: anywhere ([source](https://matomo.org/pricing/)) | "No need for cookie consent screens" when anonymisation is configured ([source](https://matomo.org/gdpr-analytics/)) | Yes — GPLv3 ([source](https://matomo.org/free-software/)) | ~222 KB (Sealmetrics measurement) |
| [Plausible](https://sealmetrics.com/docs/compare/plausible.md) | Daily hash of salt + domain + IP + user agent ([source](https://plausible.io/data-policy)) | Yes — hash input and geolocation; not stored ([source](https://plausible.io/data-policy)) | Hetzner, Falkenstein, Germany ([source](https://plausible.io/privacy-focused-web-analytics)) | "No need for cookie banners or GDPR consent" ([source](https://plausible.io/)) | Yes — AGPLv3 Community Edition ([source](https://plausible.io/docs/self-hosting)) | 2.8 KB (Sealmetrics measurement) |
| [Fathom](https://sealmetrics.com/docs/compare/fathom.md) | Daily per-site hash of salt + IP + user agent + hostname ([source](https://usefathom.com/data)) | Yes — hash input; stripped inside the EU for EU visitors ([source](https://usefathom.com/features/eu-isolation)) | EU IPs processed in the EU; anonymised data stored on US servers ([source](https://usefathom.com/features/eu-isolation)) | "You don't need to clutter your site with a cookie banner" ([source](https://usefathom.com/features)) | No — hosted product only ([source](https://usefathom.com/about)) | 6.8 KB (Sealmetrics measurement) |
| [Piwik PRO](https://sealmetrics.com/docs/compare/piwik-pro.md) | Cookie ID by default; anonymous mode uses a session hash of IP, OS, browser, language, plugins and site ID ([source](https://help.piwik.pro/support/questions/what-are-sessions-and-how-are-they-counted/)) | Yes — session-hash input; masking optional ([source](https://help.piwik.pro/support/privacy/collect-data-in-a-privacy-friendly-way/)) | Sweden (EU-operated), DE, NL, US, HK, UAE ([source](https://piwik.pro/pricing/)) | Anonymous data can be collected without a consent form ([source](https://help.piwik.pro/support/privacy/collect-data-in-a-privacy-friendly-way/)) | Proprietary; private cloud available ([source](https://piwik.pro/pricing/)) | ~69 KB (Sealmetrics measurement) |
| [Simple Analytics](https://sealmetrics.com/docs/compare/simple-analytics.md) | None — unique visits inferred from the Referer hostname ([source](https://docs.simpleanalytics.com/what-we-collect)) | Not collected; country from timezone ([source](https://docs.simpleanalytics.com/what-we-collect)) | The Netherlands ([source](https://docs.simpleanalytics.com/what-we-collect)) | No consent needed, citing ICO guidance ([source](https://docs.simpleanalytics.com/compliance)) | Not published | 9.4 KB (Sealmetrics measurement) |
Script sizes are uncompressed and were measured by Sealmetrics on 3 December 2026 with the method described in the [tracker performance report](https://sealmetrics.com/docs/guides/tracker-performance-report.md); Matomo's figure depends on which plugins an instance has installed.
## What the table does not say
- **Consent positions are the vendors' own.** No supervisory authority certifies analytics tools, and Sealmetrics' own pages under [compliance](https://sealmetrics.com/docs/compliance.md) are self-assessments. Read the vendors' claims the same way.
- **Certifications.** Sealmetrics holds no ISO 27001 or SOC 2 certification. Where a vendor states that it holds one, the individual page says so.
- **Prices.** Prices drift, so the pages link to each vendor's pricing page rather than quoting figures. Sealmetrics plans are on the [billing page](https://sealmetrics.com/docs/billing.md).
- **Feature parity.** Sealmetrics does not report unique visitors, session duration, exit pages or user journeys, because each requires an identifier that persists across pageviews. Every page states this plainly; it is the trade-off that removes the consent requirement.
## Pages in this section
- [Sealmetrics vs Google Analytics 4](https://sealmetrics.com/docs/compare/google-analytics-4.md) — consent-based data loss versus consentless measurement
- [Sealmetrics vs Matomo](https://sealmetrics.com/docs/compare/matomo.md) — self-hosted open source versus a managed EU cloud
- [Sealmetrics vs Plausible](https://sealmetrics.com/docs/compare/plausible.md) — two cookieless tools, one hashes the IP
- [Sealmetrics vs Fathom](https://sealmetrics.com/docs/compare/fathom.md) — EU Isolation versus EU-only storage
- [Sealmetrics vs Piwik PRO](https://sealmetrics.com/docs/compare/piwik-pro.md) — enterprise suite with consent manager versus consentless by design
- [Sealmetrics vs Simple Analytics](https://sealmetrics.com/docs/compare/simple-analytics.md) — the closest architecture, different depth
## Related documentation
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md)
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md)
- [Tracker Performance Report](https://sealmetrics.com/docs/guides/tracker-performance-report.md)
## Sealmetrics vs Google Analytics 4: consent-based vs consentless measurement
URL: https://sealmetrics.com/docs/compare/google-analytics-4/
GA4 needs cookies and consent, so it loses the visitors who reject or ignore the cookie banner. Sealmetrics measures without cookies or IP storage, hosted in Dublin; no banner, by our self-assessment.
Sealmetrics and Google Analytics 4 are both web analytics tools that report traffic, sources, conversions and revenue. The main difference is the identifier: GA4 relies on a first-party cookie and therefore on visitor consent in the EU, while Sealmetrics sets no cookie, stores no IP address and, in our self-assessment, needs no banner for its own analytics. In practice that means GA4 reports the visitors who accepted the banner, while Sealmetrics also measures the visitors who reject it.
## Side-by-side
Google facts checked 2026-09-04 on Google's own help pages; each row links to the page it was read on.
| Criterion | Sealmetrics | Google Analytics 4 |
| --- | --- | --- |
| Company / HQ | Sealmetrics, EU company | Google LLC, Mountain View, USA; Google Ireland Limited for EEA users ([source](https://policies.google.com/privacy)) |
| Hosting model | Managed cloud only | Managed cloud only ([source](https://support.google.com/analytics/answer/6004245)) |
| Identifier between pageviews | Device-characteristics hash computed in the browser, not derived from IP, never written to the device (no cookies or localStorage); re-keyed server-side with a daily salt; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | First-party cookie `_ga` with a 2-year default expiry, used "to distinguish users" ([source](https://support.google.com/analytics/answer/11397207)) |
| Visitor IP address | Never stored; country derived from browser timezone ([details](https://sealmetrics.com/docs/security-privacy/country-detection.md)) | Not logged or stored for EU/UK/CH users; used for geolocation and then discarded ([source](https://support.google.com/analytics/answer/12017362)) |
| Data residency | Dublin, Ireland only ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | EU device data collected on EU servers "before forwarding traffic to Analytics servers for processing"; final location not stated ([source](https://support.google.com/analytics/answer/12017362)) |
| Vendor's position on consent | No banner needed for its own measurement (self-assessed; Germany: open question) | Consent required for cookies "where legally required" under Google's EU User Consent Policy ([source](https://www.google.com/about/company/user-consent-policy/)) |
| Behaviour when consent is denied | Not applicable — measurement does not depend on consent | Tags send cookieless pings; gaps filled by conversion and behavioural modelling ([source](https://support.google.com/analytics/answer/9976101)) |
| Script size (uncompressed) | 2.2 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) | Not published; Sealmetrics measured ~437 KB on 3 Dec 2026 ([method](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) |
| Free tier | Free tier of 1M events total (lifetime, not monthly), no credit card ([billing](https://sealmetrics.com/docs/billing.md)) | Standard properties free; Analytics 360 paid with SLA ([source](https://support.google.com/analytics/answer/1070983)) |
| Data retention | Fixed for every plan: daily aggregates and conversion events 24 months, hourly aggregates 90 days, per-hit log 1 day ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | 2 or 14 months for event data; up to 50 months on 360 ([source](https://support.google.com/analytics/answer/7667196)) |
## How each one measures visitors
GA4 writes a client ID into the `_ga` cookie on the first pageview and reads it back on every later one. That single mechanism is what makes unique visitors, session duration, cross-session journeys and audience lists possible — and it is also what puts GA4 inside the scope of the ePrivacy Directive's consent requirement. Google's own policy requires legally valid consent for cookies where the law demands it, and when a visitor declines, GA4 falls back to cookieless pings and statistical modelling rather than measurement.
The Sealmetrics tracker sends only what's needed to measure the visit — current URL, referral URL, timestamp and browser timezone — plus a session identifier: a hash of standard device characteristics computed in the browser, never written to the device, and re-keyed on the server with a daily salt so it cannot link a device across days. A session ends after roughly two hours of inactivity. The user agent is read in flight for bot and device detection (only the derived browser, OS and device category is stored). Nothing is stored on the visitor's browser, the IP is checked in flight against a public list of automated-traffic IPs to filter bots and is not kept, and the country comes from the browser's timezone. Because nothing is stored on the device and the session identifier rotates daily and cannot be reconstructed afterwards — not even by Sealmetrics — Sealmetrics self-assesses that it fits the ePrivacy audience-measurement exemption, so no banner is shown. Germany is an open question: the DSK does not extend §25(2) TDDDG to audience measurement, and the tracker reads device properties via JavaScript, which may count as "access" under §25(1) — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md). The cost of that design is fixed: no unique visitors, no session duration, no exit pages, no user journeys.
## When Google Analytics 4 is the better choice
- You optimise Google Ads with audience sync and automated bidding — Sealmetrics attributes campaigns via UTMs but does not push audiences back to Google Ads.
- You need user-level analysis: cohorts, cross-device journeys, predictive metrics, or a BigQuery pipeline you have already built on GA4's event schema.
- Most of your traffic comes from markets where consent rejection is low, so the data gap that motivates a switch is small.
## When Sealmetrics is the better choice
- Your EU traffic is material and you are losing part of it to the banner — how much depends on sector, brand strength and traffic mix, so measure it side by side.
- Your DPO wants a short answer to "what personal data does the analytics tool process?" — the answer here is a pseudonymised session identifier that rotates daily and becomes unrecoverable, a per-hit log purged after one day, and aggregated reports, with a [DPA](https://sealmetrics.com/dpa.md) ready to sign.
- Page weight matters: the tracker is 2.2 KB uncompressed (measured 3 Dec 2026) and fits in TCP's initial congestion window, so it arrives in the first round-trip.
## Frequently asked questions
### Can I run GA4 and Sealmetrics at the same time?
Yes, and many teams do during a transition. The two scripts do not interfere, and running them side by side is the easiest way to see the size of the consent gap on your own traffic. The [GA4 migration checklist](https://sealmetrics.com/docs/guides/ga4-migration-checklist.md) describes the parallel-run period.
### Does GA4 store IP addresses?
Google states that it does not log or store individual IP addresses from EU, UK or Swiss users, and that IP data is used for geolocation and then discarded. Sealmetrics goes one step further: the IP is never used for geolocation at all — country comes from the browser timezone.
### Why does GA4 show more Direct traffic than Sealmetrics?
When a visitor arrives from a campaign and declines the banner, GA4 cannot set its attribution cookie, so the visit is filed as Direct. Sealmetrics reads UTM parameters on arrival without any cookie, so attribution does not depend on the banner outcome.
### Is Sealmetrics less detailed than GA4?
For anything that requires following an individual — unique visitors, session duration, journeys — yes, by design. For aggregate traffic, conversions, revenue and attribution, GA4 covers the consenting subset, while Sealmetrics also measures the traffic GA4 loses to the cookie banner.
In short
- GA4's identifier is a 2-year cookie, so EU measurement depends on the banner; Sealmetrics uses no cookie and needs no banner for its own analytics (self-assessed; Germany: open question).
- GA4 discards EU IPs after geolocation; Sealmetrics never uses the IP for geolocation and hosts and processes analytics data only in the EU (Dublin).
- GA4 offers user-level analysis and Google Ads audience sync; Sealmetrics trades those for consent-independent data.
## Related documentation
- [GA4 vs Sealmetrics — feature-by-feature FAQ](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md)
- [GA4 to Sealmetrics migration checklist](https://sealmetrics.com/docs/guides/ga4-migration-checklist.md)
- [Tracker performance report](https://sealmetrics.com/docs/guides/tracker-performance-report.md)
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md)
## Sealmetrics vs Matomo: self-hosted open source vs managed consentless cloud
URL: https://sealmetrics.com/docs/compare/matomo/
Matomo is GPL-licensed and self-hostable, but its cookieless mode hashes the visitor's IP. Sealmetrics doesn't store the IP or build its identifier from it, and keeps analytics data in Dublin.
Sealmetrics and Matomo are both European-hosted alternatives to Google Analytics that can run without cookies. The main difference is architecture: Matomo is GPL-licensed software you can self-host, whose cookieless mode still builds a daily identifier from the visitor's IP address; Sealmetrics is a managed cloud service that never derives any identifier from the IP and stores data only in Dublin.
## Side-by-side
Matomo facts checked 2026-09-04 on matomo.org; each row links to the page it was read on.
| Criterion | Sealmetrics | Matomo |
| --- | --- | --- |
| Company / HQ | Sealmetrics, EU company | InnoCraft Limited, Wellington, New Zealand ([source](https://matomo.org/privacy-policy/)) |
| Hosting model | Managed cloud only | Matomo Cloud or self-hosted On-Premise ([source](https://matomo.org/pricing/)) |
| Licence | Proprietary | GNU GPL v3 or later ([source](https://matomo.org/free-software/)) |
| Identifier between pageviews | Hash of standard device characteristics computed in the browser, not derived from IP, never written to the device; re-keyed server-side with a daily salt destroyed on rotation; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | Cookie by default; without cookies a `config_id` hashed from OS, browser, plugins, IP address and language, valid for one session and at most 24 h ([source](https://matomo.org/faq/general/how-is-the-visitor-config_id-processed/)) |
| Visitor IP address | Never stored; country from browser timezone ([details](https://sealmetrics.com/docs/security-privacy/country-detection.md)) | Processed; "considered personal data, unless you have enabled the IP anonymisation to at least 2 bytes" ([source](https://matomo.org/faq/general/faq_18254/)) |
| Data residency | Dublin, Ireland only ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | Cloud: Frankfurt, Germany; On-Premise: your choice ([source](https://matomo.org/pricing/)) |
| Vendor's position on consent | No banner needed for its own measurement (self-assessed; Germany: open question) | "No need for cookie consent screens" once anonymisation techniques are configured ([source](https://matomo.org/gdpr-analytics/)); consent-free operation depends on a checklist of settings ([source](https://matomo.org/faq/new-to-piwik/how-do-i-use-matomo-analytics-without-consent-or-cookie-banner/)) |
| Accuracy without cookies | Designed for it — no unique-visitor metric to degrade | Unique and returning visitors "will be inaccurate" when cookies are disabled ([source](https://matomo.org/faq/general/faq_156/)) |
| Script size (uncompressed) | 2.2 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) | Not published; Sealmetrics measured ~222 KB on the vendor demo instance, 3 Dec 2026 — varies with installed plugins ([method](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) |
| Free tier | Free tier of 1M events total (lifetime, not monthly), no credit card ([billing](https://sealmetrics.com/docs/billing.md)) | On-Premise free; Cloud has a free trial, paid plans from about €29/month — see [pricing](https://matomo.org/pricing/) |
## How each one measures visitors
Matomo's default is a first-party visitor cookie, which gives it GA-style unique and returning visitor counts. Switch cookies off and Matomo falls back to `config_id`: a hash of operating system, browser, plugins, IP address and language, seeded with a value that is discarded daily so the identifier cannot outlive 24 hours. Matomo's own FAQ is candid that unique-visitor reports become inaccurate in that mode, and its consent-free checklist asks you to truncate IPs, disable User ID, anonymise referrers and limit tracking to a single site.
Sealmetrics has no cookie mode to switch off. Every hit carries only what's needed to measure the visit — URL, referrer, timestamp and browser timezone, with the user agent read in flight for bot and device detection and not stored raw — grouped within a visit by a session identifier: a hash of standard device characteristics computed in the browser, with nothing derived from the IP and nothing written to the device. On the server it is re-keyed with a daily salt that is destroyed on rotation, so nothing stored can link a device across days, and a live session ends after around two hours of inactivity. The trade-off is that unique visitors are not reported at all — Sealmetrics uses entrances as the audience-size signal — but nothing degrades when a visitor blocks cookies, because nothing depended on them.
## When Matomo is the better choice
- You must run analytics on your own servers, in a specific country, or with no external processor at all — Sealmetrics is cloud-only.
- You want unique and returning visitor counts, visit duration and visitor logs, and are prepared to obtain consent for the cookie that makes them accurate.
- You want to read and modify the source, or extend the product with community plugins.
## When Sealmetrics is the better choice
- You want consent-free measurement without a configuration checklist — there is no IP masking to set, no cookie to disable, no User ID feature to leave off.
- You do not want any identifier derived from the IP address, even a daily-rotated hash.
- You want a light tracker: Matomo's script measured roughly 103 times heavier uncompressed than Sealmetrics' (3 Dec 2026).
## Frequently asked questions
### Is Matomo's cookieless mode the same as Sealmetrics' consentless design?
No, though both rest on a daily-rotated hash of device characteristics. Matomo's cookieless mode computes a visitor fingerprint (`config_id`) that includes the IP address, rotated daily. Sealmetrics' tracker computes a device-characteristics hash in the browser that includes nothing derived from the IP; it is never written to the device, never stored as sent, and re-keyed on the server with a daily salt that is destroyed on rotation, so two days of the same device cannot be re-linked — not even by Sealmetrics.
### Where is Matomo Cloud data stored?
Matomo's pricing FAQ states that Cloud data is stored in Frankfurt, Germany. Self-hosted installations store data wherever you run them. Sealmetrics stores all customer analytics data in Dublin, Ireland, with no choice of region.
### Does Matomo require a cookie banner?
Matomo's position is that, with anonymisation configured, you can track visitors without a cookie consent screen, and it publishes a self-assessment against the French CNIL criteria. That is the vendor's assessment, not a regulator's approval — the same is true of Sealmetrics' own [CNIL self-assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md).
### Can I import Matomo history into Sealmetrics?
No. Sealmetrics starts collecting from the day the tracker is installed and keeps 24 months of aggregates. Run both in parallel during the transition if you need continuity.
In short
- Matomo is GPLv3 and self-hostable; Sealmetrics is a managed cloud in Dublin.
- Matomo's cookieless identifier is a daily hash that includes the IP; Sealmetrics derives nothing from the IP.
- Matomo gives you unique visitors with consent; Sealmetrics measures, without consent, the traffic you lose today to the cookie banner.
## Related documentation
- [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md)
- [How Sealmetrics determines the country without IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md)
- [Tracker performance report](https://sealmetrics.com/docs/guides/tracker-performance-report.md)
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md)
## Sealmetrics vs Plausible: two cookieless tools, one hashes the IP
URL: https://sealmetrics.com/docs/compare/plausible/
Plausible identifies visitors with a daily hash of IP and user agent; Sealmetrics never derives an identifier from the IP. Both cookieless, both EU-hosted.
Sealmetrics and Plausible are both cookieless, EU-hosted analytics tools that state no consent banner is needed. The main difference is how they tell two pageviews apart: Plausible computes a daily unique-visitor hash from the IP address and user agent, while Sealmetrics never derives any identifier from the IP and does not report unique visitors at all.
## Side-by-side
Plausible facts checked 2026-09-04 on plausible.io; each row links to the page it was read on.
| Criterion | Sealmetrics | Plausible |
| --- | --- | --- |
| Company / HQ | Sealmetrics, EU company | Incorporated in Estonia, EU ([source](https://plausible.io/data-policy)) |
| Hosting model | Managed cloud only | Managed cloud or self-hosted Community Edition ([source](https://plausible.io/docs/self-hosting)) |
| Licence | Proprietary | AGPLv3 ([source](https://plausible.io/about)) |
| Identifier between pageviews | Hash of standard device characteristics computed in the browser, not derived from IP, never written to the device; re-keyed server-side with a daily salt destroyed on rotation; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | `hash(daily_salt + website_domain + ip_address + user_agent)`, salt rotated every 24 h ([source](https://plausible.io/data-policy)) |
| Visitor IP address | Never stored; country from browser timezone ([details](https://sealmetrics.com/docs/security-privacy/country-detection.md)) | Input to the hash and to geolocation; raw IP not stored ([source](https://plausible.io/data-policy)) |
| Data residency | Dublin, Ireland only ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | Hetzner servers in Falkenstein, Germany ([source](https://plausible.io/privacy-focused-web-analytics)) |
| Vendor's position on consent | No banner needed for its own measurement (self-assessed; Germany: open question) | "No need for cookie banners or GDPR consent" ([source](https://plausible.io/)) |
| Cookies / local storage | None | "We do not use cookies, browser cache or local storage" ([source](https://plausible.io/data-policy)) |
| Script size (uncompressed) | 2.2 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) | 2.8 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) |
| Free tier | Free tier of 1M events total (lifetime, not monthly), no credit card ([billing](https://sealmetrics.com/docs/billing.md)) | 30-day free trial, no credit card; no free plan — see [pricing](https://plausible.io/) |
## How each one measures visitors
Plausible's data policy spells out its identifier: a hash of a daily salt, the site domain, the visitor's IP address and user agent. The salt is discarded every 24 hours, so the same person becomes a new visitor the next day and cannot be followed across sites. Raw IPs and user agents are never written to disk. This gives Plausible a daily unique-visitor count and visit duration while staying cookieless, at the price of feeding the IP into the identifier.
Sealmetrics also computes a hash, but not from the IP: the tracker hashes standard device characteristics in the browser, never writes it to the device, and the server re-keys it with a daily salt that is destroyed on rotation, so it cannot link a device across days. Each hit is stored with URL, referrer, timestamp, browser timezone and that daily session identifier; the user agent is read in flight for bot and device detection and only the derived browser, OS and device category is kept. The IP is seen at the network layer, checked in flight against a public list of automated-traffic IPs to filter bots, and never stored or used for geolocation — country comes from the browser timezone. The consequence is that Sealmetrics reports entrances rather than unique visitors, and has no visit-duration metric.
## When Plausible is the better choice
- You want daily unique visitors and visit duration without cookies, and are comfortable that the identifier is a rotated hash of the IP.
- You want to self-host under an open-source licence or audit the source before trusting the privacy claims.
- You run a small site and want a deliberately minimal dashboard at a low entry price.
## When Sealmetrics is the better choice
- Your legal review treats a hashed IP as derived from personal data and you would rather have no IP-derived identifier to explain at all.
- You need item-level eCommerce data, custom channel grouping, an API on every plan and an AI layer ([LENS](https://sealmetrics.com/docs/lens.md), included in every paid plan and free to run on your own LLM key).
- You want retention that is the same on every plan (24 months for daily aggregates and conversion events), with no per-plan variation to document.
## Frequently asked questions
### Does Plausible store my visitors' IP addresses?
No. Plausible's data policy says raw IPs and user agents are never stored; the IP is used as an input to the daily hash and to derive location, then dropped. Sealmetrics does not use the IP for either purpose.
### Which tool needs a cookie banner?
Neither, according to each vendor's own documentation. Both set no cookies and use no local storage. Both statements are vendor positions; no supervisory authority certifies analytics tools, and Sealmetrics' compliance pages are [self-assessments](https://sealmetrics.com/docs/compliance.md).
### Which script is lighter?
Measured uncompressed on 3 December 2026, Plausible's script is 2.8 KB and the Sealmetrics tracker 2.2 KB. Both are small enough that the difference rarely matters — the contrast with GA4 at roughly 437 KB is the one that does.
### Can I run both together?
Yes. Neither tool interferes with the other, and a parallel run is the simplest way to compare Plausible's daily uniques against Sealmetrics' entrances on your own traffic.
In short
- Both are cookieless and EU-hosted with no banner required per their own docs.
- Plausible's daily identifier includes the IP address; Sealmetrics derives nothing from it.
- Plausible reports unique visitors and is open source; Sealmetrics reports entrances and adds eCommerce depth and AI.
## Related documentation
- [Sealmetrics vs Plausible — full blog comparison](https://sealmetrics.com/blog/sealmetrics-vs-plausible.md)
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
- [How Sealmetrics determines the country without IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md)
- [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md)
## Sealmetrics vs Fathom: EU Isolation vs EU-only storage
URL: https://sealmetrics.com/docs/compare/fathom/
Fathom hashes IP and user agent daily and stores anonymised data in the US after EU processing. Sealmetrics never hashes the IP and keeps all data in Dublin.
Sealmetrics and Fathom Analytics are both cookieless tools whose vendors say no consent banner is needed. The main difference is where the data goes and what the identifier is made of: Fathom builds a daily hash from the visitor's IP and user agent, processes EU IPs inside the EU and then stores the anonymised data on US servers; Sealmetrics builds no hash from the IP and stores everything in Dublin, Ireland.
## Side-by-side
Fathom facts checked 2026-09-04 on usefathom.com; each row links to the page it was read on.
| Criterion | Sealmetrics | Fathom Analytics |
| --- | --- | --- |
| Company / HQ | Sealmetrics, EU company | Victoria, British Columbia, Canada ([source](https://usefathom.com/privacy)) |
| Hosting model | Managed cloud only | Managed cloud only; the original open-source project is no longer the product ([source](https://usefathom.com/about)) |
| Licence | Proprietary | Proprietary hosted product ([source](https://usefathom.com/about)) |
| Identifier between pageviews | Hash of standard device characteristics computed in the browser, not derived from IP, never written to the device; re-keyed server-side with a daily salt destroyed on rotation; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | User signature hash of a per-site daily salt, IP address, user agent and hostname, deleted at midnight ([source](https://usefathom.com/data)) |
| Visitor IP address | Never stored; country from browser timezone ([details](https://sealmetrics.com/docs/security-privacy/country-detection.md)) | Input to the hash; raw IPs kept only for security, up to 24 h ([source](https://usefathom.com/data)) |
| Data residency | Dublin, Ireland only ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | EU visitors' IPs stripped on EU infrastructure; anonymised data "stored on our main US servers" ([source](https://usefathom.com/features/eu-isolation)) |
| Vendor's position on consent | No banner needed for its own measurement (self-assessed; Germany: open question) | "You don't need to clutter your site with a cookie banner for analytics" ([source](https://usefathom.com/features)) |
| Cookies | None | "We don't use cookies or similar technology" ([source](https://usefathom.com/privacy)) |
| Script size (uncompressed) | 2.2 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) | 6.8 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)); the vendor cites typical load times of about 30 ms ([source](https://usefathom.com/data)) |
| Free tier | Free tier of 1M events total (lifetime, not monthly), no credit card ([billing](https://sealmetrics.com/docs/billing.md)) | 7-day free trial, no credit card; no free plan — see [pricing](https://usefathom.com/pricing) |
## How each one measures visitors
Fathom's data page describes a "user signature hash" built from a salt that is unique per site and recycled at midnight, plus the IP address, user agent and hostname. The hash lets Fathom count unique visitors for a day and is deleted when the salt rotates. EU Isolation adds a routing layer: EU visitors' requests are handled on European infrastructure where the IP is stripped, and the resulting anonymised record is then stored in the US. Fathom's position is that no personal data is associated with what reaches the US servers.
Sealmetrics never builds a hash from the IP. The tracker sends URL, referrer, timestamp and browser timezone per hit, with a session identifier: a hash of standard device characteristics computed in the browser, scoped to one site by design, never written to the device and re-keyed on the server with a daily salt that is destroyed on rotation, so it cannot link a device across days. The user agent is read in flight for bot and device detection; the raw string is not stored, only the derived browser, OS and device category. We don't store IPs: to filter bots we check the IP in flight against a public list of automated-traffic IPs, and don't keep it; country comes from the browser timezone. All processing and storage happens in Dublin — there is no second region for the aggregated data to move to. The trade-off is the same one every consentless design makes: no unique visitors, no session duration, no journeys.
## When Fathom is the better choice
- You want daily unique visitor counts without cookies and accept a daily-rotated hash of the IP as the mechanism.
- Your primary audience is outside the EU and a US-stored dashboard is not a review question for you.
- You want a simple, single-dashboard product with a fast trial and a low entry price.
## When Sealmetrics is the better choice
- Your data residency requirement is "EU only, one region", not "EU-processed then stored elsewhere".
- You do not want any visitor hash derived from the IP, even one that expires at midnight.
- You need conversion and revenue attribution with item-level properties, an API on every plan, and an AI assistant ([LENS](https://sealmetrics.com/docs/lens.md)) that is free to run on your own LLM key.
## Frequently asked questions
### Where does Fathom store EU visitor data?
Per Fathom's EU Isolation page, EU visitors' IP addresses are stripped on EU-located infrastructure and the anonymised data is then stored on Fathom's main US servers. Sealmetrics stores all customer analytics data in Dublin and transfers none of it outside the EU.
### Does Fathom process IP addresses?
Yes. The IP is one input to Fathom's daily user signature hash, and raw IPs are retained for security purposes for up to 24 hours. Sealmetrics never persists the IP and never uses it to derive an identifier or a location.
### Do either of these tools need a cookie banner?
Both vendors say no for their own product. Neither claim has been validated by a supervisory authority — no such scheme exists for analytics tools — and Sealmetrics documents its reasoning as [self-assessments](https://sealmetrics.com/docs/compliance.md).
### Which reports does Sealmetrics not have that Fathom does?
Unique visitors and time on site. Sealmetrics reports entrances, bounce rate, engagement rate and pages per session in aggregate instead. See the [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md).
In short
- Both are cookieless with no banner required per their own docs.
- Fathom hashes IP and user agent daily and stores anonymised data in the US; Sealmetrics hashes nothing from the IP and stores only in Dublin.
- Fathom reports daily unique visitors; Sealmetrics reports entrances and adds eCommerce depth and AI.
## Related documentation
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md)
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
- [How Sealmetrics determines the country without IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md)
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md)
## Sealmetrics vs Piwik PRO: enterprise suite with consent manager vs consentless by design
URL: https://sealmetrics.com/docs/compare/piwik-pro/
Piwik PRO pairs analytics with a consent manager and an anonymous mode hashed from the IP. Sealmetrics needs no consent layer (self-assessed), stores no IP and keeps analytics data only in Dublin.
Sealmetrics and Piwik PRO are both European analytics platforms aimed at organisations with a data protection review to pass. The main difference is philosophy: Piwik PRO is a suite — analytics, tag manager and consent manager — that collects anonymous data before consent and full data after it, using a session hash that includes the IP; Sealmetrics removes the consent step entirely by storing nothing on the device, using a session identifier that rotates daily and cannot be reconstructed, and deriving nothing from the IP.
## Side-by-side
Piwik PRO facts checked 2026-09-04 on piwik.pro and help.piwik.pro; each row links to the page it was read on.
| Criterion | Sealmetrics | Piwik PRO |
| --- | --- | --- |
| Company / HQ | Sealmetrics, EU company | Piwik PRO SA, Wrocław, Poland ([source](https://piwik.pro/contact/)) |
| Hosting model | Managed cloud only | Public cloud, private cloud on Azure regions or Elastx ([source](https://piwik.pro/privacy-compliance/)) |
| Licence | Proprietary | Proprietary ([source](https://piwik.pro/pricing/)) |
| Identifier between pageviews | Hash of standard device characteristics computed in the browser, not derived from IP, never written to the device; re-keyed server-side with a daily salt destroyed on rotation; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | Cookie ID by default; anonymous mode uses a session hash of IP address, OS, browser name and version, language, plugins and site ID ([source](https://help.piwik.pro/support/questions/what-are-sessions-and-how-are-they-counted/)), used for 30 minutes since the last event ([source](https://help.piwik.pro/support/privacy/collect-data-in-a-privacy-friendly-way/)) |
| Visitor IP address | Never stored; country from browser timezone ([details](https://sealmetrics.com/docs/security-privacy/country-detection.md)) | Processed; masking "removes the selected number of bytes from the address before saving it" ([source](https://help.piwik.pro/support/privacy/collect-data-in-a-privacy-friendly-way/)) |
| Data residency | Dublin, Ireland only ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | EU-operated hosting in Sweden, plus Germany, the Netherlands, the US, Hong Kong and UAE North ([source](https://piwik.pro/pricing/)) |
| Vendor's position on consent | No banner needed for its own measurement (self-assessed; Germany: open question) | Anonymous data can be collected without a consent form; full tracking after consent ([source](https://help.piwik.pro/support/privacy/collect-data-in-a-privacy-friendly-way/)) |
| Security certifications | None held | Vendor states ISO 27001 and SOC 2 ([source](https://piwik.pro/privacy-compliance/)) |
| Script size (uncompressed) | 2.2 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) | Not published; Sealmetrics measured ~69 KB on the vendor demo instance, 3 Dec 2026 ([method](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) |
| Free tier | Free tier of 1M events total (lifetime, not monthly), no credit card ([billing](https://sealmetrics.com/docs/billing.md)) | 30-day free trial; no free plan — see [pricing](https://piwik.pro/pricing/) |
## How each one measures visitors
Piwik PRO's default is a visitor cookie, which unlocks the full suite: visitor profiles, multi-session attribution and audience segments. For visitors who have not consented, it offers a privacy-friendly mode built on a session hash — computed from the IP address, operating system, browser name and version, language, enabled plugins and the site ID — that recognises a session for 30 minutes after the last event. IP masking can strip bytes before the address is saved. When the visitor accepts the consent manager's prompt, Piwik PRO upgrades to full tracking. The model gives you two data sets: anonymous for everyone, identified for those who agreed.
Sealmetrics has one data set. Every hit is URL, referrer, timestamp and browser timezone (the user agent is read in flight for bot and device detection and only derived categories are stored), grouped within a visit by a session identifier: a hash of device characteristics computed in the browser, never written to the device, containing nothing derived from the IP and re-keyed on the server with a daily salt that is destroyed on rotation. There is no consent manager because, on our own assessment, the audience-measurement exemption applies, and no "upgrade" path to identified tracking. The price is that Sealmetrics never reports unique visitors, session duration or user-level journeys, on any plan.
## When Piwik PRO is the better choice
- Your procurement checklist requires a vendor with ISO 27001 or SOC 2 — Piwik PRO states it holds both; Sealmetrics holds neither.
- You need a choice of hosting region or a private cloud deployment, or you must keep data in a specific non-Irish jurisdiction.
- You want an integrated tag manager and consent manager, and user-level analytics for the visitors who consent.
## When Sealmetrics is the better choice
- You want to remove the consent layer from analytics altogether instead of managing two data sets.
- You do not want an identifier — even a 30-minute one — that takes the IP address as an input.
- You want the lightest tracker and a simpler vendor review: no data that identifies anyone stored, EU-only storage in one region, a public [DPA](https://sealmetrics.com/dpa.md) and a three-entry subprocessor list.
## Frequently asked questions
### Is Piwik PRO's anonymous mode consentless?
Piwik PRO's documentation says you can choose not to use a consent form and collect data through session identifiers. Its session hash still takes the IP address as an input, which is a different design from Sealmetrics, where no identifier is derived from the IP at all. Whether either approach satisfies a given regulator is a question for your DPO; neither vendor's claim is a regulatory approval.
### Where can Piwik PRO data be hosted?
Piwik PRO's pricing page lists EU-operated hosting in Sweden, plus Germany, the Netherlands, the US, Hong Kong and UAE North, with private cloud on Enterprise. Sealmetrics offers one location: Dublin, Ireland.
### Does Sealmetrics have a consent manager or tag manager?
No. Sealmetrics does not need a consent manager for its own measurement, and it installs as a single script or through your existing tag manager — see [Google Tag Manager](https://sealmetrics.com/docs/integrations/google-tag-manager.md).
### Which is lighter on the page?
Piwik PRO's script measured about 69 KB uncompressed on its demo instance on 3 December 2026, the lightest of the incumbent tools Sealmetrics has measured; the Sealmetrics tracker measured 2.2 KB. Details and method are in the [tracker performance report](https://sealmetrics.com/docs/guides/tracker-performance-report.md).
In short
- Piwik PRO collects anonymous data before consent and full data after it; Sealmetrics has one consentless data set.
- Piwik PRO's anonymous session hash includes the IP; Sealmetrics derives nothing from it.
- Piwik PRO states ISO 27001 and SOC 2 and offers several regions; Sealmetrics holds no certification and stores only in Dublin.
## Related documentation
- [Tracker performance report](https://sealmetrics.com/docs/guides/tracker-performance-report.md)
- [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md)
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md)
## Sealmetrics vs Simple Analytics: the closest architecture, different depth
URL: https://sealmetrics.com/docs/compare/simple-analytics/
Both skip cookies and IPs, say no consent banner is needed and derive country from the timezone. Simple Analytics keeps it minimal; Sealmetrics adds attribution, eCommerce and AI.
Sealmetrics and Simple Analytics are the two tools in this section with the most similar privacy architecture: neither sets cookies, neither stores IP addresses, and both derive the visitor's country from the browser timezone rather than from the IP. The main difference is scope — Simple Analytics is a deliberately minimal dashboard hosted in the Netherlands, while Sealmetrics is built around conversion attribution, eCommerce data and an AI layer, hosted in Dublin.
## Side-by-side
Simple Analytics facts checked 2026-09-04 on simpleanalytics.com and docs.simpleanalytics.com; each row links to the page it was read on.
| Criterion | Sealmetrics | Simple Analytics |
| --- | --- | --- |
| Company / HQ | Sealmetrics, EU company | Headquartered in Amsterdam, the Netherlands ([source](https://www.simpleanalytics.com/about)) |
| Hosting model | Managed cloud only | Managed cloud; servers in the Netherlands ([source](https://docs.simpleanalytics.com/what-we-collect)) |
| Licence | Proprietary | Not published |
| Identifier between pageviews | Hash of standard device characteristics computed in the browser, not derived from IP, never written to the device; re-keyed server-side with a daily salt destroyed on rotation; live session ~2 h ([details](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) | None; a visit is counted unique when the Referer hostname differs from the current domain ([source](https://docs.simpleanalytics.com/what-we-collect)) |
| Visitor IP address | Never stored; country from browser timezone ([details](https://sealmetrics.com/docs/security-privacy/country-detection.md)) | "We do NOT collect or store IP addresses"; country from the visitor's timezone ([source](https://docs.simpleanalytics.com/what-we-collect)) |
| Data residency | Dublin, Ireland only ([details](https://sealmetrics.com/docs/security-privacy/data-location.md)) | The Netherlands ([source](https://docs.simpleanalytics.com/compliance)) |
| Vendor's position on consent | No banner needed for its own measurement (self-assessed; Germany: open question) | No consent needed, citing ICO guidance on techniques that do not store or access information on the device ([source](https://docs.simpleanalytics.com/compliance)) |
| Cookies | None | "We do NOT set any cookies (or use similar technologies)" ([source](https://docs.simpleanalytics.com/what-we-collect)) |
| Script size (uncompressed) | 2.2 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) | 9.4 KB ([measured 3 Dec 2026](https://sealmetrics.com/docs/guides/tracker-performance-report.md)) |
| Free tier | Free tier of 1M events total (lifetime, not monthly), no credit card ([billing](https://sealmetrics.com/docs/billing.md)) | Free plan with 30-day history plus a 14-day trial of paid plans — see [pricing](https://www.simpleanalytics.com/pricing) |
## How each one measures visitors
Simple Analytics collects timestamps, a truncated user agent, timezone-derived country, language, URL without query string, partial referrer, UTM parameters, viewport size, time on page and scroll depth. It has no visitor identifier: a pageview is counted as a new unique visit when the browser's Referer hostname is not the site's own domain, and as a follow-on pageview when it is. That heuristic gives a unique-visit count without any hash, cookie or IP.
Sealmetrics collects URL, referrer, timestamp and browser timezone per hit (the user agent is read in flight for bot and device detection and not stored raw), and groups hits within a visit using a session identifier: a hash of device characteristics computed in the browser, never written to the device and re-keyed on the server with a daily salt that is destroyed on rotation. Like Simple Analytics, it does not store the IP and reads country from the timezone. Unlike Simple Analytics, it reports entrances rather than unique visits, and it keeps conversions with revenue and item-level properties so that channel and campaign attribution is a first-class report rather than an event count.
## When Simple Analytics is the better choice
- You want a free plan for a small site and a dashboard you can read in ten seconds.
- You want time on page and scroll depth reported on every page out of the box.
- Hosting in the Netherlands specifically fits your review better than hosting in Ireland.
## When Sealmetrics is the better choice
- You need revenue attribution by channel, campaign and landing page, with item-level eCommerce data and micro-conversions.
- You want an API and BigQuery export on every plan, and an AI assistant ([LENS](https://sealmetrics.com/docs/lens.md)) that is included and free to run on your own LLM key.
- You are replacing GA4 on an eCommerce site and need funnel and ROAS reporting rather than a traffic overview.
## Frequently asked questions
### Do both tools really avoid IP addresses?
Yes, per each vendor's documentation. Simple Analytics states it does not collect or store IP addresses and reads country from the timezone; Sealmetrics doesn't store IPs — to filter bots it checks the IP in flight against a public list of automated-traffic IPs and doesn't keep it — and also reads country from the timezone. This is the closest match in the comparison section.
### How does Simple Analytics count unique visitors without an identifier?
By the Referer header: if the previous page was on another domain, the pageview starts a new unique visit. Sealmetrics uses a different signal for the same purpose — a session identifier hashed from device characteristics and re-keyed daily — and reports the result as entrances.
### Which one needs a cookie banner?
Neither, according to each vendor. Both cite the absence of any storage on the device. As with every page in this section, these are vendor positions; no authority certifies analytics tools, and Sealmetrics' reasoning is documented as [self-assessments](https://sealmetrics.com/docs/compliance.md).
### What does Sealmetrics not report that Simple Analytics does?
Time on page, and a per-page unique-visit count. Sealmetrics reports bounce rate, engagement rate and pages per session in aggregate, and treats scroll depth as a custom event — see the [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md).
In short
- Both set no cookies, store no IP, derive country from the timezone and say no banner is needed.
- Simple Analytics infers unique visits from the Referer; Sealmetrics groups a visit with a device-characteristics hash re-keyed daily and reports entrances.
- Simple Analytics is minimal with a free plan; Sealmetrics adds attribution, eCommerce depth, API on every plan and AI.
## Related documentation
- [How Sealmetrics determines the country without IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md)
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
- [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md)
- [Tracker overview](https://sealmetrics.com/docs/implementation/tracker.md)
---
# Use Cases
## Use Cases
URL: https://sealmetrics.com/docs/use-cases/
Sealmetrics implementation guides by business type, with ready-to-use code for tracking conversions, microconversions and revenue — eCommerce, SaaS, and more.
Complete implementation guides tailored to your business type. Each guide includes ready-to-use code examples for tracking conversions, microconversions and revenue.
## Choose Your Business Type
- [eCommerce Store Online stores, marketplaces, product sales. You'll track: add to cart, checkout funnel, purchases with revenue.](https://sealmetrics.com/docs/use-cases/ecommerce.md)
- [SaaS Application Software products, subscription services. You'll track: trial signups, onboarding completion, subscriptions & upgrades.](https://sealmetrics.com/docs/use-cases/saas.md)
- [Lead Generation Service businesses, agencies, B2B. You'll track: form submissions, demo/call bookings, content downloads.](https://sealmetrics.com/docs/use-cases/lead-generation.md)
- [Content & Media Blogs, news sites, publishers. You'll track: reading engagement, newsletter signups, paid subscriptions.](https://sealmetrics.com/docs/use-cases/content-media.md)
## Quick Comparison
| Use Case | Key Conversion | Typical Funnel |
| --- | --- | --- |
| **eCommerce** | `purchase` with revenue | Product → Cart → Checkout → Purchase |
| **SaaS** | `signup`, `subscription` | Pricing → Trial → Onboarding → Paid |
| **Lead Gen** | `lead`, `demo_request` | Content → CTA → Form → Submit |
| **Content** | `newsletter_signup` | Article → Engage → Subscribe |
## What's Included in Each Guide
Every use case guide includes:
- **Step-by-step installation** with content grouping
- **Ready-to-use code** for your tracking events
- **Platform-specific examples** (WordPress, Shopify, React, etc.)
- **Complete funnel diagram** showing all events
- **Key metrics** to analyze in your dashboard
## Not Sure Which to Choose?
Most businesses combine elements from multiple use cases:
| Your Business | Primary | Secondary |
| --- | --- | --- |
| Online store with blog | eCommerce | Content |
| Software with free trial | SaaS | Lead Gen |
| Agency with case studies | Lead Gen | Content |
| News site with subscriptions | Content | SaaS |
Start with your primary business model, then add tracking from secondary guides as needed.
## Need Something Different?
These guides cover the most common scenarios. For custom implementations:
- **[Tracker API Reference](https://sealmetrics.com/docs/implementation/tracker/api-reference.md)** - Complete technical documentation
- **[Step-by-Step Guide](https://sealmetrics.com/docs/implementation/tracker/step-by-step-guide.md)** - General implementation walkthrough
- **Support**: [support@sealmetrics.com](mailto:support@sealmetrics.com)
In short
- Four implementation guides by business type: eCommerce (`purchase` with revenue), SaaS (`signup`, `subscription`), Lead Gen (`lead`, `demo_request`) and Content (`newsletter_signup`).
- Every guide includes installation with content grouping, ready-to-use event code, platform-specific examples, a funnel diagram and the key metrics to analyze.
- Most businesses combine a primary guide with a secondary one — for example an online store with a blog uses eCommerce plus Content.
## Related documentation
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — add the tracking script before following any use-case guide
- [Understanding Event Properties in Sealmetrics](https://sealmetrics.com/docs/implementation/custom-properties/event-properties.md) — the event and property model shared by every guide
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — reference for the purchase and revenue events
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — where your tracked conversions appear
- [Funnel Report](https://sealmetrics.com/docs/reports/funnel.md) — build the funnels described in each guide
## eCommerce Store
URL: https://sealmetrics.com/docs/use-cases/ecommerce/
Complete implementation guide for tracking an online store with Sealmetrics - from product views to purchases.
To track an online store with Sealmetrics, add the tracking script to your store's header, then instrument three event types across the funnel: **pageviews** (automatic, for product and category pages), **microconversions** via `sealmetrics.micro()` (add to cart, begin checkout), and **conversions** via `sealmetrics.conv()` (purchase, with revenue and items). This guide covers each step with copy-paste examples for WooCommerce, Shopify, Magento, and PrestaShop.
## What will you track?
| Event Type | Example | Purpose |
| --- | --- | --- |
| Pageviews | Product page, category, cart | Traffic analysis |
| Microconversions | Add to cart, begin checkout | Funnel analysis |
| Conversions | Purchase | Revenue attribution |
## Step 1: Basic Installation
Add the tracking script to your store's header:
```html
```
### With Content Grouping
Use different groups for different page types:
```html
```
## Step 2: Track Add to Cart
Track when users add products to their cart.
### Basic Implementation
```javascript
document.querySelectorAll('.add-to-cart-button').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('add_to_cart', {
product_id: this.dataset.productId,
product_name: this.dataset.productName,
price: this.dataset.price,
currency: 'EUR'
});
});
});
```
### WooCommerce (WordPress)
```php
// In functions.php or custom plugin
add_action('wp_footer', function() {
if (!is_product()) return;
?>
```
### Magento 2
```javascript
// In custom module or theme JS
require(['jquery'], function($) {
$(document).on('click', '#product-addtocart-button', function() {
var form = $('#product_addtocart_form');
sealmetrics.micro('add_to_cart', {
product_id: $('[name="product"]').val(),
product_name: $('.page-title span').text(),
price: $('.price-final_price .price').first().text().replace(/[^0-9.,]/g, ''),
quantity: $('#qty').val()
});
});
});
```
### PrestaShop
```javascript
// In custom.js or theme
document.addEventListener('click', function(e) {
if (e.target.matches('.add-to-cart')) {
var productInfo = document.querySelector('[data-product]');
if (productInfo) {
var product = JSON.parse(productInfo.dataset.product);
sealmetrics.micro('add_to_cart', {
product_id: product.id,
product_name: product.name,
price: product.price_amount,
currency: prestashop.currency.iso_code
});
}
}
});
```
## Step 3: Track Checkout Funnel
Track each step of the checkout process.
### Complete Funnel Example
```javascript
// Step 1: View cart
// On cart page load
sealmetrics.micro('view_cart', {
items_count: document.querySelectorAll('.cart-item').length.toString(),
cart_value: document.querySelector('.cart-total').dataset.value
});
// Step 2: Begin checkout
document.querySelector('.checkout-button').addEventListener('click', function() {
sealmetrics.micro('begin_checkout', {
cart_value: this.dataset.cartTotal
});
});
// Step 3: Add contact info
document.querySelector('#contact-form').addEventListener('submit', function() {
sealmetrics.micro('add_contact_info');
});
// Step 4: Add shipping info
document.querySelector('#shipping-form').addEventListener('submit', function() {
sealmetrics.micro('add_shipping_info', {
shipping_method: document.querySelector('[name="shipping"]:checked').value
});
});
// Step 5: Add payment info
document.querySelector('#payment-form').addEventListener('submit', function() {
sealmetrics.micro('add_payment_info', {
payment_method: document.querySelector('[name="payment"]:checked').value
// ... full example at https://sealmetrics.com/docs/use-cases/ecommerce/
```
### WooCommerce Checkout
```php
add_action('wp_footer', function() {
if (!is_checkout()) return;
?>
// Track checkout completion steps based on page
{% if checkout.shipping_address %}
sealmetrics.micro('add_shipping_info', {
shipping_method: '{{ checkout.shipping_rate.title | escape }}'
});
{% endif %}
{% endif %}
```
## Step 4: Track Purchases
Track completed orders on the thank-you page.
### Basic Implementation
```html
```
Tip
`items` is an array of JavaScript objects inside the properties parameter. Each object supports free-form fields: `product_name`, `product_id`, `price`, `quantity`, `category`, `brand`, `variant`, `sku`, etc.
### WooCommerce
```php
add_action('woocommerce_thankyou', function($order_id) {
// Prevent duplicate tracking on refresh
if (get_post_meta($order_id, '_sealmetrics_tracked', true)) return;
$order = wc_get_order($order_id);
// Build items array
$items = array();
foreach ($order->get_items() as $item) {
$product = $item->get_product();
$items[] = array(
'product_name' => $item->get_name(),
'product_id' => $product ? $product->get_id() : '',
'sku' => $product ? $product->get_sku() : '',
'price' => $item->get_total() / max($item->get_quantity(), 1),
'quantity' => $item->get_quantity(),
'category' => wp_strip_all_tags(wc_get_product_category_list($product ? $product->get_id() : 0)),
);
}
?>
// ... full example at https://sealmetrics.com/docs/use-cases/ecommerce/
```
### Shopify
In **Settings → Checkout → Additional scripts**:
```html
{% if first_time_accessed %}
{% endif %}
```
### Magento 2
```php
// In success.phtml or via layout XML
getOrder();
if ($order && !$order->getSealmetricsTracked()):
$items = array();
foreach ($order->getAllVisibleItems() as $item) {
$items[] = array(
'product_name' => $item->getName(),
'product_id' => $item->getProductId(),
'sku' => $item->getSku(),
'price' => $item->getPrice(),
'quantity' => (int)$item->getQtyOrdered(),
);
}
?>
setSealmetricsTracked(true)->save();
endif;
?>
```
### PrestaShop
```php
// In OrderConfirmationController or hook
public function hookDisplayOrderConfirmation($params)
{
$order = $params['order'];
if ($order->sealmetrics_tracked) return '';
$items = array();
foreach ($order->getProducts() as $product) {
$items[] = array(
'product_name' => $product['product_name'],
'product_id' => $product['product_id'],
'sku' => $product['product_reference'],
'price' => (float)$product['unit_price_tax_incl'],
'quantity' => (int)$product['product_quantity'],
'category' => $product['category'],
);
}
$output = '';
$order->sealmetrics_tracked = true;
$order->save();
// ... full example at https://sealmetrics.com/docs/use-cases/ecommerce/
```
## Step 5: Additional eCommerce Events
### Wishlist
```javascript
document.querySelectorAll('.add-to-wishlist').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('add_to_wishlist', {
product_id: this.dataset.productId,
product_name: this.dataset.productName
});
});
});
```
### Product Quick View
```javascript
document.querySelectorAll('.quick-view').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('quick_view', {
product_id: this.dataset.productId
});
});
});
```
### Remove from Cart
```javascript
document.querySelectorAll('.remove-from-cart').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('remove_from_cart', {
product_id: this.dataset.productId
});
});
});
```
### Apply Coupon
```javascript
document.querySelector('#apply-coupon').addEventListener('click', function() {
var couponCode = document.querySelector('#coupon-input').value;
sealmetrics.micro('apply_coupon', {
coupon_code: couponCode
});
});
```
### Search
```javascript
document.querySelector('#search-form').addEventListener('submit', function() {
var query = document.querySelector('#search-input').value;
sealmetrics.micro('search', {
search_term: query
});
});
```
## Complete eCommerce Funnel
```plaintext
┌─────────────────────────────────────────────────────────────────┐
│ E-COMMERCE FUNNEL │
├─────────────────────────────────────────────────────────────────┤
│ │
│ Landing Page ──► Product Page ──► Add to Cart ──► Cart │
│ (pageview) (pageview) (micro) (micro) │
│ │
│ │ │ │
│ ▼ ▼ │
│ Begin Checkout ──► Shipping Info ──► Payment ──► Purchase │
│ (micro) (micro) (micro) (CONV) │
│ │
└─────────────────────────────────────────────────────────────────┘
```
| Step | Event Type | Function |
| --- | --- | --- |
| Landing | Pageview | Automatic |
| Product view | Pageview | Automatic |
| Add to cart | Micro | `sealmetrics.micro('add_to_cart')` |
| View cart | Micro | `sealmetrics.micro('view_cart')` |
| Begin checkout | Micro | `sealmetrics.micro('begin_checkout')` |
| Add shipping | Micro | `sealmetrics.micro('add_shipping_info')` |
| Add payment | Micro | `sealmetrics.micro('add_payment_info')` |
| **Purchase** | **Conversion** | `sealmetrics.conv('purchase', amount)` |
## What can you analyze in the dashboard?
After implementing, you can analyze:
### Traffic Sources
- Which campaigns drive the most revenue
- ROAS by utm_source/utm_medium
- Best performing ad creatives
### Funnel Drop-off
- Cart abandonment rate
- Checkout step completion rates
- Where users exit the funnel
### Product Performance
- Which products are viewed vs purchased
- Add-to-cart rate by category
- Revenue by product (if passing properties)
### Content Grouping
- Compare conversion rates: home → product → checkout
- Identify high-performing page types
In short
- Three event types cover the store funnel: automatic pageviews, microconversions via `sealmetrics.micro()` (add_to_cart, view_cart, begin_checkout, shipping and payment steps) and the purchase conversion via `sealmetrics.conv('purchase', amount)`.
- Pass `currency`, `payment_method` and an `items` array on the purchase call; the WooCommerce, Shopify, Magento 2 and PrestaShop examples include duplicate-tracking guards.
- Content grouping (home, category, product, cart, checkout) lets you compare conversion rates by page type in the dashboard.
## Related documentation
- [eCommerce Conversion Tracking](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking.md) — full reference for the purchase and revenue events used in this guide
- [eCommerce Setup Guide](https://sealmetrics.com/docs/implementation/ecommerce-conversion-tracking/ecommerce-setup-guide.md) — step-by-step store setup with deduplication patterns
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — detailed guide for adding the tracking script
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — analyze purchases and revenue by source once data flows
- [Funnel Report](https://sealmetrics.com/docs/reports/funnel.md) — measure cart abandonment and checkout drop-off
## SaaS Application
URL: https://sealmetrics.com/docs/use-cases/saas/
Implementation guide for tracking a SaaS product - from landing page to trial signup, onboarding, and subscription.
To track a SaaS product with Sealmetrics, add the tracking script to your marketing site and app, then instrument three event types: **pageviews** (automatic, for pricing and feature pages), **microconversions** via `sealmetrics.micro()` (plan selection, signup steps, onboarding, feature usage) and **conversions** via `sealmetrics.conv()` (trial signup, subscription, upgrade). This guide covers each step with copy-paste examples, including a Next.js implementation.
## What will you track?
| Event Type | Example | Purpose |
| --- | --- | --- |
| Pageviews | Pricing, features, blog | Traffic analysis |
| Microconversions | Plan selection, form steps | Funnel optimization |
| Conversions | Trial signup, subscription | Revenue attribution |
## Step 1: Basic Installation
Add the tracking script to your marketing site and app:
```html
```
### Content Grouping for SaaS
```html
```
## Step 2: Track Pricing Page Interactions
### Plan Selection
```javascript
// Track when user clicks on a plan
document.querySelectorAll('.plan-card').forEach(function(card) {
card.addEventListener('click', function() {
sealmetrics.micro('select_plan', {
plan: this.dataset.plan, // 'starter', 'pro', 'enterprise'
billing: document.querySelector('.billing-toggle.active').dataset.billing // 'monthly', 'yearly'
});
});
});
```
### Billing Toggle
```javascript
// Track monthly/yearly toggle
document.querySelectorAll('.billing-toggle').forEach(function(toggle) {
toggle.addEventListener('click', function() {
sealmetrics.micro('toggle_billing', {
selected: this.dataset.billing // 'monthly' or 'yearly'
});
});
});
```
### CTA Clicks
```javascript
// Track "Start Trial" or "Get Started" clicks
document.querySelectorAll('.cta-start-trial').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('click_start_trial', {
plan: this.dataset.plan,
location: this.dataset.location // 'hero', 'pricing', 'footer'
});
});
});
```
### Feature Comparison
```javascript
// Track when user opens feature comparison
document.querySelector('.compare-plans').addEventListener('click', function() {
sealmetrics.micro('view_comparison');
});
```
## Step 3: Track Signup Funnel
### Multi-step Signup Form
```javascript
// Step 1: Email entered
document.querySelector('#signup-email').addEventListener('blur', function() {
if (this.value && this.checkValidity()) {
sealmetrics.micro('signup_step_1', {
step: 'email_entered'
});
}
});
// Step 2: Password created
document.querySelector('#signup-password').addEventListener('blur', function() {
if (this.value) {
sealmetrics.micro('signup_step_2', {
step: 'password_created'
});
}
});
// Step 3: Company info
document.querySelector('#company-form').addEventListener('submit', function() {
sealmetrics.micro('signup_step_3', {
step: 'company_info',
company_size: document.querySelector('[name="company_size"]').value
});
});
// Final: Account created (CONVERSION)
// Track on the post-signup/welcome page
sealmetrics.conv('signup', 0, {
plan: 'trial',
// ... full example at https://sealmetrics.com/docs/use-cases/saas/
```
### Single-page Signup
```javascript
document.querySelector('#signup-form').addEventListener('submit', function(e) {
// Track before form submits
sealmetrics.micro('signup_submitted', {
plan: document.querySelector('[name="plan"]').value
});
});
// On success callback or success page
function onSignupSuccess(user) {
sealmetrics.conv('signup', 0, {
plan: user.plan,
trial_days: '14'
});
}
```
## Step 4: Track Onboarding
Track how users progress through onboarding to identify drop-off points.
### Onboarding Checklist
```javascript
// Generic onboarding step tracker
function trackOnboardingStep(stepName, stepNumber, data) {
sealmetrics.micro('onboarding_' + stepName, {
step_number: stepNumber.toString(),
...data
});
}
// Step 1: Profile completed
trackOnboardingStep('profile_completed', 1, {
has_avatar: document.querySelector('#avatar').src ? 'yes' : 'no'
});
// Step 2: First project created
trackOnboardingStep('project_created', 2, {
project_type: projectType
});
// Step 3: Team member invited
trackOnboardingStep('team_invited', 3, {
invites_sent: inviteCount.toString()
});
// Step 4: Integration connected
trackOnboardingStep('integration_connected', 4, {
integration: integrationName // 'slack', 'github', 'jira'
});
// Step 5: First action completed
trackOnboardingStep('first_action', 5, {
// ... full example at https://sealmetrics.com/docs/use-cases/saas/
```
### Onboarding Completed
```javascript
// When user completes all onboarding steps
sealmetrics.micro('onboarding_completed', {
time_to_complete: calculateDays(signupDate, new Date()),
steps_completed: '5'
});
```
### Skip Onboarding
```javascript
document.querySelector('.skip-onboarding').addEventListener('click', function() {
sealmetrics.micro('onboarding_skipped', {
last_step: currentStep.toString()
});
});
```
## Step 5: Track Feature Usage
Track which features users engage with to understand product-market fit.
### Feature Activation
```javascript
// Fire this only the first time an account uses a feature.
// Deduplicate on your server: render this call once per account and feature
// (your application already knows whether the feature was activated before).
// Sealmetrics does not deduplicate this event for you, and nothing is stored in the browser.
function trackFeatureActivation(featureName) {
sealmetrics.micro('feature_activated', {
feature: featureName
});
}
// Examples: your server renders each call only on first use
trackFeatureActivation('dashboard');
trackFeatureActivation('reports');
trackFeatureActivation('exports');
trackFeatureActivation('api');
trackFeatureActivation('integrations');
```
### Key Actions
```javascript
// Track important user actions
sealmetrics.micro('create_report', {
report_type: reportType
});
sealmetrics.micro('export_data', {
format: 'csv',
rows: rowCount.toString()
});
sealmetrics.micro('invite_team_member', {
role: memberRole
});
sealmetrics.micro('connect_integration', {
integration: integrationName
});
```
## Step 6: Track Subscription Conversions
### Trial to Paid
```javascript
// When user enters payment info and subscribes
sealmetrics.conv('subscription', monthlyPrice, {
plan: 'pro',
billing_cycle: 'monthly',
currency: 'USD',
trial_days_used: trialDaysUsed.toString()
});
```
### Plan Upgrade
```javascript
// When user upgrades to a higher plan
sealmetrics.conv('upgrade', priceDifference, {
from_plan: 'starter',
to_plan: 'pro',
billing_cycle: 'monthly',
currency: 'USD'
});
```
### Plan Downgrade
```javascript
// Track downgrades for churn analysis
sealmetrics.micro('downgrade', {
from_plan: 'pro',
to_plan: 'starter',
reason: selectedReason // from exit survey
});
```
### Annual Upgrade
```javascript
// When user switches from monthly to annual
sealmetrics.conv('annual_upgrade', annualPrice, {
plan: 'pro',
previous_billing: 'monthly',
savings: savingsAmount.toString(),
currency: 'USD'
});
```
## Step 7: Track Churn Signals
### Cancel Flow
```javascript
// User clicks cancel
sealmetrics.micro('cancel_initiated');
// User selects reason
sealmetrics.micro('cancel_reason', {
reason: selectedReason // 'too_expensive', 'not_using', 'missing_feature', etc.
});
// Offer accepted (save)
sealmetrics.micro('cancel_saved', {
offer: acceptedOffer // 'discount', 'pause', 'downgrade'
});
// Final cancellation
sealmetrics.micro('cancel_confirmed', {
reason: finalReason,
days_as_customer: customerDays.toString(),
plan: currentPlan
});
```
### Reactivation
```javascript
// When a churned user returns and subscribes again
sealmetrics.conv('reactivation', monthlyPrice, {
plan: 'pro',
days_churned: daysSinceCancellation.toString(),
previous_plan: previousPlan
});
```
## Complete SaaS Funnel
```plaintext
┌─────────────────────────────────────────────────────────────────┐
│ SaaS FUNNEL │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ACQUISITION │
│ ─────────── │
│ Landing ──► Pricing ──► Select Plan ──► Start Trial │
│ (pv) (pv) (micro) (micro) │
│ │
│ ACTIVATION │
│ ────────── │
│ Signup ──► Onboarding Steps ──► Feature Activation │
│ (CONV) (micro x N) (micro) │
│ │
│ REVENUE │
│ ─────── │
│ Trial End ──► Enter Payment ──► Subscribe │
│ (micro) (CONV) │
│ │
│ EXPANSION │
│ ───────── │
│ Feature Usage ──► Upgrade ──► Annual │
│ (micro) (CONV) (CONV) │
│ │
└─────────────────────────────────────────────────────────────────┘
```
## Example: Complete Implementation
### Marketing Site (Next.js)
```tsx
// components/PricingCard.tsx
export function PricingCard({ plan, price, billing }) {
const handleSelect = () => {
if (typeof sealmetrics !== 'undefined') {
sealmetrics.micro('select_plan', {
plan: plan,
billing: billing,
price: price.toString()
});
}
router.push(`/signup?plan=${plan}&billing=${billing}`);
};
return (
{/* Plan details */}
);
}
```
### Signup Page
```tsx
// pages/signup.tsx
export default function Signup() {
const searchParams = useSearchParams();
const plan = searchParams.get('plan') || 'starter';
const handleSubmit = async (formData) => {
try {
const user = await createAccount(formData);
// Track signup conversion
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('signup', 0, {
plan: plan,
source: document.referrer.includes('pricing') ? 'pricing' : 'other'
});
}
router.push('/onboarding');
} catch (error) {
// Handle error
}
};
return (
);
}
```
### App Dashboard
```tsx
// components/UpgradeButton.tsx
export function UpgradeButton({ toPlan, price }) {
const handleUpgrade = async () => {
const result = await processUpgrade(toPlan);
if (result.success && typeof sealmetrics !== 'undefined') {
sealmetrics.conv('upgrade', price, {
from_plan: currentPlan,
to_plan: toPlan,
billing_cycle: billingCycle,
currency: 'USD'
});
}
};
return (
);
}
```
## Which SaaS metrics should you track?
| Metric | How to Calculate | Events Needed |
| --- | --- | --- |
| **Visitor → Trial** | signup / entrances | pageview, signup |
| **Trial → Paid** | subscription / signup | signup, subscription |
| **Onboarding Completion** | onboarding_completed / signup | signup, onboarding_* |
| **Feature Adoption** | feature_activated / active users | feature_activated |
| **Expansion Revenue** | upgrade + annual_upgrade value | upgrade, annual_upgrade |
| **Churn Rate** | cancel_confirmed / active subscriptions | cancel_confirmed |
## Dashboard Analysis
After implementing, analyze:
### Acquisition
- Which channels drive trial signups
- Pricing page conversion rate
- Plan preference by source
### Activation
- Onboarding completion rate
- Time to first value
- Feature activation patterns
### Revenue
- Trial to paid conversion by plan
- MRR by acquisition source
- Upgrade patterns
### Retention
- Churn reasons
- Feature usage before churn
- Reactivation success
In short
- Conversions: `signup` (trial, amount 0), `subscription`, `upgrade`, `annual_upgrade` and `reactivation` with the plan price; everything in between (plan selection, onboarding steps, feature activation, cancel flow) is a microconversion.
- Key ratios: Visitor → Trial (signup / entrances), Trial → Paid (subscription / signup), onboarding completion and churn (cancel_confirmed / active subscriptions).
- Use content groups (marketing, pricing, blog, docs, app, onboarding) so acquisition and activation can be analyzed separately.
## Related documentation
- [Understanding Event Properties in Sealmetrics](https://sealmetrics.com/docs/implementation/custom-properties/event-properties.md) — enrich signup, onboarding, and upgrade events with custom properties
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — add the tracking script to your marketing site and app
- [Funnel Report](https://sealmetrics.com/docs/reports/funnel.md) — visualize the trial-to-paid and onboarding funnels
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — analyze subscriptions, upgrades, and MRR by channel
- [Lead Generation](https://sealmetrics.com/docs/use-cases/lead-generation.md) — a sibling guide for tracking demo requests and B2B forms
## Lead Generation
URL: https://sealmetrics.com/docs/use-cases/lead-generation/
How to track lead generation with Sealmetrics on service, agency and B2B sites: form submissions, demo requests, content downloads and calendar bookings by source.
To track lead generation with Sealmetrics on a service, agency or B2B site, add the tracking script, then instrument three event types: **pageviews** (automatic, for service pages and case studies), **microconversions** via `sealmetrics.micro()` (form starts, scroll depth, CTA clicks, downloads) and **conversions** via `sealmetrics.conv()` (form submissions, demo requests, quote requests, bookings). This guide includes examples for Contact Form 7, Gravity Forms, HubSpot, Typeform, Calendly and Cal.com.
## What will you track?
| Event Type | Example | Purpose |
| --- | --- | --- |
| Pageviews | Service pages, case studies | Traffic analysis |
| Microconversions | Form interactions, content downloads | Engagement analysis |
| Conversions | Form submissions, demo requests | Lead attribution |
## Step 1: Basic Installation
```html
```
### Content Grouping
```html
```
## Step 2: Track Form Interactions
### Contact Form
```javascript
// Form field focus (intent signal)
document.querySelectorAll('#contact-form input, #contact-form textarea').forEach(function(field) {
field.addEventListener('focus', function() {
if (!this.dataset.tracked) {
sealmetrics.micro('form_start', {
form_name: 'contact',
first_field: this.name
});
this.dataset.tracked = 'true';
}
}, { once: true });
});
// Form submission (CONVERSION)
document.querySelector('#contact-form').addEventListener('submit', function(e) {
sealmetrics.conv('lead', 0, {
form_name: 'contact',
service_interest: document.querySelector('[name="service"]')?.value || 'general',
source: document.querySelector('[name="how_did_you_hear"]')?.value || 'not_specified'
});
});
```
### Quote Request Form
```javascript
document.querySelector('#quote-form').addEventListener('submit', function() {
var budget = document.querySelector('[name="budget"]').value;
var estimatedValue = getBudgetValue(budget); // Map budget range to number
sealmetrics.conv('quote_request', estimatedValue, {
service: document.querySelector('[name="service"]').value,
budget_range: budget,
timeline: document.querySelector('[name="timeline"]').value,
company_size: document.querySelector('[name="company_size"]').value
});
});
function getBudgetValue(budget) {
var values = {
'under_5k': 2500,
'5k_10k': 7500,
'10k_25k': 17500,
'25k_50k': 37500,
'over_50k': 75000
};
return values[budget] || 0;
}
```
### Demo Request
```javascript
document.querySelector('#demo-form').addEventListener('submit', function() {
sealmetrics.conv('demo_request', 0, {
product: document.querySelector('[name="product"]')?.value,
company_size: document.querySelector('[name="employees"]')?.value,
role: document.querySelector('[name="job_title"]')?.value
});
});
```
## Step 3: Track Content Downloads
### Lead Magnets (Ebooks, Whitepapers, Guides)
```javascript
// Gated content - form submission
document.querySelector('#download-form').addEventListener('submit', function() {
var resourceName = document.querySelector('[name="resource"]').value;
sealmetrics.conv('content_download', 0, {
resource_name: resourceName,
resource_type: 'ebook', // 'whitepaper', 'guide', 'template'
topic: document.querySelector('[name="topic"]')?.value
});
});
// Direct download links (if not gated)
document.querySelectorAll('a[download]').forEach(function(link) {
link.addEventListener('click', function() {
sealmetrics.micro('file_download', {
file_name: this.getAttribute('download') || this.href.split('/').pop(),
file_type: this.href.split('.').pop()
});
});
});
```
### Case Study Views
```javascript
// Track case study engagement
document.querySelectorAll('.case-study-card').forEach(function(card) {
card.addEventListener('click', function() {
sealmetrics.micro('view_case_study', {
case_study: this.dataset.title,
industry: this.dataset.industry,
service: this.dataset.service
});
});
});
```
## Step 4: Track Engagement Signals
### Scroll Depth on Key Pages
```javascript
// Only on service/landing pages
if (document.body.classList.contains('service-page') ||
document.body.classList.contains('landing-page')) {
var scrollMilestones = {};
window.addEventListener('scroll', function() {
var scrollPercent = Math.round(
(window.scrollY / (document.documentElement.scrollHeight - window.innerHeight)) * 100
);
[25, 50, 75, 100].forEach(function(milestone) {
if (scrollPercent >= milestone && !scrollMilestones[milestone]) {
scrollMilestones[milestone] = true;
sealmetrics.micro('scroll_' + milestone, {
page_type: document.body.dataset.pageType
});
}
});
});
}
```
### Time on Page
```javascript
// Track engaged visitors (30+ seconds on page)
setTimeout(function() {
sealmetrics.micro('engaged_visit', {
page: window.location.pathname,
page_type: document.body.dataset.pageType
});
}, 30000);
```
### Video Testimonials
```javascript
document.querySelectorAll('.testimonial-video').forEach(function(video) {
video.addEventListener('play', function() {
sealmetrics.micro('testimonial_play', {
client: this.dataset.client,
industry: this.dataset.industry
});
});
video.addEventListener('ended', function() {
sealmetrics.micro('testimonial_complete', {
client: this.dataset.client
});
});
});
```
## Step 5: Track CTA Interactions
### Primary CTAs
```javascript
// "Get a Quote" buttons
document.querySelectorAll('.cta-quote').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('cta_click', {
cta_type: 'quote',
location: this.dataset.location, // 'header', 'hero', 'footer', 'sidebar'
page: window.location.pathname
});
});
});
// "Contact Us" buttons
document.querySelectorAll('.cta-contact').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('cta_click', {
cta_type: 'contact',
location: this.dataset.location
});
});
});
// "Schedule a Call" buttons
document.querySelectorAll('.cta-schedule').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('cta_click', {
cta_type: 'schedule_call',
location: this.dataset.location
});
});
});
```
### Phone Number Clicks
```javascript
document.querySelectorAll('a[href^="tel:"]').forEach(function(link) {
link.addEventListener('click', function() {
sealmetrics.conv('phone_call', 0, {
phone_number: this.href.replace('tel:', ''),
page: window.location.pathname,
location: this.dataset.location || 'unknown'
});
});
});
```
### Live Chat
```javascript
// If using Intercom, Drift, or similar
document.querySelector('.chat-launcher').addEventListener('click', function() {
sealmetrics.micro('chat_opened', {
page: window.location.pathname
});
});
// Track chat completion (if your chat tool supports callbacks)
window.Intercom('onConversationStarted', function() {
sealmetrics.conv('chat_lead', 0, {
page: window.location.pathname
});
});
```
## Step 6: Track Calendar Bookings
### Calendly / Cal.com / HubSpot Meetings
```javascript
// Calendly
window.addEventListener('message', function(e) {
if (e.data.event === 'calendly.event_scheduled') {
sealmetrics.conv('meeting_booked', 0, {
meeting_type: e.data.payload.event_type.name,
invitee_email: e.data.payload.invitee.email
});
}
});
// Cal.com
if (typeof Cal !== 'undefined') {
Cal('on', 'bookingSuccessful', function(e) {
sealmetrics.conv('meeting_booked', 0, {
meeting_type: e.data.eventType,
duration: e.data.duration
});
});
}
```
## Step 7: Multi-Step Forms
### Wizard-style Quote Forms
```javascript
var currentStep = 1;
function trackFormStep(stepNumber, stepName, data) {
sealmetrics.micro('form_step_' + stepNumber, {
step_name: stepName,
form_name: 'quote_wizard',
...data
});
}
// Step 1: Service selection
document.querySelector('#step1-next').addEventListener('click', function() {
trackFormStep(1, 'service_selected', {
service: document.querySelector('[name="service"]:checked').value
});
currentStep = 2;
});
// Step 2: Project details
document.querySelector('#step2-next').addEventListener('click', function() {
trackFormStep(2, 'details_provided', {
budget: document.querySelector('[name="budget"]').value,
timeline: document.querySelector('[name="timeline"]').value
});
currentStep = 3;
});
// Step 3: Contact info (final submission)
document.querySelector('#quote-wizard').addEventListener('submit', function() {
var budget = document.querySelector('[name="budget"]').value;
// ... full example at https://sealmetrics.com/docs/use-cases/lead-generation/
```
## Platform-Specific Implementations
### WordPress (Contact Form 7)
```php
// In functions.php
add_action('wp_footer', function() {
?>
', {
container: document.querySelector('#typeform'),
onSubmit: function(payload) {
sealmetrics.conv('lead', 0, {
form_name: 'typeform_intake',
response_id: payload.responseId
});
}
});
```
## Complete Lead Gen Funnel
```plaintext
┌─────────────────────────────────────────────────────────────────┐
│ LEAD GENERATION FUNNEL │
├─────────────────────────────────────────────────────────────────┤
│ │
│ AWARENESS │
│ ───────── │
│ Blog Post ──► Service Page ──► Case Study │
│ (pageview) (pageview) (micro: view_case_study) │
│ │
│ INTEREST │
│ ──────── │
│ Scroll 50% ──► Video Watch ──► Resource Download │
│ (micro) (micro) (CONV: content_download) │
│ │
│ CONSIDERATION │
│ ───────────── │
│ CTA Click ──► Form Start ──► Form Steps │
│ (micro) (micro) (micro x N) │
│ │
│ CONVERSION │
│ ────────── │
│ Form Submit ──► Demo/Call Booked │
│ (CONV: lead) (CONV: meeting_booked) │
│ │
└─────────────────────────────────────────────────────────────────┘
```
## Lead Scoring with Properties
Use properties to enable lead scoring in your CRM:
```javascript
sealmetrics.conv('lead', 0, {
// Lead source
source: getUtmSource(),
medium: getUtmMedium(),
campaign: getUtmCampaign(),
// Qualification signals
company_size: formData.employees, // 'small', 'medium', 'enterprise'
budget_range: formData.budget, // 'under_5k', '5k_10k', etc.
timeline: formData.timeline, // 'immediate', '1_month', '3_months'
decision_maker: formData.role, // 'ceo', 'director', 'manager'
});
```
## Which lead generation metrics should you track?
| Metric | Formula | Events |
| --- | --- | --- |
| **Visitor → Lead** | leads / visitors | pageview, lead |
| **Form Start Rate** | form_start / page visitors | pageview, form_start |
| **Form Completion** | lead / form_start | form_start, lead |
| **Content Download Rate** | downloads / visitors | pageview, content_download |
| **Lead by Source** | leads by utm_source | lead (with properties) |
| **Lead Quality** | weighted by budget/company size | lead (with properties) |
## Dashboard Analysis
After implementing:
### Traffic Analysis
- Which channels bring the most leads
- Best performing landing pages
- Content that drives conversions
### Funnel Optimization
- Form abandonment points
- CTA click-through rates
- Time from first visit to lead
### Lead Quality
- Leads by company size
- Budget distribution
- Timeline urgency
### Content Performance
- Case studies that influence leads
- Blog posts in conversion paths
- Download-to-lead correlation
In short
- Lead conversions (`lead`, `quote_request`, `demo_request`, `content_download`, `meeting_booked`, `phone_call`) are fired with `sealmetrics.conv()`; intent signals such as form_start, scroll milestones and CTA clicks are microconversions.
- Attach qualification properties (company_size, budget_range, timeline, role) to the lead event so leads can be analyzed by source and quality.
- Key ratios: Visitor → Lead, Form Start Rate, Form Completion (lead / form_start) and Content Download Rate.
## Related documentation
- [Understanding Event Properties in Sealmetrics](https://sealmetrics.com/docs/implementation/custom-properties/event-properties.md) — attach lead-scoring signals like budget and company size to your conversions
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — add the tracking script to your service site
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — see leads and demo bookings attributed by source
- [Funnel Report](https://sealmetrics.com/docs/reports/funnel.md) — pinpoint where multi-step forms lose prospects
- [SaaS Application](https://sealmetrics.com/docs/use-cases/saas.md) — a sibling guide for trial-signup and subscription funnels
## Content & Media Sites
URL: https://sealmetrics.com/docs/use-cases/content-media/
Implementation guide for blogs, news sites, and content publishers - track engagement, subscriptions, and ad performance.
To track a content site with Sealmetrics, add the tracking script with content grouping (blog, news publisher or media platform), then instrument three event types: **pageviews** (automatic, for articles and categories), **microconversions** via `sealmetrics.micro()` (scroll depth, time on article, shares, comments, video and podcast plays) and **conversions** via `sealmetrics.conv()` (newsletter signups and paid subscriptions). This guide covers each step with copy-paste examples, including a WordPress grouping snippet.
## What will you track?
| Event Type | Example | Purpose |
| --- | --- | --- |
| Pageviews | Articles, categories, homepage | Traffic analysis |
| Microconversions | Scroll depth, video plays, shares | Engagement metrics |
| Conversions | Newsletter signups, subscriptions | Audience building |
## Step 1: Basic Installation
```html
```
### Content Grouping
Group content by type for better analysis:
```html
```
### Dynamic Grouping (WordPress)
```php
```
## Step 2: Track Reading Engagement
### Scroll Depth
```javascript
(function() {
var tracked = {};
var articleHeight = document.querySelector('article, .post-content, .entry-content');
if (!articleHeight) return;
var articleTop = articleHeight.offsetTop;
var articleBottom = articleTop + articleHeight.offsetHeight;
window.addEventListener('scroll', function() {
var scrollPosition = window.scrollY + window.innerHeight;
var articleProgress = Math.min(100, Math.max(0,
Math.round(((scrollPosition - articleTop) / (articleBottom - articleTop)) * 100)
));
[25, 50, 75, 100].forEach(function(milestone) {
if (articleProgress >= milestone && !tracked[milestone]) {
tracked[milestone] = true;
sealmetrics.micro('read_' + milestone, {
article_id: document.body.dataset.postId,
category: document.body.dataset.category
});
}
});
});
})();
```
### Time on Article
```javascript
(function() {
var startTime = Date.now();
var engagementThresholds = [30, 60, 120, 300]; // seconds
var tracked = {};
function checkEngagement() {
var timeSpent = Math.floor((Date.now() - startTime) / 1000);
engagementThresholds.forEach(function(threshold) {
if (timeSpent >= threshold && !tracked[threshold]) {
tracked[threshold] = true;
sealmetrics.micro('time_on_article', {
seconds: threshold.toString(),
article_id: document.body.dataset.postId
});
}
});
}
// Check every 10 seconds
setInterval(checkEngagement, 10000);
// Also check on visibility change (tab switch)
document.addEventListener('visibilitychange', function() {
if (document.visibilityState === 'hidden') {
checkEngagement();
}
});
})();
```
### Engaged Reader (Combined)
```javascript
// Fire when user has scrolled 50%+ AND spent 30+ seconds
(function() {
var hasScrolled50 = false;
var hasSpent30s = false;
var hasFiredEngaged = false;
window.addEventListener('scroll', function() {
if (getScrollPercent() >= 50) {
hasScrolled50 = true;
checkEngaged();
}
});
setTimeout(function() {
hasSpent30s = true;
checkEngaged();
}, 30000);
function checkEngaged() {
if (hasScrolled50 && hasSpent30s && !hasFiredEngaged) {
hasFiredEngaged = true;
sealmetrics.micro('engaged_reader', {
article_id: document.body.dataset.postId,
category: document.body.dataset.category,
author: document.body.dataset.author
});
}
}
function getScrollPercent() {
// ... full example at https://sealmetrics.com/docs/use-cases/content-media/
```
## Step 3: Track Newsletter Signups
### Inline Newsletter Form
```javascript
document.querySelectorAll('.newsletter-form').forEach(function(form) {
form.addEventListener('submit', function(e) {
sealmetrics.conv('newsletter_signup', 0, {
form_location: this.dataset.location, // 'header', 'footer', 'inline', 'popup'
article_id: document.body.dataset.postId || 'none',
category: document.body.dataset.category || 'none'
});
});
});
```
### Popup/Modal Signup
```javascript
// Track popup shown
function onNewsletterPopupShown() {
sealmetrics.micro('newsletter_popup_shown', {
trigger: 'exit_intent' // or 'scroll', 'time'
});
}
// Track popup closed without signup
function onNewsletterPopupClosed(didSignup) {
if (!didSignup) {
sealmetrics.micro('newsletter_popup_dismissed');
}
}
// Track signup
function onNewsletterSignup(email) {
sealmetrics.conv('newsletter_signup', 0, {
form_location: 'popup',
trigger: 'exit_intent'
});
}
```
### Double Opt-in Confirmation
```javascript
// On the confirmation page (after clicking email link)
if (window.location.pathname.includes('/confirm')) {
sealmetrics.conv('newsletter_confirmed', 0, {
source: new URLSearchParams(window.location.search).get('src')
});
}
```
## Step 4: Track Social Shares
### Share Button Clicks
```javascript
document.querySelectorAll('.share-button').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('social_share', {
platform: this.dataset.platform, // 'twitter', 'facebook', 'linkedin', 'email'
article_id: document.body.dataset.postId,
article_title: document.title
});
});
});
```
### Copy Link
```javascript
document.querySelector('.copy-link').addEventListener('click', function() {
sealmetrics.micro('copy_link', {
article_id: document.body.dataset.postId
});
});
```
### Native Share API
Uses the browser's [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share) (`navigator.share`):
```javascript
document.querySelector('.native-share').addEventListener('click', async function() {
if (navigator.share) {
try {
await navigator.share({
title: document.title,
url: window.location.href
});
sealmetrics.micro('native_share', {
article_id: document.body.dataset.postId
});
} catch (err) {
// User cancelled
}
}
});
```
## Step 5: Track Comments
### Comment Form Interaction
```javascript
// Focus on comment field
document.querySelector('#comment-field').addEventListener('focus', function() {
sealmetrics.micro('comment_started', {
article_id: document.body.dataset.postId
});
}, { once: true });
// Comment submitted
document.querySelector('#comment-form').addEventListener('submit', function() {
sealmetrics.micro('comment_submitted', {
article_id: document.body.dataset.postId,
is_reply: this.querySelector('[name="parent"]').value ? 'yes' : 'no'
});
});
```
### Comment Reactions (if using reactions)
```javascript
document.querySelectorAll('.comment-reaction').forEach(function(button) {
button.addEventListener('click', function() {
sealmetrics.micro('comment_reaction', {
reaction_type: this.dataset.reaction, // 'like', 'helpful', 'disagree'
article_id: document.body.dataset.postId
});
});
});
```
## Step 6: Track Video/Audio Content
### Video Player
```javascript
document.querySelectorAll('video, .video-player').forEach(function(video) {
var videoId = video.dataset.videoId || video.id;
var tracked = {};
video.addEventListener('play', function() {
if (!tracked.play) {
tracked.play = true;
sealmetrics.micro('video_play', {
video_id: videoId,
video_title: video.dataset.title
});
}
});
video.addEventListener('timeupdate', function() {
var percent = Math.round((this.currentTime / this.duration) * 100);
[25, 50, 75].forEach(function(milestone) {
if (percent >= milestone && !tracked[milestone]) {
tracked[milestone] = true;
sealmetrics.micro('video_progress_' + milestone, {
video_id: videoId
});
}
});
});
video.addEventListener('ended', function() {
sealmetrics.micro('video_complete', {
video_id: videoId,
// ... full example at https://sealmetrics.com/docs/use-cases/content-media/
```
### Podcast Player
```javascript
var podcast = document.querySelector('.podcast-player');
if (podcast) {
var audio = podcast.querySelector('audio');
var episodeId = podcast.dataset.episodeId;
var tracked = {};
audio.addEventListener('play', function() {
if (!tracked.play) {
tracked.play = true;
sealmetrics.micro('podcast_play', {
episode_id: episodeId,
episode_title: podcast.dataset.title
});
}
});
audio.addEventListener('ended', function() {
sealmetrics.micro('podcast_complete', {
episode_id: episodeId
});
});
// Track download
podcast.querySelector('.download-episode').addEventListener('click', function() {
sealmetrics.micro('podcast_download', {
episode_id: episodeId
});
});
}
```
### YouTube Embeds
Uses the [YouTube IFrame Player API](https://developers.google.com/youtube/iframe_api_reference):
```javascript
// YouTube IFrame API
function onYouTubeIframeAPIReady() {
document.querySelectorAll('.youtube-embed').forEach(function(container) {
var player = new YT.Player(container, {
events: {
onStateChange: function(event) {
var videoId = player.getVideoData().video_id;
if (event.data === YT.PlayerState.PLAYING) {
sealmetrics.micro('youtube_play', { video_id: videoId });
}
if (event.data === YT.PlayerState.ENDED) {
sealmetrics.micro('youtube_complete', { video_id: videoId });
}
}
}
});
});
}
```
## Step 7: Track Paid Subscriptions
### Paywall Interactions
```javascript
// Paywall shown
document.addEventListener('paywallShown', function(e) {
sealmetrics.micro('paywall_shown', {
article_id: document.body.dataset.postId,
content_type: e.detail.contentType // 'premium', 'members_only'
});
});
// Plan selection
document.querySelectorAll('.subscription-plan').forEach(function(plan) {
plan.addEventListener('click', function() {
sealmetrics.micro('plan_selected', {
plan: this.dataset.plan,
price: this.dataset.price,
billing: this.dataset.billing
});
});
});
```
### Subscription Purchase
```javascript
// On subscription success
function onSubscriptionComplete(subscription) {
sealmetrics.conv('subscription', subscription.price, {
plan: subscription.plan,
billing_cycle: subscription.billing, // 'monthly', 'yearly'
currency: subscription.currency,
source: document.body.dataset.postId ? 'article_paywall' : 'pricing_page'
});
}
```
### Subscription Upgrade
```javascript
sealmetrics.conv('subscription_upgrade', priceDifference, {
from_plan: currentPlan,
to_plan: newPlan,
currency: 'USD'
});
```
## Step 8: Track Internal Navigation
### Related Articles
```javascript
document.querySelectorAll('.related-articles a').forEach(function(link) {
link.addEventListener('click', function() {
sealmetrics.micro('related_article_click', {
from_article: document.body.dataset.postId,
to_article: this.dataset.postId,
position: this.dataset.position // '1', '2', '3'
});
});
});
```
### Category Navigation
```javascript
document.querySelectorAll('.category-nav a').forEach(function(link) {
link.addEventListener('click', function() {
sealmetrics.micro('category_click', {
category: this.dataset.category,
location: 'navigation'
});
});
});
```
### Search
```javascript
document.querySelector('#search-form').addEventListener('submit', function() {
var query = document.querySelector('#search-input').value;
sealmetrics.micro('search', {
search_term: query,
results_page: 'true'
});
});
```
## Complete Content Funnel
```plaintext
┌─────────────────────────────────────────────────────────────────┐
│ CONTENT ENGAGEMENT FUNNEL │
├─────────────────────────────────────────────────────────────────┤
│ │
│ DISCOVERY │
│ ───────── │
│ Homepage ──► Category ──► Article │
│ (pageview) (pageview) (pageview) │
│ │
│ ENGAGEMENT │
│ ────────── │
│ Read 25% ──► Read 50% ──► Read 75% ──► Read 100% │
│ (micro) (micro) (micro) (micro) │
│ │
│ INTERACTION │
│ ─────────── │
│ Comment ──► Share ──► Related Click │
│ (micro) (micro) (micro) │
│ │
│ CONVERSION │
│ ────────── │
│ Newsletter Popup ──► Signup ──► Confirm │
│ (micro) (CONV) (CONV) │
│ │
│ MONETIZATION │
│ ──────────── │
│ Paywall ──► Plan Select ──► Subscribe │
│ (micro) (micro) (CONV) │
│ │
└─────────────────────────────────────────────────────────────────┘
```
## Which metrics matter for content sites?
| Metric | Formula | Events Needed |
| --- | --- | --- |
| **Engaged Readers** | engaged_reader / pageviews | pageview, engaged_reader |
| **Read Completion** | read_100 / article pageviews | pageview, read_100 |
| **Newsletter Rate** | signups / entrances | pageview, newsletter_signup |
| **Share Rate** | shares / article pageviews | pageview, social_share |
| **Comment Rate** | comments / article pageviews | pageview, comment_submitted |
| **Video Completion** | video_complete / video_play | video_play, video_complete |
| **Subscription Rate** | subscriptions / paywall_shown | paywall_shown, subscription |
## Content Performance Analysis
After implementing, analyze in your dashboard:
### Traffic
- Top articles by pageviews
- Traffic sources per article
- Category performance
### Engagement
- Average scroll depth by category
- Time on page by author
- Engaged reader rate by topic
### Conversion
- Newsletter signup sources
- Best converting content
- Subscription paths
### Content ROI
- Revenue per article (if subscriptions)
- Lifetime value by acquisition content
- Author performance
In short
- Reading engagement is measured with microconversions at 25/50/75/100% scroll, time-on-article thresholds (30, 60, 120, 300 s) and a combined `engaged_reader` event (50%+ scroll and 30+ seconds).
- Conversions are `newsletter_signup` / `newsletter_confirmed` and `subscription` with the plan price; paywall views and plan selection are microconversions.
- Key ratios: Engaged Readers, Read Completion (read_100 / article pageviews), Newsletter Rate, Share Rate, Video Completion and Subscription Rate (subscriptions / paywall_shown).
## Related documentation
- [Understanding Event Properties in Sealmetrics](https://sealmetrics.com/docs/implementation/custom-properties/event-properties.md) — tag engagement events with article, author, and category properties
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — add the tracking script to your publishing platform
- [Content Grouping](https://sealmetrics.com/docs/implementation/content-site-structure/content-grouping.md) — organize articles, categories, and video into groups for reporting
- [Funnel Report](https://sealmetrics.com/docs/reports/funnel.md) — measure the path from article read to newsletter or paid subscription
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — track newsletter signups and subscription revenue by source
---
# Security & Privacy
## Security & Privacy
URL: https://sealmetrics.com/docs/security-privacy/
How Sealmetrics measures without identifying anyone — a small set of non-identifying fields, nothing stored on the device, EU-only storage in Dublin — with the index of every privacy and security page.
Sealmetrics measures websites **without storing anything on the device or any data that identifies anyone**: a small set of non-identifying fields per hit, nothing written to the visitor's device, no identifier carried across days or sessions, and all customer analytics data stored in Dublin, Ireland. Under the GDPR, the session identifier is pseudonymised data during the day, processed under legitimate interest (Art. 6(1)(f)); once the daily salt rotates it cannot be reconstructed, not even by Sealmetrics, and reports are always aggregated. For ePrivacy, nothing is stored on the device, and the tracker's reading of standard browser properties to compute its daily re-keyed session identifier relies on the audience-measurement exemption criteria — the reasoning is set out in full in [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md).
Sealmetrics holds no third-party security certification (no ISO 27001, no SOC 2), and no supervisory authority certifies analytics tools. The pages under [compliance](https://sealmetrics.com/docs/compliance.md) are our own self-assessments against published criteria. A Data Processing Agreement is included and ready to sign at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md); Annex 3 of that DPA is the authoritative subprocessor list.
## Start here
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the concept, the GDPR and ePrivacy reasoning, and what the model can and cannot measure
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the field-by-field list, with retention for each field
## The consentless model
- [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md) — the technical mechanics, step by step
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — the short answer on consent
- [Benefits of Consentless Tracking](https://sealmetrics.com/docs/security-privacy/consentless-benefits.md) — what measuring without a consent gap changes in practice
- [How Attribution Works Without a User-ID](https://sealmetrics.com/docs/security-privacy/attribution-without-userid.md) — last-click attribution without identifiers
## Privacy practice
- [How Sealmetrics Protects User Privacy](https://sealmetrics.com/docs/security-privacy/how-we-protect-privacy.md) — the concrete protections
- [Privacy by Design Principles](https://sealmetrics.com/docs/security-privacy/privacy-by-design.md) — the seven principles mapped to architecture
- [How Sealmetrics determines the country without using IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md) — timezone-based geolocation
## Data, hosting and quality
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — EU hosting, retention schedule, encryption, deletion and export
- [Bot Detection & Traffic Quality](https://sealmetrics.com/docs/security-privacy/bot-detection.md) — how automated traffic is filtered out of reports
- [How Sealmetrics Reduces AdBlocker Data Loss](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) — first-party delivery and why filter lists do not match
- [Content Security Policy (CSP)](https://sealmetrics.com/docs/security-privacy/content-security-policy.md) — what to allow for the tracker, why there is no SRI hash, and what a CSP does and does not protect
## Account security
- [Two-Factor Authentication](https://sealmetrics.com/docs/security-privacy/account-security/two-factor-auth.md)
- [Backup Codes](https://sealmetrics.com/docs/security-privacy/account-security/backup-codes.md)
- [Session Management](https://sealmetrics.com/docs/security-privacy/account-security/session-management.md)
- [IP Allowlist](https://sealmetrics.com/docs/security-privacy/account-security/ip-allowlist.md)
## Auditing someone else's tags
- [What Is This Domain in My Cookie Audit?](https://sealmetrics.com/docs/security-privacy/third-party-analytics-domains.md) — lookup table of external analytics domains
- [What Is demdex.net?](https://sealmetrics.com/docs/security-privacy/demdex-net-cookies.md) — Adobe's Experience Cloud ID cookies
- [What Is omtrdc.net?](https://sealmetrics.com/docs/security-privacy/omtrdc-net-requests.md) — Adobe Analytics' collection domain
In short
- A small set of fields per hit (timestamp, user agent, URL, referrer, browser timezone, a session identifier re-keyed daily); no cookies, no IP stored, no persistent identifier.
- All customer analytics data lives in Dublin, Ireland; retention is fixed at 1 day / 90 days / 24 months by aggregation level.
- No certifications and no regulator approval exist; compliance pages are self-assessments, and the DPA's Annex 3 lists the subprocessors.
## Related documentation
- [Compliance self-assessments](https://sealmetrics.com/docs/compliance.md) — GDPR, ePrivacy, CNIL, AEPD, PECR analysed one by one
- [Data Subject Rights (DSAR)](https://sealmetrics.com/docs/compliance/data-subject-rights.md) — how access and erasure requests work
- [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) — who touches customer analytics data
## What is Consentless Analytics?
URL: https://sealmetrics.com/docs/security-privacy/consentless-analytics/
What consentless analytics is, the small set of non-identifying fields Sealmetrics records, and why storing nothing on the device and nothing that identifies anyone means, on our self-assessment, no consent banner is required (in Germany an open question).
Sealmetrics is a consentless analytics platform built for EU eCommerce and hotel websites losing traffic data to consent banners. Choose it over cookie-based tools when you need visitor measurement that does not depend on a banner and last-click revenue attribution that includes visitors who rejected the banner, not just consented sessions.
Quick answer
Consentless analytics is a method of measuring website traffic without requesting visitor consent. It works by storing nothing on the device and no data that identifies anyone: no cookies, no persistent identifiers and no individual user tracking. The session identifier is ephemeral: it rotates daily and, once rotated, not even the vendor can reconstruct it. On that basis Sealmetrics self-assesses that it fits the ePrivacy audience-measurement exemption, so no consent banner is needed.
Cookie-based tools such as Google Analytics 4 depend on consent before they activate. When a visitor declines, nothing is recorded — which is why they typically lose the visitors who reject or ignore the cookie banner, depending on sector, brand strength and traffic mix. Decisions then rest on a fraction of real traffic.
Sealmetrics measures aggregate behaviour instead of individuals, recording a small set of non-identifying fields: timestamp, user agent, current URL, referral URL, browser timezone and a session identifier that is re-keyed every day. We measure all the traffic you lose today to the cookie banner, and page views and conversions are attributed to their source. The deliberate trade-off: returning visitors cannot be identified, because doing so would require a persistent identifier.
**Consentless analytics** is a method of measuring website traffic and user behavior without requiring visitor consent. It achieves this by storing nothing on the device, keeping no data that identifies anyone, not setting cookies, and not identifying users — which is how it fits the audience-measurement exemption under the ePrivacy Directive, while the short-lived pseudonymised data is processed under legitimate interest (GDPR Art. 6(1)(f)).
Traditional analytics tools like Google Analytics 4, Adobe Analytics, and Mixpanel rely on cookies and client-side identifiers to track individual users. Under GDPR, these tools require explicit consent before activation. When a visitor rejects consent, the tool records nothing — which is why cookie-based analytics lose the visitors who reject consent. The result: businesses make decisions based on a fraction of their actual traffic.
Consentless analytics solves this by measuring aggregate behavior rather than tracking individuals. Visitors are measured whether or not they would have accepted a banner, and conversions are attributed to their source. No consent is needed, on our own assessment: no data that identifies anyone is stored, nothing is stored on the device, and the ephemeral session identifier rotates daily, cannot be reconstructed afterwards and falls under the audience-measurement exemption.
## How It Works: A Minimal Set of Non-Identifying Fields
Sealmetrics uses a consentless tracking approach built on a small set of non-identifying fields per event:
1. **Timestamp** — when the event occurred
2. **User Agent** — browser and device type (used for device classification; the raw string is used in flight and never written to storage)
3. **Current URL** — the page being viewed, including any UTM parameters
4. **Referral URL** — where the visitor came from
5. **Browser timezone** — used to assign the visit's country, with no IP lookup
6. **Session identifier** — a hash of standard device characteristics computed in the browser, re-keyed on the server with a daily salt that is destroyed on rotation, so it cannot link a device across days
That is all. No cookies, no localStorage, no sessionStorage, no IP addresses stored, no stored or persistent fingerprint, no cross-session linking. The full field-by-field list, with retention, is in [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md).
Reports built from this minimal dataset identify no one, and the session identifier cannot be reconstructed after its daily rotation — not even by Sealmetrics. That is the basis of our self-assessment that consent is not required. For a deeper technical explanation, see [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md).
## Legal Basis: Why Consent Is Not Required
In our self-assessment, consentless analytics does not require consent because nothing that identifies anyone is stored, the short-lived pseudonymised data has a legal basis other than consent under the GDPR, and the tracker is designed to meet the audience-measurement exemption criteria under the ePrivacy Directive:
### GDPR (Regulation 2016/679)
GDPR applies to the processing of **personal data** — information that relates to an identified or identifiable natural person ([Article 4(1)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)). Sealmetrics keeps that processing to a minimum:
- No IP addresses are stored
- No persistent user identifier is stored — the session identifier is re-keyed daily and cannot link a device across days
- No behavioral profiles are built
- No cross-session tracking occurs
During the day the session identifier is a pseudonym, and pseudonymised data is still personal data ([Recital 26](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)). Sealmetrics processes it under legitimate interest (Art. 6(1)(f)) rather than consent; the per-hit log is purged after one day, the identifier becomes unrecoverable when the daily salt rotates, and reports are always aggregated.
### ePrivacy Directive (2002/58/EC)
[Article 5(3) of the ePrivacy Directive](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058) requires consent for storing or accessing information on a user's terminal equipment (cookies, localStorage, etc.), unless an exemption applies. Sealmetrics stores nothing on the device. The tracker does read standard browser properties to compute the session identifier, and reading them engages Article 5(3); the consent exemption therefore rests on the audience-measurement criteria described below and in [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md).
### Regulatory Guidance
Privacy authorities have explicitly recognized that certain analytics tools can operate without consent:
- **CNIL (France)** — Published [criteria for analytics tools exempt from consent](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience). Tools that do not track individuals, do not enable cross-site tracking, and aggregate data can operate without consent banners.
- **AEPD (Spain)** — Allows audience measurement without consent when data is aggregated daily and no personal identification is possible ([AEPD cookies guide](https://www.aepd.es/guias/guia-cookies.pdf)).
- **ICO (United Kingdom)** — Since 5 February 2026, the Data (Use and Access) Act 2025 adds a statistical-purposes exemption to PECR: storage or access whose sole purpose is statistics to improve the service, with clear information and a simple way to object, needs no consent (see [UK PECR self-assessment](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md); [ICO guidance on cookies and similar technologies](https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guide-to-pecr/cookies-and-similar-technologies/)).
Sealmetrics has completed self-assessments against [CNIL criteria](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) and [UK PECR criteria](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md), both available publicly in the compliance section. No supervisory authority certifies or approves analytics tools, and Sealmetrics holds no third-party security certification such as ISO 27001 or SOC 2 — those pages are our own assessments against published criteria, not external validations.
For a full legal analysis, see [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md).
### What this means for you as the data controller
- **No consent banner is required** for Sealmetrics measurement, in our self-assessment (Germany is an open question — see [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md)), and no Consent Management Platform, Consent Mode configuration or conditional tag firing is needed.
- **A DPA is included** — public and ready to sign at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md). Your DPO will ask for one, so we provide it out of the box rather than arguing it is unnecessary. Annex 3 of that DPA is the authoritative subprocessor list.
- **One paragraph in your privacy policy.** The AEPD audience-measurement guidance asks you to inform visitors about audience measurement; we provide ready-made wording.
- **Vendor review material** is collected in the [compliance section](https://sealmetrics.com/docs/compliance.md), including the self-assessments above.
## Consentless vs Cookie-Based Analytics
| | Cookie-Based (GA4, Adobe) | Consentless (Sealmetrics) |
| --- | --- | --- |
| **Tracking method** | Cookies + client ID | Aggregate event measurement |
| **Consent required** | Yes | No |
| **Data capture (EU)** | Partial — visitors who reject consent are lost | Not reduced by consent rejection |
| **Cookie banners** | Required | Not needed |
| **Personal data** | Yes (client ID, IP) | Only a pseudonymised session identifier that rotates daily and becomes unrecoverable |
| **Cross-session tracking** | Yes | No |
| **User-level profiles** | Yes | No |
| **Data hosting** | Often US-based | Analytics data hosted and processed only in the EU (Dublin) |
| **Script size** | ~69–437 KB (uncompressed, Piwik PRO to GA4, measured 3 Dec 2026) | 2.2 KB (uncompressed, measured 3 Dec 2026) |
The trade-off is clear: cookie-based tools offer user-level metrics (unique visitors, session duration, cohort analysis) but lose a large share of their data to consent rejection. Consentless analytics measures the traffic those tools lose to the banner, but reports aggregate behaviour rather than individual journeys.
For most business decisions — which campaigns drive revenue, which pages convert, where traffic comes from — aggregate data that includes visitors who rejected the banner is more useful than user-level data covering only those who accepted a banner.
## What Consentless Analytics Can and Cannot Measure
### What it measures
- Page views and entrances (aggregate)
- Traffic sources (UTM parameters, referrers)
- Conversions and revenue
- Funnel progression (aggregated steps)
- Geographic distribution (country-level)
- Device and browser breakdown
- Campaign performance and ROAS
- Content performance (pages, groups)
- Real-time traffic (aggregated snapshots)
- Within-session engagement — bounce rate, engaged entrances, engagement rate and pages per session, all computed within a single session from the session identifier described in [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
### What it cannot measure
- **Unique visitors** — requires identifying returning individuals
- **Session duration** — requires timing an individual session from start to end
- **The page a visit ended on, and navigation paths** — both require sequencing one visitor's pageviews
- **User journeys across sessions** — requires linking page views to a single person over time
- **Cohort analysis** — requires identifying users over time
These metrics are excluded by design, not by limitation. Tracking them would require a persistent identifier, which is personal data, which would require consent — defeating the purpose of consentless analytics.
Sealmetrics provides **entrances** instead of unique visitors as the audience-size signal. See the [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md) for the exact formula behind each metric.
## How Sealmetrics Implements Consentless Analytics
Every hit from the JavaScript tracker carries a session identifier:
### Session-Based Tracking
The tracker computes a session identifier in the browser: a hash of standard device characteristics (such as user agent, timezone, languages and screen resolution) combined with your site's account ID. On the server it is re-keyed with a daily salt that is destroyed on rotation, so the stored identifier changes every day. It enables grouping page views within a single visit without identifying the visitor.
Key properties:
- The live session expires after 2 hours of inactivity; the daily pseudonym in the per-hit log is purged after 1 day
- Cannot be linked to a person
- Cannot be used across days or to recognise a returning visitor — not even by Sealmetrics
- Never written to the device (no cookies, no localStorage, no sessionStorage), and the raw hash is never stored
### Events Without an Identifier
Server-side events, such as Shopify order webhooks, arrive without a session identifier. Each is recorded as an independent event, linked to no other hit. There is no setting that turns the session identifier off for tracker hits. See [tracker documentation](https://sealmetrics.com/docs/implementation/tracker.md) for technical details.
### How data flows
1. **Event detection** — the JavaScript tracker detects a page view or event. Nothing is written to the device: no cookies, no localStorage, no sessionStorage. The tracker reads standard browser properties to compute the session identifier, which is re-keyed daily on the server and never stored as sent.
2. **Transmission** — the hit is sent as a lightweight beacon request to Sealmetrics' EU infrastructure. IP addresses appear at the network layer as they do for any HTTP request, but are never persisted in the analytics database; they are used in memory only for anti-abuse checks and site-configured exclusions.
3. **Processing** — each hit is processed on its own. Hits are not joined to a person, and are not linked across sessions.
4. **Aggregation and reporting** — dashboards report statistical patterns. The per-hit log, which holds the daily pseudonym, is purged after 1 day; hourly aggregates are kept 90 days; daily aggregates and conversion and microconversion events (one row per event, with no session identifier) 24 months. Retention is fixed for every plan and enforced by database TTLs — see [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md).
All processing and storage of customer analytics data happens in **Dublin, Ireland**.
### Practical effects of having no persistent identifiers
- **Nothing for privacy tooling to strip.** Ad blockers and browser tracking protections such as ITP target identifiers and known tracking domains; Sealmetrics stores nothing on the device and uses its own domain, so measurement stays consistent across Safari, Firefox and private browsing modes.
- **No CMP dependency.** No cookie categorisation, no Consent Mode v2, no region-conditional GTM triggers, and no re-testing the analytics setup every time a banner changes.
- **No consent-driven attribution gaps.** UTM values are read on arrival rather than after a banner interaction, so traffic is not misfiled as Direct when a visitor accepts cookies mid-journey.
- **Light footprint.** The tracker is 2.2 KB uncompressed, loads asynchronously and does not block rendering.
## Implementation
Adding consentless analytics to any website requires one line of code:
```html
```
No consent management platform, cookie banner configuration or Consent Mode setup for Sealmetrics itself (our self-assessment; Germany: open question). The tracker loads asynchronously (2.2 KB uncompressed), detects SPA navigation automatically, and begins capturing data immediately.
For platform-specific installation, see guides for [WordPress](https://sealmetrics.com/docs/integrations/cms/wordpress.md), [WooCommerce](https://sealmetrics.com/docs/integrations/ecommerce/woocommerce.md), [Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md), [Next.js](https://sealmetrics.com/docs/integrations/frameworks/nextjs.md), and [more integrations](https://sealmetrics.com/docs/integrations.md).
## Who Uses Consentless Analytics
Consentless analytics is particularly valuable for:
- **eCommerce businesses** that need accurate conversion and revenue data for budget allocation
- **Marketing teams** that need reliable campaign attribution across all EU markets
- **Companies in regulated industries** (finance, healthcare, government) where minimizing data collection reduces compliance risk
- **Multi-market businesses** operating across EU countries with different consent rejection rates
- **Performance-focused teams** that want a lightweight tracker without page speed impact
## Frequently Asked Questions
### Is consentless analytics less accurate than cookie-based analytics?
For aggregate metrics (total traffic, conversions, source attribution), consentless analytics is *more* accurate because consent rejection does not remove visits from the data. Cookie-based tools only measure the subset of visitors who accept consent, which creates a biased sample.
### Can consentless analytics track returning visitors?
No. Identifying returning visitors requires storing a persistent identifier, which constitutes personal data. Consentless analytics treats every session as independent. If you need returning visitor analysis, you would need a consent-based tool for that specific metric.
### Does consentless analytics work with Google Ads?
Yes. Sealmetrics reads UTM parameters from Google Ads URLs and attributes conversions and revenue to campaigns. It provides ROAS reporting at the campaign, source, and medium level. However, it does not sync audience data back to Google Ads for automated bidding.
### Is this the same as server-side analytics?
No. Server-side analytics (like log analysis) processes server access logs. Consentless analytics uses a client-side JavaScript tracker that fires on page load and user events. The key difference is that consentless analytics captures JavaScript-dependent events (SPA navigation, conversions, form submissions) that server logs cannot see.
### How is this different from other privacy-focused tools?
Some privacy-focused analytics tools use hashed IP addresses for visitor identification. Some legal experts argue that hashed IPs still constitute personal data under GDPR. Sealmetrics does not store IPs or use them for analytics **or geolocation** — visitor country is derived from the browser timezone (`Intl.DateTimeFormat().resolvedOptions().timeZone`), not from IP. To filter bots we check the IP in flight against a public list of automated-traffic IPs, and don't keep it; site-configured exclusions are checked the same way, in memory. See the [country detection page](https://sealmetrics.com/docs/security-privacy/country-detection.md) and the [comparison post on the blog](https://sealmetrics.com/blog/sealmetrics-vs-plausible.md) for details.
## Related documentation
- [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md) — Technical deep dive into how each hit is measured
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — Full legal analysis with GDPR article references
- [CNIL Self-Assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — Compliance against CNIL's 14 criteria
- [GA4 vs Sealmetrics](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) — Feature-by-feature comparison
- [Getting Started](https://sealmetrics.com/docs/getting-started/quick-start.md) — Set up consentless analytics in about 4 minutes
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — The consent question in plain language
- [Benefits of Consentless Tracking](https://sealmetrics.com/docs/security-privacy/consentless-benefits.md) — Why the consentless model outperforms cookie-based tools
- [Frequently Asked Questions](https://sealmetrics.com/docs/faq/privacy-security.md) — Common privacy and security questions
## How Sealmetrics determines the country without IP addresses
URL: https://sealmetrics.com/docs/security-privacy/country-detection/
How Sealmetrics detects visitor country from the browser timezone instead of IP addresses — GDPR-friendly geo data with no IP address stored or looked up.
## How does Sealmetrics determine the country without IP addresses?
Sealmetrics uses the **timezone configured in the user's browser** to determine the country of origin for each event ("hit"), instead of looking up the IP address. The timezone is mapped to a country through an internal IANA table, which yields an approximate, aggregate-level geographic estimate without processing IP addresses or collecting personal identifiers.
### 1. Retrieving the Timezone
The browser exposes the timezone value through standard APIs such as:
```js
Intl.DateTimeFormat().resolvedOptions().timeZone
```
Examples of possible values include:\
- `Europe/Madrid`\
- `America/Santiago`\
- `Asia/Tokyo`
This information is provided directly by the user's device through the standard [`Intl.DateTimeFormat` API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions) and **does not contain identifiable data**, nor does it allow individual tracking.
### 2. How is a timezone mapped to a country?
Each timezone is matched against an internal table connecting **[IANA timezones](https://www.iana.org/time-zones)** to the countries that use them.
- For unique timezones (e.g., `Asia/Tokyo`), the country is determined with high confidence.\
- For shared timezones (e.g., `Europe/Paris`), the system selects the most likely country based on majority usage or internal statistical criteria.
The resulting estimation is accurate enough for aggregated analytics and attribution metrics, although it cannot guarantee absolute precision in every case.
### 3. Privacy & Compliance
This approach fully adheres to privacy and data-minimization principles:
- No IP lookup is involved in country determination — not for analytics reports, and not for anything else. (A country-by-IP signal was designed for the Agent Analytics bot detector, but that feature is not live and cannot be enabled, so no such lookup runs on any account. See [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md).)\
- No persistent device identifiers are stored.\
- Timezone information does not identify the user.\
- Country calculation relies solely on the timezone provided by the browser, never on the IP address.
Thanks to this method, Sealmetrics can offer meaningful geographic insights while preserving user privacy and operating without requiring consent for tracking.
In short
- Country comes from the browser timezone (`Intl.DateTimeFormat().resolvedOptions().timeZone`) mapped against an IANA timezone table — no IP lookup is involved.
- Unique timezones (e.g. Asia/Tokyo) resolve with high confidence; shared timezones (e.g. Europe/Paris) resolve to the most likely country, so precision is country-level only.
- No persistent device identifiers are stored and the timezone does not identify the user, which is why this geo data needs no consent.
## Related documentation
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — where timezone-based country fits in the data model
- [How Sealmetrics Protects User Privacy](https://sealmetrics.com/docs/security-privacy/how-we-protect-privacy.md) — the data-minimization approach behind this method
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — why non-IP geo needs no consent
- [Geography Report](https://sealmetrics.com/docs/reports/geography.md) — see the country-level insights this produces
- [Frequently Asked Questions](https://sealmetrics.com/docs/faq/privacy-security.md) — common privacy questions
## How Sealmetrics Protects User Privacy
URL: https://sealmetrics.com/docs/security-privacy/how-we-protect-privacy/
The concrete protections behind Sealmetrics — no cookies, no persistent identifiers, no stored IP addresses, EU-only storage and short retention.
Sealmetrics does not collect the data that would put visitors at risk in the first place — **that is how it protects their privacy**. The protection is architectural rather than procedural: nothing is stored on the device, no data that identifies anyone is kept, and the session identifier rotates daily and, once rotated, not even Sealmetrics can reconstruct it. Reports are always aggregated.
## How does that protection work in practice?
In practice that means four things:
- **Nothing is written to the visitor's device.** No cookies, no localStorage, no sessionStorage. The session identifier used to group hits within one visit is a hash of standard device characteristics computed in the browser; it is never written to the device, is re-keyed on the server with a daily salt that is destroyed on rotation, and cannot recognise a returning visitor on another day.
- **No persistent identifier is stored.** No IP addresses in the analytics database (they are used in memory only for anti-abuse checks and site-configured exclusions), no user IDs, no persistent device IDs, no stored fingerprint, no cross-day, cross-session or cross-device linking. The user agent is used for device classification only — the raw string is never written to storage; only the derived browser/OS/device categories persist inside aggregates.
- **Data is minimised, then aged out.** The per-hit log is purged after 1 day, hourly aggregates after 90 days, daily aggregates and conversion and microconversion events (one row per event, with no session identifier) after 24 months. Retention is fixed for every plan and enforced by database TTLs.
- **Storage stays in the EU.** All customer analytics data is stored and processed in Dublin, Ireland, encrypted in transit and at rest, under role-based access control.
## What happens with data subject requests?
Visitor analytics data holds no persistent identifier: the session identifier is a pseudonym, kept in the per-hit log for 1 day and re-keyed with a daily salt; once rotated, not even Sealmetrics can reconstruct it. A visitor cannot supply that pseudonym and nothing else in the data points to them, so in practice a visitor access or deletion request cannot be matched to a stored record (GDPR Art. 11). Account data (your dashboard users: name, email, billing) is a different category and data subject rights apply to it in full; see [Data Subject Rights (DSAR)](https://sealmetrics.com/docs/compliance/data-subject-rights.md). A Data Processing Agreement is included and ready to sign at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md).
Sealmetrics holds no third-party security certification such as ISO 27001 or SOC 2, and no supervisory authority certifies analytics tools. What exists is our own [compliance self-assessments](https://sealmetrics.com/docs/compliance.md) against published criteria.
In short
- Nothing is written to the visitor's device and no persistent identifier is stored: no cookies, no IP addresses in the analytics database, no user IDs or persistent device IDs.
- Retention is fixed for every plan: per-hit log purged after 1 day, hourly aggregates after 90 days, daily aggregates and conversion events after 24 months.
- All customer analytics data is stored and processed in Dublin, Ireland; a DPA is ready to sign at sealmetrics.com/dpa. No ISO 27001 or SOC 2 certification is held.
## Related documentation
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the field-by-field detail, with retention
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the model and why, on our assessment, no banner is needed
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — EU hosting, encryption, retention schedule, account closure
- [Privacy by Design Principles](https://sealmetrics.com/docs/security-privacy/privacy-by-design.md) — how these choices map to the privacy-by-design framework
- [Account Security](https://sealmetrics.com/docs/security-privacy/account-security/two-factor-auth.md) — protecting the dashboard account itself
## How Sealmetrics Reduces AdBlocker Data Loss
URL: https://sealmetrics.com/docs/security-privacy/adblocker-bypass/
How 1st-party tracking on your own subdomain keeps Sealmetrics off the third-party block lists AdBlockers use, and why it reduces rather than eliminates ad-blocker loss.
## Why first-party delivery matters
Most analytics platforms rely on **third-party tracking domains**, which are automatically flagged and blocked by AdBlockers. With **1st-party tracking** on a subdomain of your own site, Sealmetrics is not on those lists, so far fewer visits are lost to ad blockers. No analytics tool is unblockable: a user or list maintainer can still add a custom rule.
## How do AdBlockers work?
AdBlockers typically block requests to well-known tracking domains such as:
- `google-analytics.com`
- `facebook.net`
- `doubleclick.net`
When a pixel or script loads from a recognized third-party tracker, the AdBlocker intercepts and blocks it automatically.
This is one of the reasons traditional analytics lose data — alongside consent rejection.
## Why Sealmetrics is rarely blocked
### Sealmetrics can use 1st-party tracking
Instead of loading the pixel from a third-party domain, Sealmetrics works through **your own domain**, for example:
```plaintext
https://analytics.yourdomain.com/t.js
```
Because the request is served from a subdomain of your own site, it does not match the third-party tracking domains that AdBlockers such as uBlock Origin, AdBlock Plus or Brave Shields block by default, and Safari ITP's third-party cookie limits do not apply to it. A custom filter rule written against your subdomain can still block it.
## Why does first-party tracking matter?
- **Less data loss** from ad-blocking users, whose share varies widely by audience and is highest among technical readers.
- **Accurate attribution** — cookieless, server-side attribution works without cookies or third-party domains.
- **Designed for GDPR** — first-party collection of minimal, pseudonymised data that becomes unrecoverable daily; our self-assessment is that it needs no consent banner (see [Compliance](https://sealmetrics.com/docs/compliance.md)).
- **Resilient** — [Safari ITP](https://webkit.org/blog/7675/intelligent-tracking-prevention/), [Firefox ETP](https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop) and Chrome's [Privacy Sandbox](https://privacysandbox.com/) target cross-site tracking, not first-party requests, so first-party delivery is not what those mechanisms are built to block.
## How do I configure 1st-party tracking?
See the [First-party tracker guide](https://sealmetrics.com/docs/implementation/tracker/first-party.md): create the subdomain shown in the dashboard with a DNS A record, and the Sealmetrics team completes the server side.
Once configured, Sealmetrics can also measure visitors whose blockers work from lists of known third-party tracking domains, because the tracker is served from your own domain. A filter rule written against your subdomain can still block it.
In short
- AdBlockers block requests to known third-party tracking domains (google-analytics.com, facebook.net, doubleclick.net); a Sealmetrics pixel served from a subdomain of your own site does not match those lists, which reduces (not eliminates) ad-blocker loss.
- The share of ad-blocking users varies by audience; it comes on top of what consent rejection costs traditional analytics.
- Set up 1st-party tracking with a DNS A record for the subdomain shown in the dashboard — see the First-party tracker guide.
## Related documentation
- [1st Party Tracker](https://sealmetrics.com/docs/implementation/tracker/first-party.md) — the first-party architecture that avoids ad-blocker filters
- [First Party Tracker](https://sealmetrics.com/docs/implementation/tracker/first-party.md) — configure the first-party subdomain
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — install and point a subdomain at the pixel
- [Bot Detection & Traffic Quality](https://sealmetrics.com/docs/security-privacy/bot-detection.md) — how captured traffic is kept clean of bots
- [Frequently Asked Questions](https://sealmetrics.com/docs/faq/privacy-security.md) — common privacy and tracking questions
## How Attribution Works Without a User-ID
URL: https://sealmetrics.com/docs/security-privacy/attribution-without-userid/
How Sealmetrics attributes traffic and conversions without User-IDs, cookies or cross-session tracking — session-scoped last-click attribution, with an ephemeral session identifier.
Sealmetrics delivers accurate campaign and conversion attribution without using User-IDs, cookies, stored or persistent fingerprints, or cross-session reconstruction. This article explains the mechanism behind our privacy-preserving attribution system.
## Why Traditional Analytics Require User-IDs
Conventional analytics platforms depend on identifiers to track user journeys:
- Cookie IDs
- Device IDs
- Fingerprints
- Cross-session identifiers
These technologies **link visits, clicks, and conversions to individuals**, which legally requires consent under GDPR and ePrivacy.
Sealmetrics does **not** use any of these to link visits. Its only identifier is a within-session one that is re-keyed every day and cannot link a device across days (see [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track/#6-session-identifier)).
## Sealmetrics' Privacy-First Approach
Sealmetrics does **not**:
- Track individual users across sessions
- Link a hit to a person (there is no personal identifier to link with)
- Store IP addresses
- Use cookies or persistent identifiers
The user agent is used for device classification (browser/OS category): the raw string is used in flight and never written to storage, and only the derived categories persist in the 24-month aggregates. Neither can be joined with anything that identifies the person — because no such identifier exists. A session identifier groups the hits of a single browsing session (~2-hour inactivity): it is computed in the browser from standard device characteristics, never written to the device, and re-keyed on the server with a daily salt that is destroyed on rotation — so it never links hits across days, sessions or devices.
## How Attribution Works: The Session Carries the Source
Sealmetrics attributes at the level of the **session**, not the person. Attribution is **session-scoped last click**:
1. A visitor arrives from a marketing source. Sealmetrics reads the UTM parameters, the ad click ID or the referring domain on that first hit.
2. That hit starts a **session** (an *entrance*), and the session records its source, medium and campaign.
3. The next pages of the same visit inherit the session's source. The session is keyed by the ephemeral identifier described above, and ends after about 2 hours of inactivity.
4. A conversion fired during the session is credited to the **session's source**.
The full priority rules (UTMs, click IDs, payment gateways, referrers, direct) are in [How Sealmetrics Attributes Conversions](https://sealmetrics.com/docs/reports/insights/attribution-model.md).
1. Visitor lands from a marketing source
2. UTM parameters, click ID or referring domain read
3. Session starts with that source
4. Later pages of the visit inherit the source
5. Conversion credited to the session's source
- Session identifier: ephemeral, re-keyed daily, nothing stored on the device
There is no lookback window across sessions. A visitor who returns the next day through a newsletter starts a new session with the newsletter as its source, because nothing links the two visits.
## Example — Attribution in Action
### Step 1: The visitor clicks a Google Ads campaign
The click ID and UTM parameters are read; a session starts with Google Ads / Campaign XYZ as its source.
### Step 2: They browse the site
Each page of the visit inherits the session's source.
### Step 3: They convert
The conversion is credited to the session's source.
### Result
**Conversion is attributed to Google Ads → Campaign XYZ → Keyword ABC.**
No user identification required.
## Why This Needs No Consent
Because no persistent identifier is stored, nothing is stored on the device, and the session identifier rotates daily and cannot be reconstructed afterwards, Sealmetrics self-assesses that no consent is needed. The tracker does read standard browser properties to compute the within-session identifier; see [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) for how the audience-measurement exemption criteria apply to that:
- No data that identifies anyone stored
- No user identification
- No behavioral profiling
- No cross-session linkage
- No consent required
Privacy protection is embedded by design.
## What You Can Measure
Even without User-IDs, Sealmetrics provides full marketing intelligence:
### Campaign Analytics
- Traffic by campaign
- Source/medium performance
- UTM analytics
- Revenue by campaign (ROAS needs your own ad-spend figures)
### Conversion Analytics
- Conversions per channel
- Revenue attribution
- Aggregated funnel insights
- Lead and eCommerce conversions
### Accuracy Benefits
- No consent loss
- No cookie rejection
- Traffic and conversions measured without consent-based gaps
## Summary
Sealmetrics proves that accurate attribution **does not** require user tracking.
We achieve attribution by grouping hits by **campaign characteristics**, not by individuals.
- Green: No data that identifies anyone stored
- Green: No loss from consent rejection
- Green: No User-IDs, no cookies, no consent banner (self-assessed; Germany: open question)
Because nothing is stored on the device and the session identifier rotates daily and cannot be reconstructed, Sealmetrics self-assesses that no consent is required — see [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md). Sealmetrics holds no third-party security certification, and the [compliance pages](https://sealmetrics.com/docs/compliance.md) are self-assessments.
## Related documentation
- [How Attribution Accuracy Works](https://sealmetrics.com/docs/reports/insights/attribution-accuracy.md) — how last-click, source-based attribution performs
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — what each hit carries
- [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md) — the isolated-hit model behind this approach
- [Sources Report](https://sealmetrics.com/docs/reports/sources.md) — see traffic and conversions grouped by source and campaign
- [Attribution Model](https://sealmetrics.com/docs/faq/attribution.md) — how Sealmetrics assigns conversions to channels
## Two-Factor Authentication
URL: https://sealmetrics.com/docs/security-privacy/account-security/two-factor-auth/
Add an extra layer of security to your Sealmetrics account with 2FA/TOTP.
Two-factor authentication adds a second layer of security beyond your password, significantly reducing the risk of unauthorized access.
## Why Enable 2FA?
Even with a strong password, your account can be compromised through:
- Password reuse from other breached sites
- Phishing attacks
- Keyloggers or malware
- Shoulder surfing
With 2FA enabled, attackers need both your password AND physical access to your authenticator device.
## Supported Methods
### TOTP (Time-based One-Time Password)
Sealmetrics uses TOTP, the industry standard for 2FA:
- 6-digit codes that change every 30 seconds
- Works offline (no SMS needed)
- Compatible with all major authenticator apps
### Compatible Apps
| App | Platform | Notes |
| --- | --- | --- |
| Google Authenticator | iOS, Android | Simple, widely used |
| Authy | iOS, Android, Desktop | Cloud backup, multi-device |
| 1Password | All platforms | Integrated with password manager |
| Microsoft Authenticator | iOS, Android | Good for Microsoft ecosystems |
| Bitwarden | All platforms | Open source |
## Enabling 2FA
### Step 1: Access Security Settings
1. In the sidebar, go to **My Account → Security**
2. Find the **Two-Factor Authentication** section
### Step 2: Start Setup
Click **Enable 2FA**. You'll be asked to enter your current password to begin setup.
```text
Two-Factor Authentication
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Status: Not enabled
Two-factor authentication adds an extra layer
of security by requiring a code from your
phone in addition to your password.
[Enable 2FA]
```
### Step 3: Scan QR Code and Save Backup Codes
```text
Set Up Two-Factor Authentication
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 1: Scan this QR code with your authenticator app
┌─────────────────────┐
│ ▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄ │
│ █ █ ▀▀▀ █ █ │
│ █▄▄▄█ ▄▄▄ █▄▄▄█ │
│ ▄▄▄▄▄ █▀█ ▄▄▄▄▄ │
│ █ █ ▀▀▀ █ █ │
│ █▄▄▄█ █▄▄▄█ │
└─────────────────────┘
Can't scan? Enter this code manually:
XXXX-XXXX-XXXX-XXXX (your unique secret)
```
On the same screen, Sealmetrics shows your **10 backup codes**. Save them somewhere safe before continuing — you'll use them to sign in if you lose your authenticator device. Each code can be used once.
```text
Backup Codes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Save these codes somewhere safe!
┌─────────────────────────────────────────┐
│ abc12-def34 ghi56-jkl78 │
│ mno90-pqr12 stu34-vwx56 │
│ yza78-bcd90 efg12-hij34 │
│ klm56-nop78 qrs90-tuv12 │
│ wxy34-zab56 cde78-fgh90 │
└─────────────────────────────────────────┘
[Copy All Codes]
[I've saved my backup codes]
```
### Step 4: Verify the Code
Enter the 6-digit code from your authenticator app to confirm setup.
```text
Verify Setup
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Enter the 6-digit code from your authenticator app
[______]
[Verify & Enable]
```
### Step 5: Confirm Enabled
```text
Two-Factor Authentication
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Status: Enabled
Enabled on: January 15, 2024
Backup codes remaining: 10 of 10
[Regenerate Codes] [Disable 2FA]
```
## Signing In with 2FA
After entering your email and password:
```text
Two-Factor Authentication
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Enter the 6-digit code from your authenticator app
[______]
[Verify]
Having trouble?
→ Use a backup code instead
```
## Using Backup Codes
If you can't access your authenticator:
1. Click **Use a backup code instead**
2. Enter one of your saved backup codes
3. Sign in successfully
4. Code is marked as used
```text
Use Backup Code
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Enter one of your backup codes:
[____________]
[Verify]
Note: Each backup code can only be used once.
After signing in, generate new codes if running low.
```
## Managing 2FA
The **Two-Factor Authentication** section in **My Account → Security** shows your status, the number of backup codes remaining (e.g. "8 of 10 codes remaining"), and buttons to **Regenerate Codes** and **Disable 2FA**.
Note
Backup codes are only displayed once — when you first enable 2FA and again each time you regenerate them. Sealmetrics does not let you re-view existing codes later. If you can't find them, regenerate a new set.
### Regenerate Codes
When running low on backup codes:
1. Go to **My Account → Security**
2. In **Two-Factor Authentication**, click **Regenerate Codes**
3. Enter your current 6-digit 2FA code to confirm
4. Save the new codes securely — the old codes stop working immediately
### Change Authenticator App
To switch to a different authenticator:
1. Disable 2FA (requires current code)
2. Re-enable with new app
3. Scan new QR code
4. Save new backup codes
### Disable 2FA
Disabling 2FA requires **both** your password and a current verification code (a 6-digit code from your authenticator app, or a backup code).
```text
Disable Two-Factor Authentication
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This will make your account less secure.
Password: [________________]
Verification code: [______]
(6-digit code or a backup code)
[Disable 2FA]
```
## Lost Access to Authenticator
### If You Have Backup Codes
1. Sign in with backup code
2. Go to **My Account → Security**
3. Disable 2FA (requires your password and a backup code)
4. Re-enable with new device
### If You Don't Have Backup Codes
Contact support for account recovery:
1. Email [security@sealmetrics.com](mailto:security@sealmetrics.com)
2. Provide: Account email
3. Proof of identity (ID document)
4. Recent activity details you remember
5. Support will verify and assist
Warning
Account recovery without backup codes takes 2-5 business days for security verification.
## Security Best Practices
### Do
- Use a reputable authenticator app
- Save backup codes in a secure location (password manager, safe)
- Keep backup codes separate from your password
- Regenerate codes after using some
### Don't
- Store backup codes in plaintext on your computer
- Share your authenticator with others
- Screenshot your QR code
- Disable 2FA without good reason
## Troubleshooting
### "Invalid Code" Error
1. Check your device time is accurate (TOTP is time-based)
2. Ensure you're entering code for Sealmetrics (not another service)
3. Wait for new code (codes change every 30 seconds)
4. Try using a backup code
### Authenticator Shows Wrong Time
TOTP requires accurate time:
**iPhone:** Settings → General → Date & Time → Set Automatically
**Android:** Settings → Date & Time → Automatic date & time
### Syncing Issues with Authy
1. Open Authy settings
2. Tap "Sync" to refresh
3. Try code again
## Related
- [Backup Codes](https://sealmetrics.com/docs/security-privacy/account-security/backup-codes.md) - Managing your recovery codes
- [Session Management](https://sealmetrics.com/docs/security-privacy/account-security/session-management.md) - View and manage active sessions
- [IP Allowlist](https://sealmetrics.com/docs/security-privacy/account-security/ip-allowlist.md) - Restrict access by IP address
## Backup Codes
URL: https://sealmetrics.com/docs/security-privacy/account-security/backup-codes/
Recovery codes for accessing your account when you can't use your authenticator.
Backup codes are one-time use codes that let you access your account when you can't use your authenticator app.
## What Are Backup Codes?
Backup codes are:
- 10 unique codes generated when you enable 2FA
- Each code can only be used once
- Your safety net when your phone is lost, broken, or unavailable
- Independent of your authenticator app
## When to Use Backup Codes
Use a backup code when:
- Your phone is lost or stolen
- Your phone is dead and you can't charge it
- You're traveling without your usual device
- Your authenticator app was deleted
- You got a new phone and forgot to transfer 2FA
## Viewing Your Backup Codes
Backup codes are shown **only once** — when you first enable 2FA, and again each time you regenerate them. For security, Sealmetrics does not let you re-view an existing set later.
In **My Account → Security**, the **Two-Factor Authentication** section shows how many codes you have left (for example, "8 of 10 codes remaining"), but it does not list the codes themselves or which specific codes were used.
```plaintext
Two-Factor Authentication
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Backup Codes
8 of 10 codes remaining
[Regenerate Codes]
```
If you can't find the codes you saved, generate a new set with **Regenerate Codes** (see below).
## Using a Backup Code
### At Login
1. Enter your email and password
2. On the 2FA screen, click **Use a backup code instead**
3. Enter one of your backup codes
4. Click **Verify**
```plaintext
Use Backup Code
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Can't access your authenticator?
Use one of your backup codes to sign in.
Enter backup code:
[mno90-pqr12 ]
[Verify]
← Back to authenticator code
```
### After Using a Code
Once a backup code is used, it can't be used again. The remaining-codes count in **My Account → Security** decreases accordingly. When you're running low, regenerate a fresh set so you always have codes available.
## Regenerating Codes
Generate new codes when:
- You've used several codes
- You think codes may be compromised
- You want to replace your current codes as a precaution
### How to Regenerate
1. Go to **My Account → Security**
2. In **Two-Factor Authentication**, click **Regenerate Codes**
3. Enter your current 6-digit 2FA code
4. Save the new codes
```plaintext
Regenerate Backup Codes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This will invalidate ALL existing codes,
including unused ones.
Current unused codes: 7
These will stop working.
Enter your 2FA code to confirm:
[______]
[Cancel] [Regenerate]
```
### After Regenerating
```plaintext
New Backup Codes Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Your previous codes have been invalidated.
Save these new codes securely.
┌─────────────────────────────────────────┐
│ new11-code22 │
│ abc33-def44 │
│ ghi55-jkl66 │
│ mno77-pqr88 │
│ stu99-vwx00 │
│ yza11-bcd22 │
│ efg33-hij44 │
│ klm55-nop66 │
│ qrs77-tuv88 │
│ wxy99-zab00 │
└─────────────────────────────────────────┘
[Download] [Copy] [I've Saved Them]
```
## Storing Backup Codes Safely
### Good Storage Options
| Method | Pros | Cons |
| --- | --- | --- |
| Password manager | Encrypted, accessible | Single point of failure |
| Physical printout in safe | Offline, secure | Can be lost/destroyed |
| Encrypted USB drive | Portable, secure | Can be lost |
| Bank safe deposit box | Very secure | Inconvenient access |
### Storage Best Practices
1. **Never store in plaintext** on your computer
2. **Keep separate** from your password
3. **Store in multiple locations** (e.g., password manager + printed backup)
4. **Don't take photos** on your phone (could sync to cloud)
5. **Label clearly** so you know what they're for
### What NOT to Do
- Email codes to yourself
- Store in notes app without encryption
- Keep only one copy
- Store in same place as password
- Share with others
## Running Low on Codes
There's no automatic alert when you're down to your last few codes. Check the remaining count in **My Account → Security** periodically, and regenerate a new set before you run out so you always have a way back into your account.
## Troubleshooting
### "Invalid Backup Code" Error
1. Check for typos (especially 0 vs O, 1 vs l)
2. Ensure you haven't already used this code
3. Verify codes haven't been regenerated since you saved them
4. Try a different code
### All Codes Used
If you've used all 10 codes:
- You must have access to your authenticator to generate new codes
- If you can't access your authenticator, contact support
### Lost All Codes and Authenticator
Contact support for account recovery:
1. Email [security@sealmetrics.com](mailto:security@sealmetrics.com)
2. Subject: "2FA Account Recovery"
3. Include: Your account email
4. Proof of identity
5. Recent account activity you remember
6. Recovery takes 2-5 business days
## Related
- [Two-Factor Authentication](https://sealmetrics.com/docs/security-privacy/account-security/two-factor-auth.md) - Setting up and using 2FA
- [Session Management](https://sealmetrics.com/docs/security-privacy/account-security/session-management.md) - Manage your active sessions
## IP Allowlist
URL: https://sealmetrics.com/docs/security-privacy/account-security/ip-allowlist/
Restrict account access to specific IP addresses, CIDR ranges, or regex patterns.
IP allowlisting restricts access to a Sealmetrics **site (account)** to a defined set of IP patterns, adding a network-level control on top of passwords and 2FA.
The allowlist is configured **per site** in the dashboard under **Site Config → Settings → IP Allowlist**, and is also available through the [IP Allowlist API](https://sealmetrics.com/docs/api/ip-allowlist.md) for automation.
Info
IP Allowlist is a plan-gated feature (Enterprise). If your plan doesn't include it, the tab shows an upgrade notice instead of the configuration controls.
## What Is IP Allowlisting?
When an account's allowlist is enabled, requests from an IP that doesn't match any active pattern are rejected — even with valid credentials. When the allowlist is disabled, the account is reachable from any IP.
```plaintext
Request to an account
↓
Allowlist enabled? ──No──► Allow
│ Yes
IP matches an active pattern? ──No──► Block
│ Yes
Allow
```
If a user belongs to several accounts, login filters the accounts they can reach from their current IP: accounts whose allowlist blocks the IP are dropped, while accounts without an active allowlist remain available.
## Settings
Each site's allowlist has these settings:
| Setting | Default | Description |
| --- | --- | --- |
| `is_enabled` | `false` | Whether the allowlist is enforced for the site |
| `enforce_for_dashboard` | `true` | Apply the IP check to dashboard / JWT authentication |
| `enforce_for_api_tokens` | `true` | Apply the IP check to API token authentication |
In the dashboard, the IP Allowlist tab exposes the **Enable IP Allowlist** toggle (`is_enabled`) and the list of patterns. The `enforce_for_dashboard` and `enforce_for_api_tokens` flags default to enabled and can be adjusted through the [API](https://sealmetrics.com/docs/api/ip-allowlist.md) — for example, to enforce the allowlist for dashboard logins while leaving API token access unrestricted, or vice versa.
## Pattern Types
Each entry in the allowlist is a **pattern** with one of three types:
| Type | Example | Matches |
| --- | --- | --- |
| `ip` | `192.168.1.100`, `2001:db8::1` | One exact IPv4 or IPv6 address |
| `cidr` | `192.168.1.0/24`, `10.0.0.0/8` | All addresses in a CIDR range |
| `regex` | `^192\.168\..*` | Any address matching the regular expression |
Each pattern can also carry an optional **label** (e.g. "Office Network") and **description**, and can be toggled active or inactive.
## Typical Setup
1. Go to **Site Config → Settings → IP Allowlist**.
2. **Add your patterns first** with **Add IP Pattern** — every IP, CIDR range, or regex you need, including your current IP and any VPN exit IPs. Each pattern can have a label.
3. **Enable the allowlist** with the **Enable IP Allowlist** toggle.
Warning
Enabling enforcement without a pattern that matches your own connection can lock you out of the site. The dashboard warns you to add your current IP before enabling — always confirm it's covered first.
## Examples
### Office network and a static home IP
```plaintext
Office network (CIDR): 192.168.1.0/24 label: "Office"
VPN range (CIDR): 203.0.113.0/28 label: "VPN"
CEO home (IP): 83.45.123.78 label: "CEO Home"
```
### Dynamic IPs
If your ISP assigns dynamic addresses, prefer a **CIDR range** that covers the pool, or route through a VPN with a static exit IP and allowlist that. A broad `regex` pattern is also possible but harder to reason about — use it sparingly.
## When Access Is Blocked
A blocked login is rejected with an "IP not allowed" error. Access attempts (granted and denied) are recorded with the IP address, authentication type (dashboard or API token), and which pattern matched, so you can review them via the API.
There is no in-product "request access" workflow or self-serve admin bypass. If you lock yourself out, connect from an already-allowed network (office or VPN), have a teammate with access add your IP, or contact support to disable enforcement.
## Best Practices
- Add and verify your current IP before enabling enforcement
- Include VPN exit IPs (the public exit IP, not the internal VPN address)
- Use CIDR ranges for office networks instead of listing each address
- Label each pattern so its purpose is clear
- Review the allowlist periodically and remove patterns you no longer need
- Don't enable enforcement with no matching pattern for your own connection
- Don't use overly broad ranges that defeat the purpose
## Troubleshooting
### Locked out
1. Connect from an already-allowed location (office, VPN)
2. Ask a teammate with access to add your IP
3. Contact support to disable enforcement, then re-add your IP
### Can't access from VPN
1. Confirm you're allowlisting the VPN **exit** IP, not the internal VPN address
2. Find the exit IP with `curl ifconfig.me`
3. Add that IP (or its CIDR range) to the allowlist
## Session Management
URL: https://sealmetrics.com/docs/security-privacy/account-security/session-management/
View your active Sealmetrics sessions across devices, check the browser, OS, and IP of each one, and sign out of any session you don't recognize.
Session management lets you see the devices where **your own account** is currently signed in, and sign out of sessions you don't recognize.
## Viewing Active Sessions
1. In the sidebar, go to **My Account → Security**
2. Find the **Active Sessions** section
Your current session is highlighted, and any other sessions are listed below it.
```plaintext
Active Sessions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Current Session:
┌─────────────────────────────────────────┐
│ ● macOS — Chrome │
│ IP: 192.168.1.50 │
│ Active now [Current] │
└─────────────────────────────────────────┘
Other Sessions:
┌─────────────────────────────────────────┐
│ ● iOS — Safari │
│ IP: 83.45.123.78 │
│ Last active: 2 hours ago [Remove] │
└─────────────────────────────────────────┘
┌─────────────────────────────────────────┐
│ ○ Windows — Chrome │
│ IP: 203.0.113.45 │
│ Last active: 3 days ago [Remove] │
└─────────────────────────────────────────┘
[Logout All Other Sessions]
```
## Session Information
Each session shows:
| Field | Description |
| --- | --- |
| Device | Operating system inferred from the browser (macOS, Windows, iOS, Android, Linux) |
| Browser | Chrome, Firefox, Safari, Edge, etc. (inferred from the user agent) |
| IP Address | The IP address recorded for the session |
| Last Active | When the session was last used |
Note
Sessions do **not** include geographic location, ISP, a per-session detail view, or activity counts. The device and browser are inferred from the user agent string, and the only data stored per session is the user agent, IP address, creation time, and last-used time.
## Signing Out Sessions
### Single Session
Click the trash icon next to any other session to terminate it. That device's token is invalidated immediately and the session is removed from the list.
### All Other Sessions
Click **Logout All Other Sessions** to sign out everywhere except your current device.
```plaintext
Logout All Other Sessions?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This will:
• Log out your other sessions
• Invalidate all existing tokens on those devices
• Require re-authentication on those devices
Your current session stays active.
[Cancel] [Logout All Sessions]
```
## When to Review Sessions
Review your sessions when:
- Red: **Immediately:** You notice suspicious activity
- Red: **After:** Your password was compromised
- Yellow: **Regularly:** Monthly security check
- Yellow: **After:** Using a shared or public computer
- Green: **Optionally:** After traveling
## Suspicious Sessions
### Warning Signs
Watch for sessions from:
| Sign | Concern Level | Action |
| --- | --- | --- |
| Unknown device or browser | High | Sign out, change password |
| IP address you don't recognize | High | Sign out immediately |
| Very old sessions | Medium | Sign out for hygiene |
### If You See Suspicious Activity
1. **Sign out** the suspicious session immediately
2. **Change your password** right away
3. **Enable 2FA** if not already enabled
4. **Review** recent account activity
5. **Check** for any changes made to your account
```plaintext
Suspicious Session Detected?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you don't recognize this session:
1. Terminate that session (trash icon)
2. Use **Logout All Other Sessions** to clear every other device
3. Change your password
4. Review the [Audit Logs](/platform/settings/advanced/audit-log) for unexpected activity
```
Note
Session management in Sealmetrics is **per user** — you manage only your own sessions. There is no admin "team session" view, "force sign out user", session-timeout policy, "Remember Me" toggle, or API-session panel in the dashboard. (API tokens are managed separately under API keys and are revoked there, not from this page.)
## Session Security Best Practices
- Sign out from shared computers
- Review your sessions periodically
- Enable 2FA on your account
- Use **Logout All Other Sessions** if you suspect your account was accessed
- Don't stay signed in on public computers
- Don't ignore sessions you don't recognize
## Troubleshooting
### "Session expired unexpectedly"
- Verify you didn't sign out from another device or use **Logout All Other Sessions**
- Note that resetting your password (the "forgot password" flow) signs out all sessions; changing it from your account settings does not, so use **Logout All Other Sessions** after a change
- Clear browser cookies and sign in again
### "Can't see my sessions"
- Make sure you're signed in
- Try refreshing the page
### "Old sessions still showing"
- "Last active" shows the last recorded activity for that session
- Terminate a session to remove it from the list immediately
## Why Sealmetrics Can Measure Without Consent
URL: https://sealmetrics.com/docs/security-privacy/why-no-consent/
Sealmetrics needs no consent banner because it stores nothing on the visitor's device and no data that identifies anyone, and fits the audience-measurement exemption — the short version, as our self-assessment.
In our self-assessment, Sealmetrics needs no consent banner because it stores **nothing on the visitor's device** and **no data that identifies anyone**: the session identifier is ephemeral — it rotates daily and, once rotated, not even we can reconstruct it — and reports are always aggregated. Two separate rules are in play:
- **GDPR** ([Article 4(1), Recital 26](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)) governs the processing of personal data. Sealmetrics stores no IP address, no user ID, no persistent identifier and no profile. During the day the session identifier is pseudonymised data, processed under legitimate interest (Art. 6(1)(f)) rather than consent; the per-hit log is purged after one day and the identifier becomes unrecoverable when the daily salt rotates.
- **The ePrivacy Directive** ([Article 5(3)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058)) requires consent to store or read information on a user's terminal equipment, unless an exemption applies. Sealmetrics sets no cookies and uses no localStorage or sessionStorage, so nothing is stored on the device. The tracker does read standard browser properties to compute a session identifier, which engages Article 5(3); the consent exemption rests on the audience-measurement criteria described below — see [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md).
What Sealmetrics records instead is a small set of non-identifying fields per hit: **timestamp**, **user agent** (used for device classification — the raw string is used in flight and never written to storage, and only the derived browser/OS/device categories persist in aggregates for 24 months), **current URL**, **referral URL**, **browser timezone** (for the country) and a **session identifier** that is re-keyed every day with a salt destroyed on rotation, so it cannot link a device across days. Hits are never joined to a person or linked across sessions — see [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md) for the full list.
This distinction matters more than it looks. Under ePrivacy, tracking individuals requires consent *even when the tracking is anonymous* — which is why moving tags server-side does not remove the consent requirement. Sealmetrics does not track individuals at all, which is a different thing from tracking them anonymously.
Both the [CNIL (France)](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience) and the [AEPD (Spain)](https://www.aepd.es/guias/guia-cookies.pdf) have published criteria under which audience measurement can operate without consent, and Sealmetrics has self-assessed against them. To be clear about what that is and is not: no supervisory authority certifies or approves analytics tools, so the [compliance pages](https://sealmetrics.com/docs/compliance.md) are our own assessments against published criteria, not third-party validations. Sealmetrics also holds no ISO 27001 or SOC 2 certification.
Germany is an open question rather than a settled yes: the DSK does not extend the §25(2) TDDDG exemption to audience measurement, and because the tracker reads device properties via JavaScript, that read may count as "access" under §25(1) TDDDG (EDPB Guidelines 2/2023 read access broadly). If you operate in Germany, check with your DPO or counsel. A Data Processing Agreement is included and ready to sign at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md).
## Primary sources
- GDPR (Regulation 2016/679) — Art. 4(1) defines personal data; Recital 26 excludes anonymous data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
- ePrivacy Directive 2002/58/EC — Art. 5(3): consent to store or access terminal-equipment data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058)
- EDPB Guidelines 2/2023 — technical scope of Art. 5(3), including server-side and pixel tracking — [edpb.europa.eu](https://edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-22023-technical-scope-art-53-eprivacy-directive_en)
- CNIL — audience-measurement exemption criteria for consent-free analytics — [cnil.fr](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience)
- AEPD — Guía sobre el uso de las cookies, analytics-cookie exemption conditions — [aepd.es](https://www.aepd.es/guias/guia-cookies.pdf)
## Related documentation
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the full reasoning, with the GDPR and ePrivacy articles and the regulatory guidance
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — every variable recorded, with its retention
- [How Consentless Tracking Works](https://sealmetrics.com/docs/security-privacy/how-consentless-works.md) — the technical mechanism
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — the detailed regulatory analysis
- [Consentless Analytics FAQ](https://sealmetrics.com/docs/faq/consentless-analytics.md) — the same question in Q&A form
## Bot Detection & Traffic Quality
URL: https://sealmetrics.com/docs/security-privacy/bot-detection/
How Sealmetrics filters bot traffic — IP and User-Agent blocklists, a burst detector, HMAC token validation and domain authorization.
Sealmetrics uses multiple layers of protection — from IP and User-Agent blocklists to HMAC token validation and domain authorization — so that your analytics data reflects real human visitors, not bots or spam traffic. Detected bot traffic is blocked immediately, never stored, and never appears in reports.
## How does Sealmetrics detect bots?
### 1. IP blocklist
The IP of each request is checked in flight against blocklists, and is not stored either way:
- **Global list** — a public list of IPs known to send automated traffic
- **Per-account blocklist** — IPs or CIDR ranges you choose to exclude
### 2. User-Agent filtering
Bot signatures in the User-Agent string are detected:
- Known bot identifiers (Googlebot, Bingbot, etc.)
- Automated tool signatures (curl, wget, python-requests)
- Headless browser patterns (HeadlessChrome, PhantomJS)
### 3. Burst detection
A session that sends too many pageviews within a few seconds is blocked for a period. This check applies to traffic whose country cannot be determined.
### 4. HMAC token validation
Each request includes a cryptographic token:
- Validates that the request comes from the tracker served for your account
- Time-bound token expiration
### 5. Domain authorization
Only authorized domains can send data:
- Configure allowed domains in Settings
- Prevents data injection from unauthorized sources
- Subdomain wildcard support
## What happens when bot traffic is detected?
When bot traffic is detected:
1. **Blocked immediately** — No data stored
2. **Logged for analysis** — Helps improve detection
3. **Not counted** — Never appears in reports
## What gets filtered?
| Traffic Type | Filtered | Notes |
| --- | --- | --- |
| Search engine crawlers | Yes | Googlebot, Bingbot, etc. |
| SEO tools | Yes | Ahrefs, Semrush, Moz |
| Uptime monitors | Yes | Pingdom, UptimeRobot |
| Security scanners | Yes | Vulnerability scanners |
| Automated testing | Yes | Selenium, Puppeteer |
| Known automated-traffic IPs | Yes | Public list of automated-traffic IPs |
| Your own test traffic | Configurable | Optional filtering |
## What Passes Through
| Traffic Type | Tracked | Notes |
| --- | --- | --- |
| Real browsers | Yes | Chrome, Firefox, Safari, etc. |
| Mobile apps | Yes | In-app browsers |
| VPN users | Yes | Legitimate users with VPNs |
| Tor exit nodes | Configurable | Can be filtered if needed |
## Agent Detection (not available)
Not live
Advanced agent detection — also referred to as Agent Analytics — is **designed but not live, and cannot be enabled on any account**, including on request. Nothing described in this section runs today, and no account collects behavioral signals. The layers above are the whole of what filters bot traffic.
If it ships, it would work like this:
1. **Initial classification** — first hit analyzed
2. **Behavioral signals** — mouse movements, scroll patterns, timing
3. **Final classification** — human vs. suspected agent
Planned classification results:
| Classification | Meaning |
| --- | --- |
| `human` | Confirmed human behavior |
| `agent_suspected` | Automated behavior detected |
Classification would happen at session level: the entrance is classified and its pageviews inherit the result.
## Custom Blocklists
### Adding IPs to Blocklist
You can exclude specific IPs via the dashboard:
1. Go to **Settings → Security**
2. Select **IP Blocklist**
3. Add IPs or CIDR ranges
```plaintext
192.168.1.100 # Single IP
10.0.0.0/8 # CIDR range
```
### Common Use Cases
- Exclude your office IP
- Block competitor scrapers
- Filter internal testing traffic
## User-Agent Blocklist
Block traffic by User-Agent patterns:
1. Go to **Settings → Security**
2. Select **UA Blocklist**
3. Add patterns (supports regex)
```plaintext
curl/* # Block curl requests
python-requests/* # Block Python scripts
custom-bot/* # Block specific bot
```
## Data Quality Indicators
In your reports, look for:
- **Bounce rate** — Extremely high rates may indicate bot traffic
- **Session duration** — 0-second sessions could be bots
- **Geographic distribution** — Unusual concentrations warrant investigation
## Best Practices
1. **Review traffic periodically** — Check for anomalies
2. **Use content grouping** — Helps identify targeted bot traffic
3. **Monitor conversion rates** — Bots don't convert
4. **Check referrer sources** — Unknown referrers may be spam
## Comparison with Other Tools
| Feature | Sealmetrics | Google Analytics |
| --- | --- | --- |
| Bot filtering | Blocklists, burst detection, token and domain checks | Single checkbox |
| Custom blocklists | Yes | Limited |
| Real-time blocking | Yes | Delayed |
| Transparent filtering | Yes | Black box |
In short
- Bot traffic is filtered by IP blocklists (the IP is checked in flight and not stored), User-Agent signatures, a burst detector, HMAC token validation and domain authorization; blocked hits are never counted.
- Search engine crawlers, SEO tools, uptime monitors, security scanners, automated testing and IPs on the public automated-traffic list are filtered; real browsers, in-app browsers and VPN users pass through.
- Custom IP/CIDR and User-Agent blocklists are configurable per account; Agent Analytics (behavioral human-vs-agent classification) is designed but not live and cannot be enabled.
## Related Documentation
- [Domain Authorization](https://sealmetrics.com/docs/platform/account-setup/how-to-add-domains.md)
- [First-Party Tracking](https://sealmetrics.com/docs/implementation/tracker/first-party.md)
- [Security & Privacy overview](https://sealmetrics.com/docs/security-privacy.md)
- [Bot Stats](https://sealmetrics.com/docs/api/bot-stats.md) — query filtered bot traffic through the API
- [Frequently Asked Questions](https://sealmetrics.com/docs/faq/privacy-security.md) — common privacy and traffic-quality questions
## Data Location & Retention
URL: https://sealmetrics.com/docs/security-privacy/data-location/
Where Sealmetrics stores your data and how long it's retained. EU-based infrastructure with clear retention policies.
Sealmetrics is committed to data sovereignty and transparent retention policies.
## Data Location
### Customer Analytics Data: Dublin, Ireland
All customer analytics data — every hit, report, and backup — is stored and processed in **Dublin, Ireland (EU)**:
| Component | Location | Provider |
| --- | --- | --- |
| Application servers | Dublin, Ireland | EU data center |
| Analytics database | Dublin, Ireland | EU data center |
| Backups | Dublin, Ireland | EU data center |
### Why EU?
- **GDPR compliance** — Data stays within EU jurisdiction
- **Data sovereignty** — No US CLOUD Act concerns for stored data
- **Low latency** — Fast response times for European users
- **Legal clarity** — Single regulatory framework
### No Transfer of Analytics Data Outside the EU
Analytics data is hosted and processed only in the EU (Dublin). Your analytics data:
- Is stored and processed exclusively on EU infrastructure
- Is not transferred to any third country
- Remains under EU data protection law
## Data Retention Periods
### Analytics Data
Retention is **fixed and identical for every plan**, enforced by database TTLs:
| Data Type | Retention | Notes |
| --- | --- | --- |
| Event-level detail | 1 day | Individual hit data, then purged |
| Hourly aggregates | 90 days | Hour-by-hour reports |
| Daily aggregates | 24 months | Daily/monthly reports |
| Conversion data | 24 months | Including properties |
From a single hit to the reports you keep, every stage lives in Dublin and expires on its own TTL:
Dublin, Ireland (EU)
1. Hit received
2. Event-level detail: purged after 1 day
3. Hourly aggregates: 90 days
4. Daily aggregates: 24 months
5. Conversion data: 24 months
6. Automatic purge when the retention period ends
### Operational Data
| Data Type | Retention | Notes |
| --- | --- | --- |
| Raw logs | 1 day | For debugging only |
| Error logs | 30 days | System diagnostics |
| API access logs | 90 days | Security audit trail |
### Real-time / Session Data
| Data Type | Retention | Notes |
| --- | --- | --- |
| Session state (Redis) | 2 hours | Ephemeral, in-memory session grouping |
## Why 24 Months?
The 24-month retention for aggregated reports and conversions allows:
1. **Year-over-year comparison** — Compare current month to same month last year
2. **Seasonal analysis** — Full 2-year cycle for seasonal businesses
3. **Trend identification** — Long-term patterns become visible
4. **Regulatory compliance** — Meets typical audit requirements
## Data Deletion
### Automatic Deletion
Data older than retention period is automatically purged:
- Runs daily during low-traffic hours
- Irreversible deletion
- No recovery possible
### Manual Deletion
You can request early deletion:
1. **Single account** — Contact support
2. **Specific date range** — Provide details
3. **Full account deletion** — Account closure
### Account Closure
When you close your account:
- All data deleted within 30 days
- Backups purged within 90 days
- No data retained after that
## What We Store
### Collected Data Points
| Data | Stored | Purpose |
| --- | --- | --- |
| Page URL | Yes | Page analytics |
| Referrer | Yes | Traffic sources |
| UTM parameters | Yes | Campaign tracking |
| Device info | Yes | Device reports |
| Browser | Yes | Browser analytics |
| Country | Yes | Geographic reports |
| Timestamp | Yes | Timing analysis |
| Session ID | Yes (hashed) | Session grouping |
### Not Stored
| Data | Stored | Why |
| --- | --- | --- |
| IP address | No | Privacy |
| Cookies | No | Consentless |
| Email | No | Not collected |
| Name | No | Not collected |
| User ID | No | Privacy |
## Data Security
### Encryption
| State | Encryption |
| --- | --- |
| In transit | TLS 1.3 |
| At rest | AES-256 |
| Backups | AES-256 |
### Access Control
- Role-based access
- Audit logging
- Two-factor authentication available
- IP allowlist option
## Regulatory Compliance
| Framework | Status |
| --- | --- |
| GDPR | Designed to comply (self-assessed, not certified) |
| ePrivacy | No consent needed for its own analytics, on our self-assessment (Germany: open question) |
Sealmetrics does not hold third-party security certifications (such as SOC 2 or ISO 27001). Compliance with GDPR and ePrivacy is based on the architecture described above — nothing stored on the device, no data that identifies anyone, a session identifier that rotates daily and cannot be reconstructed, EU-only processing — and is documented in the [compliance self-assessments](https://sealmetrics.com/docs/compliance.md).
## Subprocessors
Sealmetrics keeps its subprocessor list deliberately short. The authoritative, always-current list is **Annex 3 of the [Data Processing Agreement](https://sealmetrics.com/dpa.md)**.
As of this review it names Noraina Limited (Ireland — infrastructure and database hosting), Scaleway SAS (Paris — managed LLM inference for Seal AI Private) and Resend (US, under SCCs — service emails). All subprocessors sign data processing agreements that bind them to GDPR obligations. **Visitor analytics data is processed and stored exclusively in the EU.**
Full details: [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md)
## Data Portability
Export your data anytime:
1. **Dashboard exports** — CSV downloads
2. **API access** — Full programmatic access
3. **Bulk export** — Contact support for large exports
## Questions?
- **DPO contact** — [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **Data requests** — [support@sealmetrics.com](mailto:support@sealmetrics.com)
- **Legal inquiries** — [legal@sealmetrics.com](mailto:legal@sealmetrics.com)
## Related Documentation
- [Security & Privacy overview](https://sealmetrics.com/docs/security-privacy.md)
- [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md)
- [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md)
- [Data Subject Rights (DSAR)](https://sealmetrics.com/docs/compliance/data-subject-rights.md)
- [GDPR Compliance](https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq.md)
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md)
- [Frequently Asked Questions](https://sealmetrics.com/docs/faq/privacy-security.md)
## Benefits of Consentless Tracking
URL: https://sealmetrics.com/docs/security-privacy/consentless-benefits/
What you gain by measuring without consent — no data lost to banner rejection, far less for ad blockers to strip, no CMP to maintain, and cleaner attribution.
The practical case for consentless tracking is that **we measure all the traffic you lose today to the cookie banner**. Cookie-based analytics typically lose the visitors who reject or ignore the cookie banner — the range depends on sector, brand strength and traffic mix — because a tool that only fires after consent records nothing from visitors who decline. Sealmetrics does not depend on consent to record a visit, so there is no consent-shaped hole in the numbers.
## What do you gain by measuring without consent?
Four benefits follow from having no cookies and no persistent identifiers.
**No consent gap.** Hits are measured regardless of whether a banner was accepted, what the browser's privacy settings are, or whether the visitor is in a private window. That removes the two most common distortions in EU reporting: missing traffic and the "dark traffic" that gets filed as Direct.
**Much less for privacy tooling to block.** Ad blockers and browser protections such as [Safari's ITP](https://webkit.org/blog/7675/intelligent-tracking-prevention/) target identifiers, third-party cookies and known tracking domains. Sealmetrics stores nothing on the device, keeps no persistent identifier and serves from its own domain, so measurement stays far more consistent across browsers and browser versions. A custom filter rule can still block it.
**Cleaner attribution.** UTM values are read when the visitor arrives, not after they interact with a banner, so a mid-journey consent acceptance cannot overwrite the original source. Attribution is last-click at channel level — the model that works without linking touchpoints to a person. Multi-touch attribution is not available for exactly that reason.
**No consent machinery to run.** No CMP, no [Consent Mode v2](https://developers.google.com/tag-platform/security/guides/consent) configuration, no cookie categorisation, no region-conditional GTM triggers, and no re-testing analytics every time the banner changes. The tracker is 2.2 KB uncompressed, loads asynchronously and does not block rendering.
## What is the trade-off?
The trade-off is real and worth stating plainly: consentless measurement gives up user-level metrics. There are no unique visitors, no session duration, no cross-session journeys and no cohorts, because each of those requires a persistent identifier. See [what the model can and cannot measure](https://sealmetrics.com/docs/security-privacy/consentless-analytics/#what-consentless-analytics-can-and-cannot-measure).
In short
- Cookie-based analytics lose the visitors who reject or ignore the cookie banner depending on sector, brand strength and traffic mix; Sealmetrics does not depend on consent to record a visit.
- No cookies and no persistent identifiers leave far less for ad blockers or Safari ITP to strip, no CMP or Consent Mode v2 to maintain, and UTMs read on arrival.
- The trade-off: no unique visitors, session duration, cross-session journeys or cohorts — attribution is last-click at channel level.
## Related documentation
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the concept, why no consent is needed, and full comparison with cookie-based tools
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — every field recorded, with retention
- [GA4 vs Sealmetrics](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) — feature-by-feature comparison
- [Cookie Banner Ghosting: Why Data Disappears](https://sealmetrics.com/blog/cookie-banner-ghosting-data-loss.md) — the consent problem behind the data loss
- [Cookieless vs Cookie-Based Analytics](https://sealmetrics.com/blog/cookieless-analytics-vs-cookie-based.md) — technical comparison of both approaches
## How Consentless Tracking Works
URL: https://sealmetrics.com/docs/security-privacy/how-consentless-works/
The mechanics of consentless tracking — a small set of non-identifying fields, isolated hits, a daily re-keyed session identifier, and EU-only aggregate storage.
Sealmetrics is a consentless analytics platform built on the aggregate, cookie-free tracking mechanics described below. It records events without a persistent visitor identifier and without writing anything to the visitor's device, which is why, on our self-assessment, measurement can run without a consent banner (in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)).
Consentless tracking measures **events in aggregate instead of following people**. The tracker records a small set of non-identifying fields per hit — timestamp, user agent, current URL, referral URL, browser timezone and a session identifier (see [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md)) — sends them to EU infrastructure, and never writes anything to the visitor's device. Nothing stored can identify a person or link a device across days.
## The mechanics, in four steps
1. **Event detection.** A JavaScript tracker (about 2.2 KB uncompressed) fires on page load and on events you instrument. It sets no cookies and uses no localStorage or sessionStorage. It reads standard browser properties to compute the session identifier described below; that hash is never written to the device and never stored as sent.
2. **Transmission.** The hit is sent as a lightweight beacon request. The visitor's IP appears at the network layer, as it does for any HTTP request, but is never persisted in the analytics database — it is used in memory only for anti-abuse checks and site-configured exclusions.
3. **Isolated processing.** Each hit is processed on its own. Hits from the same person are never joined across sessions, so no journey or profile can be reconstructed.
4. **Aggregation.** Reports are built from aggregate counts. The per-hit log is purged after 1 day, and the raw user agent string is never stored — only the browser, OS and device categories derived from it; hourly aggregates are kept 90 days; daily aggregates, and conversion and microconversion events (one row per event, with no session identifier), 24 months. Retention is fixed for every plan and enforced by database TTLs.
All customer analytics data is stored and processed in **Dublin, Ireland (EU)**.
## Two measurement modes
**Isolated hits** — an event that arrives without a session identifier is counted as an independent event, with no link to any other event. This applies to server-side events such as Shopify order webhooks; the JavaScript tracker always sends a session identifier.
**Session-marked hits** — a session identifier groups the hits of one visit (a two-hour inactivity window). The tracker computes it in the browser as a hash of standard device characteristics (a device fingerprint) combined with the publisher's account ID; it is never written to the device. On the server it is re-keyed with a daily salt that is destroyed on rotation, so the stored identifier changes every day, the raw hash is never stored, and a returning visitor cannot be recognised on another day. Because the account ID is part of the hash, the same browser produces different identifiers on different sites and no cross-site correlation is possible. This is what makes within-session metrics such as bounce rate and pages per session possible without a persistent identifier.
## Why this needs no consent
Nothing is stored on the visitor's terminal equipment, and no data that identifies anyone is kept: during the day the session identifier is pseudonymised data processed under legitimate interest ([GDPR Art. 6(1)(f)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)), and once the salt rotates it cannot be reconstructed, not even by Sealmetrics. Reports are always aggregated. The tracker does read standard browser properties to compute the session identifier, which engages the ePrivacy Directive's [Article 5(3)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058); see [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) for how the audience-measurement exemption criteria apply. Cookie-based tools face the opposite situation, which is why they typically lose a significant share of visitor data in EU markets when visitors decline, depending on sector, brand strength and traffic mix.
Sealmetrics holds no third-party security certification, and no supervisory authority certifies analytics tools — the [compliance pages](https://sealmetrics.com/docs/compliance.md) are self-assessments against published criteria.
## Where to read the detail
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the full concept, the GDPR and ePrivacy reasoning, the comparison with cookie-based tools, and what the model can and cannot measure
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — every field recorded, with its retention
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — EU hosting, complete retention schedule, encryption
- [How Attribution Works Without a User-ID](https://sealmetrics.com/docs/security-privacy/attribution-without-userid.md) — last-click attribution mechanics
- [Installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — adding the script tag and instrumenting conversions
- [Cookieless Tracking: Technical Deep Dive](https://sealmetrics.com/blog/cookieless-tracking-technical-deep-dive.md) — extended analysis of the architecture
## Privacy by Design Principles
URL: https://sealmetrics.com/docs/security-privacy/privacy-by-design/
How Sealmetrics maps to the seven Privacy by Design principles — with the concrete architectural choice behind each one.
Privacy by Design is the framework [GDPR Article 25](https://eur-lex.europa.eu/eli/reg/2016/679/oj) refers to as *data protection by design and by default*. Sealmetrics addresses it the blunt way: by keeping almost nothing — nothing stored on the device, no data that identifies anyone, and a session identifier that rotates daily and, once rotated, cannot be reconstructed, not even by Sealmetrics. The seven principles below map to specific architectural choices rather than to policies.
## How does Sealmetrics map to the seven principles?
| Principle | How it shows up in Sealmetrics |
| --- | --- |
| **1. Proactive, not reactive** | Privacy constraints are structural. The system cannot start identifying visitors later without a redesign, because there is no persistent identifier to switch on. |
| **2. Privacy as the default** | Non-identifying measurement from the first page load. Visitors do not opt in to anything, and there is no less-private mode to fall back to. |
| **3. Full functionality** | Traffic, attribution, conversions, revenue and aggregate engagement are all reported as aggregates, without identifying anyone. What is genuinely lost — unique visitors, session duration, cross-session journeys — is [documented rather than worked around](https://sealmetrics.com/docs/security-privacy/consentless-analytics/#what-consentless-analytics-can-and-cannot-measure). |
| **4. End-to-end security** | EU-only storage in Dublin, Ireland; encryption in transit and at rest; role-based access control; short retention enforced by database TTLs. See [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md). |
| **5. Visibility and transparency** | The complete field list and its retention is published in [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md). The tracker is client-side and inspectable. |
| **6. Respect for user privacy** | No cookies, no device storage, no stored or persistent fingerprint, no cross-day, cross-session or cross-site linking. The session identifier is a device-characteristics hash re-keyed on the server with a daily salt that is destroyed on rotation, and it incorporates the publisher account, so the same browser yields different identifiers on different sites. |
| **7. Accommodate all legitimate interests** | Site owners get the measurement they need for business decisions; visitors are not identified to provide it. |
## Is privacy by design a certification?
Two claims worth keeping straight, because vendor reviews turn on them: privacy by design is an architectural property, **not a certification**. Sealmetrics holds no ISO 27001 or SOC 2 certification, and no supervisory authority certifies analytics tools. The pages under [compliance](https://sealmetrics.com/docs/compliance.md) are our own self-assessments against published criteria, and a Data Processing Agreement is included at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md).
In short
- Sealmetrics addresses GDPR Article 25 (data protection by design and by default) by keeping only minimal, pseudonymised data that becomes unrecoverable daily, so each of the seven principles maps to an architectural choice.
- Non-identifying measurement is the default and only mode: no cookies, no device storage, no stored or persistent fingerprint, EU-only storage in Dublin with short retention enforced by TTLs.
- Privacy by design is an architectural property, not a certification — Sealmetrics holds no ISO 27001 or SOC 2 and no supervisory authority certifies analytics tools.
## Related documentation
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the field-by-field disclosure behind principle 5
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the model and why, on our assessment, no banner is needed
- [How Sealmetrics Protects User Privacy](https://sealmetrics.com/docs/security-privacy/how-we-protect-privacy.md) — the same protections in plain language
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — the security and retention detail behind principle 4
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — the regulatory analysis
## What We Track vs What We Don’t
URL: https://sealmetrics.com/docs/security-privacy/what-we-track/
Field-by-field list of what Sealmetrics records on every hit, how long each field is kept, and what it never collects.
Sealmetrics records a small set of **non-identifying variables** per page view ("hit") — timestamp, user agent (for device classification), current URL, referral URL, browser timezone (for the country), and a session identifier that is re-keyed every day — and never sets cookies. **No IP address, user ID, name or email is stored, and nothing stored can link the same device across days.** During the day the session identifier is pseudonymised data, processed under legitimate interest (GDPR Art. 6(1)(f)); once the daily salt rotates, not even Sealmetrics can reconstruct it, and reports are always aggregated. Nothing is stored on the visitor's device. This page is the authority on what is collected and for how long; for the concept and the legal reasoning, see [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md).
## What We DO Track
### What each hit carries
Each page view ("hit") carries the following data points. The tracker sends the URL, the referrer, the timestamp, the timezone and an ephemeral session identifier (computed in the browser from device properties it reads); the user agent arrives with the request itself, and is used in flight only. The server also sees the IP: it is checked in flight against a public list of automated-traffic IPs to filter bots, and is not stored. The timezone and the session identifier are what let Sealmetrics assign a country and tell a new entrance from a second pageview:
#### 1. Timestamp
- **Purpose:** time-based analysis and trend insights
- **Privacy:** cannot identify an individual
#### 2. User Agent
- **Purpose:** device classification (browser family, OS family, mobile/desktop/tablet)
- **What we keep:** only the derived categories (browser family, OS family, device type). The raw UA string is used in flight to derive them and to classify automated traffic, and is never written to analytics storage; the derived categories persist in aggregated reports for 24 months.
- **What we never do:** the UA is never linked to an individual, never joined with any personal identifier (we don't have one), and never used to reconstruct a user's history across sessions. It's a **category signal**, not an identifier.
#### 3. Current URL
- Page path
- Page popularity
- Aggregated content performance
#### 4. Referral URL
- Aggregated attribution
- Campaign performance
- Traffic source identification
#### 5. Browser timezone
- The IANA timezone reported by the browser (for example `Europe/Madrid`), used to assign the visit's country. See Geographic Data below.
#### 6. Session identifier
- **How it is computed:** the tracker computes, in the browser, a hash of standard device characteristics — user agent, timezone, languages, screen resolution, colour depth, dark-mode and reduced-motion preferences, CPU core count and device memory — combined with your site's account ID. That hash is a **device fingerprint**: stable for the same browser, and never written to the visitor's device (no cookie, no localStorage, no sessionStorage).
- **What happens on the server:** before anything is stored, the pixel service replaces it with `HMAC-SHA256(server key, hash + salt of the day)`. The salt rotates every day at 04:00 in your site's timezone and the previous salt is destroyed on rotation, so the stored identifier changes every day and **two days of the same device cannot be re-linked — not even by Sealmetrics**. The raw hash is never stored.
- **How long it lives:** the live session in the pixel service's memory expires after **2 hours** of inactivity (GA4-style); that window is what tells a second pageview from a new entrance, which bounce rate and engagement need. The daily pseudonym is also written to the per-hit log, which is purged after **1 day**. It cannot be used to recognise a returning visitor on another day.
- **Site-isolated by design:** the account ID is part of the hash, so the same browser yields different identifiers on different publishers' sites — no cross-site correlation is possible at the identifier level.
- **Why it needs no consent (our self-assessment):** the stored identifier changes every day and cannot be linked across days, so it does not enable tracking an individual over time, which is why analytics of this kind can operate without consent under the [CNIL's audience-measurement criteria](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications). Under the GDPR, the daily pseudonym is personal data while it can still be re-keyed ([Recital 26](https://eur-lex.europa.eu/eli/reg/2016/679/oj)); Sealmetrics processes it under legitimate interest (Art. 6(1)(f)) and it becomes unrecoverable when the salt rotates. Reports are aggregated.
## How long is each field kept?
Retention is **fixed and identical for every plan**, enforced by database TTLs. Nothing here is configurable per customer.
| What | Retention | Notes |
| --- | --- | --- |
| Per-hit log | **1 day** | One row per hit, then purged. Holds the daily session pseudonym, URL, referrer, timezone and UTMs. It contains neither the raw user agent string nor device categories |
| Live session (in memory) | 2 hours of inactivity | Used only to tell a second pageview from a new entrance |
| Hourly aggregates | 90 days | Hour-by-hour reporting |
| Daily aggregates, conversions and microconversions | 24 months | Include the *derived* device categories — browser family, OS family, device type — but no session identifier |
The distinction that matters for the user agent: **the raw UA string is never stored**. It is read while the hit is processed and discarded; what survives, for up to 24 months, is only the derived category (for example "Chrome / Windows / desktop") inside aggregate counts — never attached to anything that identifies a person.
Full operational retention (logs, backups, account closure) is documented in [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md).
## What This Allows Us to Measure
### 1. Page Analytics
- Pageviews (aggregated)
- Top pages
- Aggregated navigation patterns
### 2. Traffic Analytics
- Entrances (aggregated)
- Traffic volume trends
- Marketing channel performance
- Within-session engagement — bounce rate, engaged entrances, engagement rate, pages per session. These are computed inside a single session from the session identifier; they never require recognising a returning visitor. Session *duration* and unique visitors are not measured. See the [Metrics Reference](https://sealmetrics.com/docs/reports/definitions.md).
### 3. Engagement Behavior (Custom Events)
- Click events
- Scroll depth
- Form interactions
- Video plays
- Downloads
ALL aggregated — no user-level behavior.
### 4. Entry Points
- Entry pages (landing pages)
- Internal search (aggregated; via events)
Exit pages and individual navigation paths are **not** tracked — reconstructing either requires sequencing one visitor's pageviews, which needs a persistent identifier.
### 5. Campaign & Marketing Analytics
- UTM campaign tracking
- Referrer attribution
- Search traffic
- Social media traffic
- Revenue attribution (aggregated)
### 6. Conversion Tracking
- Goal completions
- eCommerce events
- Lead generation
- Micro-conversions
- Channel-level revenue attribution
### 7. Device Categories
- Browser category
- OS category
- Desktop / mobile / tablet
With the standard tracker, screen resolution and browser languages are read only as inputs to the session-identifier hash above; they are not stored and not reported. The one exception is the separate tracker used by Agent Analytics, which would also send screen and window size, pixel ratio and the number of browser languages as bot-detection signals — that feature is not live and cannot be enabled on any account.
### 8. Geographic Data
- **Country — primary source: browser timezone.** Every visit's country comes from [`Intl.DateTimeFormat().resolvedOptions().timeZone`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/resolvedOptions), mapped to the country most represented by that [IANA zone](https://www.iana.org/time-zones). No IP lookup involved.
- GeoIP country — **not collected**. A stateless GeoLite2 lookup was designed for the Agent Analytics bot detector, but that feature is **not live and cannot be enabled**, so no IP-based country lookup runs on any account.
- Region / City — **not collected**.
### 9. Automated-traffic detection signals — not collected
Not live
Agent Analytics, an automated-traffic detector that would classify traffic as human vs. automated, is **designed but not live, and cannot be enabled on any account**. **No account collects any of the signals below today.** They are listed so this page stays a complete statement of what could ever be collected.
If it ships, it would store aggregate, per-hit **environmental** and **behavioral** signals about the browser and the interaction pattern — not about the person. Examples: WebDriver flag, whether the WebGL renderer is `SwiftShader`, screen size buckets, aggregate mouse-movement linearity, click-timing variance. They would never be associated with an identifier, and the purpose would be filtering bot traffic out of reports. See [Bot Detection](https://sealmetrics.com/docs/security-privacy/bot-detection.md) for what actually runs today.
### 10. Business Intelligence Metrics
- Conversion rate
- Average order value
- ROAS
- Funnel performance
## What We DO NOT Track
### No Identifying Data Stored
- IP addresses (checked in flight against a public list of automated-traffic IPs to filter bots, never stored)
- User IDs
- Emails
- Phone numbers
- Names
- Persistent identifiers (the session identifier is re-keyed daily; no cross-day or cross-device linking)
### No Individual-Level Tracking
- User journeys across sessions
- Returning-visitor recognition
- Individual preferences
- Personal browsing behavior
- Any join between a hit and a person's identity
### No Cross-Site Tracking
- Third-party cookies
- Advertising identifiers
- Cross-domain identification
- Social media identifiers
### No Sensitive Personal Data
- Health
- Financial
- Political
- Religious
- Demographic profiling
### No Persistent Device Identifiers
- Persistent device IDs
- MAC addresses
- Stored device fingerprints (the in-browser hash is re-keyed daily on the server — see Session identifier)
- Advertising IDs
### Nothing stored on the device
- Cookies
- LocalStorage
- SessionStorage
The tracker does compute a device-characteristics hash in the browser (see Session identifier); it is sent with each hit, re-keyed daily on the server and never stored as sent. Hits are sent with `navigator.sendBeacon` (with a `fetch` fallback).
### No Private Communications or Content
- Email contents
- Chat messages
- Form personal data (only event counts)
- Uploaded files
- Social media posts
- Documents
## Why does this dataset need no consent?
- **GDPR** — European company, customer analytics data stored only in Dublin, Ireland. No data that identifies anyone is stored: the session identifier is pseudonymised data during the day, processed under legitimate interest (Art. 6(1)(f)), with the per-hit log purged after one day; it becomes unrecoverable when the daily salt rotates. No identifier is carried across days or sessions, and reports are aggregated.
- **ePrivacy Directive** — nothing is stored on the visitor's device (no cookies, no localStorage, no sessionStorage). The tracker does read standard browser properties to compute the session identifier described above; see [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) for how the exemption criteria apply.
- **CCPA / PECR** — nothing that identifies anyone is stored, and no user-level data is sold or shared.
Sealmetrics holds no third-party security certification (no ISO 27001, no SOC 2), and no supervisory authority certifies analytics tools. The pages under [compliance](https://sealmetrics.com/docs/compliance.md) are our own self-assessments against published criteria. A signed DPA is available at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md).
## How We Decide What to Track
Before tracking any metric, we evaluate:
- **Privacy Risk:** Could this identify someone?
- **Business Need:** Is this essential?
- **Legal Compliance:** GDPR, ePrivacy, CCPA, PECR
- **Future Proofing:** Will it remain compliant?
- **User Expectation:** Would users expect this?
Sealmetrics always chooses the **more restrictive option**.
## Summary
Web analytics that answers business questions does not require identifying anyone. From the fields above, Sealmetrics reports:
- every hit, with no loss from consent rejection
- channel and campaign attribution
- conversions, revenue and ROAS
- aggregate engagement and funnel performance
What it does not report is anything tied to an individual — that is the deliberate trade-off that removes the consent requirement.
## Related documentation
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — the concept and the reasoning in full
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — where the data lives and the complete retention schedule
- [How Attribution Works Without a User-ID](https://sealmetrics.com/docs/security-privacy/attribution-without-userid.md) — how these variables still produce attribution
- [How Sealmetrics determines the country without using IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md) — timezone-based geo without the IP address
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — why this minimal dataset needs no consent
- [Frequently Asked Questions](https://sealmetrics.com/docs/faq/privacy-security.md) — common questions about what is and isn't collected
- [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) — the criteria that make consent-free analytics lawful
## What Is This Domain in My Cookie Audit?
URL: https://sealmetrics.com/docs/security-privacy/third-party-analytics-domains/
A lookup table of the external domains analytics tools contact — Adobe, GA4, Mixpanel, PostHog, Piwik PRO and others. Which tool owns each one, and where it resolves.
You ran a cookie scan, a CMP audit or a privacy report, and it returned a list of domains your site contacts. Some are obvious. Others — `omtrdc.net`, `demdex.net`, `mxpnl.com` — give no clue who owns them or what they do.
This page maps them. Every entry comes from our own measurement: we installed each tool on the same page and recorded which external hosts it actually contacted, rather than trusting vendor documentation.
## 1. The lookup table
Sorted alphabetically by domain, which is how you will be reading it.
| Domain | Tool | What it does | Party | Resolves |
| --- | --- | --- | --- | --- |
| `api-js.mixpanel.com` | Mixpanel | Event ingestion | Third | US |
| `assets.adobedtm.com` | Adobe Launch | Tag manager delivery | Third | Akamai CDN |
| `cdn.mxpnl.com` | Mixpanel | Library delivery | Third | US |
| `cdn.usefathom.com` | Fathom Analytics | Script and collection | Third | — |
| `collect.yourdomain.com` | Sealmetrics | Collection, on your own subdomain | **First** | Your DNS |
| `d1.sc.omtrdc.net` | Adobe Analytics | Collection | Third | — |
| `.demdex.net` | Adobe Experience Cloud ID | Identity and ID sync | Third | AWS Dublin |
| `dpm.demdex.net` | Adobe Experience Cloud ID | ID sync endpoint | Third | AWS Dublin |
| `google-analytics.com` | GA4 | Collection | Third | EU CDN |
| `googletagmanager.com` | Google Tag Manager | Script delivery | Third | US |
| `gtm-msr.appspot.com` | Google Tag Manager | Preview and debug sandbox | Third | — |
| `plausible.io` | Plausible | Script and collection | Third | — |
| `queue.simpleanalyticscdn.com` | Simple Analytics | Collection queue | Third | — |
| `region1.google-analytics.com` | GA4 | Regional collection | Third | US |
| `sc.omtrdc.net` | Adobe Analytics | Collection | Third | — |
| `us-assets.i.posthog.com` | PostHog | Asset delivery | Third | US |
| `us.posthog.com` | PostHog | Collection | Third | US |
| `yourname.containers.piwik.pro` | Piwik PRO | Tag manager | Third | EU/US |
| `yourname.piwik.pro` | Piwik PRO | Collection | Third | EU/US |
The `yourname.` and `yourdomain.com` portions vary per account — the rest of the hostname is the identifying part.
## 2. How to read the "Party" column
**Third-party** means the domain is not yours. The browser treats cookies set there as third-party cookies, which Safari and Firefox block by default and Chrome restricts. It also means a DNS lookup and a connection to infrastructure you do not control, on every page load.
**First-party** means the request goes to a subdomain of your own site. Cookies set there survive browser restrictions, and there is no cross-origin request to justify in an assessment.
Two things this column does not tell you:
- **First-party does not mean "no consent needed."** ePrivacy Article 5(3) governs *storage on the device*, not who owns the domain. A first-party cookie still requires consent. What removes the requirement is storing nothing at all.
- **Some tools can be configured either way.** Adobe supports a CNAME implementation that moves the visitor ID to your own domain. Check your own setup rather than assuming the default.
## 3. What "Resolves" tells you, and what it does not
Where a hostname resolves is a useful fact and a weak argument.
It is useful because a domain resolving to US infrastructure means a cross-border transfer to document. It is weak because the reverse does not hold: `dpm.demdex.net` resolves to AWS Dublin, inside the EU, and that does **not** make the transfer question go away. Schrems II turns on legal access regimes — who can compel disclosure — rather than on where the packet lands.
So treat an EU result as one input to the assessment, not as the conclusion. And do not repeat the inverse shortcut that "a US company means the data leaves the EU"; on this evidence it is simply not true.
## 4. Checking your own site
The table tells you what a domain is. Only your own site tells you what it is doing.
1. Open your site in a private window, DevTools on the **Network** tab.
2. Reload and sort by domain. Compare what appears against the table above.
3. Note the **timestamp** of each collection request. That is when measurement starts; anything before it is unmeasured.
4. Reload with an **ad blocker** enabled. Anything that disappears is a domain your reports silently lose.
5. Reload with the consent banner **rejected**. Anything that still fires is a compliance finding rather than a data one.
Steps 4 and 5 are the ones worth recording. The first three describe your setup; the last two tell you whether it behaves the way you think it does.
## 5. Detail pages
Domains with enough going on to need their own page:
- [demdex.net cookies](https://sealmetrics.com/docs/security-privacy/demdex-net-cookies.md) — the Adobe identity layer: `demdex`, `dextp`, `dst`, and the first-party `AMCV_*` set
- [omtrdc.net requests](https://sealmetrics.com/docs/security-privacy/omtrdc-net-requests.md) — the Adobe collection endpoint: what the request is, when it fires, and why an image GET loses visits
- [gtm-msr.appspot.com and tag blocking](https://sealmetrics.com/docs/reports/insights/gtm-msr-appspot-and-tag-blocking.md) — Google Tag Manager's preview sandbox, and how to stop it firing your tags
## 6. Related documentation
- [Consentless Analytics](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — measuring without storing anything on the device, with an ephemeral session identifier that rotates daily
- [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the full list of what Sealmetrics collects
- [Adblocker Bypass](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) — why filter lists block collection endpoints
- [Data Location](https://sealmetrics.com/docs/security-privacy/data-location.md) — where Sealmetrics processes and stores data
## What Is demdex.net? The Adobe Cookies in Your Audit
URL: https://sealmetrics.com/docs/security-privacy/demdex-net-cookies/
demdex.net belongs to Adobe's Experience Cloud ID Service. What the demdex, dextp and dst cookies do, where the requests go, and how to classify them for consent.
If you have run a cookie audit, a CMP scan or a privacy report on your own site, `demdex.net` is one of the domains that turns up without an obvious owner. It is **Adobe**.
Specifically, it belongs to the **Adobe Experience Cloud ID Service (ECID)** — the component that assigns and syncs a visitor identifier across Adobe products. It appears whenever Adobe Analytics is installed, **even if you do not use Adobe Audience Manager**.
## 1. The cookies you will see
| Cookie | Domain | Type | What it does |
| --- | --- | --- | --- |
| `demdex` | `.demdex.net` | Third-party | Core ECID visitor identifier |
| `dextp` | `.demdex.net` | Third-party | Records the last time an ID sync ran with a given partner |
| `dst` | `.demdex.net` | Third-party | Signals an error state in the ID sync process |
| `AMCV_*` | Your domain | First-party | The Experience Cloud ID as stored on your own site |
| `AMCVS_*` | Your domain | First-party | Session flag for the ECID service |
| `s_vi` | Your domain | First-party | Adobe Analytics visitor ID |
| `s_fid` | Your domain | First-party | Fallback visitor ID, used when `s_vi` cannot be set |
| `s_cc` | Your domain | First-party | Checks whether cookies are enabled |
`dextp` and `dst` only appear once Audience Manager is in play. The `demdex` cookie itself is part of the base ECID infrastructure and shows up regardless.
## 2. Where the requests actually go
Adobe Analytics contacts **four** external domains on a standard install:
| Domain | Role |
| --- | --- |
| `assets.adobedtm.com` | Adobe tag manager (Akamai CDN) |
| `dpm.demdex.net` | ECID sync endpoint |
| `sc.omtrdc.net` | Analytics collection |
| `d1.sc.omtrdc.net` | Analytics collection |
One detail worth knowing before it appears in a vendor assessment: when we measured these endpoints, **`dpm.demdex.net` resolved to AWS Dublin** — inside the EU. The common shorthand that "Adobe is a US company, therefore the data leaves the EU" does not survive a DNS lookup.
That does not settle the transfer question. Schrems II turns on legal access regimes rather than server geography, so the assessment depends on Adobe's corporate structure and the safeguards in your contract, not on where the packet lands. It is a question for your counsel — but the geography argument is not the one to build it on.
## 3. What this means for consent
Under the ePrivacy Directive, Article 5(3), consent is required before **storing or accessing** information on a visitor's device. The rule applies to the act of storage, regardless of whether the stored value is personal data.
Every cookie in the table above is storage on the device. That means:
- They must fire **after** an affirmative consent signal, not before.
- Legitimate interest is not available here. ePrivacy does not offer the route GDPR does for some processing.
- Third-party cookies on `.demdex.net` will usually need their own entry in your CMP, since they are set on a domain you do not control.
A frequent audit finding is that the ECID call fires on page load while the CMP is still initialising. The result is a cookie set before consent — which is a finding, not a configuration preference.
## 4. Your numbers are probably already affected
Independent of consent, **Safari and Firefox block third-party cookies by default**. The `.demdex.net` cookies are third-party by definition, so ID syncing silently degrades for a large share of visitors before your banner is involved at all.
The visible symptom is usually attribution: returning visitors counted as new, and channel credit drifting toward direct. If your Adobe reports have stopped reconciling with revenue, this is one of the places to look.
## 5. How to check your own site
1. Open your site in a private window with DevTools on the **Network** tab.
2. Filter for `demdex`.
3. Reload, and watch **when** the call to `dpm.demdex.net` fires — specifically whether it happens before you interact with the consent banner.
4. Switch to **Application → Cookies** and check both your own domain and `.demdex.net` against the table in section 1.
5. Repeat with the banner **rejected**. Any cookie still present at that point is the finding worth writing down.
Step 5 is the one that matters. Steps 1 to 4 tell you what is installed; step 5 tells you whether your consent gate actually works.
## 6. Related documentation
- [Third-party domain lookup](https://sealmetrics.com/docs/security-privacy/third-party-analytics-domains.md) — the full table of external domains analytics tools contact, and which tool owns each
- [omtrdc.net requests](https://sealmetrics.com/docs/security-privacy/omtrdc-net-requests.md) — the Adobe collection endpoint, and why an image GET loses visits
- [Consentless Analytics](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — measuring without setting anything on the device, with an ephemeral session identifier that rotates daily
- [Why No Consent Is Needed](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — the reasoning in full
- [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the complete list of what Sealmetrics collects, for comparison
- [Adblocker Bypass](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) — why filter lists block collection endpoints, and what that costs
- [Bot Detection](https://sealmetrics.com/docs/security-privacy/bot-detection.md) — separating real visitors from automated traffic
## What Is omtrdc.net? Adobe's Collection Domain, Explained
URL: https://sealmetrics.com/docs/security-privacy/omtrdc-net-requests/
omtrdc.net is where Adobe Analytics sends every hit. What the requests are, when they fire, why an image GET loses data, and how to check your own site.
`omtrdc.net` turns up in network logs, cookie audits and CSP reports on any site running Adobe Analytics. It is **Adobe** — the name is a contraction of *Omniture Track Domain*, from the company Adobe acquired in 2009.
Unlike [`demdex.net`](https://sealmetrics.com/docs/security-privacy/demdex-net-cookies.md), which handles identity, `omtrdc.net` is the **collection endpoint**. Every pageview, event and conversion Adobe records leaves the browser as a request to this domain. If a request to `omtrdc.net` does not happen, that visit does not exist in Adobe Analytics.
That makes it the most useful domain on the list to understand, because it is where data is won or lost.
## 1. The hostnames you will see
| Hostname | Role |
| --- | --- |
| `sc.omtrdc.net` | Primary collection endpoint |
| `d1.sc.omtrdc.net` | Regional collection endpoint |
| `.sc.omtrdc.net` | Tenant-specific collection host |
The `` portion is your Adobe report suite's tracking namespace, so the exact hostname differs per account. All of them serve the same function.
For context, a standard Adobe Analytics install contacts **four** external domains:
| Domain | Role |
| --- | --- |
| `assets.adobedtm.com` | Adobe Launch tag manager (Akamai CDN) |
| `dpm.demdex.net` | Experience Cloud ID sync |
| `sc.omtrdc.net` | Analytics collection |
| `d1.sc.omtrdc.net` | Analytics collection |
## 2. What the request actually is
The hit to `omtrdc.net` is an **image GET** — historically a 1×1 pixel request with the measurement payload encoded in the URL.
This matters more than it sounds. An image GET is a normal browser resource request, which means it is **cancelled if the visitor leaves the page before it completes**. A visit that bounces, or a user who taps back quickly, can produce no hit at all.
The modern alternative is `navigator.sendBeacon()`, which hands the payload to the browser and survives page unload by design. Sealmetrics uses `sendBeacon`; Adobe's AppMeasurement uses the image GET.
## 3. When the hit fires
We measured this on a real European media site running both vendors side by side:
| Time | Event |
| --- | --- |
| ~1.5–1.6 s | Sealmetrics `t.js` loads (late — through the site's own tag chain) |
| **~1.8 s** | Sealmetrics pageview dispatched via `sendBeacon` — secured |
| **~3.0 s** | Adobe Analytics pageview fires — image GET to the collection domain |
Installed directly in the `` rather than through a tag chain, the Sealmetrics hit is secured at ~0.1–0.3 s.
**In fairness to Adobe:** part of that 3.0 seconds is this specific site's rule sequencing — identity and personalization calls are ordered before the analytics hit. That ordering is common, because ECID and Target are designed to run early, but a leaner Adobe install will fire sooner. The structural floor is what remains: roughly 730 KB of JavaScript to parse and a multi-stage chain to walk before any hit can leave the device.
Over a 30-day dual-tag run on that reference site, the gap came to **+25% pageviews** measured by Sealmetrics over Adobe — with Adobe firing without a consent gate at all.
Full methodology: [Adobe Analytics tracker performance](https://sealmetrics.com/docs/guides/tracker-performance-adobe-analytics.md).
## 4. The cookie question
The visitor identifier associated with collection is `s_vi`, with `s_fid` as the fallback when `s_vi` cannot be set.
Whether these appear as first-party or third-party cookies depends on your implementation:
- **Default setup** — the collection server sets the identifier on the Adobe domain, making it a third-party cookie, which Safari and Firefox block by default.
- **CNAME / first-party implementation** — collection is routed through a subdomain of your own site, so the cookie is first-party and survives browser restrictions.
If you are filling in a cookie register, this is the distinction to check before you classify the entry, because both configurations are common and the audit answer differs.
The identity cookies on `.demdex.net` are covered separately in [demdex.net cookies](https://sealmetrics.com/docs/security-privacy/demdex-net-cookies.md).
## 5. Why requests to omtrdc.net go missing
Three independent causes, all of which reduce what Adobe records:
1. **Privacy filter lists.** `omtrdc.net` appears on the common blocklists used by uBlock Origin, Brave and Firefox Enhanced Tracking Protection. The request never leaves.
2. **The transport.** An image GET cancelled on unload, as described in section 2.
3. **Consent.** Where the hit is gated behind a banner, rejection means no request at all.
These compound. A visitor can be lost to any one of them, and the three populations do not overlap neatly.
## 6. How to check your own site
1. Open your site in a private window with DevTools on the **Network** tab.
2. Filter for `omtrdc`.
3. Reload and note the **timestamp** of the first request — that is when your measurement actually starts. Everything before it is unmeasured.
4. Check the request **type**. If it is `img`, unload cancellation applies to you.
5. Now enable an ad blocker and reload. If the request disappears entirely, every visitor using that blocker is invisible in Adobe.
6. Finally, reload with the consent banner **rejected**. If a request still fires, that is a compliance finding rather than a data one.
Steps 3 and 5 are the ones worth writing down. Step 3 tells you how much of the visit you never see; step 5 tells you how many visitors you never see at all.
## 7. Related documentation
- [Third-party domain lookup](https://sealmetrics.com/docs/security-privacy/third-party-analytics-domains.md) — the full table of external domains analytics tools contact, and which tool owns each
- [demdex.net cookies](https://sealmetrics.com/docs/security-privacy/demdex-net-cookies.md) — the identity side of the same stack
- [Adobe Analytics tracker performance](https://sealmetrics.com/docs/guides/tracker-performance-adobe-analytics.md) — full methodology behind the timings above
- [Adblocker Bypass](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) — why filter lists block collection endpoints and what it costs
- [Consentless Analytics](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — collecting without a banner (our self-assessment), so rejection is not a data-loss path
- [Bot Detection](https://sealmetrics.com/docs/security-privacy/bot-detection.md) — separating real visitors from automated traffic
## Content Security Policy (CSP) for the Sealmetrics tracker
URL: https://sealmetrics.com/docs/security-privacy/content-security-policy/
How to allow the Sealmetrics tracker in a Content Security Policy: script-src and connect-src for t.sealmetrics.com, inline snippets with a nonce, first-party hosts, and what a CSP does and does not protect.
A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP) tells the browser which hosts your pages may load scripts from and send data to. If your site uses one, this page lists exactly what Sealmetrics needs. Nothing else has to be allowed.
If the tracker is already being blocked and you are looking for the console errors, see [Tracker blocked by CSP](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md).
## Minimum policy
The tracker needs two directives, both pointing to the host that serves `t.js`:
```http
Content-Security-Policy: script-src 'self' https://t.sealmetrics.com; connect-src 'self' https://t.sealmetrics.com
```
| Directive | Why Sealmetrics needs it |
| --- | --- |
| `script-src https://t.sealmetrics.com` | Loads the tracker (`/t.js`) and, on Shopify, the loader (`/shopify-loader.js`). |
| `connect-src https://t.sealmetrics.com` | Sends pageviews, conversions and microconversions to `/event` with `sendBeacon` or `fetch` (and, when Agent Analytics is enabled, signals to `/agent-signals` on the same host). |
The tracker sets no cookies, opens no iframes, and loads no images, fonts or other scripts, so no other directive needs a Sealmetrics entry.
If you already have a policy, add the Sealmetrics host to your existing `script-src` and `connect-src` lists. Do not send a second `Content-Security-Policy` header: the browser enforces both, and a script must pass both to run.
## Use the host you load the tracker from
Allow the host that appears in your snippet's `src`. Events are always sent to the same host that served `t.js`, so `script-src` and `connect-src` take the same host.
- **Standard install**: `https://t.sealmetrics.com`.
- **[First-party tracker](https://sealmetrics.com/docs/implementation/tracker/first-party.md) on your own subdomain** (for example `metrics.yourstore.com`): allow that subdomain. `'self'` only matches the exact origin of the page, so a subdomain must be listed explicitly.
- **CMS plugin with the first-party proxy** (WordPress, WooCommerce, PrestaShop, Magento 2, OpenCart, Joomla and Drupal): `t.js` and the events go through a path on your own site, so `'self'` covers them. Keep `https://t.sealmetrics.com` in both directives anyway: if the proxy cannot be reached, the plugin falls back to loading the tracker directly from it.
## Inline snippets need a nonce or hash
If your policy does not allow `'unsafe-inline'`, any inline `
```
The basic install, a single `` tag with no inline code, needs no nonce.
## Google Tag Manager
If you load Sealmetrics through GTM, your policy must allow GTM itself, following [Google's CSP guide for Tag Manager](https://developers.google.com/tag-platform/security/guides/csp), in addition to the Sealmetrics host above. Custom HTML tags injected by GTM are inline scripts, so they need GTM's nonce-aware setup.
## Shopify
- **Public app (theme app embed)**: the loader and the tracker come from `https://t.sealmetrics.com`. Allow it in `script-src` and `connect-src` if your theme sets a CSP. Most Shopify themes do not set one. The same applies to custom-app stores connected before October 2026, which load the same loader through a ScriptTag.
- **Custom app (Web Pixel)**: Shopify runs the pixel in its own sandbox, so your storefront CSP does not govern it.
See [Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md) for which install your store uses.
## Why there is no Subresource Integrity (SRI) hash
SRI (`integrity="sha384-…"`) only works for a file that is byte-identical on every request. Each `t.js` response embeds a short-lived signed token that protects your data from spam and fake events. A new token is generated for each request, so the file's hash changes and an `integrity` attribute would block it.
The integrity of the tracker is protected on our side instead:
- `t.js` is compiled into our server software. Per site, only your account ID, the token and your snippet options are filled in. There is no per-site custom JavaScript stored anywhere, so a compromised dashboard account cannot change the code served on your site.
- The minified tracker is built from its readable source in our repository, and our CI fails if the code the server ships differs from a fresh build of that source by a single byte. The served code cannot be changed without changing the source.
## What a CSP does and does not protect
A CSP is defence in depth, and it is worth having:
- **It does** stop other scripts on your pages, including a compromised third-party tag, from loading code or sending data to hosts you did not list.
- **It does** make our privacy promise verifiable: the browser itself enforces that Sealmetrics can only send data to the host you allowed.
- **It does not** protect against a compromised `t.js`, because the policy allows that file. That risk is covered by the controls described above.
## Check your policy
1. Open your site with the browser developer tools (Console tab).
2. Look for `Refused to load the script` or `Refused to connect` messages that mention the Sealmetrics host.
3. In the Network tab, filter by `event` and check that requests to `/event` return `204`.
To test a policy without breaking anything, send it first as `Content-Security-Policy-Report-Only`. The browser reports violations but blocks nothing.
## Related
- [Tracker blocked by CSP](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md) — symptoms and fixes when the policy is already blocking the tracker
- [First-Party Tracker](https://sealmetrics.com/docs/implementation/tracker/first-party.md) — serving the tracker from your own subdomain
- [How Sealmetrics Reduces AdBlocker Data Loss](https://sealmetrics.com/docs/security-privacy/adblocker-bypass.md) — why first-party delivery matters
---
# Compliance
## Legal & Compliance
URL: https://sealmetrics.com/docs/compliance/
Nothing stored on the device, no data that identifies anyone, a session identifier that rotates daily. Self-assessments against CNIL, UK PECR, TDDDG, Garante and FADP criteria, plus the DPA.
We store nothing on the device and no data that identifies anyone. The session identifier is ephemeral: it rotates daily and, once rotated, not even we can reconstruct it. Reports are always aggregated. On that basis Sealmetrics self-assesses against the ePrivacy audience-measurement exemption, and processes the pseudonymised session data under legitimate interest (GDPR Art. 6(1)(f)). This section collects the self-assessments against CNIL, UK PECR, German TDDDG, Italian Garante and Swiss FADP criteria, plus the DPA, subprocessor and data subject rights documentation used in vendor reviews.
Understanding the legal framework behind consentless analytics is essential for making informed decisions about your analytics stack. We explain the regulatory foundations, why a pseudonymous identifier that becomes unrecoverable every day keeps the GDPR footprint minimal ([Recital 26](https://eur-lex.europa.eu/eli/reg/2016/679/oj)), and how the architecture maps onto the audience-measurement criteria published by authorities such as the [CNIL](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications) — so you can assess whether your own analytics can run without a cookie banner or a consent management platform (our self-assessment says yes for Sealmetrics; in Germany it is an open question).
## Which compliance documents are available?
### Core Compliance Guides
- [Compliance Overview](https://sealmetrics.com/docs/compliance/compliance-overview.md) - How Sealmetrics is designed to comply with privacy regulations (self-assessed, not certified)
- [**CNIL Self-Assessment**](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) - Self-assessment against CNIL's 14 criteria for consent exemption
- [**UK PECR Self-Assessment**](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md) - Self-assessment against the UK PECR statistical-purposes exemption added by the DUAA 2025
- [**Germany TDDDG Self-Assessment**](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md) - Auto-evaluation against §25 TDDDG (formerly TTDSG): no cookies, nothing stored on the device; whether a banner is needed in Germany is our reading, an open question
- [**Italy Garante Self-Assessment**](https://sealmetrics.com/docs/compliance/italy-garante-self-assessment.md) - Auto-evaluation against the Garante's cookie guidelines and analytics decisions
- [**Switzerland FADP Self-Assessment**](https://sealmetrics.com/docs/compliance/switzerland-fadp-self-assessment.md) - Auto-evaluation against the revised Swiss FADP (nFADP): no data that identifies anyone, no non-adequate transfers
- [GDPR and ePrivacy](https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy.md) - Detailed analysis of EU privacy laws and session-based tracking requirements
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) - The regulatory analysis behind cookieless measurement, and the legal-basis options open to site owners
- [Analytics Cookies: Consent Exemption](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) - AEPD and EU DPA requirements for analytics without consent
### Data Processing Transparency
- [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) - Who touches what data, and where: analytics data is hosted and processed only in the EU (Dublin)
- [Data Subject Rights (DSAR)](https://sealmetrics.com/docs/compliance/data-subject-rights.md) - How visitor and account-holder rights requests work with identifier-free analytics
### EU Digital Omnibus Regulation
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete guide to the Digital Omnibus (COM(2025) 837)
- [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Articles 88a/88b and the end of cookie banner fatigue
- [Impact on Web Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - How the Omnibus affects analytics providers and tracking
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - Personal data definition, AI processing, breach notifications
- [View All Omnibus Documentation →](https://sealmetrics.com/docs/compliance/omnibus.md)
In short
- Nothing is stored on the device and no data that identifies anyone; the session identifier rotates daily and, once rotated, not even Sealmetrics can reconstruct it. Reports are always aggregated, and measurement runs without a cookie banner on Sealmetrics' self-assessment (in Germany, an open question).
- Five self-assessments are published: CNIL (14 criteria), UK PECR under DUAA 2025, Germany §25 TDDDG, Italy Garante, and Switzerland nFADP — none is a supervisory-authority certification.
- Vendor-review material includes the subprocessor list, data subject rights (DSAR) handling and the EU Digital Omnibus (COM(2025) 837) analysis.
## Analytics Cookies: Consent Exemption Requirements
URL: https://sealmetrics.com/docs/compliance/analytics-cookies-exemption/
When analytics cookies are exempt from consent under AEPD and CNIL criteria: user notification, 13-month cookies, 24-month retention, own purposes only.
*Reviewed: 27 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* Analytics cookies can be exempt from consent requirements under specific conditions defined by EU data protection authorities, including Spain's AEPD (Agencia Española de Protección de Datos). This guide explains when analytics tools can operate without cookie banners and what requirements must be met.
Important Notice
Any statement here about how Sealmetrics meets a criterion is a **self-assessment**, not a certification. No supervisory authority certifies or validates analytics tools, and Sealmetrics holds no third-party security certification (no ISO 27001, no SOC 2). This page is general regulatory analysis, not legal advice.
## Legal Framework
### ePrivacy Directive Article 5(3)
**Current rule** (until EU Digital Omnibus takes effect):
Storage of information or accessing information stored in terminal equipment requires **consent**, except when:
> "The sole purpose is to carry out the transmission of a communication over an electronic communications network, or as strictly necessary in order for the provider of an information society service explicitly requested by the subscriber or user to provide the service."
**Key question**: Do analytics cookies qualify as "strictly necessary" for the service explicitly requested?
### Evolving Interpretation
Data protection authorities across the EU have developed guidance on when analytics qualifies for exemption. The most detailed frameworks come from:
- **CNIL** (France) - First to publish analytics exemption criteria (2020, updated 2024)
- **AEPD** (Spain) - Adopted similar framework (2024)
- **ICO** (UK) - Post-Brexit guidance on analytics cookies
- **EDPB** - European-level guidance on cookies and similar technologies
## AEPD Requirements (Spain)
### Compliance Deadline
**January 11, 2024**: Organizations using analytics cookies must comply with AEPD requirements or obtain consent.
### Three Core Requirements for Exemption
To qualify for consent exemption, **all three** conditions must be met:
#### 1. User Notification
**Requirement**: Inform users of analytics cookie use through privacy policy
**Implementation**:
- Clear statement in privacy policy
- Description of analytics purposes
- What data is collected
- Retention periods
- Rights of data subjects
**Not required**:
- Cookie banner for exempt analytics
- Active user consent
- Granular cookie preferences (for exempt cookies only)
#### 2. Cookie Lifespan Limitation
**Requirement**: Limit cookies' lifespan to **13 months** maximum
**Key details**:
- No automatic renewal on new visits
- Cookie expires after 13 months from placement
- If user returns after expiration, new consent would be required (if cookie were subject to consent)
- For exempt analytics, new cookie can be placed after expiration
**Technical implementation**:
```javascript
// Example: Setting 13-month expiry
const expires = new Date();
expires.setMonth(expires.getMonth() + 13);
document.cookie = `analytics_id=value; expires=${expires.toUTCString()}; path=/`;
```
#### 3. Data Retention Cap
**Requirement**: Ensure data retention does not exceed **24 months**
**What this means**:
- Raw analytics data must be deleted or anonymized after 24 months
- Aggregated reports can be retained indefinitely (non-identifying)
- Applies to data collected via cookies, not just cookies themselves
**Example timeline**:
- Month 0: Cookie placed
- Month 13: Cookie expires (can be renewed on next visit)
- Month 25: All raw data from original cookie must be deleted
### Permitted Analytics Activities
The AEPD identifies specific measurements that may qualify for exemption:
#### Traffic and Performance Statistics
**Permitted**:
- Total page views
- Unique visitors (counted, not tracked cross-session)
- Pages visited
- Referrer information (where visitor came from)
- Entry and exit pages
- Bounce rate (aggregated)
- Time on page (aggregated)
- Device type, browser, screen size
- Geographic location (country/region level)
- Page load time statistics
- Scroll depth (aggregated)
- User actions: clicks, selections (aggregated)
**Key principle**: Statistics for **publisher's own use** to understand and improve their website.
### Prohibited Uses (Require Consent)
**Not exempt**:
- Cross-site tracking
- User profiling for advertising
- Sharing analytics data with third parties for their purposes
- Retargeting or remarketing
- Behavioral advertising
- Matching analytics data with other datasets for non-analytics purposes
- Tracking users across multiple websites or apps
- Building individual user profiles over time
### Third-Party Analytics Service Requirements
When using external analytics providers (e.g., Google Analytics, Matomo hosted service), additional guarantees required:
#### 1. Documented Tool Configuration Evaluation
**Requirement**: Written assessment demonstrating analytics tool is configured for exemption compliance
**Must document**:
- Which features are enabled/disabled
- Data sharing settings
- IP anonymization implementation
- Cross-site tracking disabled
- Advertising features disabled
- Data retention settings
#### 2. Contractual Commitment Not to Reuse Data
**Requirement**: Contract with analytics provider must prohibit using data for provider's own purposes
**Data Processing Agreement must include**:
- Provider acts as processor only (GDPR Article 28)
- Data used solely for providing analytics service to controller
- No independent use of data by provider
- No sharing with other clients or third parties
- No use for improving provider's own products
#### 3. GDPR Compliance for Data Transfers
**Requirement**: If data transferred outside EU, must comply with GDPR Chapter V
**Mechanisms**:
- Standard Contractual Clauses (SCCs)
- Adequacy decision (if available)
- Additional safeguards per Schrems II
**Practical impact**: Google Analytics transfers to US have been problematic; providers keeping data in EU are safer.
## Comparison with CNIL (France)
### CNIL Exemption Criteria
The French DPA (CNIL) developed similar framework:
**No approved tools.** The CNIL does not approve or certify analytics tools. It used to publish a list of audience-measurement solutions whose vendors stated they could be configured for the exemption; that list was never an approval. In July 2025 it replaced the list with a [self-assessment tool](https://www.cnil.fr/sites/default/files/2025-07/outil_d_auto-evaluation_mesure_d_audience.pdf), so with both the CNIL and the AEPD, the site and its vendor assess the criteria themselves. See the [CNIL self-assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md).
### CNIL vs. AEPD Requirements
| Aspect | CNIL | AEPD |
| --- | --- | --- |
| **Cookie lifespan** | 13 months | 13 months |
| **Data retention** | 25 months | 24 months |
| **IP anonymization** | Required (at collection) | Implied by data minimization |
| **Cross-site tracking** | Prohibited | Prohibited |
| **Own purposes only** | Required | Required |
| **Third-party guarantees** | Required | Required |
| **Approved vendor list** | No (self-assessment tool since July 2025) | No |
**Convergence**: Both authorities follow similar principles; organizations compliant with CNIL likely compliant with AEPD.
## Can Google Analytics be exempt from consent?
### Google Analytics 4 (GA4)
**Can GA4 be exempt from consent?**
**Likely NO** under AEPD/CNIL frameworks without significant configuration changes:
**Problems with default GA4**:
1. **Data sharing with Google**: Data used by Google for its own purposes (improving products, advertising)
2. **Cross-property tracking**: Tracks users across sites using same GA4 property
3. **Google Signals**: Links analytics to Google account data (advertising integration)
4. **US data transfers**: Data transferred to US (Schrems II concerns)
5. **No full IP anonymization at collection**: IP addresses processed before anonymization
**Could GA4 ever be exempt?**
**Theoretically yes, if**:
- Disable all data sharing with Google
- Disable Google Signals
- Disable all advertising features
- Implement strict IP anonymization
- Ensure data stays in EU
- Obtain contractual commitment from Google not to reuse data
**Practically**: Very difficult; Google's business model conflicts with exemption requirements.
**AEPD position**: No explicit statement, but exemption requirements effectively exclude default GA4.
### Universal Analytics (Deprecated)
**Status**: Sunset July 1, 2023
**Historical note**: Even with IP anonymization, Universal Analytics faced similar challenges for consent exemption.
## Compliant Analytics Solutions
### Characteristics of Exempt Analytics
**Requirements for consent exemption**:
- **First-party only**: Data collected directly by website owner
- **No cross-site tracking**: Data not matched across domains
- **No user profiling**: No individual behavioral analysis over time
- **No data sharing**: Data not shared with third parties for their purposes
- **Aggregated measurement**: Statistics, not individual tracking
- **Own purposes**: Used solely by website owner to understand their site
- **13-month cookies**: Cookie lifespan limited
- **24-month retention**: Raw data deleted after 24 months
- **IP anonymization**: IP addresses not stored or processed beyond necessary
### Examples of Compliant Approaches
#### Self-Hosted Matomo (Exempt Configuration)
**Why compliant**:
- Self-hosted (full data control)
- IP anonymization at collection
- No cross-site tracking
- No data sharing
- First-party cookies only
**Required configuration**:
- Enable IP anonymization (at least last 2 octets)
- Disable user tracking across sites
- Set cookie lifetime to 13 months
- Set data retention to 24 months
- No third-party integrations
#### Sealmetrics
**Why compliant**:
- Cookieless by design (no cookie lifespan issue)
- Nothing stored on the device; the session identifier is computed in the browser from device characteristics and re-keyed on the server with a daily salt that is then destroyed, so it cannot be linked across days or across sites. Reading those browser properties is itself "access" under Article 5(3), which is why the exemption criteria below matter
- First-party data only
- No cross-site tracking
- No individual user profiling
- Aggregated measurement
- Data not shared with third parties
- Used solely for client's own analytics
**Alignment with AEPD**:
- Meets the AEPD exemption criteria on our own assessment
- No cookie banner required for Sealmetrics' own analytics in Spain (our self-assessment; in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
- Expected to fall within Digital Omnibus Article 88a(3)(c) once it takes effect (the text is not yet in force)
#### Server-Side Analytics
**Why compliant** (if properly configured):
- No client-side cookies needed
- Full control over data processing
- IP anonymization at collection
- No third-party dependencies
**Requirements**:
- Implement IP anonymization in server logs
- Do not track individuals over time
- Aggregate data for statistical purposes only
- 24-month data retention limit
## Practical Implementation Guide
### Step 1: Assess Current Analytics
**Questions to ask**:
1. **What analytics tools are we using?** Google Analytics? Matomo? Custom solution? Sealmetrics?
2. **How is data being used?** Only for our own traffic insights?
3. Shared with advertising platforms?
4. Used for user profiling?
5. **Where is data stored?** EU? US? Elsewhere?
6. Do we control the infrastructure?
7. **What cookies are set?** Lifespan? Purpose? First-party or third-party?
8. **Is data shared with third parties?** Analytics provider's use of data?
9. Integration with ad networks?
### Step 2: Determine Exemption Eligibility
**Checklist for exemption**:
- Analytics used only for own purposes (understanding our website)
- No cross-site tracking
- No individual user profiling for advertising
- First-party cookies only (if cookies used)
- Cookie lifespan ≤ 13 months
- Data retention ≤ 24 months
- IP addresses anonymized
- No data sharing with third parties for their purposes
- If using third-party service: DPA prohibiting data reuse
- Users informed via privacy policy
**If all checked**: Exemption likely applies (no consent banner needed)
**If any unchecked**: Consent required
### Step 3: Configure Analytics for Compliance
**If using Google Analytics**:
- Consider switching to exempt-eligible alternative
- If keeping GA4: Expect to need consent banner
**If using Matomo**:
- Self-host if possible
- Enable IP anonymization (2 bytes minimum)
- Disable user ID tracking across visits
- Set 13-month cookie, 24-month retention
- Document configuration
**If using Sealmetrics**:
- The default configuration already meets these criteria
- Update privacy policy to mention analytics
- No further configuration needed on your side
### Step 4: Update Privacy Policy
**Required disclosures**:
```markdown
## Analytics
We use [analytics tool name] to understand how visitors use our website. This helps us improve content and user experience.
**Data collected**:
- Pages visited
- Referrer information
- Device type and browser
- Country (with Sealmetrics: from the browser's time zone, not the IP address)
- [other specific metrics your tool collects; Sealmetrics does not measure time on page]
**Purpose**: Website performance analysis and improvement
**Legal basis**: Legitimate interest (GDPR Article 6(1)(f)) in understanding how our website is used. We store nothing on your device and no data that identifies you: no IP address is stored, and the only identifier is a pseudonymised session identifier that rotates daily and, once rotated, cannot be reconstructed — not even by our provider — so it cannot be linked across days or across sites. Reports are always aggregated. *[Keep a short legitimate interest assessment on file. If your tool stores other personal data, e.g. a hashed IP, list it here too.]*
**Data retention**: Per-hit data 1 day; aggregated reports [period] *[Sealmetrics: per-hit log purged after 1 day. For other tools, state their retention, 24 months maximum.]*
**Your rights**: You can access, rectify, erase, restrict and object to the processing of your personal data. Because the session identifier rotates daily and cannot be reconstructed, in practice we cannot match a request to our analytics records (GDPR Article 11); to object going forward, contact [email] and we will stop measuring your visits *[or: use the opt-out described here]*. You keep every GDPR right over any other personal data we process.
**Analytics provider**: [If third-party] [Provider name] acts as our data processor and does not use data for their own purposes.
```
### Step 5: Document Compliance
**Maintain records**:
- Configuration settings of analytics tools
- Data Processing Agreement with provider (if applicable)
- Assessment of exemption criteria
- Privacy policy version showing analytics disclosure
- Data retention and deletion procedures
**For audits/complaints**: Be ready to demonstrate:
- Analytics is for own purposes only
- No data sharing beyond necessary processing
- Technical measures (IP anonymization, retention limits)
- User information provided
## Enforcement and Risks
### AEPD Enforcement
**Compliance checks**:
- AEPD can audit analytics implementations
- Requests for configuration documentation
- Assessment of cookie practices
**Penalties for non-compliance**:
- GDPR fines (up to €20M or 4% global revenue)
- Requirement to implement cookie consent banner
- Data deletion orders
**Risk areas**:
- Google Analytics without consent
- Exceeding 24-month retention
- Cross-site tracking without consent
- False claims of exemption
### User Complaints
**Users can file complaints** with AEPD if:
- Analytics cookies placed without consent when required
- Privacy policy inadequate
- Data retention excessive
- Rights not respected
**Best practice**: Be conservative in exemption assessment; when in doubt, obtain consent.
## Timeline: Current Rules vs. Digital Omnibus
### Current (2024)
**Legal basis**: ePrivacy Directive Article 5(3) + AEPD interpretation
**Exemption criteria**: Narrowly interpreted ("strictly necessary" + AEPD requirements)
**Compliance**: Many analytics implementations require consent
### Future (2027-2028, estimated)
**Legal basis**: GDPR Article 88a(3)(c) (Digital Omnibus)
**Exemption criteria**: Explicitly recognized for "aggregated audience measurement for own use"
**Impact**: Broader exemption, clearer legal certainty, more analytics implementations without consent
The proposed Article 88a framework is analysed in [EU Digital Omnibus - Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md).
### Continuity
Organizations complying with AEPD requirements today will be well-positioned for Digital Omnibus:
**AEPD requirements** (2024):
- Own purposes only
- No cross-site tracking
- No data sharing
- IP anonymization
- Retention limits
**Article 88a(3)(c)** (future):
- Own use only
- Aggregated measurement
- By controller
**Alignment**: AEPD-compliant analytics likely exempt under Digital Omnibus too.
## Related Resources
- [EU Digital Omnibus - Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Future framework for analytics exemption
- [EU Digital Omnibus - Impact on Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - How Omnibus affects analytics industry
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) - GDPR compliance without cookies
- [Does Sealmetrics comply with CNIL guidelines?](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) - CNIL consent-exemption criteria in practice
- [CNIL Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) - Point-by-point evaluation against the exemption criteria
- [UK PECR Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md) - The equivalent UK analytics exemption under DUAA 2025
## Sources and Further Reading
**AEPD (Spain)**:
- [AEPD Cookie Guidelines](https://www.aepd.es) (Spanish)
- [AEPD Public Administration Web Analytics Guide](https://www.aepd.es/guides/guidelines-cookies-web-analytics-public-administration-websites.pdf)
**CNIL (France)**:
- [CNIL Analytics Exemption Criteria](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience) (French)
- [CNIL List of Compliant Tools](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications)
**EDPB**:
- [EDPB Guidelines 05/2020 on Consent](https://edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-052020-consent-under-regulation-2016679_en)
**Industry Analysis**:
- [Didomi: Analytics Cookies in Spain](https://www.didomi.io/blog/analytics-cookies-consent-spain-update-aepd)
- [Data Guidance: AEPD Cookie Guide](https://www.dataguidance.com/news/spain-aepd-releases-updated-cookie-guide-line-edpbs-0)
## Key Takeaways
1. **Analytics CAN be exempt from consent** under specific AEPD criteria
2. **Three requirements**: User notification, 13-month cookies, 24-month retention
3. **Own purposes only**: No data sharing, cross-site tracking, or advertising use
4. **Third-party analytics**: Require contractual guarantees against data reuse
5. **Google Analytics**: Difficult to qualify for exemption in default configuration
6. **Alternatives built for the exemption**: cookieless, first-party analytics designed for these criteria (Sealmetrics, on its own self-assessment) or server-side analytics
7. **Privacy policy disclosure**: Required even for exempt analytics
8. **Digital Omnibus alignment**: AEPD-compliant analytics likely exempt under future EU framework
9. **Conservative approach recommended**: When uncertain, obtain consent
10. **Document compliance**: Maintain records of configuration and assessment
Analytics without consent is legally possible—but only when genuinely used for website improvement, not tracking, profiling, or monetization. The AEPD framework provides a clear path for privacy-respecting measurement that aligns with the upcoming Digital Omnibus regulation.
## CNIL Self-Assessment: Sealmetrics Compliance
URL: https://sealmetrics.com/docs/compliance/cnil-self-assessment/
CNIL self-assessment for Sealmetrics analytics - how it maps to the French consent exemption requirements. Self-assessed, not certified.
*Reviewed: 12 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* Sealmetrics is self-assessed as meeting all 5 permitted objectives and all 14 technical criteria of the [CNIL's auto-evaluation framework](https://www.cnil.fr/sites/default/files/2025-07/outil_d_auto-evaluation_mesure_d_audience.pdf) (July 2025) for consent-exempt audience measurement: no cookies, no stored IP address, country-level geolocation only, 24-month retention and per-publisher isolation. This document walks through each objective and criterion with the evidence and configuration behind it.
Important Notice
This self-assessment follows CNIL guidelines but **does not constitute CNIL certification**. Per CNIL guidance, providers cannot claim to be "certified" or "validated" by CNIL. This document demonstrates how Sealmetrics meets the published exemption criteria when properly configured.
## Does Sealmetrics meet the CNIL exemption criteria?
| Category | Status |
| --- | --- |
| **5 Permitted Objectives** | All compliant |
| **14 Technical Criteria** | All compliant |
| **Consent Exemption Eligible** | Yes |
| **Last Assessment Date** | February 2026 |
## Part 1: Permitted Objectives
CNIL allows consent exemption **only** when analytics are used for these 5 specific purposes:
### Objective 1: Performance Measurement
**Requirement:** Measure website/application performance metrics.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Traffic and conversion performance | Yes — page views, entrances and conversions, in aggregate |
| Page load times or error rates | Not measured — the tracker collects no timings and no errors |
| Limited to performance data | Yes - no behavioral profiling |
**Evidence:** Sealmetrics measures site performance through aggregate traffic and conversion metrics only. It does not collect load timings or technical errors.
### Objective 2: Navigation Problem Detection
**Requirement:** Identify navigation issues affecting user experience.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Detects 404 errors | Yes — error pages appear in the Pages report when they load the pixel |
| Identifies drop-off between funnel steps | Yes — aggregate, via the Funnel report |
| Tracks individual user flows or exit pages | No — would require per-visitor page sequencing |
**Evidence:** The Funnel report shows aggregate drop-off between defined steps, and the Pages report surfaces underperforming or erroring URLs. Sealmetrics does **not** reconstruct individual navigation paths or exit pages, because both require following one visitor across page loads — precisely the processing this exemption depends on avoiding.
### Objective 3: Technical & Ergonomic Optimization
**Requirement:** Optimize technical performance and user experience.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Device/browser analysis | Yes — browser family, OS family, device type |
| Screen resolution data | Not reported — read only as an input to the session-identifier hash, never stored |
| Used only for optimization | Yes - not for targeting |
**Evidence:** Device reports provide aggregated, non-identifying data for UX optimization only.
### Objective 4: Server Capacity Estimation
**Requirement:** Estimate necessary server infrastructure.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Traffic volume metrics | Yes |
| Peak usage identification | Yes |
| Real-time visitor counts | No — the Overview shows the time of the last hit received, not a count of active visitors |
**Evidence:** Traffic reports by day and by hour enable infrastructure planning.
### Objective 5: Content Analysis
**Requirement:** Analyze which content is consulted by visitors.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Page view tracking | Yes |
| Content grouping | Yes |
| Aggregated statistics only | Yes |
**Evidence:** Pages report shows aggregated content performance without individual user tracking.
## Part 2: Technical Criteria (14 Points)
### Criterion 1: Purpose Limitation
**Requirement:** Tool must be used exclusively for audience measurement for the publisher's own account.
| Aspect | Compliance |
| --- | --- |
| Single-purpose tool | Sealmetrics is exclusively for analytics |
| Publisher's own account | Each client has isolated account |
| No secondary uses | No advertising, profiling, or resale |
**Configuration:** Default configuration. No additional setup required.
### Criterion 2: Anonymous Statistical Output
**Requirement:** Must produce only anonymous statistical data.
| Aspect | Compliance |
| --- | --- |
| Aggregated reports | All reports show aggregated data |
| No individual user data export | Cannot export individual sessions |
| Statistical anonymization | Data aggregated before display |
**Configuration:** Built into platform architecture. Cannot be disabled.
### Criterion 3: No Cross-Site Tracking
**Requirement:** Cannot track users across different websites or applications.
| Aspect | Compliance |
| --- | --- |
| First-party only | No third-party cookies (no cookies at all) |
| Site-isolated identifiers | Session identifiers incorporate the publisher account into their derivation, so the same browser yields different identifiers on different publishers' sites |
| No cross-domain identification | Hits are stored per account and never joined across sites |
| No unified IDs | No cross-site user graph, no shared advertising ID |
**Technical Implementation:**
```plaintext
Session identifier: a hash of device characteristics computed in the browser, never stored on the device;
re-keyed on the server with a daily salt destroyed on rotation (live session ~2h, stored pseudonym purged after 1 day)
Session identifier scope: per publisher account — the account is an input to the identifier's derivation, so identifiers cannot match across different publishers' sites
Cookies: none (neither first- nor third-party)
Cross-domain tracking: not performed — data is collected, stored, and reported per account
```
### Criterion 4: No Data Cross-Referencing
**Requirement:** Cannot cross-reference analytics data with other processing activities.
| Aspect | Compliance |
| --- | --- |
| Isolated data processing | Analytics data stays in Sealmetrics |
| No CRM integration for profiling | No user-level data merge |
| No external enrichment | No third-party data added |
**Configuration:** Platform architecture prevents data cross-referencing. The API returns aggregated statistics, plus conversion and microconversion events one row per event, with no session identifier.
### Criterion 5: No Third-Party Data Transmission
**Requirement:** Cannot transmit non-anonymized data to third parties.
| Aspect | Compliance |
| --- | --- |
| No data sales | Sealmetrics never sells data |
| No third-party sharing | No data shared with external parties |
| Client owns their data | Data belongs exclusively to client |
**Legal Basis:** [Sealmetrics Privacy Policy](https://sealmetrics.com/privacy.md) and [DPA](https://sealmetrics.com/dpa.md) guarantee no third-party data sharing.
### Criterion 6: Cookie Lifetime ≤ 13 Months
**Requirement:** Cookie validity must not exceed 13 months, without automatic renewal.
| Aspect | Compliance |
| --- | --- |
| Cookie duration | **No persistent cookies used** |
| Session-based identification | No cookie; the stored session identifier changes every day (daily salt, destroyed on rotation) and cannot link days |
| No automatic renewal | N/A - no persistent storage |
**Technical Implementation:**
```plaintext
Storage method: nothing stored on the device (no cookies, no localStorage, no sessionStorage)
Maximum lifetime of the stored identifier: 1 day (daily pseudonym); live session expires after 2h of inactivity
```
**Note:** Sealmetrics exceeds this requirement: it sets no cookies at all, and has no mode that does.
### Criterion 7: Data Retention ≤ 25 Months
**Requirement:** Collected data must not be retained beyond 25 months. Sealmetrics deliberately applies a stricter 24-month limit.
| Aspect | Compliance |
| --- | --- |
| Analytics data retention | 24 months maximum |
| Automatic deletion | Data purged after retention period |
| Raw logs retention | 1 day only |
**Data Retention Schedule:**
| Data Type | Retention Period |
| --- | --- |
| Per-hit log (includes the daily pseudonym) | 1 day |
| Hourly aggregates | 90 days |
| Daily aggregates | 24 months |
| Conversion and microconversion events (one row per event, no session identifier) | 24 months |
| Account configuration | Until account deletion |
### Criterion 8: IP Address Anonymization
**Requirement:** IP addresses must be anonymized (last octet removed minimum).
| Aspect | Compliance |
| --- | --- |
| IP storage | **IP is never persisted in the analytics database** (operational request logs are retained a maximum of 1 day) |
| Geolocation (default) | Country derived from browser timezone, not IP |
| In-memory use | IP is used in-memory only to check it against blocklists (a public list of automated-traffic IPs and your own exclusions), then discarded. It is never associated with a hit that reaches ClickHouse. (A GeoIP lookup was designed for the Agent Analytics bot detector, but that feature is **not live and cannot be enabled**, so no such lookup runs today.) |
**Technical Implementation:**
```javascript
// Country detection (default): browser timezone API
Intl.DateTimeFormat().resolvedOptions().timeZone
// No GeoIP lookup runs today: the Agent Analytics bot detector
// that would use one is not live and cannot be enabled.
```
**Note:** Sealmetrics goes beyond this requirement — no IP anonymization is needed because the IP is never persisted with analytics data in the first place.
### Criterion 9: Geolocation Precision Limit
**Requirement:** Geolocation must not be more precise than postal code level.
| Aspect | Compliance |
| --- | --- |
| Location precision | Country level only |
| No precise geolocation | No city/region/postal code |
| Privacy-preserving method | Timezone-based detection |
**Geolocation Data Collected:**
- Country (derived from timezone)
- No region, city, or postal code
- No GPS or IP-based location
### Criterion 10: Independent Data Collection Per Publisher
**Requirement:** For services serving multiple publishers, data collection must be independent for each.
| Aspect | Compliance |
| --- | --- |
| Client data isolation | Complete separation of datasets |
| Per-account tracking IDs | Each account has a unique tracking ID |
| Independent databases | Logical separation per account |
**Architecture:**
```plaintext
Account A ──► Isolated dataset A ──► Reports A only
Account B ──► Isolated dataset B ──► Reports B only
↓
No cross-account access possible
```
### Criterion 11: Totally Independent Trackers
**Requirement:** Trackers must be completely independent with no interdependencies.
| Aspect | Compliance |
| --- | --- |
| Unique tracking IDs | Each account has unique ID |
| No shared infrastructure impact | Client A cannot affect Client B |
| Independent configuration | Each account configured separately |
**Implementation:**
```html
```
### Criterion 12: User Information Requirement
**Requirement:** Users must be informed about analytics via privacy policy.
| Aspect | Compliance |
| --- | --- |
| Documentation provided | Privacy policy template available |
| Clear information | Plain language explanation |
| Purpose explanation | Audience measurement stated |
**Recommended Privacy Policy Text:**
```plaintext
This website uses Sealmetrics for audience measurement. This tool
is configured to comply with CNIL guidelines for consent exemption.
It stores nothing on your device and no data that identifies you,
and does not track you across websites. Its session identifier is
ephemeral: it rotates daily and, once rotated, not even Sealmetrics
can reconstruct it. Reports are always aggregated. Legal basis:
legitimate interest (GDPR Art. 6(1)(f)). You can block analytics
using your browser's privacy settings or an ad blocker.
```
### Criterion 13: Opt-Out Mechanism
**Requirement:** Users must have ability to refuse audience measurement.
| Aspect | Compliance |
| --- | --- |
| Opt-out available | Yes - by blocking the script in the browser, or by the site not loading the tracker for a visitor who objects. Sealmetrics has no built-in opt-out API and does not read DNT or GPC signals |
| Easy to access | Standard browser controls |
| No individual tracking | No tracking across days or sites to opt out of |
**Important Context:**
Sealmetrics does **not use localStorage, cookies, or any persistent storage**, and has no mode that does. This means:
- There is no individual user tracking to opt out of
- Reports are aggregated; conversion events are kept one row per event, with no session identifier
- Pageviews are grouped only within a session; nothing links sessions or days
**Opt-Out Methods:**
1. **Browser-level blocking** - Users can block the tracking script using browser privacy settings or ad blockers
2. **Publisher-implemented opt-out** - Site owners can implement conditional script loading based on user preference
```html
```
**Note:** Since Sealmetrics collects only aggregate statistics without individual identification, the opt-out requirement is satisfied by standard browser controls.
### Criterion 14: No Reuse by Provider
**Requirement:** Analytics provider cannot reuse data for their own commercial purposes.
| Aspect | Compliance |
| --- | --- |
| No data monetization | Sealmetrics never sells data |
| No model training | Client data not used for AI/ML |
| No benchmarking without consent | No cross-client analysis |
**Legal Guarantee:** Our [Terms of Service](https://sealmetrics.com/terms.md) and [DPA](https://sealmetrics.com/dpa.md) legally prohibit any reuse of client data.
## Part 3: Data Processing Details
### Data Collected
| Data Point | Collected | Purpose | Anonymization |
| --- | --- | --- | --- |
| Page URL | Yes | Content analysis | Aggregated |
| Referrer | Yes | Traffic source | Aggregated |
| User agent | Yes | Device analysis | Aggregated |
| Screen resolution, languages | Read, not stored | Session-identifier hash input only | Not stored or reported |
| Timezone | Yes | Country detection | Country only |
| Session ID | Yes | Visit counting | Hashed in the browser, re-keyed daily on the server; purged after 1 day |
| IP address | Read in flight, not stored | Checked against a public list of automated-traffic IPs and your exclusions, then discarded | Not stored |
| Email/name | No | Not collected | N/A |
| Precise location | No | Not collected | N/A |
### Data NOT Collected
Sealmetrics explicitly does **not** collect:
- IP addresses (the IP is checked in flight against a bot list and not kept)
- Email addresses or personal identifiers
- Precise geolocation (GPS, city, postal code)
- Stored device fingerprints (the in-browser session hash is re-keyed daily and never stored as sent)
- Cross-site identifiers
- Advertising IDs
- Social media profiles
## Part 4: Infrastructure & Security
### Data Location
| Aspect | Detail |
| --- | --- |
| **Analytics data processing location** | Dublin, Ireland (EU) |
| **Analytics data storage** | EU only |
| **Subprocessors** | Visitor analytics data processed only in the EU (full list: Annex 3 of the [DPA](https://sealmetrics.com/dpa.md)) |
| **International transfers of analytics data** | None required (service emails go through Resend, US, under SCCs) |
### Security Measures
- TLS 1.3 encryption in transit
- AES-256 encryption at rest
- Regular security audits
- GDPR Article 32 technical measures
## Part 5: Configuration Checklist
To ensure CNIL compliance, verify your Sealmetrics configuration:
### Required Settings
- Standard tracking mode enabled (not debug mode)
- No custom user ID implementation
- No PII in custom properties
- Privacy policy updated with Sealmetrics mention
- Opt-out mechanism available to users
### Recommended Settings
- Content grouping for aggregated analysis
- Conversion tracking without PII
### Prohibited Configurations
- Do NOT pass email addresses as properties
- Do NOT use custom user IDs for cross-session tracking
- Do NOT combine with advertising/remarketing tools
- Do NOT export individual-level data for profiling
## Part 6: Compliance Statement
### Our Declaration
Sealmetrics declares that:
1. Our solution **meets the CNIL criteria** for consent-exempt audience measurement
2. When properly configured, Sealmetrics **can be implemented without requiring user consent** under Article 82 of French Data Protection Law
3. We provide **documentation and configuration guidance** to ensure compliant implementation
4. We **do not reuse client data** for any commercial purpose
### What does this mean for publishers in France?
Publishers using Sealmetrics in France can:
- Measure website traffic without a consent banner for their own audience measurement (on this self-assessment)
- Track conversions for their own business analysis
- Analyze content performance
- Monitor technical performance
Publishers **cannot**:
- Claim Sealmetrics is "CNIL certified" or "CNIL validated"
- Use Sealmetrics data for advertising purposes
- Combine Sealmetrics with profiling tools and claim exemption
## Part 7: Version History
| Version | Date | Changes |
| --- | --- | --- |
| 1.0 | February 2026 | Initial self-assessment based on CNIL July 2025 framework |
## References
- [CNIL - Cookies: solutions pour les outils de mesure d'audience](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience)
- [CNIL - Self-Assessment Tool (PDF)](https://www.cnil.fr/sites/default/files/2025-07/outil_d_auto-evaluation_mesure_d_audience.pdf)
- [CNIL - Sheet n°16: Use analytics on your websites](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications)
- [Sealmetrics Privacy Policy](https://sealmetrics.com/privacy.md)
- [Sealmetrics DPA](https://sealmetrics.com/dpa.md)
## Contact
For compliance questions or DPO inquiries:
- **Email:** [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **DPO Contact:** [dpo@sealmetrics.com](mailto:dpo@sealmetrics.com)
In short
- All 5 permitted objectives and all 14 technical criteria of the CNIL's July 2025 auto-evaluation framework are met on Sealmetrics' own assessment (last assessed February 2026).
- No cookies are used, the IP address is never persisted with analytics data, geolocation is country-level from the browser timezone, and retention is 24 months (below the 25-month ceiling).
- On this self-assessment, publishers may measure their own audience without a consent banner under Article 82 of French data protection law, but cannot claim Sealmetrics is "CNIL certified" or "CNIL validated".
## Related documentation
- [Does Sealmetrics comply with CNIL guidelines?](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the plain-language overview of CNIL consent exemption.
- [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) — how CNIL and AEPD exemption criteria compare.
- [UK PECR Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md) — the equivalent self-assessment for the UK.
- [Do Temporary Session Identifiers (Session IDs) Require Consent Under GDPR?](https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy/do-session-ids-require-consent.md) — the session-ID condition assessed above.
- [Cookie Consent Reform: The End of Banner Fatigue](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) — how the Digital Omnibus reinforces this exemption.
## GDPR and Cookieless Analytics
URL: https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics/
How cookieless analytics comply with GDPR requirements and provide better data without consent banners
Important Notice
Any statement here about how Sealmetrics meets a criterion is a **self-assessment**, not a certification. No supervisory authority certifies or validates analytics tools, and Sealmetrics holds no third-party security certification (no ISO 27001, no SOC 2). This page is general regulatory analysis, not legal advice.
Cookieless analytics represent a fundamental shift in how websites measure traffic while complying with GDPR. By eliminating persistent user identifiers, cookieless solutions can provide comprehensive analytics without consent banners, consent-driven data loss, or privacy violations.
## The GDPR Challenge for Traditional Analytics
### Why Cookies Trigger GDPR
**Cookies = Personal Data** (in most cases):
When a cookie contains a unique identifier that can be linked to an individual—even indirectly—it constitutes **personal data** under GDPR [Article 4(1)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679):
> "Personal data means any information relating to an identified or identifiable natural person"
**Traditional analytics cookies**:
- Unique visitor IDs
- Session identifiers
- Tracking across visits
- Building behavioral profiles over time
**Result**: Processing personal data requires lawful basis under **GDPR Article 6**.
### Common (Problematic) Approaches
#### Approach 1: Consent (Article 6(1)(a))
**Implementation**: Cookie banner requesting consent for analytics
**Problems**:
- Data loss from visitors who reject or ignore the banner
- Skewed analytics (privacy-conscious users underrepresented)
- Consent fatigue
- Complex consent management
- Cost of consent management platforms
**Compliance challenge**: Consent must be "freely given, specific, informed, and unambiguous" (GDPR [Article 4(11)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679); see [EDPB Guidelines 05/2020 on consent](https://edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-052020-consent-under-regulation-2016679_en))—difficult with cookie walls or dark patterns.
#### Approach 2: Legitimate Interest (Article 6(1)(f))
**Claim**: Analytics is a legitimate interest
**Problems**:
- Must pass three-part test: Legitimate interest exists (understanding website performance)
- Processing is necessary (uncertain: are cookies necessary for analytics?)
- Balancing test (uncertain: interests vs. rights)
- Data protection authorities skeptical of legitimate interest for tracking cookies
- Right to object must be provided
- EDPB guidance suggests consent is safer route for most cookies
**Risk**: Supervisory authority or court may reject legitimate interest claim for tracking cookies.
#### Approach 3: Ignore GDPR (Non-Compliance)
**Implementation**: Place analytics cookies without legal basis
**Consequences**:
- GDPR violations
- Fines up to €20M or 4% global revenue
- Enforcement actions
- Reputational damage
- User complaints
**Not recommended**: High-profile Google Analytics enforcement (Austria, France, Italy) demonstrates authorities are serious.
## The Cookieless Solution
### What is Cookieless Analytics?
**Definition**: Web analytics that do not use cookies or similar persistent identifiers to track users across sessions.
**Technical approaches**:
1. **Session-based measurement**: Track page views within session, without cross-session linking
2. **Server-side logging**: Analyze server logs without client-side identifiers
3. **Cookieless session identification**: Without persistent identifiers (at most a short-lived identifier that rotates and cannot link visits over time)
4. **Aggregated metrics only**: Count events without identifying individuals
**Key principle**: Measure the **audience** (how many, from where, what they do) without **tracking individuals** (who specifically, what they do over time).
### Why Cookieless Complies with GDPR
#### 1. No Personal Data Processing (Ideal Case)
**If truly anonymous**:
- No unique identifiers
- No linking across sessions
- No individual tracking
- GDPR does not apply ([Recital 26](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679): anonymous information not covered)
**Example**: Server logs counting page views per hour, by country, without any visitor identification.
**Advantage**: No legal basis required; GDPR inapplicable to anonymous data.
**Caveat**: any per-visitor identifier — even a short-lived one — that someone holding the key could still link to a device is pseudonymous, not anonymous, and keeps the data inside the GDPR. Truly anonymous measurement is rarer than it sounds.
#### 2. Minimal, Pseudonymised Personal Data (Sealmetrics and Other Cookieless Tools)
**Most cookieless tools still process some personal data** — a hashed IP address, or a session identifier derived from device characteristics. Both remain personal data while anyone holds the means to link them back. An Article 6 basis is required, and the one these tools rely on is legitimate interest.
**This is Sealmetrics' position.** Nothing is stored on the device and no IP address is stored (not even hashed). The tracker computes a session identifier in the browser, which the server re-keys with a salt that rotates daily; the old salt is destroyed. During the day Sealmetrics holds key and salt, so the identifier is a **pseudonym** — personal data under GDPR (Recital 26). After the daily rotation it cannot be reconstructed, not even by Sealmetrics. The per-hit log is purged after 1 day and reports are aggregated. Sealmetrics processes these pseudonymised operational data under **legitimate interest, Article 6(1)(f)**.
**Legitimate interest (Article 6(1)(f)) is a stronger case** for such tools than for cookie-based tracking:
**Necessity test**:
- Cookieless measurement is **genuinely necessary** (no less intrusive alternative exists for basic traffic measurement)
- Purpose is limited and clear
**Balancing test**:
- Low privacy impact (no profiling, no cross-site tracking, no long-term identifiers)
- User expectations: Reasonable to expect website measures traffic
- Transparency: Easy to explain and understand
- No high risk to data subjects
**Outcome**: Legitimate interest is likely valid for a minimal cookieless tool — a hashed IP, or a daily-rotating session pseudonym like Sealmetrics' — where it may not be for cookie-based tracking. The less data, the shorter its life and the less linkable it is, the stronger the balancing test.
### Where GDPR Article 6 Fits
**Article 6 lists the lawful bases for processing personal data. It is only reached if personal data is processed.** A truly anonymous dataset (case 1) never reaches it. The table below shows how each basis fares for cookieless tools that still process some personal data (case 2, which includes Sealmetrics):
| Legal Basis | Applicability | Requirements |
| --- | --- | --- |
| **Consent (6(1)(a))** | Not needed for cookieless | N/A - no tracking to consent to |
| **Contract (6(1)(b))** | Rarely applicable | Analytics not necessary for service delivery |
| **Legal obligation (6(1)(c))** | Not applicable | No law requires website analytics |
| **Vital interests (6(1)(d))** | Not applicable | Analytics don't protect life |
| **Public task (6(1)(e))** | Public sector only | Government websites measuring performance |
| **Legitimate interest (6(1)(f))** | Usual basis for tools that keep a hashed IP or a short-lived session identifier | Website operator's interest in understanding traffic, documented in a legitimate interest assessment |
**For Sealmetrics**: legitimate interest (Article 6(1)(f)) for the pseudonymised operational data — the per-hit log and the live session, kept for 1 day. Aggregated reports are non-identifying.
**For tools that retain a hashed IP**: legitimate interest (Article 6(1)(f)) is likewise the basis most rely on. Either way it has to be documented in the assessment below.
## Legitimate Interest Assessment: When It Is Required
**Required whenever processing relies on Article 6(1)(f)** — including Sealmetrics visitor analytics. A legitimate interest assessment (the three-part test) is the accountability record for that processing. For Sealmetrics it is short: no IP stored, nothing stored on the device, no persistent identifier (only a daily-re-keyed session pseudonym, unrecoverable after rotation, purged from the per-hit log after 1 day), no cross-session linking, aggregated reports.
**Also required for identifier-based tools you run alongside.** Publishers who operate a cookie-based or hashed-IP tool next to Sealmetrics (a tag manager, an ad pixel, a second analytics platform) need a separate assessment — or consent — for *that* processing.
### Three-Part Test
#### Part 1: Legitimate Interest
**Question**: Does the controller have a legitimate interest?
**For a minimal analytics tool that still processes personal data** (e.g., a hashed IP or a daily-rotating session pseudonym):
- Understanding website performance
- Improving user experience
- Optimizing content
- Technical operations and security
- Business planning and development
**GDPR Recital 47**: "The processing of personal data for direct marketing purposes may be regarded as carried out for a legitimate interest."
**By analogy**: If direct marketing is legitimate interest, certainly understanding website usage is too.
**Conclusion**: Legitimate interest clearly exists.
#### Part 2: Necessity
**Question**: Is processing necessary for that interest?
**For a minimal analytics tool that still processes personal data**:
- Cannot understand traffic without measurement
- Cookieless approach is far less intrusive than cookie-based tracking
- Check for less invasive alternatives: a tool that stores no IP and whose session identifier rotates daily and becomes unrecoverable is less intrusive than one that keeps a hashed IP
**[Article 5(1)(c)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)**: Data minimization—collect only what is necessary
**A minimal cookieless tool demonstrates data minimization**:
- No persistent identifiers
- No cross-session tracking
- Aggregated measurement
- Short data retention
**Conclusion**: Processing is necessary, and minimized to what's required.
#### Part 3: Balancing Test
**Question**: Do data subject interests, rights, and freedoms override the legitimate interest?
**Factors to consider**:
**Nature of data**:
- Basic traffic metrics (not sensitive)
- No special categories (Article 9)
- Minimal personal data (e.g., a hashed IP, or a session pseudonym that rotates daily)
**Reasonable expectations**:
- Users expect websites measure traffic
- Cookieless is less invasive than expected (no tracking)
- Transparent and understandable
**Impact on data subjects**:
- **Low risk**: No profiling, no behavioral advertising, no selling data
- **No discrimination**: Analytics not used for automated decisions affecting individuals
- **No vulnerability**: Not targeting children or vulnerable populations
**Safeguards**:
- Privacy policy disclosure
- Right to object provided
- Data security measures
- Limited retention periods
**Conclusion**: For a minimal, non-profiling tool, interests do NOT override; legitimate interest is valid. Cookie-based profiling tools rarely get this far.
### Legal Position: Cookieless vs. Cookie-Based
| Factor | Cookieless Analytics (no IP, no persistent identifier) | Cookie-Based Tracking |
| --- | --- | --- |
| **Personal data processed** | Minimal and pseudonymised (a session identifier that rotates daily) | Yes (persistent unique identifiers) No |
| **Article 6 basis needed** | Yes — legitimate interest, with a strong balancing test | Yes — consent, or a contested legitimate interest claim |
| **Legitimate interest assessment** | Required, and short | Required if relying on 6(1)(f) |
| **Privacy impact** | Low (no tracking) | High (persistent tracking) No |
| **User expectations** | Reasonable | Negative (tracking) No |
| **Safeguards** | Built-in (no persistent IDs) | Requires controls |
**Result**: A minimal, pseudonymised cookieless dataset sits comfortably on legitimate interest. Cookie-based tracking needs a basis too, but legitimate interest is questionable for it — consent is the safer route.
## GDPR Principles and Cookieless Analytics
### Principle 1: Lawfulness, Fairness, Transparency (Article 5(1)(a))
**Lawfulness**: Legitimate interest (Article 6(1)(f)) for the pseudonymised operational data, documented in a short assessment
**Fairness**:
- Users not deceived
- No hidden tracking
- Processing aligns with reasonable expectations
**Transparency**:
- Privacy policy discloses analytics
- Clear explanation of what's measured
- How to exercise rights
**Cookieless advantage**: Easier to explain ("we count visitors, we don't track you") vs. complex cookie ecosystems.
### Principle 2: Purpose Limitation (Article 5(1)(b))
**Requirement**: Data collected for specified, explicit, legitimate purposes; not further processed incompatibly
**Cookieless analytics**:
- Clear purpose: Website performance measurement
- Limited scope: Traffic statistics for website operator's use
- No secondary uses: Not sold, not used for advertising, not shared
**Compliance**: Purpose limitation naturally satisfied by design.
### Principle 3: Data Minimization (Article 5(1)(c))
**Requirement**: Adequate, relevant, and limited to what is necessary
**Cookieless analytics**:
- No persistent user IDs (eliminates unnecessary tracking)
- Aggregated metrics (only what's needed for statistics)
- No individual profiles (unnecessary for traffic measurement)
- Minimal, pseudonymised data (no IP stored, no persistent identifier, no cross-session linking; the session identifier rotates daily)
**Gold standard**: Cookieless is **data minimization by design**.
### Principle 4: Accuracy (Article 5(1)(d))
**Requirement**: Personal data must be accurate and kept up to date
**Cookieless analytics**:
- Aggregate statistics (accuracy inherent in counting)
- No individual data to be inaccurate
- Session-based measurement (no stale profiles)
**Benefit**: Less risk of inaccuracy when not maintaining user profiles.
### Principle 5: Storage Limitation (Article 5(1)(e))
**Requirement**: Kept in identifiable form no longer than necessary
**Cookieless analytics**:
- Session-only tracking (no long-term storage of identifiers)
- Aggregated data quickly (raw logs not retained long)
- Typical retention: 24 months maximum (align with AEPD requirements)
- Aggregated reports can be kept indefinitely (non-identifying)
**Best practice**: Delete raw server logs after aggregation; retain only statistics.
### Principle 6: Integrity and Confidentiality (Article 5(1)(f))
**Requirement**: Appropriate security measures
**Cookieless analytics**:
- Less data to secure (no long-term user profiles)
- Encryption in transit (HTTPS)
- Access controls
- Secure infrastructure
**Reduced risk**: Less valuable to attackers (no persistent user data to breach).
### Principle 7: Accountability (Article 5(2))
**Requirement**: Controller must demonstrate compliance
**Cookieless analytics**:
- Document the legitimate interest assessment for the analytics, and separately for any identifier-based tools you also run
- Maintain records of processing activities (Article 30)
- Privacy policy reflects cookieless approach
- Data protection by design (Article 25)
**Demonstration**: Easier to show compliance when processing is minimal.
## Data Subject Rights and Cookieless Analytics
### Right of Access (Article 15)
**User request**: "What personal data do you have about me?"
**Cookieless analytics response**:
- **If the identifier rotates and becomes unrecoverable** (Sealmetrics): "Our analytics store nothing on your device and no data that identifies you. The session identifier rotates daily and cannot be reconstructed afterwards, so we cannot match your request to any record (GDPR Article 11)."
- **If minimal data (IP in logs)**: "We have server logs with your IP address from [date/time], used for traffic measurement. This data will be deleted after [retention period]."
**Advantage**: Simple response; no extensive user profiles to provide.
### Right to Rectification (Article 16)
**User request**: "Correct inaccurate data about me"
**Cookieless analytics**:
- Not applicable (no individual user profiles to be inaccurate)
- Aggregate statistics are accurate by design
### Right to Erasure (Article 17)
**User request**: "Delete my data"
**Cookieless analytics**:
- **If the identifier is unrecoverable**: In practice the request cannot be matched to a person (Article 11); the per-hit log is purged after 1 day anyway
- **If IP in logs**: Can delete specific IP entries, or explain scheduled deletion period
**Practical**: Much easier than cookie-based systems tracking users across months/years.
### Right to Restriction (Article 18)
**User request**: "Stop processing my data while we resolve a dispute"
**Cookieless analytics**:
- Rarely applicable (no ongoing individual processing to restrict)
- Can flag IP for non-processing if requested
### Right to Data Portability (Article 20)
**User request**: "Give me my data in portable format"
**Cookieless analytics**:
- Not applicable (Article 20 requires processing based on consent or contract; legitimate interest is neither)
- Even if applied: No meaningful individual data to port (aggregate statistics are non-identifying)
### Right to Object (Article 21)
**User request**: "Stop processing my data for analytics"
**Article 21 applies to processing based on Article 6(1)(e) or (f)** — so it applies to cookieless tools relying on legitimate interest, Sealmetrics included.
**Cookieless analytics response**:
- **If the identifier rotates daily and becomes unrecoverable** (Sealmetrics): the right applies, but in practice a request cannot be matched to a person (Article 11). Offer the forward-looking route: not loading the tracker for that visitor (see the options below).
- **If minimal data (hashed IP)**: The right applies. Provide a mechanism (e.g., email address in privacy policy) and honor objections.
**Implementation options for tools where the right applies**:
1. **IP exclusion**: Add user's IP to exclusion list (imperfect, dynamic IPs)
2. **Browser signal**: Respect Do Not Track or Global Privacy Control (Sealmetrics does not read these signals itself; a site can skip loading the tracker when they are present)
3. **Manual request**: User contacts, we exclude their IP or sessions
**Best practice**: Make objection easy and effective where it applies.
## Cookieless Analytics and ePrivacy
### ePrivacy Directive Article 5(3)
**Separate from GDPR**: [Article 5(3) of Directive 2002/58/EC](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058) regulates terminal equipment access (cookies, device fingerprinting)
**Requirement**: Consent for storing/accessing information in terminal equipment
**Exception**: Strictly necessary for service delivery
### Cookieless and ePrivacy Compliance
**Key question**: Do cookieless analytics access/store information in terminal equipment?
**If NO cookies or client-side storage, and nothing is read from the device**:
- ePrivacy Directive does not apply
- No consent required under ePrivacy
**If nothing is stored but the script reads browser properties** (for example, to compute a session hash — as Sealmetrics does):
- Reading those properties is "access" under Article 5(3), so the provision is engaged
- The consent exemption then depends on the audience-measurement / strictly-necessary criteria (see [Analytics Cookies Exemption](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md))
- On the GDPR side, the session identifier is pseudonymised personal data while it can be re-keyed, and legitimate interest is the usual basis — for Sealmetrics as for tools that keep a hashed IP
**If minimal cookies (e.g., session cookie)**:
- "Strictly necessary" exception may apply (if truly needed for service)
- Or analytics exemption under the AEPD framework ([AEPD cookies guide](https://www.aepd.es/guias/guia-cookies.pdf); see [Analytics Cookies Exemption](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md))
**Cookieless advantage**: Nothing is stored on the device; where browser properties are read, the analysis moves to the exemption criteria rather than to consent.
### Digital Omnibus Future Framework
**Article 88a(3)(c)** (when in force):
> "Creating aggregated information about the usage of an online service to measure the audience of such a service, where it is carried out by the controller of that online service solely for its own use"
**Explicit consent exemption** for:
- Aggregated measurement
- By controller
- For own use
**Cookieless analytics alignment**: Perfectly aligned with Article 88a(3)(c)
How Article 88a would replace today's consent rules is set out in [EU Digital Omnibus - Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md).
## Practical Implementation: GDPR-Compliant Cookieless Analytics
### Step 1: Choose Cookieless Solution
**Options**:
**Sealmetrics**:
- Cookieless by design
- Aggregated measurement
- First-party data only
- Designed to meet these criteria out of the box, with no configuration needed (our self-assessment)
**Server-side analytics**:
- Parse server logs
- Anonymize IPs
- Aggregate metrics
- No client-side tracking
**Privacy-focused platforms**:
- Other privacy-focused analytics tools, in their cookieless configuration
- Matomo (cookieless configuration)
### Step 2: Configure for Privacy
**If using Sealmetrics**: the default configuration is designed to meet the criteria above (our self-assessment)
**If using other tools**:
- Disable cookies
- Disable user ID tracking
- Disable cross-site tracking
- Enable IP anonymization
- Limit data retention (24 months max recommended)
- Disable any advertising features
- Ensure first-party data only
### Step 3: Document the Legitimate Interest Assessment
Accountability (Article 5(2)) calls for a short legitimate interest assessment, because the analytics process pseudonymised data under Article 6(1)(f):
1. **What is collected**: A small set of fields (page, referrer, device category, country from browser timezone, and a session identifier re-keyed daily — see [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md))
2. Reports are aggregated
3. **Why the impact is minimal**: No IP address stored, not even hashed
4. No cookie, local storage or other stored identifier on the device
5. No cross-session linking; the session identifier rotates daily and cannot be reconstructed after rotation, not even by Sealmetrics
6. Per-hit log purged after 1 day; reports are aggregated
7. **Conclusion**: Pseudonymised operational data, processed under legitimate interest (Article 6(1)(f)); the three-part test above is passed.
**If you also run identifier-based tools** (a cookie-based analytics platform, ad pixels, a tag manager that sets identifiers): those process persistent identifiers and need their own legitimate interest assessment or consent for that processing. Document them separately.
**Retain this record**: For accountability (Article 5(2))
### Step 4: Update Privacy Policy
**Required disclosures**:
```markdown
## Website Analytics
We use cookieless analytics to understand how visitors use our website. This helps us improve content and user experience.
### What We Measure
- Pages visited
- Referrer (where you came from)
- Device type and browser
- Country (from your browser's time zone, not your IP address)
### What We Don't Do
- We do not use cookies to track you
- We do not track you across websites
- We do not build individual user profiles
- We do not sell or share your data
- We do not use your data for advertising
### Legal Basis
Our website analytics store nothing on your device and no data that identifies you. No IP address is stored and no cookie is set. A session identifier is used in pseudonymised form: it rotates daily and, once rotated, cannot be reconstructed, not even by our provider. We process this pseudonymised data on the basis of our legitimate interest in understanding how our website is used (GDPR Article 6(1)(f)). Per-hit data is kept for 1 day; reports are aggregated.
### Your Rights
You have the rights of access, rectification, erasure, restriction and objection under the GDPR. Because the session identifier rotates daily and cannot be reconstructed, in practice we cannot match a request to the analytics records (GDPR Article 11). You keep every right over any other personal data we process (for example an account or a support request).
For any question, contact: [privacy@example.com]
### Data Retention
Per-hit analytics data is deleted after 1 day. Aggregated reports, which do not identify anyone, are kept for [period].
### Analytics Provider
We use [Sealmetrics/other provider], which acts as our data processor and does not use data for their own purposes.
```
### Step 5: Opt-Out Mechanism (Where One Is Needed)
**The right to object (Article 21) applies to processing under legitimate interest**, so give visitors a way to exercise it. Because the identifier is unrecoverable after the daily rotation, the practical route is forward-looking: not loading the tracker for that visitor.
**Technical opt-out**:
- Respect Do Not Track or Global Privacy Control. Sealmetrics does not read either signal, so honouring them means not loading the tracker when they are present — see [GPC and DNT signals](https://sealmetrics.com/docs/compliance/gpc-dnt-signals.md)
- Provide a page where visitors can object; your site then stops loading the tracker for them (implemented by the site — Sealmetrics has no opt-out API)
**Best practice**: Make it easy; few users will actually opt out of non-invasive cookieless analytics.
### Step 6: Maintain Records
**[Article 30 GDPR](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)**: Record of processing activities
**Required information**:
- Name and contact details of controller
- Purposes of processing (website analytics)
- Categories of data subjects (website visitors)
- Categories of data (pseudonymised session identifier re-keyed daily and unrecoverable after rotation; no IP stored, no persistent identifier; for hashed-IP tools, list the hashed IP)
- Legal basis (legitimate interest, Article 6(1)(f))
- Categories of recipients (analytics provider, if any)
- Retention periods (Sealmetrics, the same on every plan: per-hit log 1 day, hourly aggregates 90 days, daily aggregates and conversion events 24 months)
- Security measures
**Maintain this record**: Available for supervisory authority if requested.
## Common Questions
### Do I need a cookie banner for cookieless analytics?
**Not necessarily.** If nothing is stored on or read from the device, the ePrivacy consent requirement does not apply. If the script reads browser properties (as Sealmetrics does to compute its session identifier), Article 5(3) is engaged and the exemption depends on the audience-measurement criteria — see [Analytics Cookies Exemption](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md). For Sealmetrics' own analytics our self-assessment is that no banner is needed; in Germany that is an open question, because the DSK does not extend §25(2) TDDDG to audience measurement — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md).
**On the GDPR side**, a cookieless tool that stores no IP and no persistent identifier still processes minimal pseudonymised data (Sealmetrics: a session identifier that rotates daily and is unrecoverable after rotation). It relies on legitimate interest (Article 6(1)(f)), not consent.
### Can I use cookieless Google Analytics?
**Google Analytics 4** has a "cookieless mode" but:
- Data still transferred to Google
- Google may use data for its purposes
- May not qualify for GDPR legitimate interest
- May still require consent
**Recommendation**: Use purpose-built cookieless analytics, such as Sealmetrics, designed to meet the exemption criteria.
### Is IP address personal data?
**Yes**, under GDPR (confirmed by the CJEU in [*Breyer*, C‑582/14](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:62014CJ0582)).
**Tools that store a hashed IP** therefore still process personal data and need an Article 6 basis — usually legitimate interest, subject to the assessment above, with limited purpose, limited retention and pseudonymization.
**Sealmetrics**: never stores the IP, hashed or otherwise. The only touch is a transient in-memory check for bot and abuse filtering, which Recital 49 covers as security processing and which never reaches the analytics data (see [How Sealmetrics Blocks Bot Traffic](https://sealmetrics.com/docs/compliance/compliance-overview/how-sealmetrics-blocks-bot-traffic.md)).
### What about device fingerprinting?
**Device fingerprinting** = Combining browser/device characteristics to create a persistent unique identifier for tracking users across sessions.
**GDPR status**: Persistent device fingerprinting creates personal data and requires legal basis (typically consent).
**ePrivacy status**: Accessing device information to build persistent identifiers may require consent under Article 5(3).
**Sealmetrics**: The tracker computes, in the browser, a hash of standard device characteristics (a device fingerprint) to tell a second pageview from a new entrance. It is never written to the device and never stored as sent: the server re-keys it with a daily salt that is destroyed on rotation, so the stored identifier changes every day and cannot link a device across days or sessions. See [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track/#6-session-identifier).
### How long can I retain cookieless analytics data?
**GDPR Storage Limitation** (Article 5(1)(e)): No longer than necessary
**Best practice**:
- **Raw data (IP addresses, logs)**: 24 months maximum (aligns with AEPD)
- **Aggregated statistics**: Indefinitely (non-identifying)
**Recommended approach**:
1. Collect raw data
2. Aggregate into statistics daily/weekly/monthly
3. Delete raw data after aggregation (or after 24 months max)
4. Retain aggregated reports indefinitely
### Can I share cookieless analytics data?
**With data processor** (Article 28): Yes, if:
- Data Processing Agreement in place
- Processor only acts on your instructions
- Processor does not use data for own purposes
**With third parties for their purposes**: No, unless:
- Data is truly anonymous (aggregated to point of non-identification)
- OR you obtain consent
- OR another Article 6 basis applies
**Best practice**: Keep analytics data in-house; only share truly anonymous statistics.
## Cookieless Analytics and Data Transfers
### GDPR Chapter V: International Transfers
**If analytics data transferred outside EU/EEA**:
**GDPR requirements**:
- Adequacy decision, OR
- Appropriate safeguards (Standard Contractual Clauses, Binding Corporate Rules), OR
- Derogations (consent, contract, etc.)
**Cookieless advantage**:
- Less data to transfer (no user profiles)
- Can keep data in EU more easily (self-hosted or EU providers)
**Sealmetrics**: customer analytics data stays in the EU (Dublin), so Chapter V transfer rules are not engaged for it.
**US-based analytics**: Proceed with caution post-Schrems II; ensure SCCs and supplementary measures.
## Comparison: Cookie-Based vs. Cookieless
| Aspect | Cookie-Based Analytics | Cookieless Analytics |
| --- | --- | --- |
| **GDPR legal basis** | Consent (usually) or contested legitimate interest | Legitimate interest (Article 6(1)(f)) for minimal, pseudonymised data |
| **ePrivacy requirement** | Consent required | Not required where the audience-measurement exemption applies (reading device properties also counts as access, cookies or not) |
| **Cookie banner** | Required | Not required where the exemption criteria are met |
| **Data subject rights** | Complex (years of profiles) | Simple (minimal data) |
| **Privacy impact** | High (tracking over time) | Low (session-only) |
| **User experience** | Interrupted (banner) | Seamless (no banner) |
| **Compliance complexity** | High | Low |
| **Cost** | High (CMP, legal review) | Low (no CMP needed) |
| **Data quality** | Skewed (consent bias) | Not reduced by consent rejection |
**Clear winner**: Cookieless analytics for privacy, compliance, UX, and data quality.
## Primary sources
- GDPR (Regulation 2016/679) — Art. 4(1) defines personal data; Recital 26 excludes anonymous data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
- ePrivacy Directive 2002/58/EC — Art. 5(3): consent to store or access terminal-equipment data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058)
- EDPB Guidelines 2/2023 — technical scope of Art. 5(3): what counts as storage or access — [edpb.europa.eu](https://edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-22023-technical-scope-art-53-eprivacy-directive_en)
- Art. 29 WP Opinion 04/2012 (WP194) — cookie consent exemption, including first-party analytics — [ec.europa.eu](https://ec.europa.eu/justice/article-29/documentation/opinion-recommendation/files/2012/wp194_en.pdf)
- CNIL — audience-measurement exemption criteria for consent-free analytics — [cnil.fr](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience)
- AEPD — Guía sobre el uso de las cookies, analytics-cookie exemption conditions — [aepd.es](https://www.aepd.es/guias/guia-cookies.pdf)
## Related Resources
- [Analytics Cookies Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) - AEPD and EU DPA guidance on analytics without consent
- [EU Digital Omnibus - Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Future framework for analytics under Article 88a
- [EU Digital Omnibus - Impact on Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - How regulations affect analytics industry
- [Is Sealmetrics GDPR, ePrivacy, CCPA, and PECR Compliant?](https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant.md) - How the isolated-hit model applies these principles
- [Do Temporary Session Identifiers (Session IDs) Require Consent Under GDPR?](https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy/do-session-ids-require-consent.md) - When session identifiers stay consent-exempt
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) - The technical basis for consentless measurement
## Key Takeaways
1. **Cookieless analytics can comply with GDPR** without consent banners
2. **Legitimate interest (Article 6(1)(f)) fits minimal, pseudonymised data** — Sealmetrics relies on it for its daily-rotating session identifier, which is unrecoverable after rotation; no consent under GDPR
3. **ePrivacy consent not required** when nothing is stored on or read from the device; where browser properties are read, the audience-measurement exemption criteria decide
4. **Data minimization by design**: Cookieless naturally satisfies GDPR principles
5. **Simpler data subject rights**: Minimal data = minimal rights management
6. **No cookie banner needed where the exemption criteria are met** (in Germany an open question): Better UX, no visits lost to consent rejection, lower costs
7. **Future-proof**: Aligns with Digital Omnibus Article 88a(3)(c)
8. **Document the legitimate interest assessment**: Short for a minimal cookieless tool; keep separate ones for identifier-based tools you also run
9. **Privacy policy disclosure**: Required even for cookieless analytics
10. **Right to object**: Applies under legitimate interest; with an unrecoverable identifier, honour it going forward by not loading the tracker
Cookieless analytics represent the evolution of privacy-respecting measurement. By eliminating persistent tracking while maintaining statistical accuracy, they satisfy both GDPR requirements and user expectations for privacy. As the Digital Omnibus makes clear, aggregated audience measurement for own use is not invasive surveillance—it's legitimate business intelligence. Cookieless analytics embody this principle in practice.
## UK PECR Self-Assessment: Sealmetrics Compliance
URL: https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment/
Self-assessment of Sealmetrics against the UK PECR statistical-purposes exemption added by the Data (Use and Access) Act 2025: sole statistical purpose, no sharing, user information, a simple way to object.
*Reviewed: 12 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* Sealmetrics is self-assessed as meeting the conditions of the UK statistical-purposes exemption in the **Privacy and Electronic Communications Regulations (PECR)**, as amended by the **Data (Use and Access) Act 2025**, in force since **5 February 2026**: the sole purpose is statistics to improve the service, the information is not shared, users get clear information, and they have a simple, free way to object. This document details each condition, the permitted activities and the configuration required for UK users.
Important Notice
This self-assessment follows ICO guidelines but **does not constitute ICO certification**. This document demonstrates how Sealmetrics meets the published exemption criteria when properly configured for UK users.
## Does Sealmetrics meet the UK analytics exemption?
| Category | Status |
| --- | --- |
| **Analytics Exemption Conditions** | All compliant |
| **Aggregate Statistics Purpose** | Meets criterion (self-assessed) |
| **User Information Requirement** | Meets criterion (self-assessed) |
| **Opt-Out Mechanism** | Meets criterion (self-assessed) |
| **No Advertising Use** | Meets criterion (self-assessed) |
| **Consent Exemption Eligible** | Yes |
| **Last Assessment Date** | February 2026 |
## Background: UK PECR Changes 2026
### Data (Use and Access) Act 2025
The **Data (Use and Access) Act 2025** (DUAA, 2025 c. 18) received Royal Assent on **19 June 2025**. Section 112 and Schedule 12, which change PECR's rules on storing and accessing information on a user's device, came into force on **5 February 2026** (S.I. 2026/82). They add a new exemption for statistical purposes, which covers analytics cookies and similar technologies.
### Key Changes for Analytics
Prior to DUAA 2025, UK PECR required consent for **all** cookies except those "strictly necessary" for service delivery. The new legislation introduces an **analytics exemption** similar to existing frameworks in France (CNIL) and other EU member states.
### Legal Reference
> **Section 112 of the DUAA 2025** replaces PECR regulation 6, and **Schedule 12** inserts a new Schedule A1 into PECR. **Paragraph 5 of Schedule A1** ("Collecting information for statistical purposes") allows storing or accessing information on a user's terminal equipment without consent when: the person provides an information society service; the **sole purpose** is to collect statistical information about how the service is used, with a view to improving it; the information is not shared with anyone else except to help make those improvements; the user is given clear and comprehensive information about the purpose; and the user is given a simple, free means of objecting, and does not object.
## Part 1: Analytics Exemption Conditions
The statistical-purposes exemption requires **all of its conditions** to be met. The four below are the ones that depend on how the analytics tool works; the first condition in the statute (the site provides an information society service) is about the site itself:
### Condition 1: Sole Purpose - Aggregate Statistics
**Requirement:** The sole purpose must be to collect statistical information about how the service is used, with a view to making improvements to it.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Purpose limited to statistics | Yes - only audience measurement |
| No secondary purposes | No advertising, profiling, or resale |
| Aggregate data only | All reports show aggregated statistics |
**Evidence:** Sealmetrics is a purpose-built analytics tool that produces only aggregate statistical reports. Individual user tracking, profiling, and advertising are architecturally impossible.
### Condition 2: Clear User Information
**Requirement:** The subscriber or user must have been provided with clear and comprehensive information about the purposes of storing or accessing the information.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Information provided | Privacy policy templates available |
| Clear language | Plain English explanations |
| Comprehensive coverage | All data collection explained |
**Recommended Privacy Policy Text:**
```plaintext
This website uses Sealmetrics for audience measurement. This is a privacy-first
analytics tool that reports aggregate statistics only. It stores nothing on your
device and no data that identifies you, and does not track you across websites.
Its session identifier is ephemeral: it rotates daily and, once rotated, not even
Sealmetrics can reconstruct it. Legal basis: legitimate interest (UK GDPR
Art. 6(1)(f)).
You can block analytics using your browser's privacy settings or an ad blocker.
```
### Condition 3: Simple Opt-Out Mechanism
**Requirement:** The subscriber or user must have been given a simple means, free of charge, of refusing storage or access to that information.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Opt-out available | Yes - via browser settings or site implementation |
| Simple to use | Standard browser controls |
| Free of charge | No cost to user |
| Easily accessible | Built into all modern browsers |
**Important Context:**
Sealmetrics does **not use localStorage, cookies, or any persistent storage**, and has no mode that does. It does read standard browser properties to compute a session identifier in the browser (re-keyed daily on the server, never stored as sent) — that reading is the "access" the analytics exemption covers. This means:
- There is no individual user tracking to opt out of
- Reports are aggregated; conversion events are kept one row per event, with no session identifier
- Pageviews are grouped only within a session, with no user identification and no linking across days
**Opt-Out Methods:**
1. **Browser-level blocking** - Users can block the tracking script using: Browser privacy settings
2. Ad blockers (uBlock Origin, etc.)
3. Privacy extensions
4. **Publisher-implemented opt-out** - Site owners can implement their own opt-out:
```html
```
**Note:** Since Sealmetrics collects only aggregate statistics without individual identification, the opt-out requirement is satisfied by standard browser controls that allow users to block any script.
### Condition 4: No Sharing
**Requirement:** The information collected must not be shared with anyone else, except to help the site make improvements to its service.
| Criterion | Sealmetrics Compliance |
| --- | --- |
| Data shared with third parties for their own purposes | No — Sealmetrics processes the data only on the site's behalf, as a processor under the DPA |
| Advertising use | None — no advertising features, ad targeting or retargeting |
| Advertising-platform integrations | None — no data is sent to ad platforms. Exports you configure yourself (for example BigQuery) go to your own systems |
**Evidence:** Sealmetrics has no advertising features and sends no data to advertising platforms. The statute has no separate "no advertising" condition; advertising use is excluded because it would breach the sole-purpose and no-sharing conditions.
## Part 2: Permitted Activities Under UK Exemption
The ICO guidance clarifies what activities are permitted under the analytics exemption:
### Permitted Analytics Activities
| Activity | Sealmetrics Support | Compliance |
| --- | --- | --- |
| Aggregate visitor counts | Yes | Meets criterion (self-assessed) |
| Page interaction metrics | Yes | Meets criterion (self-assessed) |
| Session duration | Not measured — it would require following a visitor across page loads | Meets criterion (self-assessed) |
| Device and browser info | Yes (aggregated) | Meets criterion (self-assessed) |
| Referrer source analysis | Yes | Meets criterion (self-assessed) |
| A/B testing | Via events | Meets criterion (self-assessed) |
| Coarse geolocation | Country only | Meets criterion (self-assessed) |
| Page load performance | Not measured | N/A |
| Error monitoring | Not measured | N/A |
### Prohibited Activities (Not Available in Sealmetrics)
| Activity | Sealmetrics | Status |
| --- | --- | --- |
| Individual user tracking | Not possible | Meets criterion (self-assessed) |
| User profiling | Not possible | Meets criterion (self-assessed) |
| Cross-device tracking | Not possible | Meets criterion (self-assessed) |
| Advertising purposes | Not available | Meets criterion (self-assessed) |
| Persistent or stored device fingerprinting | Not used — the in-browser session hash is re-keyed daily and never stored as sent | Meets criterion (self-assessed) |
| Cross-site tracking | Not possible | Meets criterion (self-assessed) |
## Part 3: Technical Compliance Details
### Data Collection Practices
| Data Point | Collected | Purpose | UK Exemption Status |
| --- | --- | --- | --- |
| Page URL | Yes | Content analysis | Permitted |
| Referrer | Yes | Traffic source | Permitted |
| User agent | Yes | Device analysis | Permitted |
| Screen resolution, languages and other device characteristics | Read, not stored | Inputs to the session-identifier hash only; never stored or reported | Permitted |
| Timezone | Yes | Country detection | Permitted |
| Session ID | Yes | Visit counting — a hash of device characteristics computed in the browser, re-keyed daily on the server; cannot link days | Permitted (temporary) |
| IP address | Read in flight, not stored | Checked against a bot list, then discarded | Not stored |
| Email/name | No | Not collected | N/A |
| Precise location | No | Not collected | N/A |
### Storage Methods
| Method | Sealmetrics Use | UK Exemption Compliance |
| --- | --- | --- |
| First-party cookies | Not used | N/A |
| Third-party cookies | Never used | Meets criterion (self-assessed) |
| localStorage | Not used | Meets criterion (self-assessed) |
| Stored device fingerprint | None — the in-browser session hash is never written to the device and never stored as sent | Meets criterion (self-assessed) |
## Part 4: Comparison with Previous UK Requirements
### Before February 5, 2026
| Requirement | Status |
| --- | --- |
| Consent required for all analytics | Required |
| Exception for "strictly necessary" only | Limited |
| Analytics = consent required | Yes |
### After February 5, 2026
| Requirement | Status |
| --- | --- |
| Analytics exemption available | Yes |
| Conditions must be met | 4 conditions |
| Advertising use prohibited | Required |
| Opt-out must be provided | Required |
## Part 5: ICO Enforcement Considerations
### Increased Penalties Under DUAA 2025
The Data (Use and Access) Act 2025 increases maximum penalties for PECR violations:
| Penalty Type | Maximum |
| --- | --- |
| **Standard maximum** | £17.5 million |
| **Turnover-based** | 4% of worldwide annual turnover |
| **Applicable** | Whichever is higher |
### ICO Enforcement Priorities
The ICO has indicated focus on:
- **Advertising-related cookies** without consent
- **Third-party tracking** without valid legal basis
- **Inadequate user information** about data collection
- **Missing or difficult opt-out mechanisms**
**Sealmetrics Advantage:** By design, Sealmetrics cannot be used for advertising or cross-site tracking, eliminating the highest-risk compliance concerns.
## Part 6: Configuration Checklist for UK Compliance
### Required Settings
- Standard tracking mode enabled
- No custom user ID implementation that enables individual tracking
- No PII in custom event properties
- Privacy policy updated with analytics information
- Opt-out mechanism available and easily accessible
- No integration with advertising platforms
### Recommended Settings
- Content grouping for aggregate analysis
- Conversion tracking without PII
- Clear opt-out link in website footer
### Prohibited Configurations
- Do NOT pass email addresses as properties
- Do NOT use custom user IDs for cross-session tracking
- Do NOT combine with advertising or remarketing tools
- Do NOT share data with third parties for advertising
- Do NOT use data for user profiling
## Part 7: Compliance Statement
### Our Declaration
Sealmetrics declares that:
1. On our self-assessment, our solution **meets the UK PECR analytics exemption criteria** as amended by DUAA 2025
2. When properly configured, Sealmetrics **can be implemented without requiring user consent** under Regulation 6 of PECR
3. We provide **documentation and configuration guidance** to ensure compliant implementation
4. We **do not use client data** for advertising or any prohibited purpose
### What does this mean for UK publishers?
Publishers using Sealmetrics in the UK can:
- Measure website traffic without consent banners (for their own analytics, on this self-assessment)
- Track conversions for their own business analysis
- Analyze content performance
- Monitor technical performance
Publishers **must**:
- Provide clear information about analytics in their privacy policy
- Offer a simple, free opt-out mechanism
- Use analytics data only for aggregate statistics
Publishers **cannot**:
- Use analytics data for advertising purposes
- Share data with advertising networks
- Enable individual user tracking or profiling
## Part 8: Data Protection & Security
### Data Location
| Aspect | Detail |
| --- | --- |
| **Processing location** | Dublin, Ireland (EU) |
| **Data storage** | EU only |
| **UK adequacy** | EU has UK adequacy decision |
| **International transfers** | Protected by adequacy |
### UK GDPR Alignment
Sealmetrics also complies with UK GDPR requirements:
| Requirement | Compliance |
| --- | --- |
| Data minimisation | Only essential data collected |
| Purpose limitation | Analytics only |
| Storage limitation | 24 months maximum |
| Security measures | TLS 1.3, AES-256 encryption |
## Part 9: Transition Timeline
### Key Dates
| Date | Event |
| --- | --- |
| **19 June 2025** | DUAA 2025 receives Royal Assent |
| **February 5, 2026** | PECR amendments take effect |
| **Ongoing** | ICO guidance updates expected |
### Recommended Actions for Publishers
1. **Before February 5, 2026**: Review current analytics setup
2. **February 5, 2026**: Analytics exemption becomes available
3. **Ongoing**: Monitor ICO guidance for clarifications
## Part 10: Version History
| Version | Date | Changes |
| --- | --- | --- |
| 1.0 | February 2026 | Initial self-assessment based on DUAA 2025 |
## References
- [Data (Use and Access) Act 2025](https://www.legislation.gov.uk/ukpga/2025/18/contents)
- [ICO - Cookies and similar technologies](https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guide-to-pecr/cookies-and-similar-technologies/)
- [Privacy and Electronic Communications Regulations 2003](https://www.legislation.gov.uk/uksi/2003/2426/contents)
- [Sealmetrics Privacy Policy](https://sealmetrics.com/privacy.md)
- [Sealmetrics DPA](https://sealmetrics.com/dpa.md)
## Contact
For compliance questions or DPO inquiries:
- **Email:** [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **DPO Contact:** [dpo@sealmetrics.com](mailto:dpo@sealmetrics.com)
In short
- Section 112 and Schedule 12 of the Data (Use and Access) Act 2025 (Royal Assent 19 June 2025; in force 5 February 2026) replace PECR regulation 6 and add a statistical-purposes exemption (Schedule A1, paragraph 5). Its conditions are met on Sealmetrics' own assessment.
- Sealmetrics uses no cookies or localStorage and keeps no persistent or stored fingerprint (its session identifier is re-keyed daily), produces aggregate statistics only, has no advertising features, and stores data in Dublin, Ireland (EU, covered by UK adequacy) for a maximum of 24 months.
- Publishers must still inform users in their privacy policy and offer a simple, free opt-out; this is not an ICO certification.
## Related documentation
- [Is Sealmetrics GDPR, ePrivacy, CCPA, and PECR Compliant?](https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant.md) — the overall multi-regulation compliance summary.
- [CNIL Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the equivalent self-assessment for France.
- [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) — the analytics exemption conditions across EU DPAs.
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — the cookieless basis that satisfies UK GDPR too.
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — the model behind the PECR exemption.
## Germany TDDDG (formerly TTDSG) Self-Assessment: Sealmetrics
URL: https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment/
Self-assessment of Sealmetrics against §25 TDDDG (formerly TTDSG): nothing stored on the device, no cookies, and why whether a consent banner is needed in Germany remains an open question.
*Reviewed: 12 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* Sealmetrics stores nothing on the visitor's terminal equipment and reads no cookies or storage from it, so it does not perform the storage act regulated by §25(1) of the German **Telecommunications Digital Services Data Protection Act** — the **TDDDG** (*Telekommunikation-Digitale-Dienste-Datenschutz-Gesetz*), known until May 2024 as the **TTDSG**. The tracker does read standard runtime browser properties via JavaScript to compute a session identifier. **Our reading**, set out in Criterion 2, is that this is not access to information *stored* in the terminal equipment, so no consent banner is required for analytics in Germany. **That is an open question, not a certainty:** the EDPB reads "access" broadly, and the DSK does not extend the §25(2) exemption to audience measurement, so if §25(1) were held to apply there would be no exemption to fall back on. Check with your DPO or counsel. §25 TDDDG is Germany's transposition of Article 5(3) of the ePrivacy Directive; this self-assessment covers it and the GDPR layer for visitor data as framed by the DSK.
Important Notice
This self-assessment follows the published legal framework and the guidance of the German Data Protection Conference (DSK), but **does not constitute certification** by the DSK, any German supervisory authority (Landesdatenschutzbehörde), or the BfDI. No such certification scheme for analytics tools currently exists in Germany. This document sets out how Sealmetrics assesses itself against the applicable requirements, including where the position is an open question.
## Is a consent banner required for Sealmetrics in Germany?
| Category | Status |
| --- | --- |
| **§25(1) TDDDG — storage of information on terminal equipment** | Not triggered — nothing is stored |
| **§25(1) TDDDG — access to information stored on terminal equipment** | Sealmetrics' position: not triggered — no cookies or storage are read; runtime browser properties are read to compute the session identifier (see Criterion 2) |
| **GDPR layer (visitor data)** | No data that identifies anyone; session identifier pseudonymised and unrecoverable after daily rotation; Art. 6(1)(f) legitimate interest |
| **DSK Orientierungshilfe alignment** | Our reading: consistent on storage; on access, an open question (see Criterion 2) |
| **Consent banner required** | Our reading: not required — an open question; check with your DPO or counsel (the tracker reads device properties, and the DSK does not extend §25(2) to audience measurement) |
| **Last Assessment Date** | February 2026 |
## Why is Germany the hard case for analytics?
Germany is widely regarded as the strictest large EU market for analytics:
1. **§25 TDDDG has no analytics exemption.** Unlike France (CNIL's audience-measurement exemption) or the UK (the DUAA 2025 analytics exemption), German law exempts only what is **strictly necessary** to provide the service the user requested (§25(2) Nr. 2). The DSK has consistently stated that audience measurement is *not* strictly necessary.
2. **German supervisory authorities actively enforce** against cookie banners and tracking implementations.
This means a tool can only operate consent-free in Germany by **not triggering §25(1) at all** — not by claiming an exemption. That is Sealmetrics' reading of its own design; because the tracker reads device properties via JavaScript, it is a reading a German DPO may not share (see Criterion 2).
## Part 1: §25(1) TDDDG — The Two Prohibited Acts
§25(1) TDDDG requires consent for two acts:
> "The storage of information in the terminal equipment of the end user, or the access to information already stored in the terminal equipment, is only permitted if the end user has consented on the basis of clear and comprehensive information."
The provision is technology-neutral: it covers cookies, localStorage, sessionStorage, IndexedDB, cache-based identifiers, and fingerprinting techniques that read stored device information. Note that §25 applies **regardless of whether personal data is involved** — it protects the integrity of the terminal equipment itself.
### Criterion 1: Storage of information in the terminal equipment
**Requirement:** No information may be stored on the user's device without consent (unless strictly necessary).
| Aspect | Sealmetrics Compliance |
| --- | --- |
| Cookies (first- or third-party) | None set |
| localStorage / sessionStorage | Not used by the tracker |
| IndexedDB, cache identifiers, ETags | Not used |
| Any other write to the terminal | None |
**Evidence:** The Sealmetrics tracker (~2.2 KB uncompressed) writes nothing to the browser. Session continuity (~2-hour window) is handled **server-side**, not by placing any marker on the device — from a session identifier the tracker computes and sends with each hit (see Criterion 2). You can verify this yourself: load a page with Sealmetrics installed and inspect DevTools → Application → Cookies/Storage. Nothing appears.
**Assessment:** The first prohibited act of §25(1) does not occur.
### Criterion 2: Access to information already stored in the terminal equipment
**Requirement:** No reading of information stored on the user's device without consent.
| Aspect | Sealmetrics Compliance |
| --- | --- |
| Reading cookies or storage APIs | Never — nothing was stored, nothing is read |
| Fingerprinting | The tracker computes, in the browser, a hash of runtime device characteristics — a device fingerprint (see below). No cookies or storage are read to do so |
| Reading files, contacts, or device identifiers | Not performed |
**The nuance, stated honestly:** the tracker does evaluate runtime browser parameters via standard JavaScript APIs — the browser timezone (`Intl.DateTimeFormat().resolvedOptions().timeZone`, used for country detection and as a hash input) and, as inputs to the session-identifier hash only, languages, screen resolution, colour depth, dark-mode and reduced-motion preferences, CPU core count and device memory. Whether reading such runtime environment parameters constitutes "access to information stored in the terminal equipment" under §25(1) is a debated question in German commentary. The EDPB's [Guidelines 2/2023](https://edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-22023-technical-scope-art-53-eprivacy-directive_en) on the technical scope of Art. 5(3) read "access" broadly, and on that reading a script retrieving these properties can count as access; a DPO who follows them may conclude that §25(1) is engaged.
The DSK's *Orientierungshilfe für Anbieter von Telemedien* takes the position that information the browser transmits anyway as part of the communication (e.g., the User-Agent header in every HTTP request) is not "access" within the meaning of the provision, whereas *active* retrieval of stored information is. Sealmetrics' position, criterion by criterion:
| Parameter | How obtained | §25 analysis |
| --- | --- | --- |
| User agent | Transmitted by the browser in every HTTP request | Not "access" — part of the communication itself |
| Referrer, URL | Transmitted by the browser / part of the page context | Not "access" |
| Timezone | Standard JS runtime API; a configuration value, not stored user information | Reasonably outside §25; even under the strictest reading, it is a single non-identifying value used for coarse (country-level) statistics and as one input to the session-identifier hash; on its own it creates no identifier |
| Languages, screen resolution, colour depth, dark-mode and reduced-motion preferences, CPU core count, device memory | Standard JS runtime APIs; combined in the browser with the user agent, timezone and the site's account ID into a hash that serves as the session identifier | Same interpretive question as timezone; none of these values is stored or reported, but their combination is a device fingerprint |
Stated plainly: **the hash computed in the browser is a device fingerprint**, so Sealmetrics does not claim that no identifier is built on the device. What limits it is that it is never written to the device and never stored as sent: before storage the server re-keys it with a server secret and a daily salt that is destroyed on rotation, so the stored identifier changes every day and nothing stored can recognize a device across days — not even for Sealmetrics. See [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track/#6-session-identifier).
**Assessment:** Sealmetrics' position is that no information *stored* in the terminal equipment is accessed in the sense of §25(1). The runtime properties read and the in-browser hash built from them are disclosed above so that publishers and their DPOs can weigh the interpretive question themselves.
### Criterion 3: §25(2) exemptions — not needed, but noted
**Requirement:** If §25(1) were triggered, consent-free operation would require the "strictly necessary" exemption (§25(2) Nr. 2), which the DSK does not extend to analytics.
| Aspect | Sealmetrics Position |
| --- | --- |
| Does Sealmetrics rely on §25(2)? | No — its position is that §25(1) is not triggered (see Criterion 2) |
| Would analytics qualify as "strictly necessary"? | Per DSK guidance, generally no — which is why cookie-based analytics tools need banners in Germany. If §25(1) were held to apply to Sealmetrics' reading of browser properties, the same would be true for it |
This is the structural difference Sealmetrics claims from consent-managed tools: on the Criterion 2 interpretation, it does not need an exemption because it performs neither of the acts §25(1) regulates.
## Part 2: The GDPR Layer (Visitor Data)
§25 TDDDG governs the terminal equipment; the GDPR governs any subsequent processing of personal data. The DSK's two-step model requires both to be assessed.
### Criterion 4: No data that identifies anyone
| Aspect | Compliance |
| --- | --- |
| IP addresses | Never stored — used ephemerally in memory for anti-bot protection only |
| User IDs / cross-session identifiers | None exist |
| Device fingerprints | None stored — the in-browser hash is re-keyed daily on the server and never stored as sent |
| Country detection | Derived from browser timezone, not IP geolocation |
| Session handling | Server-side, short-lived (~2h); the identifier is a pseudonym re-keyed with a daily salt that is destroyed, so it cannot recognize a returning visitor on another day |
| Retention | Fixed for every plan: per-hit log 1 day, hourly aggregates 90 days, daily aggregates and conversion events 24 months, then automatic deletion |
**Assessment:** Stored records contain no data that identifies anyone. The session identifier is pseudonymised data while the daily salt exists (the per-hit log keeps it for 1 day) and is processed under **Article 6(1)(f) GDPR** (legitimate interest in measuring one's own website); once the salt rotates, not even Sealmetrics can reconstruct it. Reports are always aggregated. In practice, rights requests from visitors cannot be matched to a record — see [Data Subject Rights](https://sealmetrics.com/docs/compliance/data-subject-rights.md).
### Criterion 5: Transient processing of the IP address
During request handling, the visitor's IP address is technically received (as with any web server) and used **in memory only** to check it against blocklists of automated-traffic IPs (abuse prevention), then discarded. To the extent this transient handling constitutes processing of personal data, it is supported by **Article 6(1)(f) GDPR** (legitimate interest in network and service security), satisfies data minimization (Article 5(1)(c)), and the IP is never stored. The pseudonymised session identifier also rests on Article 6(1)(f) (Criterion 4); consent is not used as the legal basis.
No other use of the IP occurs. A GeoLite2 lookup was designed for the **Agent Analytics** bot detector, but that feature is **not live and cannot be enabled on any account**, so it runs on no site today. See [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md).
**Assessment:** Meets criterion (self-assessed) — minimal, transient, security-purposed, never persisted.
### Criterion 6: Data location and transfers
| Aspect | Detail |
| --- | --- |
| Processing location of analytics data | Dublin, Ireland (EU) |
| Transfers of analytics data outside the EU | None |
| US cloud storage of analytics data | None |
| Subprocessors | Visitor analytics data processed exclusively in the EU — see [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) |
German authorities have scrutinized US-linked analytics transfers intensively since *Schrems II*. Sealmetrics' visitor analytics data is hosted and processed only in the EU (Dublin) and is not transferred outside it.
## Part 3: DSK Orientierungshilfe Checklist
The DSK's guidance for telemedia providers frames the questions a German controller should ask. Summary against Sealmetrics:
| DSK question | Sealmetrics answer |
| --- | --- |
| Is information stored on the terminal? | No |
| Is stored information accessed? | No cookies or storage are read; runtime browser properties are read to compute the session identifier (see Criterion 2) |
| Is consent under §25(1) required? | Our reading: no — an open question, see Criterion 2; check with your DPO or counsel |
| Is personal data processed afterwards? | Pseudonymised data only: the IP transiently in memory, and the session identifier for 1 day; nothing that identifies anyone is stored, and reports are aggregated |
| Legal basis for that processing? | Art. 6(1)(f) GDPR (legitimate interest) for the security check and the pseudonymised session identifier; aggregated reports do not identify anyone |
| Are users informed? | Yes — via the publisher's privacy policy (template below) |
| Joint controllership / third-party sharing? | No third-party data sharing; processor relationship under the [DPA](https://sealmetrics.com/dpa.md) |
## Part 4: Configuration Checklist for German Publishers
### Required
- Standard tracking mode (default configuration)
- No custom user IDs enabling cross-session tracking
- No PII in custom event properties
- Privacy policy (Datenschutzerklärung) updated to mention Sealmetrics
**Recommended Privacy Policy Text (German):**
```plaintext
Diese Website verwendet Sealmetrics zur Reichweitenmessung. Sealmetrics
setzt keine Cookies und speichert keine Informationen auf Ihrem Endgerät.
Zur Sitzungserkennung liest das Skript Standard-Browsereigenschaften aus
und bildet daraus im Browser einen Hashwert, der serverseitig täglich neu
verschlüsselt und nie im Originalzustand gespeichert wird. Es werden
keine Daten gespeichert, die jemanden identifizieren; IP-Adressen werden
nicht gespeichert. Die Sitzungskennung ist flüchtig: Sie wechselt
täglich und kann danach nicht einmal von Sealmetrics rekonstruiert
werden. Die Berichte sind stets aggregiert. Rechtsgrundlage ist unser
berechtigtes Interesse (Art. 6 Abs. 1 lit. f DSGVO). Die Daten werden
ausschließlich in der EU (Dublin, Irland) verarbeitet.
```
### Prohibited
- Do NOT pass email addresses or other PII as properties
- Do NOT combine Sealmetrics data with advertising or profiling tools
- Do NOT implement custom device-storage workarounds around the tracker
## Part 5: Compliance Statement
Sealmetrics declares that:
1. Its standard configuration **stores no information on the end user's terminal equipment and reads no cookies or storage from it**; it reads runtime browser properties to compute a session identifier that is re-keyed daily and never stored as sent. On the interpretation set out in Criterion 2, the consent requirement of **§25(1) TDDDG is not triggered**
2. Stored visitor analytics data **contains no data that identifies anyone and no persistent identifiers**; the session identifier is pseudonymised, processed under Art. 6(1)(f) GDPR and unrecoverable after the daily rotation
3. All customer analytics data is processed **exclusively in the EU (Dublin, Ireland)** with no third-country transfers
4. On this reading, publishers using Sealmetrics in Germany can measure their audience **without a consent banner** for the analytics function, when configured per this document. Whether reading browser properties is "access" under §25(1) is an open question (EDPB Guidelines 2/2023 read access broadly, and the DSK does not extend §25(2) to audience measurement); publishers should confirm with their DPO or counsel
Publishers **cannot** claim Sealmetrics is "certified" or "approved" by the DSK, the BfDI, or any Landesdatenschutzbehörde — no such certification exists.
## Part 6: Version History
| Version | Date | Changes |
| --- | --- | --- |
| 1.0 | February 2026 | Initial self-assessment against §25 TDDDG and DSK guidance |
| 1.1 | October 2026 | Session identifier described as pseudonymised data under Art. 6(1)(f); banner verdict presented as Sealmetrics' reading, an open question |
## References
- [TDDDG (formerly TTDSG) — full text (gesetze-im-internet.de)](https://www.gesetze-im-internet.de/ttdsg/)
- [DSK — Orientierungshilfe für Anbieter von Telemedien](https://www.datenschutzkonferenz-online.de/orientierungshilfen.html)
- [Sealmetrics Privacy Policy](https://sealmetrics.com/privacy.md)
- [Sealmetrics DPA](https://sealmetrics.com/dpa.md)
## Contact
- **Email:** [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **DPO Contact:** [dpo@sealmetrics.com](mailto:dpo@sealmetrics.com)
In short
- §25 TDDDG has no analytics exemption; Sealmetrics' position is that neither act §25(1) regulates occurs — nothing is stored on the device and no cookies or storage are read — while disclosing that runtime browser properties are read to compute a daily-re-keyed session identifier.
- Stored visitor data contains nothing that identifies anyone: no IP addresses (in-memory use only for anti-bot protection), no persistent identifiers, a pseudonymised session identifier under Art. 6(1)(f) that becomes unrecoverable after daily rotation, and aggregated reports kept 24 months.
- Whether a consent banner is needed in Germany is our reading, not a certainty: the tracker reads device properties via JavaScript and the DSK does not extend §25(2) to audience measurement — check with your DPO or counsel.
- All analytics data is processed in Dublin, Ireland with no third-country transfers; this is not a certification by the DSK, the BfDI or any Landesdatenschutzbehörde.
## Related documentation
- [CNIL Self-Assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the equivalent self-assessment for France
- [UK PECR Self-Assessment](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md) — the equivalent self-assessment for the UK
- [Italy Garante Self-Assessment](https://sealmetrics.com/docs/compliance/italy-garante-self-assessment.md) — the equivalent self-assessment for Italy
- [Switzerland FADP Self-Assessment](https://sealmetrics.com/docs/compliance/switzerland-fadp-self-assessment.md) — the equivalent self-assessment for Switzerland
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the full data inventory behind this assessment
## Italy Garante Self-Assessment: Sealmetrics Compliance
URL: https://sealmetrics.com/docs/compliance/italy-garante-self-assessment/
Self-assessment of Sealmetrics against the Italian Garante's cookie guidelines and analytics decisions — consent-free audience measurement in Italy.
*Reviewed: 12 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* Sealmetrics stores nothing on the visitor's terminal (no cookies, no browser storage) and keeps no persistent or stored fingerprint; the tracker does read standard browser properties to compute a session identifier that is re-keyed daily on the server, so its self-assessed consent exemption under Article 122 of the Italian Privacy Code rests on the Garante's analytics conditions assessed below. It also hosts and processes all customer analytics data in Dublin, Ireland, so the transfer problem behind the Garante's 2022 Google Analytics decisions does not arise. This self-assessment follows the Italian data protection authority's (**Garante per la protezione dei dati personali**) **"Linee guida sui cookie e altri strumenti di tracciamento"** (Guidelines on cookies and other tracking tools, adopted 10 June 2021) and **Article 122 of the Italian Privacy Code** (d.lgs. 196/2003, as amended), Italy's transposition of Article 5(3) of the ePrivacy Directive.
Important Notice
This self-assessment follows the Garante's published guidelines but **does not constitute certification or approval by the Garante**. No such certification scheme for analytics tools exists in Italy. This document demonstrates how Sealmetrics meets the published requirements when properly configured.
## Is a consent banner required for Sealmetrics in Italy?
| Category | Status |
| --- | --- |
| **Art. 122 Privacy Code — storage/access on terminal equipment** | Nothing stored; browser properties are read to compute the session identifier — exemption assessed against the Garante's analytics conditions (Part 2) |
| **Garante 2021 guidelines — analytics conditions** | Met (and exceeded — no cookie is used at all) |
| **No US transfers (post-GA decisions of 2022)** | EU-only processing (Dublin, Ireland) |
| **Consent banner required for analytics** | No |
| **Last Assessment Date** | February 2026 |
## What is the Italian framework for analytics?
The Italian regime for analytics rests on three pillars:
1. **Article 122 of the Privacy Code** requires consent for storing information on, or accessing information already stored in, a user's terminal equipment, unless strictly necessary for the requested service (the Italian equivalent of §25 TDDDG in Germany or PECR Regulation 6 in the UK).
2. **The Garante's June 2021 cookie guidelines** distinguish technical cookies (no consent), profiling cookies (consent required), and **analytics cookies, which may be assimilated to technical cookies** — i.e., used without consent — only under specific minimization conditions.
3. **The Garante's 2022 Google Analytics decisions** (starting with the ruling against Caffeina Media of 9 June 2022) found that using Google Analytics involved unlawful transfers of personal data to the United States, effectively putting US-hosted analytics implementations out of compliance in Italy.
Sealmetrics addresses all three pillars structurally: it uses no cookies or terminal storage at all, produces only aggregate statistics without persistent identifiers, and hosts and processes all customer analytics data only in the EU (Dublin).
## Part 1: Article 122 — Terminal Equipment
### Criterion 1: No storage of information on the terminal
| Aspect | Sealmetrics Compliance |
| --- | --- |
| Cookies (technical, analytics, or profiling) | None set |
| localStorage / sessionStorage | Not used |
| Other terminal storage (IndexedDB, cache tricks) | Not used |
**Evidence:** The tracker writes nothing to the browser. Session continuity (~2-hour window) is handled server-side, from a session identifier sent with each hit (see Criterion 2). Verifiable in browser DevTools on any page running Sealmetrics.
### Criterion 2: No access to stored information / no fingerprinting
The 2021 guidelines explicitly extend to "other tracking tools", including **fingerprinting** as a cookie substitute — so-called "passive identifiers".
| Aspect | Sealmetrics Compliance |
| --- | --- |
| Reading terminal information | Performed — the tracker reads standard browser properties (user agent, timezone, languages, screen resolution, colour depth, dark-mode and reduced-motion preferences, CPU core count, device memory) to compute a session hash in the browser |
| Device fingerprinting | That in-browser hash is a device fingerprint. It is never written to the device and never stored as sent: the server re-keys it with a daily salt that is destroyed on rotation, so the stored identifier changes every day |
| Cross-session recognition of any kind | Not possible across days — nothing stored can link the same device from one day to the next, not even for Sealmetrics |
**Assessment:** Article 122 is engaged by the reading of browser properties, so Sealmetrics does not claim that no act under Article 122 occurs. Its self-assessed consent exemption rests on the Garante's analytics conditions in Part 2 — aggregate statistics only, minimized identifying power, no combination with other processing — applied to this non-persistent, site-scoped identifier. See [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track/#6-session-identifier) for how the identifier is built.
## Part 2: The Garante's Analytics Conditions (2021 Guidelines)
The guidelines allow analytics cookies to be treated like technical cookies (consent-free) only under minimization conditions. Sealmetrics does not use analytics cookies at all — but for completeness, here is the assessment against each condition, since the conditions express the Garante's substantive expectations for any audience-measurement tool.
### Criterion 3: Aggregate statistics only
**Requirement:** Analytics must be used only to produce aggregate statistics.
| Aspect | Compliance |
| --- | --- |
| Reports show aggregated data only | Yes |
| No individual user journeys across sessions | Not possible — no cross-session identifier |
| No unique-visitor or user-level metrics | Deliberately excluded (no unique visitors, no session duration) |
### Criterion 4: Minimized identifying power (IP masking)
**Requirement:** For analytics cookies, the identifying power must be minimized — e.g., masking significant portions of the IP address.
| Aspect | Compliance |
| --- | --- |
| IP masking | Exceeded — the IP is **never stored in the analytics database** (transient server-side use for anti-bot protection) |
| Geolocation method | Country from browser timezone, not IP; country-level only, no city/region |
| Identifiers in stored data | No user ID, device ID or persistent fingerprint — only a daily-re-keyed session pseudonym, purged from the per-hit log after 1 day |
**Note:** the Garante's masking condition presupposes a tool that stores IP-derived data. Sealmetrics goes beyond the condition: there is nothing to mask because no IP or IP-derived identifier is persisted in the analytics database.
### Criterion 5: No combination with other processing (no cross-referencing / enrichment)
**Requirement:** Analytics data must not be combined with other data or cross-referenced with other processing operations.
| Aspect | Compliance |
| --- | --- |
| Cross-referencing with CRM or advertising data | Not possible — no user-level key exists to join on |
| Data enrichment from third parties | None |
| Cross-site combination by the provider | None — each account's data is isolated |
### Criterion 6: No transmission to third parties
**Requirement:** Analytics data must not be disclosed to third parties.
| Aspect | Compliance |
| --- | --- |
| Data sales or sharing | Never — contractually excluded by the [DPA](https://sealmetrics.com/dpa.md) |
| Advertising network integrations | None exist in the product |
| Provider reuse of client data | Prohibited by the [Terms of Service](https://sealmetrics.com/terms.md) |
### Criterion 7: Per-publisher independence
**Requirement:** Where one provider serves multiple publishers, measurement must remain independent per publisher (no unified cross-site view).
| Aspect | Compliance |
| --- | --- |
| Account isolation | Each customer's dataset is fully isolated |
| Shared identifiers across sites | None — the site's account ID is part of the session hash, so the same browser yields a different identifier on each site |
| Cross-account analysis | Not performed |
## Part 3: International Transfers — the Google Analytics Precedent
### Criterion 8: No transfers to the United States or other third countries
In June 2022 the Garante ruled (Caffeina Media decision, and subsequent cases) that Google Analytics transferred personal data — including IP addresses and browser identifiers — to the US without adequate safeguards, in breach of Chapter V GDPR.
| Aspect | Sealmetrics Compliance |
| --- | --- |
| Analytics data processing location | Dublin, Ireland (EU) exclusively |
| Transfers of analytics data outside the EU | None — no SCCs or adequacy mechanisms needed because no transfer occurs |
| US-hosted subprocessing of analytics data | None — see [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) |
| Data that could be transferred | Even hypothetically minimal — stored records contain no data that identifies anyone |
**Assessment:** The transfer problem that ended Google Analytics' compliant use in Italy does not arise for Sealmetrics.
## Part 4: Transparency Obligations
### Criterion 9: User information
**Requirement:** Users must be informed about the processing (Art. 13 GDPR; the guidelines require clear cookie/privacy notices).
| Aspect | Compliance |
| --- | --- |
| Privacy policy template provided | Yes (below) |
| Cookie banner required for Sealmetrics | No (self-assessed) — no cookies are used; the session identifier is assessed against the Garante's analytics conditions in Part 2 |
| Cookie policy entry | Sealmetrics can be truthfully listed as "no cookies used" |
**Recommended Privacy Policy Text (Italian):**
```plaintext
Questo sito utilizza Sealmetrics per la misurazione del traffico.
Sealmetrics non utilizza cookie, non memorizza nulla sul dispositivo
dell'utente né dati che identifichino qualcuno; gli indirizzi IP non
vengono conservati. L'identificatore di sessione è effimero: cambia
ogni giorno e, una volta cambiato, nemmeno Sealmetrics può
ricostruirlo. I report sono sempre aggregati. Base giuridica: legittimo
interesse (art. 6, par. 1, lett. f GDPR). I dati sono trattati
esclusivamente nell'Unione Europea (Dublino, Irlanda).
```
## Part 5: Configuration Checklist for Italian Publishers
### Required
- Standard tracking mode (default configuration)
- No custom user IDs enabling cross-session tracking
- No PII in custom event properties
- Privacy policy (informativa) updated to mention Sealmetrics
### Prohibited
- Do NOT pass email addresses or other PII as properties
- Do NOT combine Sealmetrics data with profiling or advertising tools and claim the analytics treatment
- Do NOT export data for individual-level analysis
## Part 6: Compliance Statement
Sealmetrics declares that:
1. Its standard configuration **sets no cookies and stores nothing on the device**; it reads standard browser properties to compute a session identifier that is re-keyed daily on the server and never stored as sent. On its own assessment this falls within the Garante's analytics conditions under Article 122 of the Privacy Code and the 2021 guidelines, so **no consent banner is required** for the analytics function
2. It satisfies — and structurally exceeds — the Garante's minimization conditions for consent-free analytics (aggregate statistics, no stored IP, no cross-referencing, no third-party disclosure, per-publisher independence)
3. All customer analytics data is processed **exclusively in the EU (Dublin, Ireland)**, avoiding the third-country transfer issues identified in the Garante's 2022 analytics decisions
Publishers **cannot** claim Sealmetrics is "certified" or "approved" by the Garante — no such certification exists.
## Part 7: Version History
| Version | Date | Changes |
| --- | --- | --- |
| 1.0 | February 2026 | Initial self-assessment against the Garante's 2021 guidelines and Art. 122 Privacy Code |
## References
- [Garante — Linee guida sui cookie e altri strumenti di tracciamento (10 June 2021)](https://www.garanteprivacy.it/home/docweb/-/docweb-display/docweb/9677876)
- [Garante — Google Analytics decision (9 June 2022, doc. web 9782890)](https://www.garanteprivacy.it/home/docweb/-/docweb-display/docweb/9782890)
- [Codice Privacy (d.lgs. 196/2003), Art. 122](https://www.normattiva.it/uri-res/N2Ls?urn:nir:stato:decreto.legislativo:2003-06-30;196)
- [Sealmetrics Privacy Policy](https://sealmetrics.com/privacy.md)
- [Sealmetrics DPA](https://sealmetrics.com/dpa.md)
## Contact
- **Email:** [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **DPO Contact:** [dpo@sealmetrics.com](mailto:dpo@sealmetrics.com)
In short
- Sealmetrics sets no cookies and stores nothing on the device; it reads standard browser properties to compute a session identifier that is re-keyed daily and never stored as sent, and its self-assessed Article 122 exemption rests on the Garante's 10 June 2021 analytics conditions.
- The Garante's minimization conditions for analytics are exceeded — aggregate statistics only, no stored IP, no cross-referencing, no third-party disclosure, per-publisher independence.
- All data is processed in Dublin, Ireland, so the US-transfer issue from the 9 June 2022 Google Analytics decision does not arise; this is not a Garante certification.
## Related documentation
- [CNIL Self-Assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the equivalent self-assessment for France
- [Germany TDDDG Self-Assessment](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md) — the equivalent self-assessment for Germany
- [Switzerland FADP Self-Assessment](https://sealmetrics.com/docs/compliance/switzerland-fadp-self-assessment.md) — the equivalent self-assessment for Switzerland
- [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) — visitor analytics data processed exclusively in the EU
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the full data inventory behind this assessment
## Switzerland FADP Self-Assessment: Sealmetrics Compliance
URL: https://sealmetrics.com/docs/compliance/switzerland-fadp-self-assessment/
Self-assessment of Sealmetrics against the revised Swiss FADP (nFADP) and Art. 45c TCA: no data that identifies anyone, nothing on the device, a session identifier that rotates daily, EU-only processing in Dublin.
*Reviewed: 12 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* Sealmetrics stores no data that identifies a visitor — its only per-visitor value is a session identifier that rotates daily and, once rotated, cannot be reconstructed even by Sealmetrics — and treats that identifier conservatively as personal data under the revised **Swiss Federal Act on Data Protection** (**nFADP / revDSG**, in force since 1 September 2023). It stores nothing on the device and meets the information-and-refusal duties of **Article 45c(b) of the Swiss Telecommunications Act (TCA/FMG)** for the browser properties its tracker reads, and processes data only in Dublin, Ireland — adequate territory under the Federal Council's country list. This self-assessment reviews each FADP duty and the Swiss terminal-equipment rule against that architecture.
Important Notice
This self-assessment follows the published Swiss legal framework and guidance from the Federal Data Protection and Information Commissioner (FDPIC), but **does not constitute certification or approval by the FDPIC**. This document demonstrates how Sealmetrics meets the applicable requirements when properly configured.
## Does the Swiss FADP require a consent banner for Sealmetrics?
| Category | Status |
| --- | --- |
| **Personal data of visitors under FADP** | Minimal — no persistent identifiers; a session pseudonym kept 1 day, treated as personal data and unrecoverable after daily rotation |
| **FADP processing principles (Art. 6)** | Meets criterion (self-assessed) |
| **Privacy by design & default (Art. 7)** | Meets criterion (self-assessed) |
| **Data security (Art. 8)** | Meets criterion (self-assessed) |
| **Cross-border disclosure (Art. 16–17)** | EU only — adequate under the Federal Council's country list |
| **Art. 45c(b) TCA — terminal equipment** | Nothing stored on the device; browser properties read for the session identifier are covered by the information/refusal duties |
| **Consent banner required** | No |
| **Last Assessment Date** | February 2026 |
## Background: The Swiss Model
Switzerland's framework differs from the EU's in two ways that matter for analytics:
1. **No general consent requirement.** Under the FADP, processing personal data is generally lawful **without consent**, provided the processing principles (Art. 6) are respected and personality rights are not unlawfully breached (Art. 30–31). Consent becomes relevant mainly for sensitive personal data, high-risk profiling, or where principles are departed from.
2. **Terminal equipment rule is opt-out, not opt-in.** Article 45c(b) TCA permits processing data on third-party terminal equipment if users are informed about it and about how they can refuse — an information-plus-refusal model, not the EU's consent model.
This makes Switzerland structurally more permissive than the EU. Sealmetrics nonetheless assesses itself against the stricter reading on every criterion, because most Swiss customers also serve EU visitors and prefer one uniform standard.
## Part 1: Applicability — Is Visitor Data "Personal Data"?
### Criterion 1: Personal data (Art. 5 lit. a FADP)
**Requirement:** The FADP applies to data relating to an identified or identifiable natural person. Swiss law follows a **relative approach** to identifiability: what counts is whether identification is reasonably possible for the data holder with proportionate effort.
| Data point stored | Identifiable? |
| --- | --- |
| Timestamp | No — cannot single out a person |
| Page URL / referrer | No (publishers must not put PII in URLs — see checklist) |
| User agent (category signal) | No — never joined to any identity; the only identifier is the daily session pseudonym below, which identifies no one |
| Country (from browser timezone) | No — country-level only |
| Session identifier (daily pseudonym, purged after 1 day) | Treated as personal data — a pseudonym Sealmetrics could recompute while the day's salt exists, though it identifies no person; computed in the browser as a hash of device characteristics, never written to the device, re-keyed on the server with a daily salt destroyed on rotation; cannot recognize a returning visitor across days |
| IP address | **Not stored** — ephemeral in-memory use for anti-bot protection only |
**Assessment:** No stored field identifies a person, and neither Sealmetrics nor the publisher can identify one with means reasonably likely to be used. Because the session pseudonym can be recomputed by Sealmetrics for one day, this assessment treats it conservatively as personal data, so the FADP processing principles apply to it — and are met by design: minimal data, 1-day retention, unrecoverable after rotation. Reports are always aggregated.
**Honest nuance:** identifiability is always assessed in context. If a publisher injected identifying data (e.g., an email in a URL or custom property), the analysis would change. The configuration checklist below exists precisely to keep implementations on the right side of this line.
## Part 2: Processing Principles (Art. 6 FADP)
Even where visitor data falls outside the FADP, Sealmetrics applies the Art. 6 principles as an engineering baseline — and they apply fully to **account data** (dashboard users' email, name, billing details).
### Criterion 2: Lawfulness, good faith, proportionality (Art. 6 paras. 1–2)
| Aspect | Compliance |
| --- | --- |
| Lawful processing | Aggregate statistics for the publisher's own audience measurement |
| Good faith / transparency | Documented publicly; privacy policy template provided |
| Proportionality (data minimization) | A small set of non-identifying fields per hit ([listed here](https://sealmetrics.com/docs/security-privacy/what-we-track.md)); no IP stored; country-level geo only |
### Criterion 3: Purpose limitation (Art. 6 para. 3)
| Aspect | Compliance |
| --- | --- |
| Purpose stated and recognizable | Audience measurement only |
| No secondary use | No advertising, profiling, resale, or model training on client data |
| Provider reuse prohibited | Contractually excluded ([Terms](https://sealmetrics.com/terms.md), [DPA](https://sealmetrics.com/dpa.md)) |
### Criterion 4: Accuracy and retention (Art. 6 paras. 4–5)
| Aspect | Compliance |
| --- | --- |
| Retention limited | 24 months for analytics data, then automatic deletion |
| Account data | Deleted within 30 days of account closure; backups purged within 90 days |
## Part 3: Privacy by Design and by Default (Art. 7 FADP)
The nFADP made privacy by design and by default a statutory duty — one of the notable additions over the old law.
| Aspect | Compliance |
| --- | --- |
| Data protection built into the architecture | No cookies, no persistent identifiers, no stored IP — irrespective of configuration |
| Most protective default settings | The consentless mode, with no persistent identifier (only an ephemeral session identifier that rotates daily), is the default — and currently the only mode. The one optional feature designed on top of it (Agent Analytics bot detection) is **not live and cannot be enabled** |
| Cannot be degraded by misconfiguration alone | Tracking across days or sessions is architecturally unavailable, not merely disabled. A site can still send personal data in custom event properties itself; see the checklist below |
**Assessment:** Meets criterion (self-assessed). Sealmetrics is a working example of Art. 7: the privacy properties are structural, not settings.
## Part 4: Data Security (Art. 8 FADP)
| Measure | Status |
| --- | --- |
| Encryption in transit | TLS 1.3 |
| Encryption at rest | AES-256 |
| Access control | Role-based access, audit logging, 2FA available |
| Breach notification readiness (Art. 24) | Processes in place; note that stored analytics data contains no data that identifies anyone; the only pseudonym is the daily session identifier, purged from the per-hit log after 1 day, which drastically limits breach impact |
## Part 5: Cross-Border Disclosure (Art. 16–17 FADP)
**Requirement:** Personal data may be disclosed abroad only to countries with adequate protection (per the Federal Council's country list in the Data Protection Ordinance) or with appropriate safeguards.
| Aspect | Compliance |
| --- | --- |
| Processing location of analytics data | Dublin, Ireland (EU) |
| Ireland / EU on the Federal Council's adequacy list | Yes — EU/EEA states are recognized as providing adequate protection |
| Transfers of analytics data to the US or other non-adequate countries | None |
| Additional safeguards needed (SCCs, etc.) | Not required — disclosure is only to adequate territory |
**Assessment:** For Swiss publishers, data leaving Switzerland for the EU is a disclosure to an adequate jurisdiction. Analytics data is hosted and processed only in the EU (Dublin), so it is not transferred outside EU/CH-adequate territory. Service emails to account users go through Resend (US) under SCCs. See [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) for the (short) processing chain.
## Part 6: Terminal Equipment — Art. 45c(b) TCA
**Requirement:** Processing data on third-party terminal equipment (the Swiss "cookie rule") is permitted if users are informed and told how to refuse.
| Aspect | Sealmetrics Compliance |
| --- | --- |
| Data stored on the terminal | **None** — no cookies, no localStorage, nothing written |
| Information read from the device | No cookies or storage are read; standard browser properties (user agent, timezone, languages, screen resolution, colour depth, display preferences, CPU core count, device memory) are read to compute the session-identifier hash, which is never stored as sent |
| Information duty | Satisfied via the publisher's privacy policy (template below) |
| Refusal mechanism | Standard browser controls / ad blockers; nothing individual to refuse in any case |
**Assessment:** There is no storage on the device. Reading browser properties to compute the session identifier is processing on the terminal equipment, and the rule's information/refusal duties are satisfied as set out above — no consent is required under the Swiss model.
## Part 7: Duties That Do Not Arise (and Why)
For completeness, the nFADP duties that a Swiss publisher might worry about, assessed against Sealmetrics:
| Duty | Analysis |
| --- | --- |
| Information duty (Art. 19) | Applies to personal data collection; for Sealmetrics, satisfied by a short privacy-policy mention (template below). Recommended regardless of strict necessity. |
| Right of access (Art. 25) | For visitor analytics data, in practice no record can be matched to a requester — the session identifier is unrecoverable after the daily rotation and no persistent identifier exists. See [Data Subject Rights](https://sealmetrics.com/docs/compliance/data-subject-rights.md). Applies normally to dashboard account data. |
| DPIA (Art. 22) | No high-risk processing: no profiling, no sensitive data, no systematic monitoring of individuals. A DPIA for the analytics function is not indicated; publishers can reference this document in their records. |
| Records of processing (Art. 12) | Publishers should include their Sealmetrics use in their records where they maintain them; this page provides the needed facts. |
| Profiling / high-risk profiling (Art. 5 lit. f–g) | Not performed — nothing is kept that could build a profile across days. |
**Recommended Privacy Policy Text (German — adapt for FR/IT):**
```plaintext
Diese Website verwendet Sealmetrics zur Reichweitenmessung. Sealmetrics
setzt keine Cookies, speichert nichts auf Ihrem Gerät und speichert
keine Daten, die jemanden identifizieren; IP-Adressen werden nicht
gespeichert. Zur Sitzungserkennung liest das Skript Standard-
Browsereigenschaften aus und bildet daraus einen Hashwert, der
serverseitig täglich neu verschlüsselt wird. Diese Sitzungskennung ist
flüchtig: Sie wechselt täglich und kann danach nicht einmal von
Sealmetrics rekonstruiert werden. Die Berichte sind stets aggregiert.
Die Daten werden
ausschliesslich in der EU (Dublin, Irland) verarbeitet — einem Land mit
angemessenem Datenschutzniveau gemäss Verordnung des Bundesrates.
Sie können das Analyse-Skript jederzeit über Ihre Browser-Einstellungen
blockieren.
```
## Part 8: Configuration Checklist for Swiss Publishers
### Required
- Standard tracking mode (default configuration)
- No custom user IDs enabling cross-session tracking
- No PII in custom event properties or URLs
- Privacy policy updated to mention Sealmetrics (information duty, Art. 19 FADP / Art. 45c TCA)
### Prohibited
- Do NOT pass email addresses or other PII as properties
- Do NOT combine Sealmetrics data with profiling or advertising tools
- Do NOT export data for individual-level analysis
## Part 9: Compliance Statement
Sealmetrics declares that:
1. Stored visitor analytics data **contains no data that identifies anyone** — no persistent identifiers are kept; the only per-visitor value is a session pseudonym re-keyed daily and purged after 1 day, treated as personal data and unrecoverable after rotation
2. Its architecture satisfies the FADP's processing principles, **privacy by design and by default** (Art. 7), and data security (Art. 8) requirements
3. Customer analytics data is processed **exclusively in Dublin, Ireland (EU)** — adequate territory under the Federal Council's country list — with **no transfers outside EU/CH-adequate jurisdictions**
4. Nothing is stored on the visitor's device; the browser properties read to compute the session identifier are covered by the information/refusal duties of the Swiss terminal-equipment rule (Art. 45c(b) TCA), which imposes no consent or banner obligation
5. On this self-assessment, Swiss publishers can use Sealmetrics for their own analytics **without a consent banner** when configured per this document
Publishers **cannot** claim Sealmetrics is "certified" or "approved" by the FDPIC — no such certification exists.
## Part 10: Version History
| Version | Date | Changes |
| --- | --- | --- |
| 1.0 | February 2026 | Initial self-assessment against the nFADP (in force 1 September 2023) and Art. 45c TCA |
## References
- [Federal Act on Data Protection (FADP, SR 235.1) — official text](https://www.fedlex.admin.ch/eli/cc/2022/491/en)
- [Data Protection Ordinance (DPO, SR 235.11) — including the adequacy country list](https://www.fedlex.admin.ch/eli/cc/2022/568/en)
- [FDPIC — Federal Data Protection and Information Commissioner](https://www.edoeb.admin.ch/)
- [Telecommunications Act (TCA, SR 784.10), Art. 45c](https://www.fedlex.admin.ch/eli/cc/1997/2187_2187_2187/en)
- [Sealmetrics Privacy Policy](https://sealmetrics.com/privacy.md)
- [Sealmetrics DPA](https://sealmetrics.com/dpa.md)
## Contact
- **Email:** [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **DPO Contact:** [dpo@sealmetrics.com](mailto:dpo@sealmetrics.com)
In short
- Under the nFADP (in force 1 September 2023) stored visitor records identify no one: no persistent identifiers, no stored IP, country-level geo from the browser timezone, and a session identifier re-keyed daily (live session ~2 hours) that is treated as personal data and becomes unrecoverable after rotation.
- Analytics data is retained 24 months; account data is deleted within 30 days of closure and backups purged within 90 days; encryption is TLS 1.3 in transit and AES-256 at rest.
- Processing in Dublin, Ireland is a disclosure to adequate territory under the Federal Council's list, and Art. 45c(b) TCA imposes no consent obligation: nothing is stored on the device and its information/refusal duties are met; this is not an FDPIC certification.
## Related documentation
- [CNIL Self-Assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the equivalent self-assessment for France
- [Germany TDDDG Self-Assessment](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md) — the equivalent self-assessment for Germany
- [Italy Garante Self-Assessment](https://sealmetrics.com/docs/compliance/italy-garante-self-assessment.md) — the equivalent self-assessment for Italy
- [Data Subject Rights (DSAR)](https://sealmetrics.com/docs/compliance/data-subject-rights.md) — how access requests work with identifier-free data
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — Dublin hosting and retention schedules
## Subprocessors
URL: https://sealmetrics.com/docs/compliance/subprocessors/
Sealmetrics subprocessors are listed in Annex 3 of the DPA at sealmetrics.com/dpa — the authoritative list; change notifications by email on request.
*Reviewed: 12 August 2026. This is a self-assessment; no supervisory authority certifies analytics tools.* The subprocessors of Sealmetrics are listed in **Annex 3 of the Data Processing Agreement** at [sealmetrics.com/dpa](https://sealmetrics.com/dpa.md), which is the authoritative, always-current version of the list. As of this review it names Noraina Limited (Ireland — infrastructure and database hosting), Scaleway SAS (Paris — managed LLM inference for Seal AI) and Resend (US, under SCCs — service emails); the DPA itself is the reference if the two ever differ.
## Where is the Sealmetrics subprocessor list published?
The authoritative, always-current list of Sealmetrics subprocessors is published as **Annex 3 of our Data Processing Agreement**:
- **[sealmetrics.com/dpa](https://sealmetrics.com/dpa.md)** · [versión en español](https://sealmetrics.com/es/dpa.md)
## How do I get notified of subprocessor changes?
To subscribe to subprocessor change notifications, email **[privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)** with the subject "Subprocessor updates".
In short
- The authoritative subprocessor list is Annex 3 of the DPA at sealmetrics.com/dpa (also published in Spanish at sealmetrics.com/es/dpa).
- As of 12 August 2026 it names three subprocessors: Noraina Limited (Ireland, hosting), Scaleway SAS (Paris, Seal AI inference) and Resend (US, service emails).
- Subscribe to change notifications by emailing [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com) with the subject "Subprocessor updates".
## Data Subject Rights (DSAR)
URL: https://sealmetrics.com/docs/compliance/data-subject-rights/
How data subject access requests work with Sealmetrics — why visitor requests cannot be linked to any record, and how account-holder rights are handled.
If you use Sealmetrics on your website, sooner or later your DPO will receive a data subject access request (DSAR) and need to answer a simple question: *"What does our analytics tool hold about this person?"*
With Sealmetrics, the answer is structurally simple — and this page explains why, what it means in practice, and where data subject rights **do** fully apply (your dashboard account).
## Two very different data categories
| Category | Who it concerns | Contains personal data? | Rights requests |
| --- | --- | --- | --- |
| **Visitor analytics data** | Visitors to your website | Minimal and pseudonymised — a session identifier that rotates daily and is unrecoverable after rotation; no persistent identifiers | In practice cannot be matched to a person (see below) |
| **Account data** | You and your team (dashboard users) | Yes — email, name, billing details | Fully applicable, standard process |
## Visitor rights requests: no data to link to
### Why requests cannot be matched to records
Sealmetrics stores **nothing on the device and no data that identifies anyone**, and no persistent identifiers:
- No IP addresses stored (used ephemerally in memory for anti-bot protection, never persisted)
- No cookies or terminal storage
- No user IDs, persistent device IDs, or stored fingerprints
- No cross-session identifiers — the session identifier is a hash computed in the browser that is never stored as sent: the server re-keys it with a daily salt destroyed on rotation, and the resulting daily pseudonym is purged after 1 day, so it cannot recognize a returning visitor
- Country derived from the browser timezone, not from the IP
- User agent used in flight only; just the derived browser/OS/device categories are kept, in aggregates, never joined to any identity
The session identifier is a pseudonym (personal data under GDPR) only while the day's salt exists; after the daily rotation it cannot be reconstructed, not even by Sealmetrics. A visitor has no way to supply it, and nothing else in the data points to them, so in practice there is **no key by which a rights request could be matched to any stored record**. If a visitor asks "show me my data" or "delete my data", there is no practical means — for Sealmetrics or for you — to determine which rows (if any) were generated by that person's visits.
### The legal frame: GDPR Article 11
GDPR anticipates exactly this situation. **[Article 11](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)** (processing which does not require identification) provides that where a controller's purposes do not require the identification of a data subject, the controller is **not obliged to acquire additional information** just to identify the data subject for the purpose of complying with the Regulation. Where the controller can demonstrate it is not in a position to identify the data subject, Articles 15–20 (access, rectification, erasure, restriction, portability) do not apply — unless the data subject themselves provides additional information enabling identification, which with Sealmetrics is not possible once the day has passed: the only per-visitor value, a daily session pseudonym, is purged after 1 day and its salt is destroyed, so nothing stored can be matched to a device or person.
Not a loophole — a design property
This is not a workaround to avoid answering DSARs. It is the direct consequence of collecting only minimal, pseudonymised data that becomes unrecoverable daily: data minimization taken to its logical conclusion.
### What this means in practice for your DPO
When a visitor rights request mentions your website analytics:
1. **You can respond substantively** — explain that your analytics tool (Sealmetrics) stores nothing on the visitor's device, no IP and no persistent identifier, and that its session identifier rotates daily and cannot be reconstructed, so in practice no stored record can be attributed to the requester (GDPR Art. 11).
2. **You do not need to ask Sealmetrics to search** — there is nothing to search by: no email, no IP, no ID exists in the analytics data.
3. **Document the reasoning** — reference your records of processing (ROPA) entry for Sealmetrics, which should describe the tool as processing pseudonymised data under legitimate interest (Art. 6(1)(f)), per-hit data kept 1 day, with aggregated reports. This page and [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) can be attached as supporting documentation.
4. **Remember [Article 12(2)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)** — you must still facilitate rights requests in general; the point is that for this specific processing, identification is impossible and Article 11(2) applies.
One caveat: what you send us
This analysis holds for Sealmetrics as designed. If your implementation passes personal data into custom event properties (for example, an email address in a conversion property), you have introduced personal data into the system against our [configuration guidance](https://sealmetrics.com/docs/compliance/cnil-self-assessment/#part-5-configuration-checklist), and your DSAR analysis changes. Never send PII in custom properties.
## Account-holder rights: fully applicable
Data subject rights apply in full to **account data** — the personal data of you and your team as Sealmetrics dashboard users (email address, name, password hash, billing information, audit logs).
### What you can do yourself
| Right | How |
| --- | --- |
| Access / portability | Export your data from the dashboard (CSV) or via the API |
| Rectification | Edit your profile and account details in the dashboard |
| Erasure | Close your account — all data deleted within 30 days, backups purged within 90 days |
### How to submit a rights request
For anything you cannot do self-service, or to exercise any GDPR right formally:
- **Email:** [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com)
- **DPO contact:** [dpo@sealmetrics.com](mailto:dpo@sealmetrics.com)
Include the email address associated with your Sealmetrics account so we can verify your identity. We respond within the timelines required by GDPR Article 12(3) (one month, extendable in complex cases with notice).
### Roles under the DPA
For visitor analytics data, you (the website operator) are the controller and Sealmetrics is your processor under the [Sealmetrics DPA](https://sealmetrics.com/dpa.md). For account data (your dashboard login, billing), Sealmetrics acts as a controller in its own right. Rights requests for account data go directly to us at the addresses above.
## Quick reference for DPOs
| Scenario | Answer |
| --- | --- |
| Visitor asks your company for their analytics data | In practice no record can be matched to them — the identifier is unrecoverable after the daily rotation (GDPR Art. 11) |
| Visitor asks for erasure of their analytics data | Same — no record can be located; per-hit data is purged after 1 day anyway |
| Visitor objects to processing | The right applies (legitimate interest), but past records cannot be matched; honour it going forward by not loading the tracker for them — visitors can also block the script via browser settings or ad blockers |
| Dashboard user asks for their account data | Standard DSAR — self-service export or [privacy@sealmetrics.com](mailto:privacy@sealmetrics.com) |
| Regulator asks where analytics data is stored | Dublin, Ireland (EU); retention per-hit log 1 day, hourly aggregates 90 days, daily aggregates and conversion events 24 months — see [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) |
## Primary sources
- GDPR Art. 11 — no obligation to acquire extra data just to identify a data subject — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
- GDPR Art. 12 — facilitating rights requests and the one-month response timeline — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
- GDPR Arts. 15–22 — the individual rights this page maps against analytics data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
- GDPR Recital 26 — pseudonymised data is personal data; anonymous information falls outside the Regulation — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
## Related documentation
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the full inventory of what is (and is not) collected
- [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md) — who touches what data, and where
- [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md) — storage location and deletion schedules
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — the consent-free model behind this analysis
- [CNIL Self-Assessment](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — configuration rules that keep PII out of the system
## Global Privacy Control (GPC) and Do Not Track (DNT)
URL: https://sealmetrics.com/docs/compliance/gpc-dnt-signals/
Why Sealmetrics does not respond to GPC or DNT browser signals — you cannot opt out of a measurement that never tracked you in the first place.
Auditors and privacy-conscious teams sometimes ask why Sealmetrics does not react to the Global Privacy Control (GPC) or Do Not Track (DNT) browser signals. It is a fair question, and the answer is deliberate — not an oversight.
## What these signals mean
**GPC** ([Global Privacy Control specification](https://w3c.github.io/gpc/)) is a browser signal through which an individual tells a website: *"do not sell or share my personal information."* It has legal force in certain jurisdictions (notably under California's CCPA/CPRA) for businesses that sell or share personal data.
**DNT** ([W3C Tracking Preference Expression](https://www.w3.org/TR/tracking-dnt/)) was an earlier attempt at a universal opt-out from cross-site tracking. It never acquired legal standing, and its own standardization effort was abandoned.
Both signals share one premise: **there is an identifiable person being tracked, and that person wants out.**
## Why that premise does not apply here
Honoring an individual opt-out only makes sense when individuals are being measured. Sealmetrics measures **audiences, not people**:
- **No cookies, no browser storage of any kind.** There is nothing on the device to opt out of.
- **No cross-site identifiers.** The ephemeral session identifier is derived per website and cannot link a visitor across sites.
- **No IP addresses in the analytics database**, and country is derived from the browser's timezone — not from the IP.
- **The per-hit log lives for 1 day**; what is kept long-term is aggregate statistics and conversion events with no session identifier.
You cannot opt out of an aggregated count for the same reason you cannot opt out of a turnstile at a stadium entrance: the count contains no *you* to remove. GPC asks a site not to sell or share personal data. Sealmetrics does neither: the only personal data it processes is the daily session pseudonym, which it handles for the site under the DPA, never sells or shares, and which cannot be traced back to anyone once it rotates.
## Protection by default beats opt-out on request
Opt-out models protect only the minority of visitors who know the signal exists and have it enabled. Sealmetrics' model applies the same protections to **every visitor, by default, with no action required on their part**. That is a stronger protection than honoring an opt-out — it is the opt-out made structural.
## What this does *not* change for you
If your business sells or shares personal data through **other** tools (advertising pixels, data brokers, CRM enrichment), your obligation to honor GPC for those tools is unaffected. Sealmetrics simply is not part of that category: it has nothing to stop selling or sharing.
We monitor the regulatory evolution of these signals. If any framework ever assigns GPC a meaning applicable to exempt, aggregate-only audience measurement, we will reassess this position — and document any change here.
## Compliance Overview
URL: https://sealmetrics.com/docs/compliance/compliance-overview/
How Sealmetrics is designed to meet GDPR, ePrivacy, and CNIL requirements (self-assessed, not certified): bot filtering, legal analysis, and a legal FAQ for consentless, cookieless analytics.
Sealmetrics is designed to need no consent banner for its own analytics (our self-assessment; in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)): nothing is stored on the device (no cookies, no localStorage), no IP addresses are stored, and the only identifier is an ephemeral session identifier that rotates daily and cannot be linked across days or across sites. Under [ePrivacy](https://eur-lex.europa.eu/eli/dir/2002/58/oj) our self-assessment rests on the audience-measurement exemption (own-site statistics only, no cross-site tracking, no reuse of the data); under the [GDPR](https://eur-lex.europa.eu/eli/reg/2016/679/oj) on the stored dataset not identifying anyone. This section explains how that architecture is designed to meet GDPR, ePrivacy and CNIL requirements while enabling consentless analytics. Self-assessed, not certified.
Our privacy-first approach is built on legal foundations, not technical workarounds. Learn how we ensure data accuracy through bot filtering, how we assess our tracking method against the rules of each EU jurisdiction, and get answers to common legal questions about implementing analytics without consent banners.
## What does this section cover?
- [How Sealmetrics Blocks Bot Traffic](https://sealmetrics.com/docs/compliance/compliance-overview/how-sealmetrics-blocks-bot-traffic.md) - Technical measures ensuring data accuracy and compliance
- [Is Sealmetrics Privacy Compliant](https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant.md) - Legal analysis of our compliance with EU privacy regulations
- [Legal FAQ](https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq.md) - Common questions about implementing consentless analytics legally
In short
- We store nothing on the device and no data that identifies anyone. The session identifier is ephemeral: it rotates daily and, once rotated, not even we can reconstruct it. Reports are always aggregated. That is how Sealmetrics is designed to meet GDPR, ePrivacy and CNIL requirements, on its own self-assessment.
- Bot filtering keeps the consentless dataset accurate; the legal analysis sets out our self-assessment across EU jurisdictions.
- The Legal FAQ answers the questions raised when implementing analytics without consent banners (DPA, DPIA, retention, hosting).
## Legal FAQ — Sealmetrics Compliance Questions
URL: https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq/
Answers to the legal questions asked in vendor reviews of Sealmetrics: DPA, DPIA, subprocessors, Dublin hosting, IP handling, cookies, 24-month retention.
Sealmetrics is a B2B data controller for account data and a data processor for analytics data; this page answers the legal and compliance questions that come up in audits and vendor reviews — DPA, DPIA, subprocessors, data hosting, IP handling, cookies and retention.
## **Compliance Validation**
### How can I validate Sealmetrics' compliance claims?
Sealmetrics publishes detailed, criterion-by-criterion **self-assessments** against the published frameworks of European regulators, so your DPO can verify every claim directly:
- [CNIL (France)](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) · [ICO PECR (UK)](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md) · [TDDDG (Germany)](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md) · [Garante (Italy)](https://sealmetrics.com/docs/compliance/italy-garante-self-assessment.md) · [FADP (Switzerland)](https://sealmetrics.com/docs/compliance/switzerland-fadp-self-assessment.md)
Technical claims (what is collected, what is never stored) are documented in [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track.md) and can be verified from the browser: every request the tracker sends is visible in your own DevTools.
## **Data Processing & Legal Documentation**
### **How does Sealmetrics process customer data?**
You can review our full **Privacy Notice** for our role as a B2B Data Controller here:
- [Sealmetrics Privacy Notice](https://sealmetrics.com/privacy.md)
For our role as Data Processor:
- [Data Processing Agreement (DPA)](https://sealmetrics.com/dpa.md) · [Subprocessors](https://sealmetrics.com/docs/compliance/subprocessors.md)
### **Where can I access Sealmetrics' DPIA?**
We provide a completed **DPIA** (Data Protection Impact Assessment) for all customers. You can request access directly from our team.
### **Legal Documentation**
All legal documentation is available in the footer of our website, including:
- Privacy Notice
- Data Processing Agreement (DPA)
- Terms of Service
- Customer DPIA availability
## **Privacy by Design & Company Structure**
### **Why is Sealmetrics a true privacy-by-design solution?**
Because **every metric that appears in the Sealmetrics platform must be validated and approved by our Legal Department** before being allowed into the product.
No exceptions.
### **What kind of company is Sealmetrics?**
Sealmetrics is a **bootstrapped European company** with no external investors on the board.
## **Data Collection & Calculation**
### **What data does Sealmetrics collect?**
We only collect a small set of non-identifying fields per hit:
- Current URL (including UTM parameters)
- Referral URL
- Timestamp
- User Agent (used in flight for device classification; the raw string is never written to storage, and only the derived categories are kept, in aggregates, for 24 months; never linked to a person)
- Browser timezone (used to assign the country)
- A **session identifier** used to tell a second pageview apart from a new entrance (see below)
See [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) for the full breakdown.
No stored field identifies a visitor, and each account's data is isolated.
### **What data does Sealmetrics calculate?**
We compute:
- **Session identifier**: the tracker computes, in the browser, a hash of standard device characteristics (user agent, timezone, languages, screen resolution, colour depth, dark-mode and reduced-motion preferences, CPU core count, device memory) plus the site's account ID — a device fingerprint. It is never written to the device. On the server it is re-keyed with a server secret and a daily salt that is destroyed on rotation, so the stored identifier changes every day and cannot be linked across days — not even by Sealmetrics. The raw hash is never stored. The live session expires after 2 hours of inactivity; the daily pseudonym is purged after 1 day. It cannot recognize a returning visitor.
### **Does Sealmetrics use IP addresses for calculation?**
**Never for analytics, and never stored in the analytics database.**
- No metric in Sealmetrics is calculated from IP addresses. Visitor country comes from the [browser timezone](https://sealmetrics.com/docs/security-privacy/country-detection.md), not from the IP.
- The visitor's IP is used **transiently on the server** for security and anti-bot protection (checking the request against curated bot/datacenter blocklists before it is accepted). As with any web service, IPs may also appear transiently in operational logs with limited retention; those logs are separate from analytics data and are never available to clients.
- The IP is **never written to the analytics database** — there is no IP column in our event storage — and it is never linked to any hit, session, or metric.
- No GeoIP lookup is performed on the IP. One was designed for the optional **Agent Analytics** bot detector, but that feature is **not live and cannot be enabled on any account**, so it runs nowhere today.
This transient security use is processed under legitimate interest ([GDPR](https://eur-lex.europa.eu/eli/reg/2016/679/oj) Art. 6(1)(f), Recital 49 — network and information security). The visitor analytics data rests on the same basis: it holds no IP, no persistent identifier and nothing that identifies anyone, and its session identifier is pseudonymised data — processed under legitimate interest (Art. 6(1)(f)) and unrecoverable after the daily rotation, not even by Sealmetrics. Consent is not used as the legal basis; reports are always aggregated. What keeps Sealmetrics consentless is that the IP is never stored with analytics data, never used for identification or tracking, and never used to compute analytics.
## **Bot Filtering**
### **How does Sealmetrics block bots?**
We use several layers, none of which stores the IP or anything that identifies a visitor:
- **Bot user-agent signature lists** (known crawlers, headless browsers, automation tools)
- **Curated IP/CIDR blocklists** of known bots and datacenters, checked in memory at request time — the IP is used only for this transient check and never stored with analytics data
- **Request-header consistency checks** (A fourth layer — **Agent Analytics**, using environmental and behavioral signals to classify traffic as human vs. automated — is designed but **not live**, and collects nothing on any account today.)
See [How Sealmetrics Blocks Bot Traffic](https://sealmetrics.com/docs/compliance/compliance-overview/how-sealmetrics-blocks-bot-traffic.md) for the full picture.
## **Cookies & Storage**
### Does Sealmetrics use cookies?
No. Sealmetrics does **not** use:
- cookies
- session storage
- local storage
- any stored or persistent fingerprint
- cross-site IDs
Nothing is stored on the visitor's device. The tracker does read standard browser properties to compute the daily-re-keyed session identifier described above. That read is an "access" under ePrivacy Article 5(3), so our self-assessment that no consent is needed rests on the audience-measurement exemption criteria (own-site statistics only, no cross-site tracking, no reuse of the data) — see [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md).
## **Data Retention**
### How many months does Sealmetrics store my data?
We store data for a **maximum of 24 months**. This stays inside the 25-month ceiling that [CNIL guidance](https://www.cnil.fr/en/sheet-ndeg16-use-analytics-your-websites-and-applications) sets for consent-exempt analytics — Sealmetrics deliberately applies the stricter 24-month limit.
In short
- The DPA is at sealmetrics.com/dpa and the Privacy Notice at sealmetrics.com/privacy; a completed DPIA is available to customers on request.
- Sealmetrics collects a small set of non-identifying fields per hit, stores nothing on the device (no cookies or browser storage), and never writes the IP address to the analytics database.
- Data is stored for a maximum of 24 months, inside the 25-month ceiling in CNIL guidance.
## Related documentation
- [Is Sealmetrics GDPR, ePrivacy, CCPA, and PECR Compliant?](https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant.md) — the architecture behind these answers.
- [How Sealmetrics Blocks Bot Traffic](https://sealmetrics.com/docs/compliance/compliance-overview/how-sealmetrics-blocks-bot-traffic.md) — the full anti-bot pipeline and why it stays consentless.
- [Do Temporary Session Identifiers (Session IDs) Require Consent Under GDPR?](https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy/do-session-ids-require-consent.md) — why the session identifier stays consent-exempt.
- [CNIL Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the retention and cookie-lifetime criteria referenced above.
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — the consentless measurement model explained.
## How Sealmetrics Blocks Bot Traffic (And Stays Consentless)
URL: https://sealmetrics.com/docs/compliance/compliance-overview/how-sealmetrics-blocks-bot-traffic/
How Sealmetrics filters bot traffic with layered, privacy-safe defenses — and why its ephemeral, in-memory use of IPs fits a platform designed to comply with the GDPR and ePrivacy.
Bot and automated traffic can distort every metric you rely on. Sealmetrics filters it out with a layered, privacy-safe system — and this page explains exactly how each layer works and why, on our self-assessment, the approach adds no consent requirement.
## Our IP position, stated plainly
Let's address the most common question first: **does bot filtering involve IP addresses?**
Yes — transiently, and never stored in the analytics database. Here is the complete picture:
- **No analytics metric is ever calculated from an IP.** Visitor country comes from the [browser timezone](https://sealmetrics.com/docs/security-privacy/country-detection.md), not from IP lookup.
- **The visitor's IP is never written to the analytics database.** Our event storage has no IP column at all — storing one is architecturally impossible, not just policy.
- During request handling, the IP is used **transiently on the server** for security purposes: checking the request against curated blocklists of known bots and datacenters. If it matches, the request is dropped. Either way, the IP is not carried forward into analytics processing. (As with any web service, IPs may appear transiently in operational logs with limited retention, separate from analytics data.)
- **The IP is never linked to any hit, session, or metric**, and never used to identify, profile, or track anyone.
Transient use of an IP is still "processing" under GDPR — we don't pretend otherwise. It is processed under **legitimate interest (Art. 6(1)(f))**, which Recital 49 explicitly recognizes for network and information security purposes, including "preventing unauthorised access... and stopping denial-of-service attacks". Transient, security-focused IP handling with nothing persisted in the analytics database is the textbook case.
The visitor analytics data rests on the same basis. It holds no IP, no persistent identifier and nothing that identifies anyone; its only per-visitor value is a session identifier that is pseudonymised data while the daily salt exists, processed under legitimate interest (Art. 6(1)(f)) and unrecoverable once the salt rotates. Reports are always aggregated.
What makes Sealmetrics consentless is not a claim that IPs never exist in our infrastructure — it's that they are **never stored with analytics data, never used for tracking, and never used for analytics**.
## Layer 1 — Bot user-agent signatures
Every browser and bot sends a *user agent* string describing the client software. Most legitimate bots identify themselves clearly.
Sealmetrics maintains an updated signature list of known bot user agents — search engine crawlers, uptime monitors, headless browsers, automation tools — with exact, prefix, substring, and pattern matching. A hit matching a bot signature is discarded immediately and never enters your reports.
## Layer 2 — Curated IP and datacenter blocklists
Sealmetrics maintains curated blocklists of IPs and network ranges (CIDRs) belonging to known bots, scrapers, and datacenters, plus any per-site block rules you configure yourself.
When a hit arrives:
1. The request's IP is checked **in memory** against these lists.
2. If it matches, the request is dropped.
3. The IP is discarded — it is never persisted, in either case.
These lists are curated block rules (like a firewall's), not records of your visitors.
## Layer 3 — Request-header consistency checks
Automated clients frequently send request headers that are inconsistent with the browser they claim to be. Sealmetrics scores header consistency on each request as an additional bot signal — nothing is stored from the headers.
## Layer 4 — Agent Analytics (not available)
Not available today
Agent Analytics is **not live and cannot be enabled on any account**. No site performs the processing described below. It is documented here only so that this page stays a complete description of the detection design; treat it as roadmap, not as current behaviour.
If it ships, sites that explicitly enable it would get deeper detection of AI agents and automated browsers on entrance hits:
- A **stateless GeoLite2 lookup** deriving datacenter/ISP signals from the IP (is this a datacenter? does the network belong to a known AI provider?) and a country label used to detect geo/timezone mismatches, with only the derived signals kept and the IP discarded.
- **Environmental signals** about the browser (e.g. WebDriver flag, rendering characteristics) and **behavioral signals** about the interaction pattern (e.g. mouse-movement linearity, click-timing variance) feeding a score that classifies each session as human or automated.
Those signals would describe the *software environment*, not the person, and would never be associated with an identifier. **Today, no account collects any of it** — Layers 1 to 3 above are the whole of what runs.
## Why this approach is privacy-compliant
- **User agents** are used in flight as device-category signals — the raw string is never written to storage; only the derived browser/OS/device categories persist, in aggregates, for up to 24 months — never linked to any personal or persistent identifier (the only identifier is a session pseudonym that rotates daily), and never used to reconstruct anyone's history.
- **IPs** are processed transiently on the server for security only, under legitimate interest (Recital 49), and never stored with analytics data.
- **No persistent or cross-site identifiers** are created or used at any layer — the session identifier is ephemeral, scoped to one site and rotates daily.
- **No profiling of individuals** — classification targets bot vs. human traffic, at session level, based on software signals.
This is why, on our assessment, bot filtering adds **no consent requirement of its own** and **stores no IP addresses**.
## Summary
| Layer | Signal | IP stored? | Identifying data stored? |
| --- | --- | --- | --- |
| Bot UA signatures | User-agent string | No | No |
| IP/datacenter blocklists | IP, in memory only | No | No |
| Header consistency | Request headers | No | No |
| Agent Analytics *(not available)* | Derived geo/ISP + environment + behavior | No | No |
The result: clean analytics and an honest architecture, with no consent needed for bot filtering.
## Related documentation
- [Is Sealmetrics GDPR, ePrivacy, CCPA, and PECR Compliant?](https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant.md) — the full compliance picture.
- [Legal FAQ — Sealmetrics Compliance Questions](https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq.md) — how IPs are (and aren't) used, in FAQ form.
- [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the exact data Sealmetrics does and does not collect.
- [How Sealmetrics determines the country without using IP addresses](https://sealmetrics.com/docs/security-privacy/country-detection.md) — timezone-based geolocation for analytics.
- [Bot Detection & Traffic Quality](https://sealmetrics.com/docs/security-privacy/bot-detection.md) — how filtered bot traffic keeps reports clean.
## Is Sealmetrics GDPR, ePrivacy, CCPA, and PECR Compliant?
URL: https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant/
Self-assessment of how Sealmetrics' privacy-first, isolated-hit architecture is designed to meet GDPR, ePrivacy, CCPA and PECR requirements. Not a certification.
Important Notice
This is a **self-assessment**, not a certification. No supervisory authority certifies or validates analytics tools, and Sealmetrics holds no third-party security certification (no ISO 27001, no SOC 2). This page documents how the architecture is designed to meet the published criteria of each framework.
Sealmetrics is built to keep personal data to the minimum: we store nothing on the device and no data that identifies anyone. The session identifier is ephemeral: it rotates daily and, once rotated, not even we can reconstruct it. Reports are always aggregated. This is our own assessment against:
- **[GDPR](https://eur-lex.europa.eu/eli/reg/2016/679/oj)** (European Union)
- **[ePrivacy Directive](https://eur-lex.europa.eu/eli/dir/2002/58/oj)** (EU)
- **CCPA** (California Consumer Privacy Act)
- **[PECR](https://www.legislation.gov.uk/uksi/2003/2426/contents)** (UK Privacy and Electronic Communications Regulations)
Sealmetrics achieves this by operating on a **privacy-first, cookieless, consentless measurement model** based entirely on **isolated hits**.
## 1. European Infrastructure & Legal Alignment
Sealmetrics is a **European company**, and:
- Analytics data is hosted and processed only in the **EU (Dublin)**
- Service emails (e.g. account notifications) are sent through Resend (US) under SCCs, as listed in Annex 3 of the [DPA](https://sealmetrics.com/dpa.md)
- Operations are designed around GDPR’s data handling requirements
All customer analytics data therefore stays within the EU.
## 2. Privacy by Design: Minimal Data, No Tracking
Sealmetrics does **not**:
- Track individual users
- Correlate hits across sessions or days
- Build user profiles
- Store anything on the device (no cookies, localStorage or sessionStorage), or keep any persistent identifier or stored fingerprint
- Insert any tracking code in the user’s terminal beyond the measurement script
This architectural model is designed so that **no data that identifies anyone is stored**. The session identifier is pseudonymised data while the daily salt exists, processed under legitimate interest (GDPR Art. 6(1)(f)), and unrecoverable once it rotates. Together with the audience-measurement exemption criteria (own-site statistics only, no cross-site tracking, no reuse of the data), this is why, in our assessment, no cookie banner or consent is needed for Sealmetrics' own measurement. In Germany this is an open question: the DSK does not extend §25(2) TDDDG to audience measurement, and the tracker reads device properties via JavaScript, which may count as "access" under §25(1) — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md).
## 3. Based on “Isolated Hits” — No User Tracking
Sealmetrics does not track users. It measures **page views (hits)** that are never linked to a person, and are grouped only within a single session — never across sessions or days.
### For each hit, Sealmetrics collects only a small set of non-identifying fields:
1. **Timestamp**
2. **User Agent** *(used for device classification; the raw string is used in flight and never written to storage — only the derived browser/OS/device categories persist in aggregates — never linked to a person)*
3. **Current URL**
4. **Referral URL**
5. **Browser timezone** *(used to assign the country)*
6. **Session identifier** *(a hash of standard device characteristics computed in the browser and never stored on the device; re-keyed on the server with a daily salt that is destroyed on rotation, so it cannot be linked across days — see [What We Track](https://sealmetrics.com/docs/security-privacy/what-we-track/#6-session-identifier))*
These fields allow meaningful analytics, but are chosen so they **do not identify anyone**. The session identifier is a pseudonym for one day and cannot be reconstructed after the daily rotation, not even by Sealmetrics; reports are always aggregated.
## 4. How does Sealmetrics interpret the ePrivacy Directive?
Sealmetrics follows a strict privacy interpretation:
> **Tracking individual users without consent is not permissible — even anonymously — under the ePrivacy Directive.**
Sealmetrics never tracks individuals and never correlates hits across sessions or days. Nothing is stored on the device; the tracker does read standard browser properties to compute the session identifier, so the consent exemption rests on the audience-measurement criteria described in [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md).
## 5. How the Architecture Maps to Each Regulation
### GDPR
- No data that identifies anyone stored
- No persistent identifiers; the pseudonymised session identifier is unrecoverable after daily rotation
- Legal basis: legitimate interest (Art. 6(1)(f)); consent not used
- EU-based processing
### ePrivacy Directive
- No individual user tracking
- No cross-session reconstruction
- Nothing stored on the device; no stored device fingerprint
- Session identifier computed in the browser from device characteristics and re-keyed on the server with a daily-rotating salt that is destroyed — not linkable across days or across sites (exemption self-assessed against the audience-measurement criteria)
### CCPA
- No information that identifies a consumer stored; reports aggregated
- No user profiling
- No cross-site tracking
### PECR
- No cookies or identifiers stored on the device
- No persistent technology used
## Is Sealmetrics compliant by design?
Sealmetrics is **designed for GDPR, ePrivacy, CCPA and PECR** from the architecture up. This is our self-assessment, not a certification, and it rests on four facts about measurement:
- 0 data that identifies anyone
- 0 cookies
- 0 persistent or cross-day identifiers (the session identifier is ephemeral and rotates daily)
- Hits that are never joined to a person, or to each other across sessions or days
Those zeros describe **measurement**: what the tracking script does on your site. Signing in to the Sealmetrics dashboard uses a session cookie on `my.sealmetrics.com`, like any web application — it is not part of measurement and never reaches your visitors.
This enables marketers and analysts to access reliable, actionable analytics **without compromising user privacy** — and, on our self-assessment, without a consent banner for the analytics itself (Germany: open question).
In short
- Sealmetrics collects only a small set of non-identifying fields per hit — timestamp, user agent (raw string never written to storage), current URL, referral URL, browser timezone and a daily-re-keyed session identifier — and never links hits to a person or across sessions.
- Analytics data is hosted and processed only in the EU (Dublin).
- This is a self-assessment against GDPR, ePrivacy, CCPA and PECR — Sealmetrics holds no ISO 27001 or SOC 2 certification and no supervisory authority certifies analytics tools.
## Related documentation
- [Does Sealmetrics comply with CNIL guidelines?](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the French consent-exemption criteria in detail.
- [Legal FAQ — Sealmetrics Compliance Questions](https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq.md) — audits, DPIA, data processing, and retention questions.
- [UK PECR Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/uk-pecr-self-assessment.md) — the UK analytics exemption under DUAA 2025.
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — the GDPR reasoning behind the isolated-hit model.
- [What We Track vs What We Don’t](https://sealmetrics.com/docs/security-privacy/what-we-track.md) — the fields Sealmetrics records and nothing more.
## GDPR and ePrivacy
URL: https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy/
How the ePrivacy consent rule and the GDPR apply to a session identifier that rotates daily, the legitimate-interest basis, and when a session ID does or does not require consent.
Learn about GDPR and ePrivacy compliance with Sealmetrics. This section addresses the legal framework that enables consentless analytics in the European Union.
Two separate rules decide whether analytics needs consent: the [ePrivacy Directive](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058) (Article 5(3)) governs what you store on or read from the device, and the [GDPR](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679) (Article 4(1)) governs the processing of personal data. Nothing is written to the device, and nothing stored identifies anyone; the session identifier is pseudonymised data processed under legitimate interest (GDPR Art. 6(1)(f)) and unrecoverable after its daily rotation. The tracker does read standard browser properties to compute a session identifier (re-keyed daily on the server, never stored as sent), so on the ePrivacy side Sealmetrics relies on the audience-measurement exemption criteria rather than on nothing being read. These pages explain how the session identifier fits into that framework and when a session identifier does require consent.
## Available Documentation
- [Do Session IDs Require Consent](https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy/do-session-ids-require-consent.md) - Legal analysis of session-based tracking under GDPR and ePrivacy
## Do Temporary Session IDs Require Consent Under GDPR?
URL: https://sealmetrics.com/docs/compliance/gdpr-and-eprivacy/do-session-ids-require-consent/
When a session ID triggers the ePrivacy consent requirement and when it does not, and how Sealmetrics builds its session identifier: an in-browser device-characteristics hash, never stored on the device, re-keyed daily on the server.
A common question around privacy-compliant analytics is whether **temporary Session IDs** fall under “tracking technologies” that require user consent. The short answer: **it depends on how the Session ID is implemented**.
Self-assessment
Any statement on this page about how Sealmetrics meets a criterion is a **self-assessment**, not a certification. No supervisory authority certifies or validates analytics tools, and Sealmetrics holds no third-party security certification. This page is general regulatory analysis, not legal advice.
## When Session IDs *Do* Require Consent
A temporary Session ID **requires consent** if:
- It is **stored in a cookie** or similar persistent storage
- It can be used to **recognize a user over time**
- It can be combined with other identifiers to **reconstruct a profile**
- It is used for **tracking across multiple domains**
In these cases, the Session ID becomes a **personal identifier**, making consent mandatory under:
- **GDPR** ([Article 4(1)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679))
- **ePrivacy Directive** ([Article 5(3)](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058))
- Local guidelines ([CNIL](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience), [AEPD](https://www.aepd.es/guias/guia-cookies.pdf), [ICO](https://ico.org.uk/for-organisations/direct-marketing-and-privacy-and-electronic-communications/guide-to-pecr/cookies-and-similar-technologies/)…)
## When Session IDs *Do Not* Require Consent
Regulators such as **CNIL (France)** and **AEPD (Spain)** explicitly allow “cookie-less session identifiers” for **audience measurement**, *as long as* they meet **strict conditions**:
### Conditions for Consent-Free Session IDs
- **Used exclusively for audience measurement** (no marketing / profiling)
- **No cross-site tracking**
- **Not persistent** → disappears after the browser session ends
- **Not stored in cookies or localStorage**
- **Cannot be combined with other identifiers** to re-identify the user
- **No fingerprinting techniques**
If all these requirements are met, the Session ID is considered **non-identifying**, and consent is not required.
## How Sealmetrics Ensures Compliance
**How the identifier is built.** The tracker computes, in the browser, a hash of standard device characteristics — user agent, timezone, languages, screen resolution, colour depth, dark-mode and reduced-motion preferences, CPU core count and device memory — combined with the site's account ID. That hash is a **device fingerprint**: it is stable for the same browser. It is never written to the device (no cookie, no localStorage, no sessionStorage). On the server, before anything is stored, it is re-keyed with a server secret and a daily salt; the salt rotates every day and is destroyed on rotation, so the stored identifier changes daily and two days of the same device cannot be re-linked — not even by Sealmetrics. The raw hash is never stored. The live session lasts 2 hours of inactivity in server memory; the daily pseudonym is kept in the per-hit log for 1 day. See [What We Track vs What We Don't](https://sealmetrics.com/docs/security-privacy/what-we-track/#6-session-identifier).
Against the conditions above:
- Used exclusively for audience measurement — no marketing or profiling
- No cross-site tracking — the account ID is part of the hash, so the same browser yields different identifiers on different sites
- Nothing stored on the device — no cookies, localStorage or sessionStorage
- No persistent stored identifier — the stored value changes every day and cannot be linked across days
- No personal identification — no IP, user ID or other identifier is stored alongside it
**Fingerprinting condition — stated plainly.** The identifier is computed from device characteristics read in the browser, so Sealmetrics does not claim "no fingerprinting techniques" in absolute terms. What it does claim is that no fingerprint is stored or persists: the hash is never stored as sent, and the stored value is re-keyed daily with a salt that is then destroyed. Reading those browser properties is also an "access" to terminal equipment under Art. 5(3), so the consent exemption rests on the audience-measurement criteria described in [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md), not on nothing being read.
**Under the GDPR, stated plainly.** While the day's salt exists, Sealmetrics could in principle recompute the identifier, so it is pseudonymised data, not anonymous data. It is processed under legitimate interest (Art. 6(1)(f)), kept in the per-hit log for 1 day, and becomes unrecoverable once the salt rotates — not even Sealmetrics can reconstruct it. Reports are always aggregated.
Session IDs are used only within the active session to group hits — never to track or identify users across days.
## Summary
| Scenario | Requires Consent? | Why |
| --- | --- | --- |
| Session ID stored in a cookie | **Yes** | Persistence = identification |
| Temporary ID without cookies | **No** | Cannot identify the user |
| Cross-site session tracking | **Yes** | Considered profiling |
| Sealmetrics session tracking | **No** (self-assessed) | Nothing stored on the device; stored identifier re-keyed daily and not linkable across days |
**The identifier is never stored on the device, the stored value is re-keyed every day, and it never joins hits across days — the basis of Sealmetrics' self-assessment against the audience-measurement exemption criteria.**
## Primary sources
- ePrivacy Directive 2002/58/EC — Art. 5(3): consent to store or access terminal-equipment data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32002L0058)
- GDPR (Regulation 2016/679) — Art. 4(1) defines personal data; Recital 26 excludes anonymous data — [eur-lex](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679)
- EDPB Guidelines 2/2023 — technical scope of Art. 5(3): what counts as storage or access — [edpb.europa.eu](https://edpb.europa.eu/our-work-tools/our-documents/guidelines/guidelines-22023-technical-scope-art-53-eprivacy-directive_en)
- CNIL — audience-measurement exemption, including the session-identifier conditions — [cnil.fr](https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies-solutions-pour-les-outils-de-mesure-daudience)
- AEPD — Guía sobre el uso de las cookies, analytics-cookie exemption conditions — [aepd.es](https://www.aepd.es/guias/guia-cookies.pdf)
## Related documentation
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) — the wider GDPR case for cookieless, non-identifying measurement.
- [Does Sealmetrics comply with CNIL guidelines?](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the CNIL first-party session-ID exemption in detail.
- [CNIL Self-Assessment: Sealmetrics Compliance](https://sealmetrics.com/docs/compliance/cnil-self-assessment.md) — the session-ID condition assessed criterion by criterion.
- [Legal FAQ — Sealmetrics Compliance Questions](https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq.md) — how the session identifier is computed and used.
- [How Attribution Works Without a User-ID](https://sealmetrics.com/docs/security-privacy/attribution-without-userid.md) — attribution without persistent user identifiers.
## EU Digital Omnibus Regulation
URL: https://sealmetrics.com/docs/compliance/omnibus/
Complete guide to the EU Digital Omnibus Regulation (COM(2025) 837) simplifying GDPR, ePrivacy, and data legislation
The **EU Digital Omnibus Regulation** (COM(2025) 837) represents the most significant simplification of European data law since the GDPR came into force in 2018. Published on November 19, 2025, this comprehensive reform consolidates five separate data regulations into two, and would change when cookie consent is needed. It is a proposal still under negotiation.
## What is the Digital Omnibus?
The Digital Omnibus is part of the European Commission's broader simplification agenda to reduce regulatory complexity while maintaining strong protections for citizens and businesses.
**Official designation**: COM(2025) 837 final
**Published**: November 19, 2025
**Current status**: Under review by European Parliament and Council
**Goal**: Simplify the EU data regulatory framework by:
- Reducing the number of overlapping regulations
- Eliminating contradictions and ambiguities
- Lowering compliance costs
- Maintaining high standards for data protection and privacy
## Current Legislative Status
Last Updated: February 2026
This section reflects the current state of the legislative process. Check official EU sources for the latest developments.
EDPB-EDPS Joint Opinion Published
On February 10, 2026, the European Data Protection Board and European Data Protection Supervisor published their [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) on the Digital Omnibus. They support simplification goals but raise concerns about personal data definition changes and request stronger AI safeguards. This consultative document may influence the final text during Parliament/Council negotiations.
### Committee Assignments
The Digital Omnibus proposal (procedure 2025/0360(COD)) has been assigned to **joint committee responsibility**:
| Committee | Role |
| --- | --- |
| **ITRE** (Industry, Research and Energy) | Joint lead committee |
| **LIBE** (Civil Liberties, Justice and Home Affairs) | Joint lead committee |
**Rapporteurs**: Not yet appointed (as of January 2026)
### Open Feedback Periods
The Commission has opened post-adoption feedback opportunities:
| Consultation | Deadline |
| --- | --- |
| Digital Omnibus feedback | **9 March 2026** |
| Digital Fitness Check | **11 March 2026** |
Organizations can submit feedback through the [Have Your Say portal](https://ec.europa.eu/info/law/better-regulation/have-your-say_en).
### Expected Timeline
| Milestone | Expected Date |
| --- | --- |
| Committee rapporteur appointments | Q1 2026 |
| Parliament/Council positions | Q2 2026 |
| Trilogue negotiations | Summer 2026 |
| Final adoption | Mid-to-late 2026 |
| Entry into force | ~Q3 2027 |
**Note**: Timeline may shift based on negotiation complexity and political priorities.
## The Great Consolidation: 5 Laws → 2 Laws
### Laws Being Amended (Not Repealed)
#### General Data Protection Regulation (GDPR)
**Status**: Amended with targeted improvements
The GDPR remains the cornerstone of EU data protection but receives important updates:
- Personal data definition clarified
- Cookie consent rules integrated (new Articles 88a, 88b)
- AI processing provisions (new Article 88c)
- Breach notification threshold raised
- Research exemptions expanded
- Information requirements simplified
See: [GDPR Amendments in Detail](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md)
#### Data Act
**Status**: Becomes consolidated framework for data sharing and access
The Data Act absorbs provisions from:
- Data Governance Act
- Open Data Directive
- Free Flow of Data Regulation (partially)
**Result**: Single comprehensive regulation for data access, sharing, and portability across sectors.
### Laws Being Repealed or Merged
#### 1. Platform-to-Business Regulation (EU 2019/1150)
**Status**: Fully repealed
**Reason**: Superseded by the Digital Services Act (DSA) and Digital Markets Act (DMA), which provide more comprehensive and effective rules for platform governance.
**What this means**: No separate P2B compliance regime; platform obligations now governed by DSA/DMA.
#### 2. Free Flow of Data Regulation (EU 2018/1807)
**Status**: Mostly repealed; core provisions merged into Data Act
**Provisions retained:**
- Freedom of data flows within the EU
- Restrictions on data localization requirements
- Portability of non-personal data
**Why consolidate**: Avoids fragmentation between personal data (GDPR) and non-personal data (Free Flow) rules.
#### 3. Data Governance Act (EU 2022/868)
**Status**: Merged into Data Act
**Key provisions integrated:**
- Data intermediation services
- Data altruism organizations
- Public sector data re-use
- Governance structures for data sharing
**Benefit**: Single coherent framework for data governance instead of overlapping regulations.
#### 4. Open Data Directive (EU 2019/1024)
**Status**: Merged into Data Act
**What's integrated:**
- Public sector information re-use
- High-value datasets
- Transparency requirements
- Charging principles
**Result**: Public and private data sharing governed by unified rules.
### The Final Landscape
**Before Omnibus (2024):**
- GDPR
- Data Act
- Data Governance Act
- Open Data Directive
- Free Flow of Data Regulation
- P2B Regulation
**Total**: 6 major data regulations
**After Omnibus (2026+):**
- GDPR (amended)
- Data Act (consolidated)
**Total**: 2 major data regulations
**Plus**: DSA and DMA continue to govern digital platforms
## Key Changes Overview
### 1. Cookie Consent Reform
**The biggest change**: Article 5(3) ePrivacy Directive repealed for personal data; cookies brought under GDPR framework.
**New regime (Articles 88a, 88b GDPR):**
- Audience measurement for own use: **no consent needed (if adopted as proposed)**
- Third-party tracking: **CONSENT REQUIRED**
- Single-click refuse button mandatory
- No re-asking for 6 months after refusal
- Browser signals for machine-readable consent (24-48 month timeline)
**Impact:**
- First-party analytics for own use: **no consent needed (if adopted as proposed)**
- Third-party tracking: **CONSENT STILL REQUIRED**
- €500M/year projected user productivity gains
Realistic Expectations
While the Commission projects significant banner reduction, legal analysts note that information obligations and third-party tools will maintain some form of notification for many websites. Full banner elimination applies mainly to sites using **only** first-party, aggregated analytics.
Articles 88a and 88b, and what they mean for banners, are covered in [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md).
### 2. GDPR Clarifications
**Personal data definition:**
- "Reasonably likely to be used" standard codified
- Entity-specific determination
- Pseudonymization clarity
**AI processing:**
- New Article 88c: Legitimate interest for AI development
- Safeguards for special category data
- Unconditional right to object
**Breach notifications:**
- Threshold raised from "risk" to "high risk"
- Single entry point via ENISA
- EDPB to create common template
**Research exemptions:**
- Expanded definition (includes tech development)
- Further processing compatibility
- Legitimate interest basis
Each of these GDPR changes is detailed in [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md).
### 3. Single Incident Reporting Point
**Current problem**: Businesses must report security incidents to multiple authorities under different regulations.
**Omnibus solution**: ENISA (European Union Agency for Cybersecurity) operates a **single entry point** for incident reporting.
**Benefits:**
- One report satisfies multiple obligations
- Consistent format and process
- Better coordination across authorities
- Reduced administrative burden
### 4. SME/SMC Extended Exemptions
**SMEs (Small and Medium Enterprises)** and **SMCs (Small and Medium-Sized Companies)** receive:
- Extended exemptions from certain Data Act obligations
- Reduced fees for certifications
- Simplified compliance pathways
- Proportionate requirements based on size
**Estimated savings**: €5-19M annually across the SME sector.
## Economic Impact
### Cost Savings for Businesses
| Category | Annual Savings |
| --- | --- |
| Data intermediation simplification | €6 million |
| SMC fee exemptions | €5-19 million |
| Custom cloud contracts (one-off) | €1.015 billion |
| B2G scope narrowing | €19.7 million/year |
| **Total business savings by 2029** | **≥€5 billion** |
### Cost Savings for Public Sector
| Category | Annual Savings |
| --- | --- |
| Data governance consolidation | Significant (TBD) |
| Simplified compliance | Significant (TBD) |
| **Total public authority savings by 2029** | **€1 billion** |
### User Benefits
**Time savings**: less time spent by users on cookie banners.
**Better experience**: Fewer interruptions, clearer choices, more respectful web browsing.
## Timeline
### Legislative Process
**November 19, 2025**: Commission proposal published (COM(2025) 837)
**2026**: European Parliament and Council negotiation (ordinary legislative procedure)
**Expected adoption**: Late 2026 or early 2027
**Entry into force**: 20 days after publication in Official Journal
### Implementation Deadlines
**Article 88a (cookies)**: 6 months after entry into force
**Article 88b (browser signals):**
- Websites: 24 months after entry into force
- Browser vendors: 48 months after entry into force
**Estimated operational dates:**
- Cookie exemptions: Mid-2027
- Website browser signal support: 2028-2029
- Full browser controls: 2029-2030
## Who is Affected?
### Website Operators
**All EU websites:**
- New cookie consent rules apply
- Opportunity to eliminate banners for audience measurement
- Browser signal support required (24 months)
**Action required:**
- Audit analytics and tracking tools
- Identify exempt vs. consent-required processing
- Update privacy policies
- Prepare for browser signals
### Analytics and Ad Tech Providers
**First-party analytics:**
- Clear legal basis without consent
- Competitive advantage
**Third-party tracking:**
- Consent still required
- Browser signals will impact consent rates
- Need to adapt business models
How this splits first-party and third-party analytics is analysed in [Impact on Web Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md).
### AI Developers
**New legal basis:**
- Article 88c provides legitimate interest for AI development
- Must implement safeguards
- Respect right to object
- Avoid special category data
### Data Controllers and Processors (General)
**Simplified framework:**
- Fewer regulations to navigate
- Clearer rules
- Reduced overlaps
**New obligations:**
- Browser signal support
- Updated GDPR compliance
- Adapted data governance practices
## Documentation in This Section
### Core Documents
- **[Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md)** - Detailed analysis of Articles 88a and 88b, cookie banner elimination, and browser signals
- **[GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md)** - Personal data definition, AI processing, breach notifications, research exemptions
- **[Data Law Consolidation](https://sealmetrics.com/docs/compliance/omnibus/data-consolidation.md)** - How 5 separate data laws are merged into 2
- **[Data Intermediation Services](https://sealmetrics.com/docs/compliance/omnibus/data-intermediation.md)** - Voluntary regime for trusted data sharing platforms
### Implementation & Compliance
- **[Timeline and Implementation](https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation.md)** - Key dates, deadlines, and preparation phases
- **[SME and Small Mid-Cap Exemptions](https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps.md)** - Extended protections for companies with up to 749 employees
- **[Single Entry Point for Incident Reporting](https://sealmetrics.com/docs/compliance/omnibus/incident-reporting.md)** - Unified cybersecurity and data breach reporting via ENISA
### Industry Impact
- **[Impact on Web Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md)** - How the Omnibus affects analytics providers and website tracking
- **[AI Act Amendments](https://sealmetrics.com/docs/compliance/omnibus/ai-act-amendments.md)** - GDPR-AI intersection and Article 88c legitimate interest
### Regulatory Positions
- **[EDPB-EDPS Joint Opinion](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md)** - Official position of European data protection authorities on the Digital Omnibus proposal
## Key Differences from Current Law
| Aspect | Current Law | Digital Omnibus |
| --- | --- | --- |
| **Number of data regulations** | 5-6 separate laws | 2 consolidated laws |
| **Cookie consent** | Article 5(3) ePrivacy (separate from GDPR) | Article 88a GDPR (unified) |
| **Audience measurement** | Consent required (limited exemptions) | No consent if aggregated, own use |
| **Browser signals** | Not addressed | Must be supported (Art 88b) |
| **Breach notification** | "Risk" threshold | "High risk" threshold |
| **Personal data definition** | CJEU case law | Codified "reasonably likely" standard |
| **AI processing** | Unclear legal basis | Article 88c legitimate interest |
| **Incident reporting** | Multiple entry points | Single ENISA entry point |
| **Research exemptions** | Limited definition | Expanded (tech development) |
## Frequently Asked Questions
### Does the Omnibus repeal the GDPR?
**No.** The GDPR is **amended**, not repealed. It remains the foundational data protection regulation but receives targeted improvements.
### When will cookie banners disappear?
**Partial reduction starting mid-2027** (6 months after entry into force, estimated).
**First-party analytics** for aggregated, own use will no longer need consent.
**Third-party tracking** (advertising, cross-site) will still require consent.
**Reality check**: Cookie banners will reduce but not fully disappear for most websites. Information obligations and third-party tools will maintain some form of notification. Sites using **only** first-party analytics (like Sealmetrics) have the clearest path to banner-free operation.
### What happens to the ePrivacy Directive?
**Article 5(3) is repealed** for personal data processing. Cookie consent moves to GDPR (Articles 88a, 88b).
**Rest of ePrivacy Directive** remains in force for:
- Non-personal data cookies
- Electronic communications confidentiality
- Marketing communications rules
**Long-term**: ePrivacy Regulation (currently stalled) may eventually replace the entire ePrivacy Directive.
### Do I still need a cookie banner?
**It depends on what you're doing:**
**No banner needed if:**
- First-party analytics only
- Aggregated measurement
- For your own use only
- Functional cookies for requested services
**Banner still needed if:**
- Third-party tracking
- Advertising pixels
- Cross-site profiling
- Selling or sharing data
**See**: [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) for detailed guidance.
### How does this affect my GDPR compliance?
**Mostly simplifies:**
- Personal data definition clearer
- Breach notification threshold higher (fewer reports needed)
- Information requirements more flexible (Article 13 exemption)
- Research exemptions broader
**New requirements:**
- Cookie consent under GDPR framework (Articles 88a, 88b)
- Browser signal support (24 months)
- AI processing safeguards (Article 88c)
**Overall**: Compliance becomes clearer and less burdensome for most organizations.
### What should I do to prepare?
**Immediate steps:**
1. **Audit analytics and tracking** What tools do you use?
2. Which need consent vs. are exempt?
3. **Review data processing inventory** Update for Article 88a framework
4. Identify browser signal impact
5. **Update privacy policies** Reference new legal bases
6. Explain exempt processing
7. **Plan infrastructure changes** Browser signal support
8. Consent management updates
9. **Consider switching to consentless analytics** Sealmetrics or other consentless tools
10. Eliminate banner costs
11. No visits lost to consent rejection
**Timeline**: Finalize plans by late 2026, implement by mid-2027.
## Additional Resources
### Official EU Documents
- [COM(2025) 837 final - Proposal](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=COM:2025:837:FIN) (when published)
- Staff Working Document (Impact Assessment)
- European Data Protection Board guidelines (forthcoming)
### Related Regulations
- **GDPR** (EU 2016/679) - Data protection foundation
- **Data Act** (EU 2023/2854) - Data sharing and access
- **Digital Services Act** (EU 2022/2065) - Platform governance
- **Digital Markets Act** (EU 2022/1925) - Gatekeeper regulation
- **ePrivacy Directive** (2002/58/EC, as amended) - Electronic communications privacy
### Regulatory Opinions
- [EDPB-EDPS Joint Opinion 2/2026](https://www.edpb.europa.eu/our-work-tools/our-documents/edpbedps-joint-opinion/edpb-edps-joint-opinion-22026-proposal_en) - Official position on the Digital Omnibus
- EDPB guidelines on Articles 88a and 88b (expected after adoption)
- National DPA guidance on cookie exemptions (expected after adoption)
- European standardisation bodies: Browser signal standards
## Conclusion
The EU Digital Omnibus represents a pragmatic evolution of European data law. By consolidating five regulations into two, eliminating cookie banners for benign processing, and clarifying ambiguities in the GDPR, the Omnibus promises to reduce compliance costs by €1 billion annually while maintaining the EU's world-leading privacy standards.
For website operators, the message is clear: privacy-respecting, first-party analytics will become the norm, while invasive tracking faces increasing barriers. Organizations that embrace consentless analytics and first-party data strategies will gain competitive advantages in compliance simplicity, data quality, and user experience.
The transition period (2026-2030) provides ample time to adapt. Those who prepare early will reap the greatest benefits.
**Stay Updated**: This documentation will be updated as the Omnibus proceeds through the legislative process and implementing acts are adopted.
**Questions?** Explore the detailed analyses linked above or consult with privacy counsel on your specific situation.
## Related documentation
- [Cookie Consent Reform: The End of Banner Fatigue](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) — how Article 88a moves cookie consent under the GDPR.
- [Impact on Web Analytics and Tracking](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) — what the Omnibus means for consentless measurement.
- [EDPB-EDPS Joint Opinion on the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) — the regulators' position on the proposal.
- [Compliance Overview](https://sealmetrics.com/docs/compliance/compliance-overview.md) — how Sealmetrics maps to GDPR, ePrivacy, CCPA, and PECR today.
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) — the technical basis for consentless analytics.
## GDPR Amendments in the Digital Omnibus
URL: https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes/
Detailed analysis of GDPR changes: personal data definition, pseudonymization, AI training, breach notifications
The EU Digital Omnibus introduces targeted amendments to the General Data Protection Regulation (GDPR) that clarify ambiguities, reduce compliance burdens, and adapt the framework to new technological realities like artificial intelligence.
Unlike the wholesale repeal of other regulations, the GDPR is **amended, not replaced**—recognizing its fundamental soundness while addressing practical pain points identified since 2018.
## Personal Data Definition Clarified
EDPB-EDPS Position
The European data protection authorities have expressed **strong opposition** to these changes in their [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md), recommending their complete removal from the proposal. They argue the current definition works well and changes risk reducing protection levels. The final text may differ from the Commission proposal.
### The "Reasonably Likely" Standard
The Omnibus amends **Article 4** to codify the Court of Justice of the European Union (CJEU) interpretation of "personal data":
**New standard**: Data is personal when it is **"reasonably likely to be used"** by the holder to identify an individual.
**What this changes:**
**Before**: Uncertainty about whether data is "personal" if identification is theoretically possible but highly impractical.
**After**: Clear standard based on reasonable likelihood, considering:
- Available technical means
- Cost of identification
- Time required
- Practical feasibility
### Entity-Specific Personal Data
**Key principle**: Data that is personal for one entity may NOT be personal for another.
**Example scenario:**
A hospital shares pseudonymized medical records with a research institution:
- **For the hospital**: Personal data (they have the key to re-identify)
- **For the researcher**: NOT personal data (they cannot re-identify)
**Legal consequence**: The researcher is NOT bound by GDPR requirements applicable to personal data processing, as long as they lack the means to re-identify individuals.
### Pseudonymization Clarity
**Article 4 amendments** clarify that pseudonymized data is NOT personal data for a recipient who:
1. Receives the data in pseudonymized form, AND
2. Does not have the means to re-identify the data subject
**Practical impact:**
- Facilitates legitimate data sharing for research
- Reduces compliance burden on recipients of pseudonymized data
- Encourages privacy-enhancing technologies
- Creates legal certainty for data intermediaries
### Commission Implementing Acts on Pseudonymization
**New provision**: The Commission can adopt **implementing acts** specifying:
- Criteria for effective pseudonymization
- Technical techniques and standards
- When pseudonymization provides sufficient protection
EDPB-EDPS Concern
The [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) opposes giving the Commission this power, arguing that whether data is "personal" is a fundamental rights question, not a technical specification. They recommend the EDPB retain authority over pseudonymization guidance.
**Benefits (per Commission):**
- Harmonized standards across EU
- Technical guidance for implementation
- Legal certainty for processors
- Promotes interoperability
## Scientific Research Expanded
### New Definition in Article 4
**Scientific research** now explicitly includes:
- Fundamental research
- Applied research
- **Technological development**
- **Demonstration activities**
**Impact**: Broader scope for research exemptions and flexibilities.
### Further Processing Compatibility
**Article 5(1)(b)** clarification: Further processing for scientific research is **compatible with the initial purpose** of data collection.
**What this means:**
- Data collected for one purpose can be used for research
- No need for fresh legal basis
- Simplifies longitudinal studies
- Encourages data reuse for public benefit
### Legitimate Interest for Research
**Article 6(1)(f)** amendment: Processing for scientific research explicitly recognized as a **legitimate interest**.
**Requirements:**
- Balance test still applies
- Data subject rights remain
- Appropriate safeguards required
**Benefit**: Clarifies legal basis for research activities without need for consent in many cases.
### Information Obligation Exemption
When providing information to data subjects would require **disproportionate effort** in a research context, the obligation can be waived.
**Conditions:**
- Legitimate research purpose
- Appropriate safeguards in place
- Public interest considerations
**Example**: Retrospective medical research on decades of patient records where contacting all individuals is impractical.
## AI Training and Development
EDPB-EDPS Position
The [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) accepts the legitimate interest basis for AI but requests stronger safeguards, particularly for web scraping scenarios and meaningful right to object implementation.
### New Article 88c: AI Legitimate Interest
The Omnibus introduces **Article 88c**, a dedicated provision for AI system development:
**Core principle**: Processing personal data for AI development and operation is a **legitimate interest** under Article 6(1)(f).
**Full text:**
> "Where the processing of personal data is necessary for the interests of the controller in the context of the development and operation of an AI system as defined in Article 3, point (1), of Regulation (EU) 2024/1689 or an AI model, such processing may be pursued for legitimate interests within the meaning of Article 6(1)(f)..."
### Scope and Limitations
**What Article 88c covers:**
- Training AI models on personal data
- Testing and validating AI systems
- Operating AI systems that process personal data
- Fine-tuning and improving models
**What Article 88c does NOT override:**
- Laws explicitly requiring consent (e.g., DMA requirements for gatekeepers)
- Fundamental rights that override legitimate interests
- Special protections for children
- Article 9 special category data (see below)
**Balance test still required**: The legitimate interest must not be overridden by data subject rights and freedoms.
### Special Categories of Data (Article 9)
**Article 88c addresses special category data** (race, health, religion, etc.):
**Goal**: Avoid processing special categories through technical measures.
**Requirements for AI developers:**
1. **Implement technical measures** during data source selection to avoid collecting special category data
2. **Data minimization** during training and testing
3. **Remove or protect** special category data if identified despite safeguards
4. **Exception**: Special category data processed residually despite safeguards does NOT violate Article 9
**Practical meaning:**
- AI developers must try to filter out sensitive data
- If some sensitive data remains despite best efforts, processing may continue
- Must demonstrate good-faith technical safeguards
- Cannot intentionally target special category data
### Required Safeguards
**Article 88c mandates** "appropriate organisational, technical measures and safeguards":
**Technical measures:**
- Data minimization during source selection
- Filtering and sanitization
- Protection against disclosure of residual data
- Non-disclosure safeguards in model outputs
**Organizational measures:**
- Enhanced transparency to data subjects
- Clear documentation of safeguards
- Regular review and updates
**Unconditional right to object**: Data subjects must have the right to object to processing of their data for AI purposes.
### Impact on AI Industry
**Positive:**
- Legal certainty for AI training
- Legitimate interest basis clearly established
- Harmonized EU-wide approach
**Obligations:**
- Cannot ignore data subject rights
- Must implement technical safeguards
- Must respect objections
- Transparency requirements
**Not a free pass:**
- Balance test applies
- High-risk processing still restricted
- Children's data has additional protection
- DMA gatekeepers still need consent
## Data Breach Notification Threshold
### Raising the Bar to "High Risk"
**Article 33 amendment**: Data breach notification to supervisory authorities now required only for **HIGH RISK** breaches (previously "risk").
**Before**:
- Notify supervisory authority within 72 hours if breach poses "risk" to rights and freedoms
- Resulted in over-notification of minor incidents
- Burdened supervisory authorities with trivial reports
**After**:
- Notify only if "high risk" to rights and freedoms
- Aligns with Article 34 (direct communication to data subjects, which always required "high risk")
- Reduces administrative burden
### What Constitutes "High Risk"?
The **European Data Protection Board (EDPB)** will create:
- Common template for notifications
- List of breach types constituting "high risk"
- Guidance on assessment criteria
**Expected "high risk" scenarios:**
- Large-scale breaches affecting thousands
- Sensitive data (health, financial, credentials)
- Breaches enabling identity theft or fraud
- Data of vulnerable populations (children)
- Breaches with severe consequences
**Not "high risk" (examples):**
- Accidental disclosure of limited non-sensitive data
- Breaches with effective mitigating measures already in place
- Technical incidents with no real-world impact
- Isolated incidents affecting single individuals with minimal data
### Single Entry Point via ENISA
**New centralized reporting**: Breaches can be reported through a **single entry point** managed by ENISA (European Union Agency for Cybersecurity).
**Benefits:**
- Simplified reporting for multi-national controllers
- Consistent format and handling
- Reduced administrative complexity
- Better data for EU-wide security analysis
### Practical Impact
**For controllers:**
- Fewer required notifications
- Focus on genuinely serious incidents
- Reduced compliance costs
- Still must document ALL breaches internally
**For supervisory authorities:**
- Fewer trivial notifications
- Can focus on serious incidents
- Better resource allocation
- Improved oversight quality
## Information Requirements Simplified
### Article 13 Exemption for Low-Risk Processing
**New Article 13 provision**: Controllers need NOT provide information to data subjects when **BOTH** conditions are met:
**Condition (a)**: Data subject likely already has the information
**Condition (b)**: Processing is NOT high-risk
**Who benefits:**
- Small business operators (craftspeople, hairdressers)
- Local service providers (sports clubs, community organizations)
- SMEs with straightforward processing
- Public authorities for routine operations
**Example scenarios:**
- **Hairdresser appointment book**: Customer knows their name and phone number are recorded for appointments. Low risk. No privacy notice needed.
- **Local sports club membership**: Members obviously know the club has their contact info. Low risk. Simplified or no notice acceptable.
- **Online health monitoring service**: High-risk processing. Full Article 13 notice required.
- **Customer profiling for marketing**: Data subject may not know extent of processing. Full notice required.
### What This Changes
**Before**: Every processing activity, no matter how trivial, required detailed Article 13 information.
**After**: Proportionate approach recognizing low-risk, obvious processing.
**Safeguards:**
- Only for genuinely low-risk processing
- Data subject must reasonably expect the processing
- All other GDPR requirements still apply
- Data subject rights remain fully enforceable
## Right of Access: Abusive Requests
### Article 12 Amendment
**New provision**: Controllers can **refuse abusive access requests** where the request is made for purposes other than data protection.
**What constitutes "abusive":**
- Litigation harassment
- Commercial intelligence gathering
- Competitor research disguised as access requests
- Repeated requests with no legitimate data protection purpose
- Requests clearly aimed at disrupting business operations
### Lower Burden of Proof
**Key change**: **Lower burden of proof** for controllers to demonstrate that a request is abusive.
**Before**: Controllers had to clearly prove abuse, often difficult in practice.
**After**: Reasonable indications of abuse are sufficient to justify refusal.
**Safeguards:**
- Must still be genuine abuse (not simply inconvenient)
- Data subjects can challenge refusal
- Supervisory authorities can review
- Cannot be used to deny legitimate requests
### Impact
**For controllers:**
- Protection against weaponized access requests
- Reduced costs from abusive requesters
- Can focus resources on legitimate requests
**For data subjects:**
- Legitimate requests still fully protected
- No impact on genuine exercise of rights
- Challenge mechanism if unfairly refused
## Automated Decision-Making
### Article 22 Clarification
**Article 22** has been clarified regarding the "necessary for contract" exception:
**Old ambiguity**: Could automated decisions be "necessary for contract" only if human decision-making was impossible?
**New clarity**: The fact that a **human could make the decision does NOT prevent** automated processing from being "necessary for the contract."
**What this means:**
- **Credit decisions**: Automated credit scoring can be "necessary for contract" even though humans could theoretically assess creditworthiness.
- **Fraud prevention**: Automated fraud checks are permissible even if manual review is possible.
- **Pricing algorithms**: Dynamic pricing based on automated analysis can be necessary for the service model.
**Limits:**
- Must still be genuinely necessary for the specific contract
- Cannot be arbitrary
- Data subject rights (explanation, human review) remain
- Transparency requirements apply
**Not a blanket authorization**: Controllers must still demonstrate the automated decision-making is necessary for the specific contractual relationship, not just convenient.
## Summary of GDPR Amendments
| Amendment | Article | Impact |
| --- | --- | --- |
| **Personal data definition** | Article 4 | "Reasonably likely" standard; entity-specific determination |
| **Pseudonymization** | Article 4 | Clarity on when pseudonymized data is not personal; Commission implementing acts |
| **Scientific research definition** | Article 4 | Includes tech development and demonstration |
| **Research compatibility** | Article 5(1)(b) | Further processing for research is compatible |
| **Research legitimate interest** | Article 6(1)(f) | Research explicitly recognized as legitimate interest |
| **Information exemption** | Article 13 | No notice needed if data subject has info AND low-risk |
| **Abusive access requests** | Article 12 | Lower burden to refuse abusive requests |
| **Automated decisions** | Article 22 | "Necessary for contract" doesn't require automation to be only option |
| **Breach notification** | Article 33 | Threshold raised to "high risk" only |
| **AI processing** | Article 88c (new) | Legitimate interest for AI development; safeguards required |
| **Cookie consent** | Article 88a (new) | Unified GDPR framework for terminal storage |
| **Browser signals** | Article 88b (new) | Machine-readable consent preferences |
## Related Resources
- [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Details on Articles 88a and 88b
- [Impact on Web Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - How amendments affect analytics
- [EDPB-EDPS Joint Opinion](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulatory position on these amendments
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) - How cookieless measurement satisfies GDPR principles
- [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) - Consent-exemption rules that apply today
## Key Takeaways
1. **Personal data definition clarified** with "reasonably likely" standard from CJEU case law
2. **Pseudonymization promoted** with clarity on when data is no longer personal
3. **Scientific research expanded** in definition and flexibilities
4. **AI training has legal basis** via Article 88c legitimate interest
5. **Breach notifications reduced** to high-risk incidents only
6. **Information requirements simplified** for low-risk, obvious processing
7. **Abusive access requests** can be refused with lower burden of proof
8. **Automated decision-making** clarified for contractual necessity
These amendments preserve the GDPR's core privacy protections while addressing practical implementation challenges identified over six years of application. The result is a more workable framework that reduces unnecessary compliance burdens without compromising data subject rights.
## Cookie Consent Reform: The End of Banner Fatigue
URL: https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy/
How the proposed EU Digital Omnibus would change cookie consent rules by moving them under the GDPR
Important Notice
The EU Digital Omnibus is a **legislative proposal still under negotiation**; article numbers and text may change before it is in force. Any statement about how Sealmetrics would fall under it is our own reading and a **self-assessment**, not a certification — no supervisory authority certifies analytics tools.
The EU Digital Omnibus proposes the most significant reform to cookie consent rules since the ePrivacy Directive of 2009. By moving cookie consent under the GDPR framework, the proposal would remove the consent requirement for some low-risk uses, such as audience measurement for the site's own use.
## The Current Problem
### A Broken System
The current Article 5(3) of the ePrivacy Directive, dating from 2009, has created a system that frustrates users and burdens businesses without delivering meaningful privacy protection:
**Economic costs:**
- Banner implementation, consent management platforms and legal review for businesses and public bodies
**User burden:**
- Users encounter multiple banners daily and spend time clicking through them
**Undermined protection:**
- Many users accept or reject cookie banners without reading them
- "Consent fatigue" means users make uninformed decisions
- The very goal of informed consent is defeated
### Why the Current System Fails
The 2009 ePrivacy Directive predates modern web analytics, programmatic advertising, and today's data ecosystem. Its blanket consent requirement for any terminal storage has created:
1. **Banner overload**: Nearly half of all websites show cookie banners
2. **Dark patterns**: Pressure to accept through design manipulation
3. **Compliance complexity**: Different rules from GDPR create confusion
4. **Poor user experience**: Constant interruptions with no real choice
## The Solution: GDPR Integration
EDPB-EDPS Support
The European data protection authorities **strongly support** addressing cookie banner fatigue in their [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md). They endorse the Article 88a(3)(c) exemption for audience measurement and additionally recommend creating an explicit exemption for **contextual advertising** (ads based on page content, not user tracking).
### Article 5(3) ePrivacy Repealed
The Digital Omnibus **repeals Article 5(3) of the ePrivacy Directive** for processing of personal data. This eliminates the separate cookie consent regime that has run parallel to GDPR since 2018.
### New Article 88a GDPR: Unified Rules
Cookie and terminal storage processing is brought under GDPR's comprehensive framework through new **Article 88a**:
**Default rule (Article 88a(1)):**
> "Storing of personal data, or gaining of access to personal data already stored, in the terminal equipment of a natural person is only allowed when that person has given his or her consent, in accordance with this Regulation."
Consent must meet GDPR standards: freely given, specific, informed, and unambiguous.
### Lawful Processing WITHOUT Consent
The breakthrough comes in **Article 88a(3)**, which identifies processing activities that do NOT require consent:
#### 1. Carrying Out Transmission (Article 88a(3)(a))
Necessary for transmitting electronic communication over a network. This covers:
- Session cookies
- Load balancing
- Network routing data
- Communication delivery mechanisms
#### 2. Service Explicitly Requested (Article 88a(3)(b))
Providing a service the user specifically asked for, such as:
- Shopping cart functionality
- User authentication and login
- Payment processing
- Form completion and preferences
- Language selection
#### 3. Aggregated Audience Measurement (Article 88a(3)(c))
**This is the game-changer for web analytics:**
> "Creating aggregated information about the usage of an online service to measure the audience of such a service, where it is carried out by the controller of that online service solely for its own use"
**Requirements:**
- Must be **aggregated** (not individual tracking)
- By the **controller** (website owner)
- For the controller's **own use only** (cannot be shared or sold)
**What this means:**
- First-party analytics: **no consent needed (if adopted as proposed)**
- Basic traffic measurement: **no consent needed (if adopted as proposed)**
- Understanding your own audience: **no consent needed (if adopted as proposed)**
**What still needs consent:**
- Third-party tracking networks
- Cross-site user profiling
- Selling analytics data to advertisers
- Individual user tracking beyond aggregation
#### 4. Security Maintenance (Article 88a(3)(d))
Maintaining or restoring security of services and terminal equipment:
- Fraud prevention
- DDoS protection
- Security logging
- Malware detection
### Improved Consent Requirements
When consent IS required, **Article 88a(4)** strengthens user rights:
#### Single-Click Refusal (Article 88a(4)(a))
> "The data subject shall be able to refuse requests for consent in an easy and intelligible manner with a single-click button or equivalent means"
- No more buried "reject all" options
- Equal prominence to "accept"
- Cannot be harder to refuse than accept
#### No Re-Asking During Valid Consent (Article 88a(4)(b))
If a user gives consent, controllers cannot ask again for the same purpose during the consent validity period. This prevents:
- Repeated consent requests
- Consent fatigue from same-site re-prompting
- Dark patterns that wear users down
#### 6-Month Cooldown After Refusal (Article 88a(4)(c))
If a user declines consent, the controller **cannot ask again for at least 6 months** for the same purpose.
**Impact:**
- Stops repeated harassment
- Makes "no" mean "no"
- Reduces consent fatigue
- Protects user autonomy
## Browser Signals: The Future of Consent
### Article 88b: Machine-Readable Preferences
**Article 88b(1)-(2)** requires controllers to:
- Accept automated, machine-readable consent signals
- Accept automated consent refusal and objections (Article 21(2))
- Respect user choices communicated through browsers
### Media Service Provider Exemption
**Article 88b(3)**: Media service providers (news sites, publishers) are **EXEMPT** from accepting browser signals. They can still show consent dialogs.
**Rationale:**
- Publishers rely on advertising revenue
- Need flexibility for funding models
- Allows industry-specific solutions
### Standards Development
**Article 88b(4)**: The European Commission will request European standardisation bodies to develop standards for:
- Format of machine-readable signals
- Interpretation protocols
- Interoperability requirements
Think of this as a European alternative/complement to initiatives like Global Privacy Control (GPC).
### Implementation Timeline
**For websites (Article 88b(5)):**
- Must support browser signals: **24 months after entry into force**
- Gives businesses 2 years to update systems
**For browsers (Article 88b(7)):**
- Non-SME browser providers must offer consent controls: **48 months after entry into force**
- Gives browser vendors 4 years to implement
**What this means:**
- Phase 1 (2027-2028): Websites prepare infrastructure
- Phase 2 (2029-2030): Browsers deploy user controls
- Users will eventually set privacy preferences once in their browser
- Those preferences will be automatically respected across websites
## Cost Savings and Benefits
The Commission presents the reform as a simplification that would reduce compliance costs for businesses and public bodies and cut the time users spend on banners. For its own estimates, see the proposal and its accompanying documents (COM(2025) 837); the figures may change during negotiation.
## Practical Implications
Reality Check: Cookie Banners Won't Fully Disappear
While the Digital Omnibus promises significant relief, legal analysts note that cookie banners will likely persist in many scenarios. The exemptions are narrower than headlines suggest, and information obligations still require some form of user notification.
### Why Cookie Banners May Persist
Despite the reforms, several factors will keep cookie banners alive for many websites:
**1. Narrow Exemptions**
The Article 88a(3)(c) exemption applies only to:
- Aggregated data (not individual tracking)
- Controller's own use (not shared with third parties)
- The specific service being measured
Most third-party analytics tools, advertising pixels, and cross-site tracking fall **outside** these exemptions.
**2. Information Obligations Remain**
Even when consent isn't required, GDPR's transparency requirements (Articles 13-14) still mandate informing users about data processing. This may require:
- Privacy policy updates (minimum)
- Some form of notification interface (likely)
**3. Hybrid Solutions Expected**
Legal experts predict many websites will adopt "hybrid" approaches:
- **Notification-only banners** for exempt processing (no consent button)
- **Consent banners** for third-party tracking (accept/reject)
- **Combined banners** explaining both
**4. Browser Signal Delays**
Full browser-based consent management requires:
- European standards development (ongoing)
- Website implementation (24 months after entry into force)
- Browser vendor implementation (48 months after entry into force)
Until browsers widely support automated signals (~2029-2031), manual consent mechanisms will remain necessary for consent-required processing.
### What Changes for Website Operators
**If you only do first-party analytics for your own use:**
- No consent required
- Direct cost savings
- Must be aggregated data
- Only for your own use (no data sharing)
- May still need information notice (not consent banner)
**If you use third-party tracking or advertising:**
- Still need consent
- Better consent UX requirements
- 6-month refusal protection
- Prepare for browser signals (24 months)
**If you're a media service provider:**
- ℹ️ Exempt from browser signal requirement
- Can still ask for consent directly
- Flexibility for publishing business models
### What Changes for Users
**Fewer cookie banners:**
- Many sites won't need them anymore
- Simpler web browsing experience
- Less interruption
**Better consent when required:**
- Equal "reject all" buttons
- No re-asking after refusal
- Clearer choices
**Future browser controls (2029+):**
- Set preferences once in browser
- Automatic application across sites
- Granular control if desired
## Timeline
**Entry into force**: Expected 2026-2027 (after legislative process)
**Article 88a applies**: 6 months after entry into force
**Article 88b (browser signals):**
- Websites: 24 months after entry into force
- Browsers: 48 months after entry into force
## Comparison with Current Rules
| Aspect | Current (ePrivacy 2009) | New (Article 88a) |
| --- | --- | --- |
| **Legal basis** | Article 5(3) ePrivacy Directive | Article 88a GDPR |
| **First-party analytics** | Consent required (with exemptions) | No consent if aggregated, own use |
| **Third-party tracking** | Consent required | Consent required |
| **Consent refusal** | No specific UX requirements | Single-click button required |
| **Re-asking after refusal** | Allowed | Blocked for 6 months |
| **Browser signals** | Not addressed | Must be supported (24 months) |
| **Functional cookies** | Exemption exists but unclear | Clear exemption (88a(3)(b)) |
| **Framework** | Separate from GDPR | Unified with GDPR |
## Related Resources
- [GDPR Amendments in the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - Other changes to the GDPR
- [Impact on Web Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - What this means for analytics providers
- [EDPB-EDPS Joint Opinion](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulatory support for cookie consent reform
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [Analytics Cookies: Consent Exemption Requirements](https://sealmetrics.com/docs/compliance/analytics-cookies-exemption.md) - How analytics already qualifies for exemption today
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) - The technical basis for banner-free analytics
## Key Takeaways
1. **First-party analytics for own use = no consent needed** (clear win)
2. **Third-party tracking still requires consent** (no change)
3. **Cookie banners will reduce but not disappear entirely** — information obligations and third-party tools maintain some form of notification
4. **Better consent UX** when consent is required (single-click refuse, 6-month cooldown)
5. **Browser signals coming** in 24-48 months (but full adoption will take longer)
6. **Hybrid banner solutions** likely for sites mixing first-party and third-party tools
7. **Unified GDPR framework** replaces fragmented ePrivacy/GDPR cookie rules
The cookie consent reform represents a pragmatic evolution: preserving privacy protections while reducing consent fatigue. For websites using **only first-party, aggregated analytics** (like Sealmetrics), the path to banner-free operation should be clear once Article 88a(3)(c) is in force. For websites mixing multiple tracking tools, the picture is more nuanced — expect simplified banners rather than no banners.
## Data Law Consolidation: From 5 Acts to 2
URL: https://sealmetrics.com/docs/compliance/omnibus/data-consolidation/
How the Digital Omnibus merges FFDR, DGA, and Open Data Directive into the Data Act
The EU Digital Omnibus achieves one of the most significant simplifications in European regulatory history: consolidating five separate data laws into two. This consolidation eliminates overlaps, reduces compliance complexity, and creates a coherent framework for Europe's data economy.
## The Current Fragmentation
### Five Separate Data Laws
Before the Omnibus, organizations navigating EU data regulation must comply with five distinct legal instruments:
#### 1. General Data Protection Regulation (GDPR)
**Regulation (EU) 2016/679**
**Scope**: Processing of personal data
**Focus**:
- Individual rights (access, erasure, portability)
- Lawful processing bases
- Controller and processor obligations
- Supervisory authority enforcement
**Status**: Foundational regulation, not repealed
#### 2. Free Flow of Data Regulation (FFDR)
**Regulation (EU) 2018/1807**
**Scope**: Free movement of non-personal data
**Focus**:
- Prohibition of data localization requirements
- Professional user data portability
- Self-regulatory codes of conduct
- Regulatory barriers monitoring
**Current problem**: Creates artificial distinction between personal/non-personal data that is difficult to apply in practice
#### 3. Data Governance Act (DGA)
**Regulation (EU) 2022/868**
**Scope**: Framework for trusted data sharing
**Focus**:
- Re-use of protected public sector data
- Data intermediation services (registration regime)
- Data altruism organizations
- European data innovation board
**Current problem**: Only 27 registered data intermediaries despite expectations of 100-150; heavy compliance burden
#### 4. Open Data Directive (ODD)
**Directive (EU) 2019/1024**
**Scope**: Public sector information re-use
**Focus**:
- Open data by default
- High-value datasets publication
- Charging principles
- Exclusive arrangements prohibition
**Current problem**: Overlaps with DGA on public sector data; creates confusion on which regime applies
#### 5. Data Act
**Regulation (EU) 2023/2854**
**Scope**: Data access and sharing rights
**Focus**:
- User access to IoT device data
- Data holder obligations to share with users
- Business-to-business data sharing
- Switching between data processing services
- Public sector access in emergencies
**Current problem**: Newest regulation, but already needs integration with older frameworks
### The Complexity Problem
**For businesses:**
- Must navigate five separate legal texts
- Overlapping definitions create uncertainty
- Different compliance procedures
- Multiple reporting obligations
- High legal advisory costs
**For regulators:**
- Fragmented enforcement
- Inconsistent interpretation
- Coordination challenges
- Resource inefficiency
**For innovation:**
- Legal uncertainty deters investment
- Compliance complexity favors large players
- Difficult to build pan-European data services
- Regulatory burden slows deployment
## The Consolidation Solution
### Result: 2 Laws
**After the Digital Omnibus:**
1. **GDPR (amended)**: Governs all personal data processing
2. **Data Act (consolidated)**: Governs all other data economy rules
### Why GDPR Remains Separate
The GDPR is **amended but not merged** because:
**Distinct purpose**: Fundamental rights protection vs. economic framework
**Different legal basis**: Article 16 TFEU (data protection) vs. Article 114 TFEU (internal market)
**Special enforcement**: Data protection authorities with independence guarantees
**International standard**: GDPR is globally recognized; maintaining as standalone regulation preserves its status
**Proportionality**: Personal data rules deserve distinct treatment given fundamental rights implications
## What Moves Into the Data Act
### From FFDR: Data Localization Ban
**FFDR Article 4** prohibition on data localization requirements becomes **Data Act Article 32h**.
**Content**:
> Member States shall not impose data localisation requirements that restrict the storage or processing of data in a specific geographical location within the Union.
**Exceptions maintained**:
- National security justified restrictions
- Public interest requirements (proportionate and necessary)
**Rationale for consolidation**: Data localization affects all data (personal and non-personal), so better integrated into comprehensive Data Act rather than separate regulation.
**What happens to rest of FFDR**: Mostly repealed; portability provisions absorbed into Data Act Chapter V (switching).
### From DGA: Data Intermediation Services
**DGA Chapter III** (Articles 9-15) moves to **Data Act Chapter VIIa**.
**What's included**:
- Data intermediation service provider definition
- Notification and registration (now voluntary—see below)
- Neutrality and transparency requirements
- Code of conduct framework
- Competent authority designation
**Key changes in consolidation**:
- **Notification becomes voluntary** (trust label system instead)
- **Separate legal entity requirement removed** (functional separation sufficient)
- Streamlined registration process
- Lighter monitoring obligations
**Services covered**:
- Data sharing platforms
- Data marketplaces
- Data cooperatives
- Personal data intermediaries
### From DGA: Data Altruism Organizations
**DGA Chapter IV** (Articles 16-28) moves to **Data Act Chapter VIIa**.
**What's included**:
- Data altruism definition (voluntary sharing for general interest)
- Registration of recognized data altruism organizations
- Transparency requirements
- European data altruism consent form
- Oversight mechanisms
**Key changes in consolidation**:
- **Rulebook requirement deleted** (too burdensome for voluntary activity)
- **National policy reporting deleted**
- Simplified compliance
- Easier registration
**Purpose**: Enable citizens and companies to donate data for research, statistics, and public interest purposes.
### From DGA: Protected Public Sector Data
**DGA Chapter II** (Articles 3-8) moves to **Data Act Chapter VIIa**.
**What's included**:
- Re-use of protected data held by public sector bodies
- Single information points
- Competent bodies for re-use requests
- Conditions and fees
- Non-discrimination requirements
**Integration rationale**: Fits naturally with Data Act's public sector data access provisions (emergency access, high-value datasets).
### From Open Data Directive: Public Sector Information
**Entire ODD framework** moves to **Data Act Chapter VIIc**.
**What's included**:
- Open data by default principle
- High-value datasets identification and publication
- Real-time data access
- Charging principles (marginal cost)
- Prohibition of exclusive arrangements
- Research data access
**Benefits of consolidation**:
- Single regime for all public sector data
- No more confusion between DGA and ODD
- Harmonized charging rules
- One-stop shop for public data access
**Member States**: Must transpose ODD provisions into national law (Directive obligations); now superseded by directly applicable Data Act provisions (Regulation).
## What Gets Fully Repealed
### Platform-to-Business Regulation (P2B)
**Regulation (EU) 2019/1150** is **fully repealed**.
**Why**: Completely superseded by Digital Services Act (DSA) and Digital Markets Act (DMA).
**DSA coverage**:
- Platform transparency obligations
- Terms and conditions requirements
- Algorithmic transparency
- Complaint handling mechanisms
**DMA coverage**:
- Gatekeeper obligations
- Fair treatment requirements
- Data access for business users
- Interoperability mandates
**Result**: P2B obligations now covered (and exceeded) by DSA/DMA; no need for separate regime.
**Transition**: Existing P2B compliance efforts seamlessly transfer to DSA/DMA compliance.
### Most of Free Flow of Data Regulation
**FFDR mostly repealed** except:
- Article 4 (data localization ban) → moves to Data Act
- Core free movement principle preserved in recitals
**What's deleted**:
- Separate monitoring framework (€846,612/year savings for public authorities)
- Standalone portability provisions (covered by Data Act switching rules)
- Code of conduct facilitation (redundant with Data Act mechanisms)
## Correlation Tables: Article-by-Article Mapping
The Digital Omnibus includes detailed **Annexes** with correlation tables showing exactly where each article of the repealed regulations moves in the consolidated framework.
### Example: DGA to Data Act Mapping
| DGA Article | Topic | New Location |
| --- | --- | --- |
| Articles 3-8 | Protected public sector data | Data Act Chapter VIIa, Section 1 |
| Articles 9-15 | Data intermediation services | Data Act Chapter VIIa, Section 2 |
| Articles 16-28 | Data altruism | Data Act Chapter VIIa, Section 3 |
| Articles 29-32 | Competent authorities | Data Act Chapter VIIa, Section 4 |
| Article 33 | European Data Innovation Board | Data Act Chapter VIIa, Section 5 |
### Example: ODD to Data Act Mapping
| ODD Chapter | Topic | New Location |
| --- | --- | --- |
| Chapter I | General provisions | Data Act Chapter VIIc, Section 1 |
| Chapter II | Re-use requests | Data Act Chapter VIIc, Section 2 |
| Chapter III | High-value datasets | Data Act Chapter VIIc, Section 3 |
| Chapter IV | Research data | Data Act Chapter VIIc, Section 4 |
**Practical value**: Legal counsel and compliance teams can trace every obligation from old law to new location.
## Benefits of Consolidation
### 1. Single Legal Framework for Data Economy
**Before**: Navigate GDPR + FFDR + DGA + ODD + Data Act
**After**: Navigate GDPR (personal) + Data Act (everything else)
**Impact**:
- Simpler compliance mapping
- Reduced legal advisory costs
- Easier training for compliance teams
- Better accessibility for SMEs
### 2. Harmonized Definitions
**Current problem**: Same concepts defined differently across laws.
**Examples**:
- "Data holder" in Data Act vs. "data controller" in GDPR
- "Data intermediary" in DGA vs. "data processing service" in Data Act
- "Public sector body" in ODD vs. DGA
**Consolidation solution**: Single set of definitions in Data Act applicable to all non-personal data provisions.
**Result**: Legal certainty, consistent interpretation, predictable enforcement.
### 3. Reduced Compliance Complexity
**Fewer registers to check**:
- Before: National DGA registers + Data Act registers + ODD high-value datasets
- After: Unified Data Act registers
**Fewer notifications**:
- Before: Separate DGA intermediation notification + Data Act switching notification
- After: Integrated notification process (and voluntary for intermediation)
**Fewer competent authorities**:
- Before: DGA authority + ODD authority + Data Act authority
- After: Single Data Act competent authority per Member State
### 4. Easier Compliance Navigation
**Single regulatory text**: Instead of cross-referencing five laws, consult two.
**Integrated obligations**: Related requirements in same chapters instead of scattered across regulations.
**Unified enforcement**: One competent authority for data economy (excluding personal data).
**Better guidance**: Regulators can issue comprehensive guidance on Data Act instead of fragmented guidance across multiple laws.
### 5. Supports Innovation
**Legal certainty**: Clear rules encourage investment in data-driven services.
**Lower barriers to entry**: Simplified compliance helps startups and SMEs compete.
**Pan-European services**: Easier to build services across all Member States with unified framework.
**Faster deployment**: Less time spent on legal analysis, more on product development.
## Cost Savings from Consolidation
### Direct Regulatory Savings
**FFDR monitoring relief**: €846,612/year for public authorities
- No separate monitoring framework
- Resources redirected to Data Act implementation
**DGA separate entity removal**: €318,750 one-off savings
- Data intermediaries no longer need separate legal entities
- Functional separation sufficient
**DGA monitoring simplification**: €6M/year
- Lighter oversight regime
- Risk-based supervision instead of continuous monitoring
### Indirect Business Savings
**Reduced legal advisory**: Fewer laws to analyze and cross-reference
**Simpler compliance procedures**: Unified processes instead of parallel tracks
**Lower training costs**: Staff learn one framework instead of five
**Faster market entry**: Less time from idea to launch for data services
### Public Sector Efficiency
**One competent authority per Member State** instead of multiple:
- Shared expertise
- Consistent interpretation
- Better resource allocation
- Coordinated enforcement
## Implementation Considerations
### Transitional Provisions
**Existing DGA registrations**: Automatically transfer to Data Act regime
- No need to re-register
- Existing rights and obligations continue
- Can opt in to new voluntary regime benefits
**ODD transposition**: Member States that transposed ODD Directive can repeal national laws once Data Act provisions apply
- Directly applicable regulation supersedes national transposition
- Simplifies national legal landscape
**FFDR compliance**: Organizations already complying with FFDR data localization ban continue under Data Act Article 32h
- No substantive change to obligations
- Same exemptions apply
### For Organizations
**Compliance mapping**:
1. Identify which regulations currently apply to your activities
2. Use correlation tables to find new Data Act provisions
3. Update internal policies and procedures
4. Train compliance teams on consolidated framework
**Documentation updates**:
- Privacy policies and transparency documents
- Data processing agreements
- Compliance manuals
- Training materials
**Legal basis review**:
- Ensure legal bases remain valid under consolidated framework
- Update references from repealed regulations to Data Act
- Consider new opportunities from simplified regime
## Visual Summary: Before and After
### Before Omnibus (2024)
```plaintext
Personal Data:
└─ GDPR
Non-Personal Data:
├─ Free Flow of Data Regulation (FFDR)
├─ Data Governance Act (DGA)
├─ Open Data Directive (ODD)
└─ Data Act
Mixed/Unclear:
└─ Platform-to-Business Regulation (P2B)
```
**Result**: Fragmented, overlapping, complex
### After Omnibus (2027)
```plaintext
Personal Data:
└─ GDPR (amended)
All Other Data:
└─ Data Act (consolidated)
├─ Data access and sharing (original Data Act)
├─ Data localization ban (from FFDR)
├─ Data intermediation (from DGA)
├─ Data altruism (from DGA)
├─ Protected public data (from DGA)
└─ Open data (from ODD)
Platform Regulation:
├─ Digital Services Act (DSA)
└─ Digital Markets Act (DMA)
```
**Result**: Coherent, integrated, simplified
## Comparison Table
| Aspect | Before (5 Laws) | After (2 Laws) |
| --- | --- | --- |
| **Legal texts to consult** | GDPR + FFDR + DGA + ODD + Data Act | GDPR + Data Act |
| **Personal data** | GDPR only | GDPR only (unchanged) |
| **Non-personal data localization** | FFDR Article 4 | Data Act Article 32h |
| **Data intermediation** | DGA Chapter III (mandatory) | Data Act Ch VIIa (voluntary) |
| **Data altruism** | DGA Chapter IV (with rulebook) | Data Act Ch VIIa (no rulebook) |
| **Public sector data** | ODD + DGA overlap | Data Act Ch VIIc (unified) |
| **Platform obligations** | P2B Regulation | DSA + DMA |
| **Competent authorities** | Multiple per MS | One per MS (plus DPAs) |
| **Definitions** | Inconsistent across laws | Harmonized in Data Act |
| **Compliance complexity** | High (fragmentation) | Reduced (consolidation) |
## Related Resources
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - What changes in the GDPR
- [Data Intermediation Services](https://sealmetrics.com/docs/compliance/omnibus/data-intermediation.md) - Details on voluntary regime
- [Timeline and Implementation](https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation.md) - Key dates for consolidation
- [EDPB-EDPS Joint Opinion on the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulators' view on data acquis consolidation
## Key Takeaways
1. **Five data laws consolidated into two**: GDPR (personal) + Data Act (everything else)
2. **GDPR remains separate** with amendments; Data Act absorbs DGA, ODD, and FFDR core provisions
3. **P2B Regulation fully repealed** (superseded by DSA/DMA)
4. **Correlation tables provided** for article-by-article mapping
5. **Major cost savings**: €6M+/year from monitoring reduction alone
6. **Simplified compliance**: One framework instead of fragmented rules
7. **Better for innovation**: Legal certainty and lower barriers to entry
8. **Practical implementation**: Existing registrations and compliance transfer automatically
The consolidation is not just bureaucratic housekeeping—it's a fundamental restructuring of Europe's data economy framework. By eliminating overlaps, harmonizing definitions, and creating a single coherent legal regime (alongside GDPR), the Digital Omnibus makes EU data law navigable for businesses of all sizes while maintaining strong protections and enabling innovation.
## Data Intermediation Services: From Mandatory to Voluntary
URL: https://sealmetrics.com/docs/compliance/omnibus/data-intermediation/
Changes to data intermediation and data altruism rules under the Digital Omnibus
The EU Data Governance Act (DGA) created a framework for trusted data intermediation—platforms that facilitate data sharing between individuals, businesses, and researchers. But the mandatory registration regime proved too burdensome, with only 27 providers registering instead of the expected 100-150.
The Digital Omnibus transforms data intermediation from a mandatory compliance burden into a **voluntary trust label system**, removing barriers while maintaining quality standards. This change, combined with abolishing the separate legal entity requirement, could save €318,750 one-off and €6 million annually while encouraging market growth.
## What Are Data Intermediation Services?
### Definition
**Data intermediation service providers** act as neutral intermediaries facilitating data sharing between:
**Data holders** → **Data intermediary** → **Data users**
**Key characteristic**: Neutrality—the intermediary does not use the data for its own purposes.
### Types of Data Intermediation Services
#### 1. Data Marketplaces
**Function**: Platforms connecting data sellers and buyers
**Examples**:
- B2B data exchanges (industrial sensor data, logistics data)
- Personal data marketplaces (individuals sell their shopping/browsing data)
- Public sector data platforms
**Value**: Discovery, valuation, contracting, secure transfer
#### 2. Data Sharing Platforms
**Function**: Infrastructure enabling data sharing for specific purposes
**Examples**:
- Research data sharing (health research consortia)
- Supply chain data sharing (collaborative logistics)
- Smart city data platforms (municipal data for urban planning)
**Value**: Technical interoperability, governance, access control
#### 3. Data Cooperatives
**Function**: Member-owned organizations pooling and sharing data on behalf of members
**Examples**:
- Agricultural cooperatives (farmers share equipment/weather data)
- Consumer data cooperatives (pooled shopping data for collective benefit)
- Professional data cooperatives (freelancers share skills/availability data)
**Value**: Collective bargaining power, shared benefits, democratic governance
#### 4. Personal Data Intermediaries
**Function**: Services helping individuals exercise data portability rights
**Examples**:
- Personal data stores (individuals aggregate data from multiple sources)
- Data portability platforms (move data between services)
- Consent management platforms (centralized consent control)
**Value**: User control, simplified data management, privacy enhancement
## The Current DGA Framework (Pre-Omnibus)
### Mandatory Notification/Registration
**DGA Chapter III (Articles 9-15)** establishes:
**Notification requirement**:
- Data intermediation providers must notify competent authority
- Notification before commencing services
- Detailed information about activities, safeguards, governance
**Registration**:
- Competent authority registers compliant providers
- National registers published
- Union-level register maintained by Commission
**Compliance obligations**:
- Neutrality (cannot use data for own purposes)
- Separate legal entity requirement
- Transparency reports
- Monitoring and auditing
- Compliance with cybersecurity standards
### Why It Hasn't Worked
#### Only 27 Registered Providers
**Expected**: 100-150 providers by 2024
**Actual**: 27 providers as of late 2025
**Gap**: 73-123 fewer providers than projected
**Why the shortfall?**
#### 1. Separate Legal Entity Requirement
**DGA Article 12(1)**: Data intermediaries must be established as separate legal entities "for the sole purpose of providing data intermediation services."
**Cost**: Estimated **€318,750 one-off** to establish separate entity
- Legal incorporation
- Corporate structure
- Governance setup
- Accounting systems
- Tax registration
- Offices and personnel
**Problem**: Prohibitive for startups and existing businesses wanting to add data intermediation to service portfolio
**Example**: A cloud provider wanting to offer data marketplace functionality must create entirely separate company, cannot integrate with existing business
#### 2. Continuous Monitoring Obligations
**DGA Article 12(m)**: Implement procedures for monitoring compliance
**Cost**: Estimated **€6 million annually** across the sector
- Internal compliance officers
- External audits
- Documentation and reporting
- Technical monitoring systems
- Regular reviews and updates
**Problem**: Heavy ongoing burden relative to business size; discourages market entry
#### 3. Mandatory Notification Creates Barrier
**Psychological barrier**: Notification feels like asking permission (even though it's not authorization)
**Administrative burden**: Preparing notification, collecting required documentation, responding to competent authority queries
**Uncertainty**: Unclear whether specific business model qualifies; risk of notification rejection
**Delay**: Time from notification to registration delays market entry
#### 4. Rulebook Requirement for Data Altruism
**DGA Article 21**: Recognized data altruism organizations must have publicly available rulebook
**Content**: Purpose, data use, safeguards, governance
**Problem**: For voluntary, public-interest activity, requiring formal rulebook is disproportionate
**Impact**: Deters organizations from offering data altruism frameworks
## Changes in the Digital Omnibus
### 1. Notification Becomes Voluntary
**Key change**: Notification shifts from **mandatory** to **voluntary**
**How it works**:
**Mandatory regime (current DGA)**:
- Must notify to operate
- Cannot offer services without registration
- Enforcement for non-compliance
**Voluntary regime (Digital Omnibus)**:
- Can operate without notification
- Notification earns "trusted intermediary" label
- Market choice whether to certify
**Trust label system**:
- Providers meeting DGA standards can notify
- Receive official recognition
- Use "EU Trusted Data Intermediary" designation (or similar)
- Listed in public registers
- Marketing advantage from trust label
**Benefits**:
**For startups and small providers**:
- Can test business models without notification
- Enter market faster
- Scale up, then notify if desired
- No upfront compliance costs for experimentation
**For established providers**:
- Choice to differentiate via trust label
- Can operate without label if preferred (lower costs)
- Market decides value of certification
**For data users/holders**:
- Can choose certified intermediaries for higher trust
- Or use uncertified for lower cost/more flexibility
- Market competition on trust vs. price
### 2. Separate Legal Entity Requirement Removed
**DGA Article 12(1)** removed; replaced with **functional separation** requirement
**Functional separation means**:
- Data intermediation services must be operationally separate within organization
- Cannot use data accessed via intermediation for other business purposes
- Technical and organizational safeguards for separation
- Audit trails and access controls
- But NOT a separate legal entity
**Savings**: **€318,750 one-off** per provider avoiding separate entity setup
**Impact**:
**Cloud providers** can offer data marketplace functionality:
- Functional separation: Intermediation data isolated
- Technical measures: Access controls, encryption, logging
- Governance: Internal walls between teams
- But: Single legal entity, integrated billing, shared infrastructure
**Existing platforms** can add data sharing features:
- eCommerce platform adds supplier data sharing
- IoT platform adds sensor data marketplace
- SaaS provider adds customer data portability tools
- Without spinning off separate company
**Example**:
**Before (separate entity required)**:
- Company X operates cloud storage
- Wants to offer B2B data marketplace
- Must create Company Y (separate entity)
- Company Y operates marketplace
- Company X and Y have formal separation
- Result: €318,750 setup cost, duplicate infrastructure
**After (functional separation sufficient)**:
- Company X operates cloud storage
- Adds data marketplace service (same entity)
- Implements functional separation (access controls, governance)
- Result: No separate entity cost, integrated services, still compliant
### 3. Simplified Monitoring
**Continuous monitoring obligation reduced**
**Lighter regime**:
- Risk-based supervision instead of continuous monitoring
- Self-assessment with spot checks
- Periodic reviews instead of constant auditing
- Proportionate documentation
**Savings**: **€6 million annually** across sector
**Impact**: Lower ongoing compliance costs make market entry viable for more providers
### 4. Union-Level Registers Only
**National registers**: Eliminated (multiple Member State registers created confusion)
**Union register**: Single EU-wide register maintained by Commission
**Benefits**:
- One place to find all EU trusted intermediaries
- No need to check 27 national registers
- Clearer for cross-border services
- Less administrative burden
### 5. Data Altruism Simplifications
**Rulebook requirement**: **Deleted**
**National policy reporting**: **Deleted**
**Simplified registration**:
- Lighter application process
- Fewer ongoing obligations
- Focus on genuine public interest purposes
**Impact**: Encourages voluntary data sharing for research, statistics, public good
## Expected Impact
### Market Growth
**Projected**: Up to **36 new providers** entering market post-Omnibus
**Reasoning**:
- Voluntary regime removes entry barrier
- Functional separation cuts €318,750 cost
- Lighter monitoring reduces ongoing burden
- Trust label provides marketing benefit without mandatory compliance
**From 27 providers → 60-65+ providers**: More competitive, innovative data sharing ecosystem
### New Business Models
**Enabled by functional separation**:
**Integrated data platforms**:
- Cloud + data marketplace
- IoT + sensor data sharing
- SaaS + customer data portability
- Single integrated offering
**Freemium models**:
- Basic intermediation without certification (free)
- Premium certified service with trust label (paid)
- Market segmentation by trust needs
**Niche intermediaries**:
- Sector-specific (health data, agricultural data, mobility data)
- Geography-specific (local/regional data cooperatives)
- Purpose-specific (research data sharing only)
**Innovation**:
- Experimental models can launch without notification
- Successful models can upgrade to trusted status
- Failure fast without heavy compliance sunk costs
### More Data Sharing
**For research**:
- More data altruism organizations
- Easier access to shared datasets
- Better support for data-driven research
- Public interest benefits
**For SMEs**:
- Access to data marketplaces for insights
- Share data with partners via trusted platforms
- Participate in data cooperatives
- Compete with data-rich incumbents
**For individuals**:
- More personal data intermediaries
- Better control over data
- Monetization opportunities (if desired)
- Exercise portability rights more easily
## Comparison: Before and After
| Aspect | Current DGA | Digital Omnibus |
| --- | --- | --- |
| **Notification** | Mandatory | Voluntary (trust label) |
| **Separate entity** | Required | Not required (functional separation) |
| **Setup cost** | €318,750 | Reduced or eliminated |
| **Monitoring** | Continuous (€6M/year) | Risk-based (lower cost) |
| **Registers** | National + Union | Union only |
| **Data altruism rulebook** | Required | Not required |
| **Market entry** | High barrier | Low barrier |
| **Number of providers** | 27 (underwhelming) | 60-65+ (projected) |
| **Market model** | Mandatory compliance | Voluntary certification |
## Who Benefits?
### Startups and Innovators
**Before**: Cannot afford €318,750 + €6M/year ongoing costs
**After**: Launch with functional separation, notify later if desired
**Result**: More innovation, experimentation, competition
### Established Businesses
**Before**: Must create separate entity to add data intermediation to service portfolio
**After**: Integrate within existing business with functional separation
**Result**: More comprehensive service offerings, better customer value
### SMEs as Data Intermediary Users
**Before**: Limited choice (27 providers), high costs passed to users
**After**: More providers (60+), competitive pricing, diverse options
**Result**: Better access to data sharing infrastructure
**Extended benefits**: SMCs also get simplified compliance (see [SME and Small Mid-Cap Exemptions](https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps.md))
### Data Holders and Users
**Before**: Limited trusted intermediaries, mandatory regime creates supply constraint
**After**: More options, trust label differentiates quality, competitive market
**Result**: Better services, lower costs, more trust options
### Society and Public Interest
**Data altruism growth**:
- More organizations offering voluntary data sharing
- Better research data availability
- Public interest projects (health research, climate science, urban planning)
**Data cooperatives**:
- Empower individuals and small businesses
- Collective bargaining for data
- Democratic data governance
## Practical Guidance
### For Aspiring Data Intermediaries
**Step 1: Determine if you qualify**
You're a data intermediary if you:
- Facilitate data sharing between data holders and users
- Act neutrally (don't use data for your own purposes)
- Provide technical, legal, or commercial intermediation
You're NOT a data intermediary if you:
- Process data as a controller (use for your own purposes)
- Simply provide infrastructure (cloud storage without intermediation)
- Operate outside the EU
**Step 2: Choose your path**
**Option A: Operate without notification**
- Pros: No compliance costs, faster launch, test business model
- Cons: No trust label, cannot market as "EU trusted intermediary"
- Best for: Startups, experimental models, low-trust-requirement markets
**Option B: Notify and get trust label**
- Pros: Marketing advantage, listed in EU register, customer trust
- Cons: Compliance obligations, monitoring, transparency reporting
- Best for: Established providers, high-trust markets (health, financial data)
**Step 3: Implement functional separation**
Even without notification, best practice:
- Separate intermediation data from other business data
- Access controls and encryption
- Internal policies prohibiting data use for own purposes
- Audit logging
- Staff training
**Step 4: Consider notification later**
Start without notification → Grow → Notify when business case justifies:
- Customer demand for trust label
- Competitive differentiation
- Regulatory comfort
- Market maturity
### For Organizations Using Data Intermediaries
**Evaluate trust needs**:
**High-trust scenarios** (health data, financial data, sensitive research):
- Prioritize EU trusted intermediaries (notified, in register)
- Verify compliance with DGA standards
- Check transparency reports and audits
**Lower-trust scenarios** (non-sensitive B2B data, public data):
- Consider uncertified intermediaries (lower cost)
- Assess functional separation measures
- Contractual safeguards
**Due diligence**:
- Does intermediary have conflicts of interest?
- What are their data use policies?
- What technical safeguards are in place?
- What's their incident response capability?
- Check EU register if trust label claimed
### For Data Altruism Organizations
**Simplified requirements**:
- No rulebook needed (though transparency about purposes still valuable)
- Lighter registration process
- Focus on genuine public interest
**Steps**:
1. Define public interest purpose (research, statistics, public good)
2. Establish transparent data use policies
3. Implement safeguards for donated data
4. Register with competent authority (simplified process)
5. Use European data altruism consent form
6. Report on use of data (lighter requirements)
**Examples**:
- Health data altruism for medical research
- Mobility data for traffic planning
- Energy data for sustainability research
- Educational data for pedagogy improvement
## Transition Provisions
### Existing DGA Registrations
**Automatically transferred** to Digital Omnibus regime:
- No need to re-register
- Existing registrations remain valid
- Can continue operating under same terms
**Can opt into new regime**:
- Remove separate legal entity (restructure into parent company with functional separation)
- Benefit from simplified monitoring
- Lighter ongoing obligations
### Grace Period Expected
**Likely**: 6-12 month transition after Data Act consolidation takes effect
**During transition**:
- Existing providers adapt to new requirements
- New providers can enter under new regime
- Competent authorities update processes
## Risks and Safeguards
### Risk: Loss of Trust Without Mandatory Regime
**Concern**: Voluntary notification means uncertified intermediaries operate
**Mitigation**:
- Trust label creates two-tier market (certified vs. uncertified)
- High-value/sensitive data sharing gravitates to certified intermediaries
- Market disciplines uncertified providers (reputational risk)
- Functional separation still required (baseline safeguard)
### Risk: Race to the Bottom
**Concern**: Providers avoid notification to cut costs; market fails
**Mitigation**:
- Data holders and users demand trust label for valuable data
- Regulatory enforcement on functional separation (even for uncertified)
- GDPR, NIS2, and other regulations provide baseline safeguards
- Market will support both certified and uncertified segments
### Safeguards Maintained
Even under voluntary regime:
**Neutrality requirement**: Cannot use intermediated data for own purposes (enforced via functional separation)
**Transparency**: Certified intermediaries must publish transparency reports
**Security**: Cybersecurity standards apply (NIS2, GDPR security)
**Data subject rights**: GDPR rights enforceable regardless of certification
**Competent authority oversight**: Supervision of certified intermediaries continues
## Related Resources
- [Data Law Consolidation](https://sealmetrics.com/docs/compliance/omnibus/data-consolidation.md) - How DGA merges into Data Act
- [SME and Small Mid-Cap Exemptions](https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps.md) - Additional relief for SMC intermediaries
- [Timeline and Implementation](https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation.md) - When changes take effect
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [EDPB-EDPS Joint Opinion on the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulators' position on intermediation oversight
## Key Takeaways
1. **Notification shifts from mandatory to voluntary** (trust label system)
2. **Separate legal entity requirement removed** (functional separation sufficient)
3. **€318,750 one-off savings** per provider from entity requirement removal
4. **€6 million annual savings** across sector from lighter monitoring
5. **Expected 36+ new providers** entering market post-Omnibus
6. **From 27 to 60-65+ providers** creates competitive market
7. **Trust label differentiates** certified intermediaries from uncertified
8. **Data altruism simplified** (no rulebook, lighter registration)
9. **Union-level register only** (national registers eliminated)
10. **Startups can test models** without notification, certify later if desired
The transformation of data intermediation from mandatory compliance to voluntary certification represents a sophisticated regulatory evolution. Instead of forcing all providers through the same heavy regime (which failed—only 27 registered), the Omnibus creates a light baseline (functional separation) with optional certification for those seeking trust differentiation. This approach should unlock the data sharing market's potential while maintaining safeguards for high-trust scenarios. The result: more providers, more innovation, more data sharing, and more economic value—exactly what the Data Governance Act aimed for, but this time with a framework that actually works.
## AI Act Amendments in the Digital Omnibus
URL: https://sealmetrics.com/docs/compliance/omnibus/ai-act-amendments/
How the Digital Omnibus simplifies AI compliance and clarifies GDPR-AI intersection
The EU Digital Omnibus addresses the intersection of AI development and data protection through a new GDPR provision—Article 88c—that provides a clear legal basis for processing personal data in AI system development. This change, combined with special category data safeguards, aims to enable European AI innovation while maintaining strong privacy protections.
## Context: Two Parallel AI Proposals
### Digital Omnibus (COM(2025) 837)
**This proposal** includes:
- GDPR-AI intersection provisions
- New Article 88c (AI processing legitimate interest)
- New Article 9(2)(k) (special categories exception for AI)
- Data protection framework for AI development
**Focus**: How GDPR applies to AI training and operation
### AI Omnibus (COM(2025) 836)
**Separate proposal** published same day includes:
- AI Act simplifications
- SME/SMC exemptions for AI compliance
- Conformity assessment streamlining
- High-risk classification clarifications
**Focus**: AI Act compliance burden reduction
**Relationship**: Both proposals work together for coherent GDPR-AI Act framework; this page focuses on GDPR amendments in Digital Omnibus.
## New Article 88c: Legitimate Interest for AI
EDPB-EDPS Position
The [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) accepts the legitimate interest basis for AI development but requests stronger safeguards. Key concerns include large-scale web scraping, meaningful right to object implementation, and explicit stronger protections for children's data. The final text may include additional conditions.
### The Legal Basis Problem
**Before Article 88c**:
AI developers faced uncertainty about lawful basis for processing personal data in training and operation:
**Article 6(1)(a) Consent**:
- Impractical for large training datasets (billions of data points)
- Cannot obtain consent from all individuals in web-scraped data
- Consent withdrawal would require model retraining
**Article 6(1)(b) Contract**:
- Not applicable (no contractual relationship with training data subjects)
**Article 6(1)(f) Legitimate interest**:
- Unclear if AI development qualified
- Balance test uncertain
- Regulatory guidance lacking
- Risk of enforcement action
**Result**: Legal uncertainty deterred European AI investment; developers moved to jurisdictions with clearer rules.
### Article 88c: Clear Legal Basis
**New GDPR provision** (full text):
> "Where the processing of personal data is necessary for the interests of the controller in the context of the development and operation of an AI system as defined in Article 3, point (1), of Regulation (EU) 2024/1689 or an AI model, such processing may be pursued for legitimate interests within the meaning of Article 6(1)(f) of Regulation (EU) 2016/679, where appropriate, except where other Union or national laws explicitly require consent, and where such interests are overridden by the interests, or fundamental rights and freedoms of the data subject which require protection of personal data, in particular where the data subject is a child."
**Key components**:
1. **AI system/model development and operation** = legitimate interest
2. **Under Article 6(1)(f)** (not a new legal basis, but explicit recognition)
3. **Balance test still applies** (interests vs. rights)
4. **Exception: Laws requiring consent** (e.g., DMA for gatekeepers)
5. **Special protection for children**
### What Article 88c Covers
**Training AI models**:
- Collecting training data from various sources
- Preprocessing and cleaning datasets
- Training machine learning models
- Validation and testing
**Operating AI systems**:
- Processing inputs through trained models
- Generating outputs and predictions
- Monitoring and improving model performance
- Fine-tuning and updating models
**AI model development**:
- Developing foundation models
- Creating domain-specific models
- Transfer learning and adaptation
- Model evaluation and benchmarking
**Research and development**:
- Experimental AI techniques
- Novel architectures and algorithms
- Safety and alignment research
### What Article 88c Does NOT Override
**Laws explicitly requiring consent**:
**Digital Markets Act (DMA) Article 5(2)**:
- Gatekeepers must obtain consent for combining personal data across core platform services
- Article 88c does NOT exempt gatekeepers from this
- DMA explicitly requires consent → Article 88c exception applies
**Other consent-specific requirements**:
- Sector-specific laws mandating consent
- National laws requiring consent for specific processing
**Fundamental rights balancing**:
- Balance test under Article 6(1)(f) still required
- Rights may override legitimate interest
- No blanket authorization
**Children's data**:
- "In particular where the data subject is a child"
- Higher bar for legitimate interest when children's data involved
- Special safeguards required
## Special Categories of Data (Article 9)
### The Challenge
**Article 9 GDPR**: Special categories (race, ethnicity, health, biometric, genetic, political opinions, religious beliefs, sexual orientation, trade union membership) generally prohibited unless exception applies.
**AI training problem**:
- Web-scraped data may contain special category information
- Image datasets may include faces (biometric data)
- Text may reveal health conditions or political opinions
- Impossible to guarantee 100% exclusion from large datasets
**Before**: Uncertainty whether AI training violated Article 9 if special category data residually processed despite filtering efforts.
### New Article 9(2)(k): Exception for AI
**New exception** added to Article 9(2):
Processing of special categories is permitted if:
1. **Processing is for AI development** (under Article 88c)
2. **Technical measures implemented** to avoid collecting special categories
3. **Data minimization** during source selection, training, testing
4. **Special category data removed or protected** if identified despite safeguards
5. **Only residual processing** (not intentional targeting)
**Key principle**: If you tried to exclude special categories and implemented appropriate measures, residual processing doesn't violate Article 9.
### Required Technical Measures
**During data source selection**:
- Filter datasets for special category indicators
- Exclude sources known to contain sensitive data
- Implement automated screening
- Manual review where feasible
**During training and testing**:
- Data minimization techniques
- Anonymization and pseudonymization
- Differential privacy
- Federated learning (where appropriate)
**If special category data identified**:
- Remove from training set
- Protect through encryption or other safeguards
- Document remediation measures
- Update filtering for future iterations
**Protection against disclosure**:
- Ensure special category data not revealed in model outputs
- Test for memorization and leakage
- Implement output filtering
- Monitor for unintended disclosures
### What This Means in Practice
**Permitted**:
- Training image recognition model on web photos that may include faces (biometric) **If**: Implemented filtering, removed identified faces where possible, model doesn't output special category data
Training language model on internet text that may mention health
- **If**: Filtered medical records and health forums, minimized health data, protected residual mentions
**Still prohibited**:
- Intentionally collecting special category data for AI training without Article 9 exception
- Training model specifically on health data without legal basis (research exception, consent, etc.)
- Deliberately targeting special categories without safeguards
**Best practice**:
- Document filtering and minimization efforts
- Maintain audit trails
- Regular testing for special category leakage
- Update safeguards as techniques improve
## Required Safeguards Under Article 88c
Beyond special category measures, Article 88c mandates:
### 1. Appropriate Technical and Organizational Measures
**Technical measures**:
- Data minimization at source selection stage
- Anonymization and pseudonymization
- Encryption and access controls
- Output filtering and monitoring
- Privacy-enhancing technologies (differential privacy, federated learning, secure computation)
**Organizational measures**:
- AI governance frameworks
- Data protection by design and default
- Staff training on privacy-preserving AI
- Vendor management for third-party data
- Regular audits and reviews
### 2. Respect for Data Minimization
**During source selection**:
- Collect only necessary data for AI purpose
- Prefer synthetic data where feasible
- Filter unnecessary personal information
- Limit scope of data collection
**During training/testing**:
- Use only required data points
- Remove or aggregate where possible
- Implement federated or distributed learning
- Avoid overtraining on personal data
### 3. Protection Against Disclosure
**Model outputs**:
- Must not disclose personal data from training set
- Test for memorization (can model reproduce training examples?)
- Implement output sanitization
- Monitor for data leakage
**Model sharing**:
- Ensure models don't encode personal data in parameters
- Model inversion and membership inference protections
- Secure model deployment
### 4. Enhanced Transparency
**To data subjects**:
- Inform about AI processing where feasible
- Explain purposes and logic (to extent possible without IP disclosure)
- Provide meaningful information about automated decision-making
- Accessible privacy policies
**Transparency obligations**:
- Article 13/14 information requirements apply
- Must explain AI training and operation
- Layered approach (summary + details)
**Limitations**:
- Disproportionate effort exemption may apply (amended Article 13)
- Trade secret protections balanced with transparency
### 5. Unconditional Right to Object
**Article 21 GDPR**: Data subjects have right to object to processing under Article 6(1)(f)
**For AI processing**:
- **Unconditional right to object** to processing of their data for AI purposes
- Controller must stop processing that individual's data
- Includes removal from training sets (to extent feasible)
- No requirement to prove "particular situation" (unlike normal Article 21(1))
**Practical challenges**:
- Identifying specific data subject's data in large training set
- Removing data from already-trained model (may require retraining)
- Balancing individual rights with model integrity
**Approaches**:
- Maintain source-to-model traceability
- Implement machine unlearning techniques
- Document deletion efforts
- Update future model versions
## Balance Test Still Applies
### Article 6(1)(f) Three-Part Test
Even with Article 88c, the standard legitimate interest assessment applies:
**1. Legitimate interest exists**:
- Article 88c explicitly recognizes AI development as legitimate interest
- Must still demonstrate specific interest (research, product development, service improvement)
**2. Processing is necessary**:
- Is there a less invasive alternative?
- Can you use synthetic data instead?
- Is anonymized data sufficient?
- Necessity test still required
**3. Balancing test**:
- Controller's interests vs. data subject's rights and freedoms
- Consider: nature of data, context of collection, reasonable expectations, impact on individuals
- Special consideration for children
**Result**: Not every AI processing automatically qualifies; balance test may still tip against processing in high-risk scenarios.
### When Balance May Favor Data Subjects
**High-risk scenarios**:
- AI systems making decisions with severe consequences (credit, employment, law enforcement)
- Large-scale processing of vulnerable populations
- Opaque or unexplainable AI
- Processing special categories at scale
- Children's data for commercial AI
**Safeguards to tip balance**:
- Enhanced transparency
- Stronger technical protections
- Human oversight
- Individual control mechanisms
- Impact assessments
## Coordination with AI Act
### AI Act Risk-Based Framework
**Regulation (EU) 2024/1689** classifies AI systems by risk:
**Prohibited AI**: Banned practices (social scoring, real-time biometric in public, etc.)
**High-risk AI**: Strict requirements (biometric identification, critical infrastructure, education, employment, law enforcement, migration, justice)
**Limited risk AI**: Transparency obligations (chatbots, deepfakes, emotion recognition)
**Minimal risk AI**: No specific requirements
### How Article 88c Interacts
**Article 88c provides GDPR legal basis** for data processing in AI development
**AI Act provides AI-specific requirements** (technical documentation, risk management, human oversight, accuracy, cybersecurity)
**Both must be satisfied**:
- Article 88c → Personal data processing lawful under GDPR
- AI Act → AI system complies with risk-appropriate requirements
- Different regulatory concerns, complementary frameworks
**Example: High-risk employment AI**
**GDPR (Article 88c)**:
- Legitimate interest for AI development
- Balance test (employment decisions impact = high)
- Safeguards: Transparency, data minimization, right to object
- Special categories protection
**AI Act**:
- High-risk classification (employment decisions)
- Requirements: Risk management, data governance, technical documentation, human oversight, accuracy, robustness, cybersecurity
- Conformity assessment
- Registration in EU database
**Both frameworks apply**: AI developer must satisfy GDPR Article 88c AND AI Act high-risk requirements.
## SME/SMC Extensions (via AI Omnibus)
### Extended Compliance Timelines
**AI Omnibus (COM(2025) 836)** proposes:
**For SMEs and SMCs developing AI**:
- Longer deadlines for high-risk AI compliance
- Phased implementation of requirements
- Grace periods for conformity assessment
**Benefit**: Small AI developers have time to build compliance infrastructure without cliff-edge obligations
### Simplified Documentation
**Reduced burden**:
- Lighter technical documentation for SME/SMC high-risk AI
- Proportionate record-keeping
- Simplified conformity assessment procedures
**Coordination**: Works with Article 88c to create viable path for European SME/SMC AI innovation
Who counts as an SME or small mid-cap is defined in [SME and Small Mid-Cap Exemptions](https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps.md).
## Practical Guidance for AI Developers
### Step 1: Determine if Article 88c Applies
**Your processing qualifies if**:
- Developing or operating AI system/model
- Processing personal data as part of AI workflow
- No other law explicitly requires consent
**Your processing does NOT qualify if**:
- You're a DMA gatekeeper combining data across core platform services (consent required)
- Sector-specific law requires consent
- Not actually developing/operating AI (just using AI tools = different analysis)
### Step 2: Conduct Balance Test
**Document**:
- Your legitimate interest (research, product, service)
- Necessity of personal data processing
- Alternatives considered (synthetic data, anonymization)
- Data subject rights and freedoms impacted
- Safeguards implemented
**Higher bar if**:
- Children's data involved
- High-risk AI system
- Large-scale processing
- Special categories present
### Step 3: Implement Technical Safeguards
**Data minimization**:
- Filter training data sources
- Remove unnecessary personal information
- Prefer aggregated or synthetic data where feasible
- Document minimization efforts
**Special categories**:
- Implement automated filtering for special category indicators
- Remove identified special category data
- Protect residual data if cannot be fully removed
- Document measures and exceptions
**Output protection**:
- Test for memorization and data leakage
- Implement output filtering
- Monitor model behavior
- Regular security assessments
### Step 4: Transparency and Rights
**Information to data subjects**:
- Update privacy policy for AI processing
- Explain purposes and logic (Article 13/14)
- Provide meaningful information about AI
- Accessible and understandable language
**Right to object**:
- Implement mechanism to receive objections
- Process for removing individual's data from training sets
- Machine unlearning or model retraining procedures
- Document objection handling
### Step 5: Documentation and Accountability
**Maintain records**:
- Legitimate interest assessment
- Balance test documentation
- Technical safeguards implemented
- Data sources and processing
- Objections and responses
- Special category filtering efforts
**Regular reviews**:
- Update safeguards as technology improves
- Reassess balance test if processing changes
- Monitor regulatory guidance
- Adapt to best practices
## Comparison with Other Jurisdictions
### United States
**No federal AI data protection framework**:
- State laws (CCPA, CPRA, Virginia, Colorado, etc.) vary
- No explicit legitimate interest for AI
- Relies on consent or legitimate business purpose
**EU advantage**: Article 88c provides clear, harmonized legal basis for AI development across 27 Member States
### United Kingdom
**Post-Brexit**:
- Retained GDPR framework
- Considering AI-specific data processing provisions
- Likely to adopt similar approach for competitiveness
### China
**Personal Information Protection Law (PIPL)**:
- Requires consent for most processing (stricter than EU)
- Limited exceptions for AI development
- More restrictive than Article 88c
**EU balance**: Article 88c enables innovation while maintaining safeguards
## Future Developments
### EDPB Guidance Expected
**European Data Protection Board** will likely issue:
- Guidelines on Article 88c application
- Balance test factors for AI processing
- Technical safeguards best practices
- Special categories in AI training
- Right to object implementation
**Timeline**: 2027-2028 (after Omnibus adoption)
### AI Act Implementation
**Parallel implementation**:
- AI Act enforcement begins August 2026 (phased)
- Article 88c effective 6 months after Omnibus entry into force (≈Q1 2028)
- Coordinated guidance from Commission, EDPB, AI Office
### Evolving Technology
**Privacy-enhancing technologies**:
- Differential privacy improvements
- Federated learning maturity
- Synthetic data generation
- Machine unlearning techniques
**Standards development**:
- Technical standards for AI data minimization
- Conformity assessment procedures
- Best practices for safeguards
## Related Resources
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - Complete list of GDPR changes including Article 88c
- [Timeline and Implementation](https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation.md) - When Article 88c takes effect
- [SME and Small Mid-Cap Exemptions](https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps.md) - AI Act SME/SMC extensions
- [EDPB-EDPS Joint Opinion](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulatory position on AI processing provisions
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [Legal FAQ — Sealmetrics Compliance Questions](https://sealmetrics.com/docs/compliance/compliance-overview/legal-faq.md) - Whether Sealmetrics reuses data to train models (it does not)
- [What We Track vs What We Don’t](https://sealmetrics.com/docs/security-privacy/what-we-track.md) - Why Sealmetrics collects no data usable for AI profiling
## Key Takeaways
1. **New Article 88c**: Explicit legitimate interest for AI development and operation
2. **Legal certainty**: Clear GDPR basis for processing personal data in AI training
3. **Balance test still applies**: Not blanket authorization; rights vs. interests
4. **Special categories exception**: Article 9(2)(k) permits residual processing if safeguards implemented
5. **Required safeguards**: Data minimization, output protection, transparency, right to object
6. **Unconditional right to object**: Data subjects can demand removal from AI training
7. **Exception for consent laws**: DMA gatekeepers still need consent
8. **Children's data**: Higher protection standard
9. **Coordination with AI Act**: Both GDPR and AI Act must be satisfied
10. **SME/SMC benefits**: Extended timelines and simplified compliance via AI Omnibus
Article 88c represents Europe's attempt to balance AI innovation with fundamental rights protection. By providing legal certainty through explicit recognition of AI development as a legitimate interest, while maintaining robust safeguards and the balance test, the provision aims to enable European AI competitiveness without sacrificing the GDPR's core protections. The success of this approach will depend on implementation: careful balance testing, effective safeguards, and meaningful enforcement of data subject rights. If executed well, Article 88c could position Europe as the global leader in trustworthy, rights-respecting AI development.
## Single Entry Point for Incident Reporting
URL: https://sealmetrics.com/docs/compliance/omnibus/incident-reporting/
New unified cybersecurity and data breach reporting system operated by ENISA
The EU Digital Omnibus introduces a unified incident reporting system operated by ENISA (European Union Agency for Cybersecurity). This "report once, share many" approach eliminates duplicate submissions across multiple regulations and promises to save businesses millions in compliance costs while improving regulatory response.
## The Current Reporting Nightmare
### Multiple Overlapping Obligations
Organizations operating in the EU face a fragmented landscape of incident reporting requirements:
#### 1. NIS2 Directive (Cybersecurity Incidents)
**Regulation**: Directive (EU) 2022/2555
**Who reports**: Essential and important entities (telecom, energy, transport, healthcare, digital infrastructure, etc.)
**What to report**: Significant cybersecurity incidents
**Timeline**:
- Early warning: Within 24 hours
- Incident notification: Within 72 hours
- Final report: Within 1 month
**To whom**: National CSIRT or competent authority
#### 2. GDPR Article 33 (Data Breaches)
**Regulation**: GDPR (EU) 2016/679
**Who reports**: All data controllers
**What to report**: Personal data breaches posing risk to individuals
**Timeline**: Within 72 hours of becoming aware
**To whom**: Supervisory authority (Data Protection Authority)
**Additional**: Article 34 requires communication to data subjects if high risk
#### 3. DORA (Digital Operational Resilience)
**Regulation**: Regulation (EU) 2022/2554
**Who reports**: Financial entities (banks, insurers, investment firms, payment providers)
**What to report**: Major ICT-related incidents
**Timeline**:
- Initial notification: As soon as possible
- Intermediate reports: As investigation progresses
- Final report: Within specified timeframes
**To whom**: Financial supervisory authorities (EBA, EIOPA, ESMA)
#### 4. eIDAS (Trust Services)
**Regulation**: Regulation (EU) 910/2014
**Who reports**: Qualified trust service providers
**What to report**: Security breaches and incidents affecting trust services
**Timeline**: Within 24 hours
**To whom**: National supervisory body
#### 5. CER Directive (Critical Entities Resilience)
**Regulation**: Directive (EU) 2022/2557
**Who reports**: Critical entities in essential sectors
**What to report**: Incidents affecting critical services
**Timeline**: As defined by Member States
**To whom**: National competent authority
### The Complexity Problem
**For a financial institution operating digital services**:
- NIS2 incident to CSIRT (24-72 hours)
- GDPR breach to DPA (72 hours)
- DORA incident to financial supervisor (immediately)
- Potentially CER report if critical entity
**Result**:
- Four separate reports
- Different formats and platforms
- Different timelines
- Risk of inconsistencies
- Duplication of effort
- Compliance team overwhelmed
**For the business**:
- 4+ hours per incident preparing multiple reports
- Legal review for each submission
- Coordination across compliance, IT, legal teams
- Risk of missing deadlines or providing inconsistent information
**For regulators**:
- Fragmented information
- Difficulty coordinating response
- Duplication across authorities
- Incomplete picture of incident landscape
## The Solution: Single Entry Point
### "Report Once, Share Many"
The Digital Omnibus establishes a **unified incident reporting system** operated by ENISA.
**Core principle**: Organizations submit one report through one interface; ENISA distributes to all relevant authorities.
### How It Works
**Step 1: Single submission**
- Organization determines an incident is reportable under any regulation
- Logs into ENISA single entry point portal
- Completes unified report form
- Indicates which regulations apply (NIS2, GDPR, DORA, etc.)
**Step 2: Automatic routing**
- ENISA system validates submission
- Report is automatically routed to: National CSIRT (if NIS2)
- Data Protection Authority (if GDPR)
- Financial supervisor (if DORA)
- eIDAS supervisor (if trust service)
- Other relevant authorities
Secure information sharing protocols ensure confidentiality
**Step 3: Authority access**
- Each authority receives relevant portions of report
- Authorities can access shared information as permitted
- Cross-authority coordination facilitated
- Single source of truth for incident details
**Step 4: Follow-up**
- Updates submitted through same portal
- All authorities automatically notified
- Final reports centralized
### What Organizations Report
**Single unified form** covering:
- Incident description and classification
- Affected systems and data
- Number of individuals affected (if data breach)
- Impact assessment
- Response and mitigation measures
- Timeline of events
- Technical details (as required)
**Smart form**: Only shows fields relevant to applicable regulations
- If GDPR breach: Data subject impact questions appear
- If NIS2 incident: Cybersecurity-specific fields appear
- If DORA: Financial resilience questions appear
### Operated by ENISA
**ENISA (European Union Agency for Cybersecurity)**:
- EU agency responsible for cybersecurity policy and implementation
- Expertise in incident management
- Existing infrastructure (EU CyCLONe network)
- Trusted by Member States and industry
**Technical infrastructure**:
- Secure portal with encryption
- Multi-factor authentication
- API access for automated reporting (optional)
- Integration with existing incident management tools
- Audit logging and access controls
**Support**:
- Technical helpdesk
- Guidance on classification and reporting
- Templates and examples
- Training for compliance teams
## Implementation Timeline
### 18 Months After Entry Into Force
**Deadline**: Approximately Q1 2029 (based on estimated Q3 2027 entry into force)
**What happens**:
- ENISA launches single entry point portal
- Organizations transition to new reporting system
- Authorities integrate with ENISA platform
- Legacy reporting systems remain available during transition
**Possible extension**: Commission may extend deadline to 24 months (Q3 2029) if technical implementation requires more time
### Phased Rollout Expected
**Phase 1 (Months 1-6)**:
- Portal development and testing
- Authority integration
- Pilot with volunteer organizations
**Phase 2 (Months 7-12)**:
- Gradual sector onboarding (likely NIS2 entities first)
- Parallel running with legacy systems
- Feedback and refinement
**Phase 3 (Months 13-18)**:
- Full deployment across all sectors
- Legacy systems phased out
- Mandatory use begins
**Technical specifications**: To be developed by ENISA in consultation with Member States and stakeholders
### Coordination with Member States
**National competent authorities** must:
- Integrate their systems with ENISA portal
- Accept reports via single entry point
- Maintain secure information sharing protocols
- Provide national language support (where required)
**Data protection authorities** must:
- Integrate GDPR breach reporting with single entry point
- Maintain independence (GDPR requirement)
- Ensure confidentiality of personal data in reports
## GDPR Breach Notification Changes
### Threshold Raised to "High Risk"
**Article 33 amendment**: Data breach notification to supervisory authority now required only for **HIGH RISK** breaches.
**Current rule (Article 33)**:
> Notify supervisory authority within 72 hours if breach poses "risk" to rights and freedoms of individuals
**New rule (amended Article 33)**:
> Notify supervisory authority within 72 hours if breach poses "HIGH RISK" to rights and freedoms of individuals
**Impact**: Aligns Article 33 (notification to authority) with Article 34 (communication to data subjects), which already requires "high risk."
### What Constitutes "High Risk"?
**EDPB to create**:
- Common breach notification template
- List of circumstances constituting "high risk"
- Assessment criteria and guidance
**Expected "high risk" factors** (based on current Article 34 guidance):
- Large scale (thousands of individuals)
- Sensitive data (health, financial, credentials, special categories)
- Vulnerable populations (children)
- Severe consequences (identity theft, fraud, discrimination)
- Irreversible harm
**Expected NOT "high risk"**:
- Small-scale incidents (few individuals)
- Non-sensitive data
- Effective mitigating measures already in place
- Technical incidents with no real-world impact
- Isolated events with limited data
### Low-Risk Breaches
**No longer require notification** to supervisory authority if only "risk" (not "high risk").
**Still required**:
- Internal documentation (Article 33(5): all breaches must be documented)
- Investigation and response
- Notification IF situation escalates to high risk
- Accountability and demonstrable compliance
**Benefit**:
- Reduced administrative burden
- Supervisory authorities focus on serious incidents
- Organizations can focus resources on remediation instead of paperwork
### How This Interacts with Single Entry Point
**High-risk GDPR breaches**:
- Reported through ENISA single entry point
- Automatically forwarded to relevant DPA
- DPA receives standardized EDPB template format
- Other authorities (CSIRT, financial supervisors) also notified if applicable
**Low-risk breaches**:
- No reporting to DPA required
- May still be reportable under other regulations (e.g., NIS2 if significant cybersecurity incident)
- Organizations should document why breach was assessed as not high-risk
**Article 34 (data subject communication)**:
- Still required for high-risk breaches
- Timeline and requirements unchanged
- Not handled through ENISA portal (direct communication to individuals)
## Benefits of Single Entry Point
### For Organizations
**Time savings**:
- One report instead of 4+ separate submissions
- Estimated 75% reduction in reporting time per incident
- Faster submission (familiar interface, unified form)
**Cost savings**:
- Reduced legal review costs (single report)
- Less duplication of effort
- Simplified compliance training
- Lower risk of errors or inconsistencies
**Better compliance**:
- Easier to meet deadlines (one timeline instead of multiple)
- Clear guidance on what to report
- Reduced risk of missing an obligation
- Audit trail in single system
**Operational efficiency**:
- Streamlined incident response process
- Centralized records and documentation
- API integration with incident management tools
- Less context-switching between platforms
### For Regulators and Supervisory Authorities
**Complete picture**:
- See all aspects of incident (cyber, data, operational)
- Understand cross-sectoral impacts
- Better situational awareness
**Faster response**:
- Immediate access to incident information
- Real-time coordination with other authorities
- Ability to launch joint investigations
- More effective crisis management
**Resource efficiency**:
- No duplicate intake processes
- Shared technical infrastructure
- Coordinated follow-up and enforcement
- Better data for trend analysis
**Improved oversight**:
- Unified incident statistics
- Cross-sector threat intelligence
- Early warning of systemic issues
- Evidence-based policy making
### For the EU as a Whole
**Cybersecurity resilience**:
- Better understanding of threat landscape
- Faster identification of cross-border incidents
- Coordinated EU-level response
- Shared learning across sectors
**Data protection**:
- DPAs informed of cybersecurity context
- Cyber authorities aware of data protection impacts
- Holistic incident management
**Regulatory efficiency**:
- Reduced burden on businesses
- Better use of public resources
- Harmonized enforcement approach
## Practical Guidance
### Preparing for the Single Entry Point
**Now - Q1 2029 (deadline)**:
**Step 1: Inventory your reporting obligations**
- Which regulations apply to your organization?
- NIS2? GDPR? DORA? eIDAS? CER?
- Who in your organization handles each?
**Step 2: Map current incident response process**
- How do you detect incidents?
- Who assesses reportability?
- What's your current reporting workflow?
- What tools do you use?
**Step 3: Identify integration opportunities**
- Can your incident management tool integrate with ENISA API?
- Do you need to update incident classification?
- How will you assess "high risk" for GDPR?
**Step 4: Update procedures and training**
- Incident response playbooks
- Compliance team training
- Legal review processes
- Communication templates
**Step 5: Monitor ENISA developments**
- Technical specifications publication
- Portal pilot programs
- Industry guidance
- Member State implementation
### Using the Single Entry Point
**When an incident occurs**:
1. **Detect and assess**: Is this reportable under any regulation?
2. NIS2: Significant cybersecurity incident?
3. GDPR: High-risk data breach?
4. DORA: Major ICT incident?
5. Other?
6. **Classify**: Severity level
7. Affected systems/data
8. Number of individuals (if data breach)
9. Potential impact
10. **Report via single entry point**: Log into ENISA portal
11. Select applicable regulations
12. Complete unified form
13. Attach supporting documentation
14. Submit
15. **Meet specific timelines**: NIS2 early warning: 24 hours
16. GDPR/NIS2 full report: 72 hours
17. DORA: As soon as possible
18. System will show relevant deadlines
19. **Follow up**: Submit updates through same portal
20. Respond to authority inquiries
21. Final report when investigation complete
22. **Document**: Save confirmation and report reference
23. Maintain internal records
24. Track authority responses
### GDPR High-Risk Assessment
**Factors to consider** (EDPB guidance expected):
**Scale**:
- How many individuals affected?
- Large numbers increase likelihood of high risk
**Sensitivity**:
- What type of data?
- Special categories (Article 9) = likely high risk
- Financial/health data = likely high risk
- Basic contact info only = likely NOT high risk
**Consequences**:
- Could individuals suffer identity theft?
- Financial loss?
- Discrimination?
- Reputational damage?
- Physical harm?
**Vulnerability**:
- Are data subjects vulnerable (children)?
- Are they in precarious situations?
**Mitigation**:
- Have you implemented effective measures?
- Is data encrypted (keys not compromised)?
- Have you recovered data quickly?
**Rule of thumb**: If you're unsure whether it's "high risk," err on the side of reporting. Better to report a borderline case than miss a high-risk breach.
## Comparison with Other Regions
### United States
**Fragmented landscape**:
- Federal: SEC (securities), HHS (health), FTC (consumer), OCC (banking)
- State: 50+ different data breach notification laws
- No unified reporting system
**Impact**: EU single entry point is major competitive advantage for simplicity
### United Kingdom
**Post-Brexit**:
- Maintains GDPR-like breach notification (ICO)
- Considering unified cybersecurity reporting
- May adopt similar single entry point
### Asia-Pacific
**Varied**:
- Japan: Personal Information Protection Commission
- Australia: Notifiable Data Breaches scheme
- Singapore: Personal Data Protection Commission
- Generally single-regulator systems but no cross-regulatory unification
**EU leadership**: Single entry point across multiple regulations is globally innovative
## Related Resources
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - Details on Article 33 threshold change
- [Timeline and Implementation](https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation.md) - When single entry point launches
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [EDPB-EDPS Joint Opinion on the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulators' view on the raised breach-notification threshold
- [Compliance Overview](https://sealmetrics.com/docs/compliance/compliance-overview.md) - Sealmetrics' overall privacy and security posture
## Key Takeaways
1. **Single entry point for all incident reporting** operated by ENISA
2. **"Report once, share many"** eliminates duplicate submissions
3. **Implementation: 18 months** after entry into force (≈Q1 2029)
4. **Possible extension to 24 months** if technical needs require
5. **GDPR threshold raised to "high risk"** (aligns with Article 34)
6. **EDPB to create common template** and high-risk criteria
7. **Major time and cost savings** for organizations (75% reduction in reporting time)
8. **Better regulatory coordination** and incident response
9. **Covers**: NIS2, GDPR, DORA, eIDAS, CER, and future regulations
10. **Prepare now**: Inventory obligations, update procedures, monitor ENISA
The single entry point represents a rare win-win in regulation: businesses save time and money while regulators gain better information and coordination. By eliminating the absurdity of submitting near-identical reports to multiple authorities, the Digital Omnibus demonstrates that simplification and strong oversight are not mutually exclusive—they're mutually reinforcing.
## SME and Small Mid-Cap Exemptions
URL: https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps/
How the Digital Omnibus extends small business protections to companies with up to 749 employees
The EU Digital Omnibus introduces a new category of protected businesses: **Small Mid-Caps (SMCs)**. By extending exemptions and simplifications to companies with up to 749 employees, the regulation eliminates the "cliff edge" compliance burden that hits growing businesses and saves an estimated €5-19 million annually across the European economy.
## The Growth Problem
### The SME Cliff Edge
Under current EU law, businesses enjoy lighter regulatory treatment while they qualify as **SMEs (Small and Medium Enterprises)**:
**SME definition (Commission Recommendation 2003/361/EC)**:
- Fewer than 250 employees
- AND either: Annual turnover ≤ €50 million, OR
- Balance sheet total ≤ €43 million
**Examples of SME exemptions**:
- GDPR Article 30: No processing record requirement (with exceptions)
- Simplified audit requirements
- Lighter reporting obligations
- Reduced fees for certifications
### What Happens at 250 Employees
**The cliff edge**: A company crossing from 249 to 250 employees suddenly faces:
- Full GDPR Article 30 processing records
- Complete Data Act compliance
- All AI Act obligations without transition
- Higher fees for data access requests
- Maximum regulatory burden overnight
**Real-world impact**:
- Growth deterrent (companies delay hiring)
- Compliance shock (sudden cost increase)
- Resource strain (must rapidly build compliance infrastructure)
- Competitive disadvantage vs. companies that stayed below threshold
**Economic inefficiency**: A company with 250 employees is not fundamentally different from one with 249, yet faces drastically different regulatory treatment.
## The Solution: Small Mid-Caps (SMCs)
### New Category: SMCs
The Digital Omnibus creates an intermediate category between SMEs and large enterprises:
**Small Mid-Cap (SMC) definition**:
- **250-749 employees**
- AND either: Annual turnover ≤ €150 million, OR
- Balance sheet total ≤ €129 million
**Rationale**: Companies in this range are still growing, resource-constrained, and deserve proportionate regulation.
### How Many Companies Qualify?
**Approximately 38,000 companies** across the EU fall into the SMC category.
**Sectors with high SMC presence**:
- Technology and software
- Manufacturing
- Professional services
- Healthcare providers
- Logistics and transportation
- Hospitality and tourism
**Geographic distribution**: Concentrated in larger Member States (Germany, France, Italy, Spain) but present in all EU countries.
## Extended Exemptions for SMCs
### 1. Public Sector Data Access Fees
**Current rule (Data Act)**: SMEs can request waiver of fees for accessing public sector data
**Extended**: SMCs also qualify for fee waivers
**Savings**: Approximately €500 per data access application
**Use cases**:
- Weather data for logistics optimization
- Geographic data for urban planning services
- Traffic data for mobility applications
- Public procurement data for market analysis
**Annual impact**: €5-19 million savings across SMC sector (based on estimated application volumes)
**Benefit**: Levels playing field with large enterprises that can more easily absorb data access costs
### 2. Data Intermediation Compliance
**Current complexity**: Data intermediation service providers face heavy compliance burden
**Extended**: SMCs receive simplified compliance pathways for data intermediation services
**Simplifications**:
- Lighter monitoring requirements
- Reduced documentation burden
- Proportionate transparency obligations
- Risk-based supervision
**Impact**: Encourages SMCs to offer data intermediation services (data marketplaces, sharing platforms, cooperatives) without prohibitive compliance costs
**Market effect**: More competition in data intermediation market; benefits data providers and users
The new data intermediation regime is set out in [Data Intermediation Services](https://sealmetrics.com/docs/compliance/omnibus/data-intermediation.md).
### 3. Cloud Switching Requirements
**Data Act Chapter V**: Rules for switching between cloud and data processing services
**Extended**: SMCs receive lighter regime for:
- Switching assistance obligations (as providers)
- Contract transparency (as users)
- Data portability implementation (as providers)
**Rationale**: SMC cloud providers don't have resources of hyperscalers; proportionate rules enable competition
**Benefit**: SMC cloud providers can compete without matching compliance investment of AWS/Azure/Google Cloud
### 4. Browser Signal Implementation (GDPR Article 88b)
**Article 88b(6)**: Browsers must provide technical means for consent signals
**Exemption**: **SME browser providers are exempt**
**Extended to SMCs**: Since browsers are software products, SMC browser vendors (if any) would also be exempt
**Practical impact**: Limited (most browsers are from large tech companies), but removes barrier for innovative browser startups that grow into SMC size
**Examples**: Brave, Vivaldi, or regional browsers could grow to SMC size without facing Article 88b(6) implementation burden
### 5. AI Act Compliance (via AI Omnibus)
**Separate proposal**: AI Omnibus (COM(2025) 836) extends AI Act exemptions to SMCs
**Extended provisions**:
- Longer compliance timelines for high-risk AI systems
- Simplified conformity assessment procedures
- Reduced technical documentation requirements
- Lighter post-market monitoring obligations
**Coordination**: AI Omnibus and Digital Omnibus work together for coherent SME/SMC treatment across digital regulations
**Impact**: SMC AI developers can innovate without compliance burden designed for large AI labs
## GDPR Article 30 Extension (Proposed)
### Current GDPR Article 30
**Article 30(5)** exempts SMEs from maintaining processing records **unless**:
- Processing is high-risk
- Processing includes special categories (Article 9) or criminal data (Article 10)
- Processing is regular and systematic
**In practice**: Most SMEs must maintain records anyway due to exceptions
### Omnibus IV Proposal
**Separate legislative proposal** (Omnibus IV) currently under discussion:
**Proposal**: Extend Article 30(5) exemption to SMCs
**Status**: Being negotiated by European Parliament and Council (not part of Digital Omnibus COM(2025) 837)
**Expected timeline**: Adoption in 2026-2027
**If adopted**: SMCs would not need processing records unless high-risk/special categories/regular systematic processing
**Savings**: Significant reduction in administrative burden for SMCs (records require substantial compliance resources)
**Note**: This is separate from the Digital Omnibus but demonstrates broader EU policy of proportionate SMC treatment
## Size Thresholds Comparison
### Visual Overview
```plaintext
┌─────────────────────────────────────────────────────────────┐
│ MICRO ENTERPRISE │
│ < 10 employees │
│ Turnover/Balance Sheet ≤ €2M │
│ → Maximum exemptions and simplifications │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ SMALL ENTERPRISE │
│ < 50 employees │
│ Turnover/Balance Sheet ≤ €10M │
│ → SME exemptions apply │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ MEDIUM ENTERPRISE (SME) │
│ < 250 employees │
│ Turnover ≤ €50M OR Balance Sheet ≤ €43M │
│ → SME exemptions apply │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ SMALL MID-CAP (SMC) ← NEW CATEGORY │
│ 250-749 employees │
│ Turnover ≤ €150M OR Balance Sheet ≤ €129M │
│ → SME exemptions EXTENDED by Digital Omnibus │
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ LARGE ENTERPRISE │
// ... full example at https://sealmetrics.com/docs/compliance/omnibus/smes-small-midcaps/
```
### Determining Your Category
**Step 1**: Count employees
- Include full-time equivalent (FTE)
- Include employees in parent and subsidiary companies (group concept)
**Step 2**: Calculate annual turnover OR balance sheet total
- Based on last approved accounting period
- Consolidate group accounts if applicable
**Step 3**: Apply thresholds
| Category | Employees | Turnover | Balance Sheet |
| --- | --- | --- | --- |
| **Micro** | < 10 | ≤ €2M | ≤ €2M |
| **Small** | < 50 | ≤ €10M | ≤ €10M |
| **Medium (SME)** | < 250 | ≤ €50M | ≤ €43M |
| **SMC (NEW)** | 250-749 | ≤ €150M | ≤ €129M |
| **Large** | ≥ 750 | > €150M | > €129M |
**Note**: You must meet employee threshold AND (turnover OR balance sheet). If you exceed both turnover AND balance sheet but are under employee threshold, you're still in the category.
**Example 1**:
- 300 employees
- €80M turnover
- €60M balance sheet
- **Result**: SMC (employees 250-749, turnover ≤ €150M)
**Example 2**:
- 600 employees
- €200M turnover
- €180M balance sheet
- **Result**: Large enterprise (exceeds SMC thresholds)
**Example 3**:
- 240 employees
- €70M turnover
- €50M balance sheet
- **Result**: SME (under 250 employees, even though financials exceed SME limits)
## Benefits Summary
### For SMCs (Direct Benefits)
**Financial savings**:
- €500 per public sector data access request (fee waiver)
- Reduced compliance costs (lighter data intermediation regime)
- Lower certification and audit costs
- Delayed AI Act compliance costs
**Operational benefits**:
- Simpler compliance processes
- Proportionate documentation requirements
- Risk-based supervision (less frequent audits)
- More time to implement new obligations
**Competitive advantages**:
- Can offer data services without prohibitive costs
- Compete with large enterprises for data-driven innovation
- Attract investment (lower regulatory risk)
- Scale without cliff-edge compliance shock
### For the EU Economy (Indirect Benefits)
**Encourages growth**:
- Companies less hesitant to hire 250th employee
- Smooth transition from SME to mid-cap
- Reduced "threshold gaming" (deliberately staying small)
**Promotes innovation**:
- More SMC participation in data economy
- More data intermediation providers (competition)
- More AI development by mid-sized companies
- More diverse market (not just tech giants)
**Job creation**:
- Companies can grow to 750 employees without regulatory deterrent
- High-skill jobs in tech, data, AI sectors
- Regional employment (SMCs often rooted in local communities)
**Market competition**:
- SMCs can challenge large incumbents
- More diverse data service offerings
- Consumer choice and innovation
## Comparison with Other Jurisdictions
### United States
**No equivalent**: U.S. generally does not create intermediate regulatory categories between small business and large enterprise
**CCPA/CPRA**: Some exemptions for businesses under revenue thresholds, but no mid-cap category
**Impact**: EU SMCs have regulatory advantage over U.S. mid-sized companies
### United Kingdom
**Post-Brexit**: UK considering similar SME/SMC distinctions in data and digital regulation
**Status**: Proposals under discussion; no implemented SMC category yet
**Convergence**: Likely UK will adopt similar approach for competitiveness
### Asia-Pacific
**Varied approaches**:
- Japan: Some SME exemptions in data protection law
- South Korea: Tiered compliance based on business size
- Australia: Limited SME exemptions
**EU leadership**: SMC category is innovative; may influence global regulatory design
## Practical Guidance for SMCs
### If You Qualify as SMC
**Step 1**: Verify your status
- Calculate employees, turnover, balance sheet
- Confirm you meet 250-749 employee threshold
- Check financial thresholds
**Step 2**: Identify applicable exemptions
- Public sector data access: Apply for fee waivers
- Data intermediation: Use simplified compliance
- Cloud services: Leverage lighter switching regime
- AI Act: Monitor AI Omnibus adoption for extended timelines
**Step 3**: Update compliance documentation
- Privacy policies: Reflect proportionate obligations
- Data processing records: Check if GDPR Article 30(5) extension applies (Omnibus IV)
- Vendor contracts: Negotiate based on SMC status
**Step 4**: Engage with regulators
- National competent authorities may have SMC-specific guidance
- Participate in industry consultations
- Seek clarification on borderline cases
### If You're Growing Toward SMC Status
**Plan ahead**:
- Track employee count and financials
- Anticipate threshold crossing
- Budget for compliance changes
**Smooth transition from SME to SMC**:
- Incremental compliance build-up
- No cliff edge (extended exemptions continue)
- More time to mature compliance functions
**Growing from SMC to large enterprise**:
- At 750 employees or financial thresholds, exemptions end
- Plan 6-12 months ahead for full compliance
- Consider phased hiring to manage transition
## Limitations and Conditions
### Not All Exemptions Apply
**SMC status does NOT exempt from**:
- Core GDPR obligations (lawful basis, transparency, security)
- Fundamental data subject rights
- High-risk processing safeguards
- Sector-specific regulations (financial services, healthcare)
**SMC exemptions are limited to**:
- Proportionate administrative requirements
- Fee reductions
- Simplified reporting
- Lighter documentation (where risk permits)
### Group Company Rules
**Parent-subsidiary relationships**:
- Employee count includes entire group
- Financial thresholds consolidate group accounts
- Cannot split company to qualify for SMC status
**Example**: Parent company with 100 employees and subsidiary with 200 employees = 300 total (SMC category)
### Monitoring and Enforcement
**Abuse prevention**:
- Supervisory authorities can challenge SMC status claims
- Must demonstrate genuine compliance with thresholds
- Artificial structuring to gain SMC status may be disregarded
**Verification**:
- Based on audited accounts where applicable
- Self-certification with potential spot checks
- Penalties for fraudulent claims
## Future Developments
### Omnibus IV (Ongoing)
**Proposal**: Extend GDPR Article 30(5) to SMCs
**Status**: Co-legislators negotiating
**Expected**: Adoption 2026-2027
**Impact**: Major administrative relief for SMCs (no processing records unless high-risk)
### AI Omnibus (Parallel)
**Proposal**: COM(2025) 836
**SMC provisions**:
- Extended AI Act timelines
- Simplified conformity assessment
- Lighter documentation
**Status**: Legislative process (parallel to Digital Omnibus)
**Expected**: Adoption 2026-2027
### Broader SMC Policy
**EU trend**: Recognizing SMCs as distinct category across regulations
**Future areas**:
- Tax simplifications
- State aid eligibility
- Public procurement preferences
- Research funding access
**Policy goal**: Enable European SMCs to scale and compete globally
## Related Resources
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [Data Intermediation Services](https://sealmetrics.com/docs/compliance/omnibus/data-intermediation.md) - How SMCs benefit from voluntary regime
- [Timeline and Implementation](https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation.md) - When SMC exemptions take effect
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - GDPR changes that may affect SMCs
- [AI Act Amendments in the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/ai-act-amendments.md) - SMC extensions delivered via the parallel AI Omnibus
- [EDPB-EDPS Joint Opinion on the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - Regulators' position on the wider proposal
## Key Takeaways
1. **New SMC category**: 250-749 employees, extending SME protections
2. **Approximately 38,000 EU companies** qualify as SMCs
3. **€5-19M annual savings** across SMC sector from fee exemptions alone
4. **Eliminates cliff edge**: Smooth transition from SME (249 employees) to SMC (250-749)
5. **Extended exemptions**: Public data fees, data intermediation, cloud switching, browser signals
6. **Coordination with AI Omnibus**: SMC treatment extends to AI regulation
7. **Economic benefits**: Encourages growth, innovation, job creation, competition
8. **Verify your status**: Calculate employees and financials to determine if you qualify
The SMC category represents a sophisticated understanding of business lifecycle. By recognizing that a company with 250 employees is not suddenly a large enterprise, the Digital Omnibus enables European mid-sized companies to grow, innovate, and compete without being crushed by regulatory burden designed for tech giants. This proportionate approach to regulation may prove to be one of the Omnibus's most significant contributions to European competitiveness.
## Implementation Timeline
URL: https://sealmetrics.com/docs/compliance/omnibus/timeline-implementation/
Key dates and milestones for the EU Digital Omnibus: proposal publication, committee assignments, feedback periods, and the expected GDPR change timeline.
The EU Digital Omnibus follows a carefully phased implementation schedule that gives businesses and regulators time to adapt while delivering benefits as quickly as possible. This page provides all key dates and milestones.
## Legislative Process
Last Updated: February 2026
This timeline reflects the current state of the legislative process. Dates are estimates based on typical EU procedures.
### November 19, 2025: Proposal Published
**Status**: Complete
**Documents released**:
- Proposed Regulation text
- Explanatory Memorandum
- Staff Working Document (Impact Assessment)
- Annexes (correlation tables, repeals)
**What happened**: European Commission initiated the ordinary legislative procedure under Articles 16 and 114 TFEU.
### January 2026: Committee Assignments
**Status**: Complete
The proposal (procedure 2025/0360(COD)) has been assigned to **joint committee responsibility**:
| Committee | Full Name | Focus |
| --- | --- | --- |
| **ITRE** | Industry, Research and Energy | Data Act consolidation, technical aspects |
| **LIBE** | Civil Liberties, Justice and Home Affairs | GDPR amendments, privacy aspects |
**Rapporteurs**: Not yet appointed (as of late January 2026)
### Open Feedback Periods (in progress)
**Status**: Currently open
| Consultation | Deadline | Link |
| --- | --- | --- |
| Digital Omnibus feedback | **9 March 2026** | [Have Your Say](https://ec.europa.eu/info/law/better-regulation/have-your-say_en) |
| Digital Fitness Check | **11 March 2026** | [Have Your Say](https://ec.europa.eu/info/law/better-regulation/have-your-say_en) |
Organizations can submit formal positions during these periods.
### Q1-Q2 2026: Parliamentary and Council Review (in progress)
**Status**: In progress
**European Parliament**:
- Committee assignment (ITRE + LIBE joint)
- In progress: Rapporteur appointment (expected Q1 2026)
- ⏳ Draft report and amendments
- ⏳ Committee vote
- ⏳ Plenary vote
**Council of the European Union**:
- Antici Group presentation (November 21, 2025)
- In progress: Working Party examination
- ⏳ COREPER review
- ⏳ Council position adoption
**Expected duration**: Parliament/Council positions by Q2 2026
### 2026-2027: Trilogue Negotiations
**Trilogue** = informal negotiations between:
- European Parliament
- Council of the European Union
- European Commission (mediator)
**Goal**: Reach compromise text acceptable to both Parliament and Council
**Expected duration**: 6-12 months
**What can change**: Any provision may be amended, deleted, or added during negotiations. Timeline dates may shift.
### Late 2026 or 2027: Final Adoption
**Parliament**: Plenary vote on final compromise text
**Council**: Formal adoption of final text
**Publication**: Official Journal of the European Union (typically 30-60 days after adoption)
**Entry into force**: 20 days after publication in Official Journal
## Entry Into Force
### Estimated: Q3 2027
**Trigger**: 20 days after publication in Official Journal
**What it means**:
- Regulation becomes part of EU law
- Repeals take effect (P2B, FFDR, DGA, ODD)
- Implementation timelines start counting
- Transitional provisions activate
**Note**: This is an estimate based on typical legislative timeline. Actual date depends on legislative process speed.
## Implementation Deadlines
All timelines below are calculated **from entry into force** (estimated Q3 2027).
### 6 Months: Cookie Consent Framework
**Provision**: Article 88a GDPR (cookie consent rules)
**Deadline**: Approximately Q1 2028
**What becomes applicable**:
- Consent exemption for aggregated audience measurement (Article 88a(3)(c))
- Consent exemption for service functionality (Article 88a(3)(b))
- Single-click refuse requirement (Article 88a(4)(a))
- 6-month re-asking prohibition (Article 88a(4)(c))
- No re-asking during valid consent period (Article 88a(4)(b))
**Impact**:
- First-party analytics without consent becomes lawful
- Better consent UX where consent is required
- Third-party tracking still requires consent
Realistic Expectations
While the proposal would remove the consent requirement for some uses, legal analysts note that:
- Information obligations may still require some form of notification
- Hybrid banner solutions are expected for sites with mixed tracking tools
- Full cookie banner elimination applies mainly to sites using **only** first-party, aggregated analytics
See [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) for detailed analysis.
**What to do before this deadline**:
- Audit analytics and tracking tools
- Identify exempt vs. consent-required processing
- Update privacy policies
- Implement single-click refuse if keeping banners
- Plan banner removal for exempt processing
What changes for consent on that date is set out in [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md).
### 18 Months: Single Entry Point for Incident Reporting
**Provision**: Single entry point for incident reporting (ENISA-operated)
**Deadline**: Approximately Q1 2029
**Extension possible**: Commission may extend to 24 months if technical implementation requires more time
**What becomes applicable**:
- Unified incident reporting portal
- Single submission satisfies multiple obligations
- ENISA coordinates distribution to relevant authorities
- Secure information sharing between regulators
**What to do before this deadline**:
- Review current incident reporting procedures
- Identify all applicable reporting obligations (NIS2, GDPR, DORA, etc.)
- Prepare for single portal integration
- Update incident response plans
- Train security teams on new process
How the single reporting portal works is described in [Single Entry Point for Incident Reporting](https://sealmetrics.com/docs/compliance/omnibus/incident-reporting.md).
### 24 Months: Website Browser Signal Support
**Provision**: Article 88b(1)-(5) GDPR (machine-readable consent signals)
**Deadline**: Approximately Q3 2029
**What becomes applicable**:
- Websites must accept automated consent signals from browsers
- Websites must accept automated refusal/objection signals
- Controllers must respect user choices communicated via browser
**Exemption**: Media service providers are exempt and can still show consent dialogs
**What to do before this deadline**:
- Monitor European standardisation body standards development
- Prepare technical infrastructure for signal interpretation
- Test compatibility with signal formats
- Update consent management systems
- Plan fallback for users without signal-capable browsers
**Note**: Standards for signal format will be developed during this period. Early preparation recommended.
How browsers would signal consent choices is explained in [Cookie Consent Reform - Browser Signals](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy/#browser-signals-the-future-of-consent).
### 48 Months: Browser Implementation
**Provision**: Article 88b(6)-(7) GDPR (browser consent controls)
**Deadline**: Approximately Q3 2031
**Who is affected**: Non-SME browser providers
**What becomes applicable**:
- Browsers must provide technical means for users to give consent
- Browsers must provide technical means for users to refuse consent
- Consent/refusal must be automated and machine-readable
**Exemption**: SME browser providers are exempt (browsers from small/medium enterprises)
**Major browsers affected**:
- Google Chrome
- Apple Safari
- Microsoft Edge
- Mozilla Firefox
- Opera (if not SME)
**User impact**: Users will be able to set privacy preferences once in their browser, which will be automatically communicated to websites.
**Timeline reasoning**: 48 months gives browser vendors ample time to:
- Participate in standards development
- Design user interfaces
- Implement technical infrastructure
- Test interoperability
- Roll out to billions of users
## Parallel and Related Processes
### Digital Fitness Check (Ongoing)
**Status**: Currently underway
**Scope**: Comprehensive review of EU digital legislation effectiveness
**Regulations under review**:
- Digital Services Act (DSA)
- Digital Markets Act (DMA)
- eCommerce Directive
- Consumer protection rules
**Expected outcome**: Additional simplification proposals in 2026-2027
**Relationship to Omnibus**: Fitness Check may identify further consolidation opportunities beyond what Omnibus already achieves.
### AI Omnibus (Parallel Proposal)
**Document**: COM(2025) 836 (published same day as Digital Omnibus)
**Scope**: Amendments to AI Act (Regulation (EU) 2024/1689)
**Key changes**:
- Extended SME/SMC exemptions for AI compliance
- Simplified conformity assessment
- Reduced documentation burden
- Clarifications on high-risk AI classification
**Relationship to Digital Omnibus**:
- Separate legislative process
- Article 88c in Digital Omnibus references AI Act
- Both proposals work together for coherent AI framework
**Timeline**: Similar to Digital Omnibus (adoption 2026-2027)
### Scheduled Reviews of Related Regulations
#### DMA Review (2026)
**Regulation**: Digital Markets Act (EU) 2022/1925
**Article 33**: Commission must review effectiveness by May 2026
**Topics**:
- Gatekeeper designation criteria
- Effectiveness of obligations
- Need for additional core platform services
- Interoperability requirements
**Potential impact**: May affect how Article 88a consent exemptions interact with DMA requirements
#### DSA Evaluation (2027)
**Regulation**: Digital Services Act (EU) 2022/2065
**Article 91**: Commission report on application by November 2027
**Topics**:
- Platform accountability effectiveness
- Illegal content enforcement
- Transparency requirements
- User redress mechanisms
**Note**: P2B Regulation repeal by Omnibus assumes DSA adequately covers platform-business relationships
#### Data Act Evaluation (2028)
**Regulation**: Data Act (EU) 2023/2854
**Article 48**: Commission evaluation report by September 2028
**Topics** (as consolidated by Omnibus):
- Data access rights effectiveness
- Switching service adoption
- Data intermediation market development
- Public sector data access
- International data access framework
**Note**: This will be first evaluation of consolidated Data Act including absorbed DGA/ODD provisions
#### AI Act Evaluation (2029)
**Regulation**: AI Act (EU) 2024/1689
**Article 112**: Commission evaluation by August 2029
**Topics**:
- High-risk classification effectiveness
- Conformity assessment procedures
- Market surveillance
- Innovation impact
- Need for amendments
**Relationship**: Will evaluate Article 88c implementation (AI processing under GDPR)
## Preparation Timeline for Organizations
### Now - Late 2026: Planning Phase
**Monitor legislative process**:
- Track amendments during Parliament/Council review
- Watch for changes to timelines or provisions
- Engage with industry associations for input
**Conduct readiness assessment**:
- Which provisions affect your organization?
- What changes are needed to systems and processes?
- What are the resource requirements?
**Begin strategic planning**:
- Cookie banner strategy (remove vs. keep vs. hybrid)
- Analytics tool evaluation
- Data governance framework updates
### Late 2026 - Q3 2027: Pre-Implementation
**Finalize compliance strategy** based on adopted text:
- Detailed gap analysis
- Implementation roadmap
- Budget allocation
- Vendor selection (if needed)
**Update policies and procedures**:
- Privacy policies
- Cookie policies
- Data processing agreements
- Internal compliance manuals
**Training preparation**:
- Identify training needs
- Develop materials
- Schedule sessions
### Q3 2027 - Q1 2028: Article 88a Preparation
**Deadline**: 6 months after entry into force
**Critical actions**:
- Implement Article 88a(3)(c) exemptions
- Remove unnecessary cookie banners
- Update consent mechanisms if retaining banners
- Single-click refuse implementation
- Privacy policy updates
- User communication about changes
**Testing and validation**:
- Consent flow testing
- Analytics implementation verification
- Cross-browser compatibility
- Mobile experience
### Q1 2028 - Q1 2029: Incident Reporting Preparation
**Deadline**: 18 months after entry into force (possibly 24)
**Critical actions**:
- Monitor ENISA portal development
- Update incident response procedures
- Integrate with single entry point
- Train security and compliance teams
- Test reporting workflows
### Q1 2029 - Q3 2029: Browser Signal Preparation
**Deadline**: 24 months after entry into force
**Critical actions**:
- Implement European standards for signal interpretation
- Update consent management platforms
- Test signal handling
- Fallback mechanisms for non-supporting browsers
- User communication about browser-based consent
**Monitor**:
- Standards publication by European standardisation bodies
- Browser vendor implementation progress
- Industry best practices emerging
### Q3 2029 - Q3 2031: Browser Implementation Phase
**Deadline**: 48 months after entry into force (for browsers)
**For website operators**:
- Monitor browser adoption rates of consent controls
- Adapt to changing user behavior (more browser-level blocking)
- Optimize consent strategies for new landscape
**For browser vendors**:
- Standards implementation
- User interface design
- Testing and rollout
- User education
## Risk Factors and Contingencies
### Legislative Process Delays
**Risk**: Trilogue negotiations extend beyond expected timeframe
**Impact**: Later entry into force, shifted implementation deadlines
**Mitigation**: Begin planning based on proposal text; adjust timeline as final text approaches
### Technical Standard Delays
**Risk**: European standardisation bodies take longer than expected to develop browser signal standards
**Impact**: Difficulty implementing Article 88b compliance
**Mitigation**: 24-month website deadline provides buffer; participate in standards development; prepare flexible implementation
### Compliance Challenges
**Risk**: Ambiguities in final text create interpretation difficulties
**Impact**: Uncertain compliance pathways
**Mitigation**: Monitor EDPB and Commission guidance; engage with supervisory authorities; participate in industry coordination
### Market Readiness
**Risk**: Consent management platforms slow to update for Article 88b
**Impact**: Organizations struggle to meet deadlines
**Mitigation**: Early vendor engagement; evaluate multiple solutions; plan custom development if needed
## Quick Reference: Key Dates
| Milestone | Estimated Date | Description |
| --- | --- | --- |
| **Proposal published** | Nov 19, 2025 | Commission proposes Digital Omnibus |
| **Parliament/Council review** | 2026 | First reading, amendments, debate |
| **Trilogue negotiations** | 2026-2027 | Parliament-Council compromise |
| **Final adoption** | Late 2026 or 2027 | Final votes by Parliament and Council |
| **Publication** | 30-60 days after adoption | Official Journal publication |
| **Entry into force** | 20 days after publication | Estimated Q3 2027 |
| **Article 88a deadline** | EIF + 6 months | Estimated Q1 2028 |
| **Single entry point** | EIF + 18 months | Estimated Q1 2029 (ext. Q3 2029) |
| **Article 88b websites** | EIF + 24 months | Estimated Q3 2029 |
| **Article 88b browsers** | EIF + 48 months | Estimated Q3 2031 |
**EIF** = Entry Into Force
**Note**: All dates are estimates based on typical EU legislative timelines. Actual dates will be confirmed once the Regulation is adopted and published.
## Tracking the Process
### Official Sources
**EUR-Lex**: Proposal and final text
- Search: COM(2025) 837
**European Parliament**: Legislative progress
- Procedure file: Check OEIL database after assignment
**Council**: Council positions
- Public register: Consult document register
**EDPB**: Data protection guidance
- Website: edpb.europa.eu
**ENISA**: Incident reporting portal
- Website: enisa.europa.eu
### What to Watch For
**Amendments during legislative process**:
- Changes to timelines (longer or shorter)
- New exemptions or obligations
- Scope adjustments
**Commission delegated/implementing acts**:
- Technical specifications for browser signals
- Common breach notification template
- High-risk breach criteria
**Supervisory authority guidance**:
- EDPB guidelines on Articles 88a/88b
- National DPA positions
- Enforcement priorities
## Related Resources
- [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Details on Articles 88a and 88b
- [Single Entry Point for Incident Reporting](https://sealmetrics.com/docs/compliance/omnibus/incident-reporting.md) - ENISA portal details
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - All GDPR changes in Omnibus
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [Impact on Web Analytics and Tracking](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - Action items for analytics at each deadline
- [EDPB-EDPS Joint Opinion on the Digital Omnibus](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - How the timeline may shift during negotiations
## Key Takeaways
1. **Entry into force estimated Q3 2027** (20 days after Official Journal publication)
2. **Most urgent: Article 88a at 6 months** (cookie consent framework)
3. **Phased implementation**: 6, 18, 24, and 48-month deadlines
4. **Browser signals in two stages**: Websites (24 months), browsers (48 months)
5. **Legislative process ongoing**: Final text and dates may change during 2026-2027 negotiations
6. **Begin planning now**: Don't wait for final adoption to assess impact
7. **Monitor official sources**: EUR-Lex, Parliament, Council, EDPB, ENISA
The phased timeline reflects the complexity of the changes while giving organizations reasonable time to adapt. The shortest deadline (6 months for Article 88a) affects the most organizations but also delivers the biggest benefits—eliminated cookie banners and simplified analytics compliance. Organizations that begin planning now will be well-positioned to capture these benefits as soon as they become available.
## Impact on Web Analytics and Tracking
URL: https://sealmetrics.com/docs/compliance/omnibus/impact-analytics/
How the Digital Omnibus affects web analytics, consent requirements, and consentless tracking solutions
Important Notice
The EU Digital Omnibus is a **legislative proposal still under negotiation**; article numbers and text may change before it is in force. Any statement about how Sealmetrics would fall under it is our own reading and a **self-assessment**, not a certification — no supervisory authority certifies analytics tools.
The EU Digital Omnibus fundamentally reshapes the web analytics landscape. By creating a clear exemption for aggregated audience measurement, the regulation validates privacy-first analytics while maintaining restrictions on invasive tracking.
This page analyzes how the Omnibus affects different analytics approaches, who wins and loses, and what website operators should do to prepare.
## The Current Analytics Landscape
### Pre-Omnibus Reality
**Cookie banners everywhere:**
- Many EU websites display cookie banners
- Most analytics tools trigger consent requirements
- Even basic traffic measurement often requires banners
**High rejection rates:**
- Many users reject, and many accept without reading (consent fatigue)
- Result: Incomplete or unreliable data
**Data loss from consent denial:**
- Missing traffic from the visitors who reject or ignore the banner
- Skewed analytics (privacy-conscious users underrepresented)
- Difficulty measuring true website performance
- Business decisions based on incomplete data
**Complex compliance burden:**
- Legal review of cookie policies
- Consent Management Platform (CMP) implementation
- Regular audits of tracking tools
- Vendor assessments and Data Processing Agreements
### The Analytics Consent Dilemma
Website operators face a difficult choice:
**Option 1: Require consent for analytics**
- Lose the traffic of visitors who reject the banner
- Cookie banner costs
- Poor user experience
- Use full-featured analytics tools
**Option 2: Skip analytics to avoid consent**
- No cookie banner needed
- Better user experience
- Fly blind (no performance data)
- Cannot optimize conversion, content, or UX
**Option 3: Use consentless analytics**
- No cookie banner
- Complete traffic data
- Limited features vs. traditional tools
- Legal uncertainty (until now)
## What the Omnibus Changes for Analytics
EDPB-EDPS Validation
The European data protection authorities **support** the audience measurement exemption in their [Joint Opinion 2/2026](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md). They also recommend adding a **contextual advertising exemption** for ads based on page content (not user tracking). This reinforces the legal basis for privacy-first analytics like Sealmetrics.
### The Game-Changing Exemption
**Article 88a(3)(c)** provides a clear legal basis for audience measurement:
> "Creating aggregated information about the usage of an online service to measure the audience of such a service, where it is carried out by the controller of that online service solely for its own use"
**No consent required when:**
1. Data is **aggregated** (not individual user tracking)
2. Processing is by the **controller** (website owner)
3. For the controller's **own use only** (not shared/sold)
### What "Aggregated" Means
**Permitted under exemption:**
- Total page views
- Unique visitors (counted, not tracked)
- Traffic sources (referrer data)
- Geographic location (country/city level)
- Device types and browsers
- Popular pages and content
- Conversion funnels (aggregate)
- Session duration statistics
**Still requires consent:**
- Individual user journey tracking across sessions
- User-level behavioral profiles
- Cross-device tracking
- Persistent user identifiers for non-aggregate purposes
- Retargeting pixels
- Detailed individual-level analytics
**The distinction**: You can **measure the audience** (how many, from where, what they view) without **tracking individuals** (who specifically, what they do over time).
### What "Controller's Own Use" Means
**Permitted:**
- Analyzing traffic to your own website
- Understanding your audience demographics
- Measuring content performance
- Optimizing user experience
- Internal business intelligence
**Requires consent:**
- Sharing analytics data with third parties
- Selling audience insights to advertisers
- Cross-site tracking networks
- Data brokers aggregating across properties
- Advertising platforms using data for targeting
**Key test**: If analytics data never leaves your control and is only used to understand your own service, you're likely exempt.
### First-Party vs. Third-Party Analytics
**First-party analytics (typical exemption scenario):**
- Analytics code on your own domain
- Data stored by you (or processor acting on your behalf)
- Data used only for your own insights
- **Result: no consent needed (if adopted as proposed)**
**Third-party analytics (usually needs consent):**
- Analytics provider tracks across multiple sites
- Provider uses data for their own purposes (ad networks, benchmarking)
- Data shared with other parties
- Cross-site tracking and profiling
- **Result: CONSENT REQUIRED**
**Important nuance**: Using a third-party analytics **tool** is fine if:
- You remain the controller
- Provider is your processor (GDPR Article 28)
- Data is not shared beyond processing your site
- Provider doesn't use your data for their purposes
**Example:**
- **Sealmetrics**: First-party, consentless, data not shared = EXEMPT (our self-assessment)
- **Self-hosted Matomo**: First-party, your data only = EXEMPT
- **Google Analytics 4** (configured for no data sharing): Likely exempt if properly configured
- **Google Analytics with ads features**: Needs consent (data used for advertising)
- **Facebook Pixel**: Needs consent (cross-site tracking, ad targeting)
- **Ad network tracking**: Needs consent (third-party profiling)
## Winners and Losers
### Winners
#### 1. Consentless Analytics Providers
Platforms that already operate under privacy-first principles are **advantaged**:
**Characteristics:**
- No cookies or cookieless design
- First-party data collection
- Aggregated measurement focus
- No cross-site tracking
- No data sharing or selling
**Examples:**
- Sealmetrics
- Other cookieless, first-party analytics tools
- Self-hosted Matomo (privacy mode)
**Advantage**: Tools built this way expect to fall within Article 88a(3)(c) if it is adopted as proposed. That is a reading of a text still under negotiation, not a settled position, and each vendor makes its own assessment.
#### 2. First-Party Data Solutions
**Server-side analytics:**
- Data processed on website's own servers
- Complete control over data
- No third-party dependencies
- Naturally fits "controller's own use" requirement
**Data warehouses and BI tools:**
- Tools that aggregate first-party data
- Business intelligence platforms
- Internal analytics dashboards
#### 3. Privacy-by-Design Platforms
**Privacy-enhancing technologies (PETs):**
- Differential privacy
- Federated analytics
- On-device computation
- Aggregated-only outputs
These technologies align perfectly with the "aggregated measurement" exemption.
#### 4. Website Operators (Small to Medium)
**Small businesses and SMEs:**
- Can finally get analytics without cookie banner costs
- No CMP subscription needed (€400-€2,000/year savings)
- No legal review expenses
- Simplified compliance
**Content publishers:**
- Understand audience without consent barriers
- Optimize content without data lost to consent rejection
- Improve user experience (no banners)
**Public sector:**
- Government websites can measure usage
- Universities and research sites simplified
- Public services more accessible
### Losers
#### 1. Cross-Site Tracking Networks
**Ad tech platforms relying on third-party cookies:**
- Still require consent under Article 88a(3)(c)
- Cannot benefit from audience measurement exemption
- Browser signal adoption will further impact them
**Behavioral advertising networks:**
- Cross-site profiling requires consent
- Retargeting pixels need consent
- Audience segmentation across properties needs consent
#### 2. Third-Party Cookie-Dependent Solutions
**Traditional analytics with data sharing:**
- Google Analytics with advertising features
- Analytics platforms that benchmark across clients
- Tools that monetize via data sharing
**Impact:** Must either:
- Restructure to be first-party only, OR
- Continue requiring consent (competitive disadvantage)
#### 3. Consent Management Platforms (CMPs)
**Reduced market:**
- Many websites might no longer need cookie banners for audience measurement, if the proposal is adopted as written
- Smaller addressable market for CMP vendors
- Pressure on pricing
**Counterbalance:**
- Remaining consent requirements are more complex
- Browser signal integration creates new opportunities
- Article 88a(4) compliance requires sophisticated UX
**Likely outcome:** Market contracts but remaining use cases become more sophisticated.
#### 4. Advertising Platforms Relying on Consent
**High-consent-friction models:**
- Platforms requiring granular consent
- Retargeting and behavioral advertising
- Cross-device tracking
**Challenge:** Users may set browser signals to reject tracking by default, reducing consent rates even further when Article 88b browser controls arrive (48 months).
## Browser Signals Impact on Analytics
### Article 88b Timeline
**24 months**: Websites must support machine-readable consent signals **48 months**: Browser vendors must provide user controls
### Expected User Behavior
**Privacy-conscious defaults:**
- Browsers may ship with "reject tracking" as default
- Users who care will configure strict settings once
- Most users may keep defaults
**Impact on consent-required analytics:**
- Lower consent rates than current cookie banners
- One-time browser decision vs. per-site decision
- Could reduce the share of users who consent to tracking (by an amount nobody can know yet)
**Impact on exempted analytics:**
- No impact—exempt is exempt
- Consentless analytics unaffected by browser signals
- Competitive advantage grows larger
### Media Service Provider Exemption
**Article 88b(3)**: Media service providers (news sites, publishers) are **EXEMPT** from browser signal requirements.
**What this means:**
- News publishers can still show cookie banners
- Can override browser signals for their own consent requests
- Protects publisher revenue models dependent on advertising
**Analytics implications:**
- Publishers can still ask for analytics + advertising consent
- May create two-tier system: publishers vs. other sites
- User experience: Some sites respect browser, others still ask
## Sealmetrics Positioning
### Designed for Article 88a(3)(c)
Sealmetrics is designed precisely for the exemption criteria (our self-assessment, on a text still under negotiation):
**Aggregated measurement:**
- No individual user tracking across sessions
- Privacy-first architecture
- Minimal, pseudonymised data: nothing stored on the device, no IP, a session identifier that rotates daily and cannot be reconstructed afterwards
**First-party data only:**
- Data belongs to the website owner (controller)
- Sealmetrics acts as processor
- No cross-site tracking
**For controller's own use:**
- Data not shared with third parties
- Not sold or monetized by Sealmetrics
- Used solely for client's audience insights
### No Consent Banner for Its Own Analytics
**Current position, future basis:**
- On our self-assessment, Sealmetrics already runs without a consent banner for the site's own analytics (in Germany an open question: the DSK does not extend §25(2) TDDDG to audience measurement — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md))
- Article 88a(3)(c), once in force, would provide an explicit legal basis
- Self-assessed, not certified
### Competitive Advantages Post-Omnibus
**1. Greater legal clarity:**
- Designed to align with Article 88a(3)(c)
- Less ambiguity about consent requirements once it is in force
- Simplified compliance for clients
**2. No data lost to consent:**
- Not dependent on consent: we measure all the traffic you lose today to the cookie banner
- Accurate audience measurement
- Better business intelligence
**3. Cost savings:**
- No cookie banner implementation
- No CMP subscription
- No ongoing legal review
**4. Better user experience:**
- No interruptions
- Faster page loads
- Privacy-respecting
**5. Future-proof for browser signals:**
- Exempt analytics unaffected by Article 88b
- No dependency on consent rates
- Stable data quality regardless of browser defaults
## Recommendations for Website Operators
### Audit Your Current Analytics Setup
**Identify consent-dependent tools:**
Create an inventory:
1. **Analytics platforms**: Which tools track users?
2. **Advertising pixels**: Facebook, Google Ads, retargeting?
3. **Third-party scripts**: Social media widgets, embedded content?
4. **Cross-site tracking**: Affiliate networks, attribution tools?
**Classify each tool:**
- **Exempt** (first-party, aggregated, own use)
- **Consent required** (third-party, tracking, profiling)
- **Uncertain** (need further analysis)
### Evaluate Consentless Alternatives
**For basic analytics needs:**
If you currently use consent-dependent analytics for basic traffic measurement, consider switching to:
- Consentless platforms such as Sealmetrics
- Self-hosted privacy-focused solutions (Matomo privacy mode)
- Server-side analytics (custom logging)
**Cost-benefit analysis:**
- Compare CMP costs + partial data vs. consentless + no data lost to consent rejection
- Factor in user experience improvements
- Consider compliance simplification
**For advanced tracking needs:**
If you need individual user tracking, cross-device tracking, or behavioral profiling:
- Consent will still be required
- Focus on Article 88a(4) compliance (single-click refuse, 6-month cooldown)
- Prepare for Article 88b browser signals
- Optimize consent rates through transparency and value exchange
### Prepare for Browser Signal Era
**Timeline awareness:**
- 24 months (≈2027-2028): Implement browser signal support
- 48 months (≈2029-2030): Browsers deploy user controls
**Technical preparation:**
- Monitor European standardisation body standards development
- Plan infrastructure for machine-readable signals
- Consider how to handle consent/rejection programmatically
- Test compatibility with expected signal formats
**Strategic preparation:**
- Reduce dependency on consent-based tracking
- Shift to first-party data strategies
- Build direct relationships with users
- Invest in owned analytics infrastructure
### Hybrid Approach
**Many websites will use:**
**Tier 1 - No consent (Article 88a(3)(c) exempt):**
- First-party audience measurement
- Basic traffic analytics
- Content performance
- User experience optimization
**Tier 2 - Consent required:**
- Advanced behavioral tracking
- Advertising pixels
- Retargeting
- Cross-device attribution
**Implementation:**
- Load Tier 1 immediately (no consent needed)
- Request consent for Tier 2
- Ensure Tier 1 provides enough value to operate without Tier 2
### Document Your Compliance
**Privacy policy updates:**
- Explain use of Article 88a(3)(c) exemption
- Document which analytics are exempt vs. consent-based
- Describe data flows and retention
**Internal documentation:**
- Legal basis for each processing activity
- Data Processing Agreements with analytics vendors
- Technical safeguards for aggregation
**Be ready to demonstrate:**
- Data is aggregated
- Processing is for your own use only
- No sharing beyond necessary processing
## Comparison Matrix
| Analytics Type | Consent Needed? | Article 88a Basis | Browser Signals Impact | Data Quality |
| --- | --- | --- | --- | --- |
| **First-party, aggregated** | No | 88a(3)(c) exemption | None (exempt) | No consent loss |
| **First-party, individual tracking** | Depends | 88a(1) or Art 6 | High (if consent basis) | Varies |
| **Third-party analytics (no sharing)** | No | 88a(3)(c) if structured properly | None (exempt) | No consent loss |
| **Third-party with data sharing** | Yes | 88a(1) consent | High | Consent loss, specific to each site |
| **Ad networks, retargeting** | Yes | 88a(1) consent | Very high | Consent loss, specific to each site |
| **Cross-site tracking** | Yes | 88a(1) consent | Very high | Consent loss, specific to each site |
## Timeline and Action Items
### Immediate (Now - 6 months after entry into force)
- Audit current analytics and tracking tools
- Classify tools as exempt vs. consent-required
- Evaluate consentless alternatives for basic analytics
- Update privacy policies to reference Article 88a
- Consider removing unnecessary cookie banners
### Short-term (6-24 months)
- Implement Article 88a(4) compliant consent UX (single-click refuse, 6-month cooldown)
- Migrate to first-party data strategies where possible
- Monitor standardization efforts for browser signals
- Train teams on new compliance requirements
- Optimize analytics stack for post-Omnibus landscape
### Medium-term (24-48 months)
- Implement browser signal support (Article 88b)
- Prepare infrastructure for machine-readable consent
- Test interoperability with browser controls
- Reduce dependency on consent-dependent tracking
- Build resilient analytics architecture
## Frequently Asked Questions
### Can I use Google Analytics without consent under the Omnibus?
**It depends on configuration:**
- **GA4 with no data sharing, no advertising features, configured for first-party use only**: Likely exempt under Article 88a(3)(c)
- **GA4 with advertising features, cross-site tracking, or data shared with Google for their purposes**: Consent required
**Key factors:**
- Are you the sole controller or is Google a joint controller?
- Is data used only for your audience measurement?
- Are advertising or remarketing features enabled?
**Recommendation**: Consult with privacy counsel on your specific GA4 configuration, or use a platform designed for the exemption, like Sealmetrics (self-assessed).
### Does "aggregated" mean I cannot see any individual page views?
**No.** "Aggregated" in Article 88a(3)(c) means the **purpose** is aggregate measurement, not that you can never see granular data.
**Permitted:**
- Viewing individual page view events (to calculate aggregates)
- Seeing a specific referrer for a specific session
- Analyzing a particular conversion path in aggregate
**Not permitted without consent:**
- Building persistent individual user profiles
- Tracking specific users across sessions for behavioral analysis
- Creating detailed dossiers on individual visitors
**Analogy**: A store can count customers and see what each person buys (to calculate totals), but cannot track individuals over time to profile their behavior.
### What about heatmaps and session recordings?
**Session recordings (Hotjar, FullStory, etc.)**: Almost certainly **require consent**.
**Reasoning:**
- Individual-level tracking
- Detailed behavioral data
- Not "aggregated measurement"
- High privacy risk
**Heatmaps**: **Possibly exempt** if truly aggregated.
**Exempt approach:**
- Aggregate click positions across all users
- No individual session identification
- Used only for UX optimization on your site
**Requires consent:**
- Individual session heatmaps
- Linked to user identities
- Shared with third parties
**Recommendation**: If you want to avoid consent, use truly aggregated heatmaps or A/B testing tools that don't track individuals.
### Can I share analytics data with my agency or consultants?
**Yes, if they are processors acting on your behalf** under GDPR Article 28.
**Structure:**
- Data Processing Agreement in place
- Processor acts only on your instructions
- Data used solely for your purposes (audience measurement)
- No independent use by processor
**No, if:**
- Processor uses data for their own purposes
- Data is shared with processor's other clients
- Processor becomes a joint controller
**Article 88a(3)(c) requires "solely for its own use"**—this is satisfied when processors provide services to you, but not when data is shared more broadly.
## Related Resources
- [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Full details on Article 88a
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - Other GDPR changes in the Omnibus
- [EDPB-EDPS Joint Opinion](https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion.md) - EDPB-EDPS opinion on the proposal
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete regulation guide
- [GDPR and Cookieless Analytics](https://sealmetrics.com/docs/compliance/gdpr-cookieless-analytics.md) - The GDPR basis for first-party, aggregated measurement
- [What We Track vs What We Don’t](https://sealmetrics.com/docs/security-privacy/what-we-track.md) - Exactly what Sealmetrics collects under the exemption
## Key Takeaways
1. **First-party, aggregated analytics = no consent needed (if adopted as proposed)** under Article 88a(3)(c)
2. **Third-party tracking, profiling, ad tech = CONSENT REQUIRED**
3. **Winners**: Consentless analytics, first-party data, privacy-first platforms
4. **Losers**: Cross-site trackers, third-party cookie networks, consent-dependent models
5. **Browser signals coming** in 24-48 months will further impact consent-based tracking
6. **Sealmetrics expects to fall within** the Article 88a(3)(c) exemption once it is in force — our own reading, on a text still under negotiation
7. **Audit your analytics** to identify what needs consent and what doesn't
8. **Prepare for first-party future** by reducing consent dependencies now
The Digital Omnibus creates a clear path for privacy-respecting analytics while cracking down on invasive tracking. Website operators who embrace consentless, first-party measurement will gain competitive advantages in data quality, user experience, and compliance simplicity.
## EDPB-EDPS Joint Opinion on the Digital Omnibus
URL: https://sealmetrics.com/docs/compliance/omnibus/edpb-edps-opinion/
Official position of European data protection authorities on the Digital Omnibus proposal - concerns, support, and recommendations
On February 10, 2026, the **European Data Protection Board (EDPB)** and the **European Data Protection Supervisor (EDPS)** published their official Joint Opinion on the Digital Omnibus proposal. This document represents the authoritative position of European data protection authorities on the proposed changes.
Understanding This Document
The Joint Opinion is a **consultative document**—it expresses the regulators' position but does not change the legislative proposal. The European Parliament and Council may consider these recommendations during negotiations, but are not bound by them. The original Commission proposal (COM(2025) 837) remains the basis for legislation.
## Document Details
| | |
| --- | --- |
| **Title** | EDPB-EDPS Joint Opinion 2/2026 on the Proposal for a Regulation as regards the simplification of the digital legislative framework (Digital Omnibus) |
| **Adopted** | 10 February 2026 |
| **Published** | 11 February 2026 |
| **Official page** | [EDPB Website](https://www.edpb.europa.eu/our-work-tools/our-documents/edpbedps-joint-opinion/edpb-edps-joint-opinion-22026-proposal_en) |
| **PDF** | [Full document (PDF)](https://www.edpb.europa.eu/system/files/2026-02/edpb_edps_jointopinion_202602_digitalomnibus_en.pdf) |
| **Press release** | [EDPB News](https://www.edpb.europa.eu/news/news/2026/digital-omnibus-edpb-and-edps-support-simplification-and-competitiveness-while_en) |
## Overall Position
The EDPB and EDPS **support the simplification objectives** of the Digital Omnibus while raising **significant concerns** about specific provisions that could adversely affect protection levels.
### What They Support
- Simplification of the digital regulatory framework
- Reducing compliance burden for businesses
- Strengthening effective exercise of individual rights
- Boosting EU competitiveness
- Changes to scientific research provisions
- Raised threshold for breach notifications (with caveats)
- New exception for biometric authentication under individual's control
- Cookie consent fatigue solutions (in principle)
### What Concerns Them
- Personal data definition changes
- Implementing acts for pseudonymization
- Potential reduction in protection levels
- Fragmentation of terminal equipment rules
- Some AI processing provisions
## Key Positions by Topic
### 1. Personal Data Definition
EDPB-EDPS Position: Strong Opposition
The regulators **firmly oppose** the proposed changes to the personal data definition, recommending their complete removal from the proposal.
**Commission proposal**: Codify "reasonably likely to be used" standard with entity-specific determination.
**EDPB-EDPS concerns**:
1. **Unnecessary changes**: The current GDPR definition, interpreted through CJEU case law, works well. Changes risk creating new uncertainties.
2. **Reduced protection**: Entity-specific determination could exclude data from GDPR protection when it should be covered.
3. **Legal fragmentation**: Different entities having different obligations for the same data creates complexity, not simplification.
4. **Undermining CJEU jurisprudence**: The proposed wording may contradict established case law rather than codify it.
**EDPB-EDPS recommendation**:
> "The EDPB and the EDPS recommend that the proposed amendments to the concept of personal data are removed from the Proposal."
**Implication**: If Parliament/Council follows this recommendation, Articles related to personal data definition would remain unchanged from current GDPR.
### 2. Pseudonymization and Implementing Acts
EDPB-EDPS Position: Serious Concerns
The regulators oppose giving the Commission power to determine what constitutes personal data through implementing acts.
**Commission proposal**: Commission can adopt implementing acts specifying criteria for effective pseudonymization.
**EDPB-EDPS concerns**:
1. **Competence question**: Whether data is "personal" is a matter of fundamental rights law, not technical specification. The Commission should not have authority to make this determination.
2. **Scope creep risk**: Implementing acts could be used to narrow GDPR's scope by declaring certain data "not personal."
3. **EDPB role**: The EDPB already provides guidance on pseudonymization. Commission implementing acts could conflict with or undermine this guidance.
**EDPB-EDPS recommendation**:
> Technical guidance on pseudonymization should remain with the EDPB, not be transferred to Commission implementing acts.
### 3. Cookie Consent and Article 88a
EDPB-EDPS Position: Support with Recommendations
The regulators **strongly support** addressing cookie banner fatigue, while requesting specific improvements.
**What they support**:
- Moving cookie consent under GDPR framework
- Exemption for audience measurement (Article 88a(3)(c))
- Single-click refuse requirement
- 6-month cooldown after refusal
**Concerns and recommendations**:
1. **Contextual advertising exception**: The EDPB-EDPS recommends creating an **explicit exemption for contextual advertising** that doesn't involve tracking. This would allow ads based on page content without consent, while tracking-based ads still require consent.
2. **Terminal equipment fragmentation**: Moving only personal data cookies to GDPR while leaving non-personal data cookies in ePrivacy creates two parallel regimes. They recommend either full integration or clearer coordination.
3. **Browser signals (Article 88b)**: Support the concept but want clearer technical standards and interoperability requirements.
**Notable quote**:
> "The EDPB and the EDPS strongly support the objective of providing for a regulatory solution to address consent fatigue and the proliferation of cookie banners."
### 4. AI Processing (Article 88c)
EDPB-EDPS Position: Cautious Acceptance
The regulators accept the legitimate interest basis for AI but request stronger safeguards.
**What they accept**:
- Recognizing AI development as a legitimate interest under Article 6(1)(f)
- The balance test approach
- Special category data safeguards (Article 9(2)(k))
**Concerns**:
1. **Web scraping**: Specific concern about large-scale web scraping for AI training without adequate safeguards.
2. **Right to object**: Want stronger guarantees that the unconditional right to object is meaningful and enforceable.
3. **Balance test application**: Request clearer criteria for when data subject rights override AI development interests.
4. **Children's data**: Want explicit, stronger protections beyond "in particular."
**EDPB-EDPS recommendation**:
> More specific safeguards needed, particularly for web scraping scenarios and effective right to object implementation.
### 5. Data Breach Notification Threshold
EDPB-EDPS Position: Partial Support with Reservations
The regulators accept the raised threshold but want to ensure it doesn't reduce accountability.
**Commission proposal**: Change notification threshold from "risk" to "high risk."
**EDPB-EDPS position**:
1. **Accept in principle**: Reducing notification burden for minor incidents is reasonable.
2. **Template control**: The EDPB wants to **maintain control** over breach notification templates and "high risk" criteria lists, rather than merely being "consulted" by the Commission.
3. **Supervisory authority information**: Ensure that streamlined reporting still gets necessary information to national DPAs.
**EDPB-EDPS recommendation**:
> "The EDPB should have the competence to adopt the templates and lists, rather than the Commission after consultation."
### 6. Right of Access and "Abusive" Requests
EDPB-EDPS Position: Concerns About Balance
The regulators worry the lower burden of proof could enable unjustified refusals.
**Commission proposal**: Lower burden of proof for controllers to refuse "abusive" access requests.
**EDPB-EDPS concerns**:
1. **Fundamental right**: Right of access is a fundamental right; lowering barriers to refusal could undermine it.
2. **Abuse of the abuse exception**: Controllers might too easily label legitimate requests as "abusive."
3. **Burden shift**: The proposal shifts burden of proof in a way that may disadvantage data subjects.
**EDPB-EDPS recommendation**:
> Maintain sufficient safeguards to ensure legitimate access requests are not refused under the guise of being "abusive."
### 7. Data Acquis Consolidation
EDPB-EDPS Position: Generally Supportive
The regulators support consolidating data laws but want clarity on oversight.
**Areas addressed**:
1. **Data intermediation services**: Support integration into Data Act but want clear rules on how DPAs interact with intermediary oversight.
2. **Data altruism organizations**: Want maintained oversight mechanisms.
3. **Coordination between authorities**: Request clear delineation of responsibilities between data protection and other authorities.
### 8. Additional Recommendations
The Joint Opinion includes recommendations **not addressed** in the original proposal:
1. **Collective representation**: EDPB-EDPS recommends allowing organizations to represent data subjects in complaints **without requiring individual mandates** (expanding Article 80 GDPR).
2. **Legitimate interest lists**: The regulators **oppose** any Commission power to create binding lists of legitimate interests, as this could expand lawful processing beyond what the GDPR intended.
3. **NIS2 coordination**: Request clearer rules for coordination between cybersecurity authorities (under NIS2) and data protection authorities.
## What This Means for the Digital Omnibus
### Possible Outcomes
| EDPB-EDPS Recommendation | Likelihood of Adoption | Impact if Adopted |
| --- | --- | --- |
| Remove personal data definition changes | Medium-High | Status quo maintained |
| Remove Commission implementing acts for pseudonymization | Medium | EDPB retains guidance role |
| Add contextual advertising exception | Medium | Broader cookie banner relief |
| Stronger AI safeguards | Medium-High | More conditions on Article 88c |
| EDPB controls breach templates | High | Technical change only |
| Maintain access request protections | Medium | Balance preserved |
### Timeline Implications
The Joint Opinion was published during the **feedback period** (deadline: March 9, 2026). The European Parliament's ITRE and LIBE committees will consider this input as they develop their positions.
**Expected impact on timeline**:
- Committee rapporteur appointments: Q1 2026 (ongoing)
- Parliament/Council positions: Q2 2026 (may incorporate EDPB-EDPS recommendations)
- Trilogue negotiations: Summer 2026 (contested provisions will be negotiated)
- Final text: May differ significantly from Commission proposal
## Implications for Analytics and Sealmetrics
### Cookie Consent Exemption: Strengthened
The EDPB-EDPS **supports** the Article 88a(3)(c) exemption for audience measurement. Their recommendation for a contextual advertising exception, if adopted, would further reduce consent requirements.
**For Sealmetrics users**: The Joint Opinion **reinforces** the position of consentless analytics. The regulators are not challenging the audience measurement exemption.
### First-Party Analytics: Not Targeted
The regulators' concerns focus on:
- Third-party tracking
- Cross-site profiling
- Web scraping for AI
First-party, aggregated analytics (Sealmetrics' model) is **not targeted** by EDPB-EDPS concerns.
### Contextual Advertising: Potential New Exemption
If the EDPB-EDPS recommendation for contextual advertising is adopted:
- Ads based on page content (not user tracking) would be exempt
- This benefits privacy-respecting advertising models
- Could expand the "no consent needed" category
## How to Follow Developments
### Official Sources
- **EDPB**: [edpb.europa.eu](https://www.edpb.europa.eu/)
- **European Parliament**: [europarl.europa.eu](https://www.europarl.europa.eu/)
- **EUR-Lex**: [eur-lex.europa.eu](https://eur-lex.europa.eu/) (for official texts)
- **Have Your Say portal**: [ec.europa.eu/info/law/better-regulation/have-your-say](https://ec.europa.eu/info/law/better-regulation/have-your-say_en)
### Key Dates
| Date | Event |
| --- | --- |
| November 19, 2025 | Commission proposal published |
| February 10, 2026 | EDPB-EDPS Joint Opinion adopted |
| **March 9, 2026** | **Digital Omnibus feedback deadline** |
| March 11, 2026 | Digital Fitness Check feedback deadline |
| Q2 2026 | Expected Parliament/Council positions |
| Summer 2026 | Trilogue negotiations |
| Late 2026 / Early 2027 | Expected final adoption |
## Related Resources
- [EU Digital Omnibus Overview](https://sealmetrics.com/docs/compliance/omnibus.md) - Complete guide to the proposal
- [Cookie Consent Reform](https://sealmetrics.com/docs/compliance/omnibus/cookies-eprivacy.md) - Article 88a details
- [GDPR Amendments](https://sealmetrics.com/docs/compliance/omnibus/gdpr-changes.md) - Personal data definition, AI processing
- [AI Act Amendments](https://sealmetrics.com/docs/compliance/omnibus/ai-act-amendments.md) - Article 88c legitimate interest
- [Impact on Web Analytics](https://sealmetrics.com/docs/compliance/omnibus/impact-analytics.md) - What this means for analytics
- [Is Sealmetrics GDPR, ePrivacy, CCPA, and PECR Compliant?](https://sealmetrics.com/docs/compliance/compliance-overview/is-sealmetrics-privacy-compliant.md) - How the audience-measurement model stands today
- [Why Sealmetrics Can Measure Without Consent](https://sealmetrics.com/docs/security-privacy/why-no-consent.md) - Why first-party analytics is not the regulators' concern
## Key Takeaways
1. **Joint Opinion is consultative** - It expresses regulators' views but doesn't change the proposal
2. **Strong support for simplification goals** - EDPB-EDPS agrees with reducing complexity
3. **Personal data definition: opposed** - Regulators recommend removing these changes
4. **Cookie exemption: supported** - Article 88a(3)(c) is not challenged
5. **Contextual advertising: new recommendation** - Could expand exemptions if adopted
6. **AI processing: cautious acceptance** - With requests for stronger safeguards
7. **Breach threshold: accepted** - But EDPB wants control over templates
8. **Final text may differ** - Parliament/Council negotiations will determine outcome
The Joint Opinion provides valuable insight into how European data protection authorities view the Digital Omnibus. While they support simplification, they're vigilant about maintaining protection levels. The final regulation will likely reflect compromises between the Commission's efficiency goals and the regulators' protection concerns.
---
# Plans & Billing
## Plans & Pricing
URL: https://sealmetrics.com/docs/billing/
Overview of Sealmetrics plans, pricing, and what's included in each tier.
Sealmetrics offers three volume-based paid plans, after a free start of 1M events in total with no card. All plans include unlimited websites, unlimited users, privacy-first tracking, attribution modeling, and core reporting features.
## Plan Comparison
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| **Monthly Price** | €599 | €1,079 | Custom |
| **Annual Price (per month)** | €499 | €899 | Custom |
| **Monthly Events** | 5M | 15M | Unlimited |
### Core Features (All Plans)
All plans include:
- Unlimited websites
- Unlimited users
- 24 months data retention
- Full API access
- MCP Server
- BigQuery export
- CSV/JSON export
- LENS AI (Chat + Reports) — rule-based Insights coming soon
- Conversion tracking
- Funnel analysis
- Bot detection & fraud protection
- Consentless tracking
- Recent-data availability — hits normally appear in reports in under 2 min; the SLA guarantees each day's data complete before 6 AM
- Email reports & alerts
- Multi-site portfolio view
### Plan Differences
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Monthly events | 5M | 15M | Unlimited |
| LENS AI assistant (your own LLM key) | Included | Included | Included |
| [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) (managed, EU) | Add-on | Included | Included |
| Webhooks | - | Yes | Yes |
| Audit logs | - | Yes | Yes |
| Role-based access | Basic | Advanced | Full |
| Uptime SLA | 99% | 99.5% | 99.9% |
| Support | Email | Email + Chat + Priority | Priority + Dedicated AM |
| Onboarding | Docs | 1 session | White-glove |
## Choosing the Right Plan
### Growth (€599/month, €499 annual)
**Best for:** Growing teams and mid-size eCommerce businesses
Choose Growth if you:
- Have up to 5M monthly events
- Need BigQuery integration for custom analysis
- Want full API access and MCP Server
- Need all core analytics and reporting features
### Scale (€1,079/month, €899 annual)
**Best for:** Multi-brand retailers and larger organizations
Choose Scale if you:
- Have up to 15M monthly events
- Need webhooks and audit logs
- Require advanced role-based access control
- Need priority support
### Enterprise (Custom pricing)
**Best for:** Large organizations with custom needs
Choose Enterprise if you:
- Need unlimited events
- Want a dedicated account manager
- Need isolated data processing
- Require 99.9% SLA guarantee
## Event Limits & Upgrades
Sealmetrics uses a **no overage** billing model:
- **No surprise charges** — your monthly price is fixed
- **Tracking never stops** — if you exceed your event limit, data collection continues
- **Free overage month** — one month per year of overage is absorbed at no extra cost
- **Auto-upgrade** — if you exceed your event limit for 2 consecutive months (without forgiveness), Growth is automatically upgraded to Scale. When a Scale plan exceeds its limit for 2 consecutive months, we notify you to discuss Enterprise — this change is not automatic
- **Downgrade suggestions** — if your usage drops below 50% for 3+ months, we'll suggest a more suitable plan
Tip
Annual plans on Growth and Scale absorb mid-year overages until renewal.
## Getting Started
- [Open your free account Your first 1M events are free, with no card. Billing starts only once that million is used](https://my.sealmetrics.com/register)
- [Compare Plans See detailed plan breakdowns](https://sealmetrics.com/docs/billing/features-comparison.md)
## Frequently Asked Questions
### Can I change plans?
Yes, you can upgrade or downgrade at any time. Changes take effect immediately:
- **Upgrades:** Prorated charge for remaining billing period
- **Downgrades:** Credit applied to future invoices
### Is there a time-limited trial?
No. Every account starts with its first 1M events free, in total over the life of the account and with no card. The allowance does not expire: when the millionth event is used, you choose a plan and billing starts.
### What happens if I exceed my event limit?
Tracking continues without interruption. There are no overage charges — your monthly price stays fixed. If you exceed your limit for 2 consecutive months, Growth is automatically upgraded to Scale. For Scale, we notify you to discuss Enterprise instead — the move is not automatic.
### Do you offer discounts?
- **Annual billing:** Save approximately 17% compared to monthly (2 months free)
- **Nonprofits:** 50% discount (contact us)
- **Startups:** Special pricing available (contact us)
### Can I cancel anytime?
Yes, cancel anytime with no penalties. You'll retain access until the end of your billing period.
## More Information
- [Growth Plan Details](https://sealmetrics.com/docs/billing/plans/growth.md)
- [Scale Plan Details](https://sealmetrics.com/docs/billing/plans/scale.md)
- [Enterprise Plan Details](https://sealmetrics.com/docs/billing/plans/enterprise.md)
- [Features Comparison](https://sealmetrics.com/docs/billing/features-comparison.md)
- [Usage & Limits](https://sealmetrics.com/docs/billing/usage-limits.md)
## Features Comparison
URL: https://sealmetrics.com/docs/billing/features-comparison/
Detailed side-by-side comparison of all features across Sealmetrics plans.
Complete feature-by-feature comparison across all Sealmetrics plans. All plans use volume-based pricing with unlimited websites and unlimited users.
## Quick Comparison
| | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| **Monthly Price** | €599 | €1,079 | Custom |
| **Annual (per month)** | €499 | €899 | Custom |
| **Monthly Events** | 5M | 15M | Unlimited |
| **Websites** | Unlimited | Unlimited | Unlimited |
## Events & Data
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Monthly events | 5M | 15M | Unlimited |
| Websites | Unlimited | Unlimited | Unlimited |
| Users | Unlimited | Unlimited | Unlimited |
| Data retention | 24 months | 24 months | 24 months |
| Overage charges | None | None | None |
## Tracking & Collection
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| First-party tracking | Yes | Yes | Yes |
| Cookie-free tracking | Yes | Yes | Yes |
| Consentless operation | Yes | Yes | Yes |
| Bot filtering | Yes | Yes | Yes |
| Recent-data availability (typically < 2 min) | Yes | Yes | Yes |
| Data complete before 6 AM (SLA) | Yes | Yes | Yes |
### Event Tracking
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Pageview tracking | Yes | Yes | Yes |
| Custom events | Yes | Yes | Yes |
| Conversion tracking | Yes | Yes | Yes |
| Revenue tracking | Yes | Yes | Yes |
| Micro-conversions | Yes | Yes | Yes |
## Reports & Analytics
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Traffic reports | Yes | Yes | Yes |
| Conversion reports | Yes | Yes | Yes |
| Revenue reports | Yes | Yes | Yes |
| Campaign reports | Yes | Yes | Yes |
| Geographic reports | Yes | Yes | Yes |
| Device reports | Yes | Yes | Yes |
| Funnel analysis | Yes | Yes | Yes |
| Channel attribution | Yes | Yes | Yes |
| Multi-site portfolio | Yes | Yes | Yes |
### Data Export
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| CSV export | Yes | Yes | Yes |
| JSON export | Yes | Yes | Yes |
| API export | Yes | Yes | Yes |
| BigQuery export | Yes | Yes | Yes |
## LENS AI
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| LENS Chat | Yes | Yes | Yes |
| LENS Reports | Yes | Yes | Yes |
| LENS Insights (rule-based detection) | Coming soon | Coming soon | Coming soon |
| AI with your own key (BYOK) | Unmetered | Unmetered | Unmetered |
| [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) (EU-hosted, no key) | Paid add-on | **Included** | **Included** |
| Dedicated, non-shared Seal AI Private instance | - | - | Yes |
LENS AI works two ways: **[Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md)** (managed, EU-hosted, no API key; 5M tokens/month plus optional packs — add-on on Growth, included in Scale/Enterprise) or **bring-your-own-key** (connect your own LLM provider API key; unmetered by Sealmetrics, billed directly by your provider).
## Integrations
### Advertising Platforms
| Platform | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Google Ads | Yes | Yes | Yes |
| Meta Ads (Facebook/Instagram) | Yes | Yes | Yes |
| Microsoft Ads | Yes | Yes | Yes |
| TikTok Ads | Yes | Yes | Yes |
### Data Destinations
| Destination | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| BigQuery | Yes | Yes | Yes |
| MCP Server | Yes | Yes | Yes |
### Automation
| Integration | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Webhooks | - | Yes | Yes |
### eCommerce
| Platform | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| WooCommerce | Yes | Yes | Yes |
| Magento | Yes | Yes | Yes |
| PrestaShop | Yes | Yes | Yes |
| OpenCart | Yes | Yes | Yes |
## Users & Access
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Team members | Unlimited | Unlimited | Unlimited |
| Role-based access | Basic | Advanced | Full |
| Audit logs | - | Yes | Yes |
## API Access
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Full API access | Yes | Yes | Yes |
| API rate limit (req/min) | 240 | 480 | Custom |
## Support & Service
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Documentation | Yes | Yes | Yes |
| Email support | Yes | Yes | Yes |
| Chat support | - | Yes | Yes |
| Priority support | - | Yes | Yes |
| Dedicated account manager | - | - | Yes |
### SLA & Reliability
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Uptime SLA | 99% | 99.5% | 99.9% |
### Onboarding
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Self-service guides | Yes | Yes | Yes |
| Guided onboarding | - | 1 session | White-glove |
## Security & Compliance
| Feature | Growth | Scale | Enterprise |
| --- | --- | --- | --- |
| Designed for GDPR (self-assessed, not certified) | Yes | Yes | Yes |
| Data encryption (transit) | Yes | Yes | Yes |
| Data encryption (rest) | Yes | Yes | Yes |
| Audit logging | - | Yes | Yes |
| Isolated processing | - | - | Yes |
## Need Help Choosing?
Not sure which plan is right for you?
- **Growth:** Growing teams and mid-size eCommerce (up to 5M events)
- **Scale:** Multi-brand retailers needing webhooks and audit logs (up to 15M events)
- **Enterprise:** Custom needs with unlimited events
[Contact sales](mailto:sales@sealmetrics.com) for personalized recommendations.
## Growth Plan
URL: https://sealmetrics.com/docs/billing/plans/growth/
Everything included in the Sealmetrics Growth plan for growing teams and mid-size businesses.
The Growth plan is designed for growing teams and mid-size eCommerce businesses that need full analytics capabilities with BigQuery export and API access.
## Pricing
| Billing | Price | Per Month |
| --- | --- | --- |
| Monthly | €599/month | €599 |
| Annual | €5,988/year | €499 (2 months free) |
## What's Included
### Events & Tracking
| Feature | Included |
| --- | --- |
| Monthly events | 5,000,000 |
| Websites | Unlimited |
| Data retention | 24 months |
| First-party tracking | Yes |
| Cookie-free mode | Yes |
| Bot filtering | Yes |
| Recent-data availability | Typically < 2 min |
| Data complete before 6 AM | Yes (SLA) |
### Users & Access
| Feature | Included |
| --- | --- |
| Team members | Unlimited |
| Full API access | Yes |
| API rate limit | 240 req/min |
| Dashboard access | Full |
| Role-based access | Basic |
| Multi-site portfolio | Yes |
### LENS AI
| Feature | Included |
| --- | --- |
| LENS Chat | Yes |
| LENS Reports | Yes |
| LENS Insights (rule-based detection) | Coming soon |
| AI with your own key (BYOK) | Yes — unmetered, billed by your provider |
| [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) | Available as add-on (€299/mo billed annually · €358.80/mo monthly) |
### Integrations
| Feature | Included |
| --- | --- |
| Google Ads | Yes |
| Meta Ads | Yes |
| Microsoft Ads | Yes |
| TikTok Ads | Yes |
| BigQuery export | Yes |
| CSV/JSON export | Yes |
| MCP Server | Yes |
### Support
| Feature | Included |
| --- | --- |
| Email support | Yes |
| Documentation | Yes |
| SLA | 99% uptime |
## Event Limits
No overage charges. Your monthly price is fixed at €599 (or €499 annual). If you exceed your 5M event limit for 2 consecutive months (without forgiveness), you'll be automatically upgraded to Scale.
One free overage month per year is included. Annual plans absorb mid-year overages until renewal.
## Ideal For
- Growing teams with multiple websites
- Mid-size eCommerce businesses
- Businesses needing BigQuery export and full API access
- Sites with up to 5M events/month
## Getting Started
1. **Sign up** at [my.sealmetrics.com](https://my.sealmetrics.com/register)
2. Choose this plan once your first 1M events (free, in total, no card) are used, or earlier if you want it now
3. Install the tracking pixel
4. Set up BigQuery integration and API access
## Upgrading to Scale
When you upgrade to Scale, you get:
| Feature | Growth | Scale |
| --- | --- | --- |
| Monthly events | 5M | **15M** |
| Webhooks | - | **Yes** |
| Audit logs | - | **Yes** |
| Advanced RBAC | - | **Yes** |
| Priority support | - | **Yes** |
| Onboarding | - | **1 session** |
| Uptime SLA | 99% | **99.5%** |
Upgrades take effect immediately with prorated billing.
## Scale Plan
URL: https://sealmetrics.com/docs/billing/plans/scale/
Everything included in the Sealmetrics Scale plan for multi-brand retailers and larger organizations.
The Scale plan is designed for multi-brand retailers and larger organizations that need webhooks, audit logs, and higher event volumes. This is our most popular plan.
## Pricing
| Billing | Price | Per Month |
| --- | --- | --- |
| Monthly | €1,079/month | €1,079 |
| Annual | €10,788/year | €899 (2 months free) |
## What's Included
### Events & Tracking
| Feature | Included |
| --- | --- |
| Monthly events | 15,000,000 |
| Websites | Unlimited |
| Data retention | 24 months |
| First-party tracking | Yes |
| Cookie-free mode | Yes |
| Bot filtering | Yes |
| Recent-data availability | Typically < 2 min |
| Data complete before 6 AM | Yes (SLA) |
### Users & Access
| Feature | Included |
| --- | --- |
| Team members | Unlimited |
| Full API access | Yes |
| API rate limit | 480 req/min |
| Dashboard access | Full |
| Advanced RBAC | Yes |
| Audit logs | Yes |
| Multi-site portfolio | Yes |
### LENS AI
| Feature | Included |
| --- | --- |
| LENS Chat | Yes |
| LENS Reports | Yes |
| LENS Insights (rule-based detection) | Coming soon |
| AI with your own key (BYOK) | Yes — unmetered, billed by your provider |
| [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) | **Included** (5M tokens/month, EU-hosted, no API key needed) |
### Integrations
| Feature | Included |
| --- | --- |
| All Growth integrations | Yes |
| BigQuery export | Yes |
| CSV/JSON export | Yes |
| MCP Server | Yes |
| Webhooks | Yes |
### Support
| Feature | Included |
| --- | --- |
| Email support | Yes |
| Chat support | Yes |
| Priority support | Yes |
| 1 onboarding session | Yes |
| SLA | 99.5% uptime |
## Event Limits
No overage charges. Your monthly price is fixed at €1,079 (or €899 annual). If you exceed your 15M event limit for 2 consecutive months, we'll notify you to discuss moving to Enterprise — this change is not automatic.
One free overage month per year is included. Annual plans absorb mid-year overages until renewal.
## Ideal For
- Multi-brand retailers
- Businesses with 5M-15M monthly events
- Teams needing webhooks and audit logs
- Teams requiring advanced role-based access control
## Compared to Growth
| Feature | Growth | Scale |
| --- | --- | --- |
| Monthly events | 5M | **15M** |
| Webhooks | - | **Yes** |
| Audit logs | - | **Yes** |
| Advanced RBAC | - | **Yes** |
| API rate limit | 240/min | **480/min** |
| [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) | Paid add-on | **Included** |
| Priority support | - | **Yes** |
| Onboarding | - | **1 session** |
| Uptime SLA | 99% | **99.5%** |
## Getting Started
1. **Sign up** or **upgrade** from Growth
2. Choose this plan once your first 1M events (free, in total, no card) are used, or earlier if you want it now
3. Configure webhooks and audit logs
4. Set up advanced roles for your team
## Enterprise Plan
URL: https://sealmetrics.com/docs/billing/plans/enterprise/
Everything included in the Sealmetrics Enterprise plan for organizations with custom needs.
The Enterprise plan is designed for large organizations with custom requirements, unlimited events, and dedicated support.
## Pricing
Custom pricing based on your organization's needs. [Contact sales](mailto:sales@sealmetrics.com) for a personalized quote.
## What's Included
### Events & Tracking
| Feature | Included |
| --- | --- |
| Monthly events | Unlimited |
| Websites | Unlimited |
| Data retention | 24 months |
| First-party tracking | Yes |
| Cookie-free mode | Yes |
| Bot filtering | Yes |
| Isolated processing | Yes |
| Recent-data availability | Typically < 2 min |
| Data complete before 6 AM | Yes (SLA) |
### Users & Access
| Feature | Included |
| --- | --- |
| Team members | Unlimited |
| Full API access | Yes |
| API rate limit | Custom |
| Dashboard access | Full |
| Full RBAC | Yes |
| Audit logs | Yes |
| Multi-site portfolio | Yes |
### LENS AI
| Feature | Included |
| --- | --- |
| LENS Chat | Yes |
| LENS Reports | Yes |
| LENS Insights (rule-based detection) | Coming soon |
| AI with your own key (BYOK) | Yes — unmetered, billed by your provider |
| [Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md) | **Included** (5M tokens/month, EU-hosted, no API key needed) |
| Dedicated, non-shared Seal AI Private instance | Yes |
### Integrations
| Feature | Included |
| --- | --- |
| All Scale integrations | Yes |
| BigQuery export | Yes |
| CSV/JSON export | Yes |
| MCP Server | Yes |
| Webhooks | Yes |
### Support
| Feature | Included |
| --- | --- |
| Email support | Yes |
| Chat support | Yes |
| Priority support | Yes |
| Dedicated account manager | Yes |
| White-glove onboarding | Yes |
| SLA | 99.9% uptime |
## Ideal For
- Large enterprises with custom compliance needs
- High-traffic sites with unlimited events
- Teams needing dedicated account management
- Businesses requiring isolated data processing
## Getting Started
1. [Contact sales](mailto:sales@sealmetrics.com) for a demo
2. Discuss your specific requirements
3. Receive custom proposal
4. White-glove onboarding
## Usage & Limits
URL: https://sealmetrics.com/docs/billing/usage-limits/
Understanding event limits, usage tracking, and how Sealmetrics handles overages.
Learn how Sealmetrics tracks usage, what counts toward your limits, and how the no-overage billing model works.
## Event Limits
Each plan includes a monthly event allowance:
| Plan | Monthly Events |
| --- | --- |
| Growth | 5,000,000 |
| Scale | 15,000,000 |
| Enterprise | Unlimited |
### What Counts as an Event
All tracked interactions count toward your event limit:
| Event Type | Counts? | Notes |
| --- | --- | --- |
| Pageview | Yes | Standard page load |
| Virtual pageview (SPA) | Yes | Single-page app navigation |
| Custom event | Yes | User-defined events |
| Conversion | Yes | Purchase, signup, etc. |
| Micro-conversion | Yes | Add-to-cart, etc. |
Bots are filtered out before they count: traditional bots neither consume the allowance nor appear in reports.
### Events Are Pooled
Events are pooled across all websites in your plan:
```plaintext
Plan: Growth (5M events)
Website 1 (main-store.com): 3,200,000 events
Website 2 (blog.company.com): 800,000 events
Website 3 (uk.store.com): 650,000 events
----------------------------------------------
Total used: 4,650,000 events
Remaining: 350,000 events
```
## No Overage Charges
Sealmetrics uses a **fixed-price billing model** with no surprise overage charges:
- **Your price is fixed** — you always pay the same amount per month
- **Tracking never stops** — if you exceed your limit, data collection continues uninterrupted
- **Free overage month** — one month per year of exceeding your limit is absorbed at no extra cost
- **Annual protection** — Growth and Scale annual plans absorb mid-year overages until renewal
### Auto-Upgrade Policy
If you **exceed your event limit (over 100%) for two consecutive months** that are not forgiven, your plan is moved up to the next tier:
| Current Plan | Behavior when over limit for 2 consecutive months |
| --- | --- |
| Growth (5M) | Automatically upgraded to Scale (15M) |
| Scale (15M) | **Not** auto-upgraded — you receive an email to discuss an Enterprise plan |
A single month over your limit triggers a warning email (or uses your free overage month for the year), not an upgrade. Auto-upgrade only applies to Stripe-billed accounts; if you subscribed through the Shopify App Store, you'll receive an email to upgrade manually from your Shopify Admin instead (see Billing channels).
## Billing channels
Sealmetrics can be billed through one of two channels (never both at once):
- **Stripe** — for accounts that sign up directly on sealmetrics.com. Prices are in EUR. This is the only channel where the auto-upgrade described above applies.
- **Shopify App Store** — for merchants who installed Sealmetrics from Shopify. Billing is managed from your **Shopify Admin** and prices are shown in USD. Sealmetrics cannot upgrade your plan automatically here; if you stay over your limit, you'll receive an email asking you to approve the new plan in Shopify Admin.
Accounts that have used their free 1M events and haven't selected a paid plan fall back to an internal **free** tier, which is not subject to event-limit usage tracking or auto-upgrade.
## Monitoring Usage
### Dashboard View
1. Go to **Settings > Billing**
2. View the **Event Usage** card showing current period usage
3. See the breakdown of human events
### Usage Alerts
You'll receive notifications at:
| Threshold | Notification Type |
| --- | --- |
| 80% | Email warning |
| 100% | Email + Dashboard alert |
| 120% | Email alert (you are well over your limit) |
These percentages are email alert thresholds only — reaching 120% in a single month does not trigger an upgrade. Auto-upgrade is a separate process based on two consecutive months over your limit (see Auto-Upgrade Policy).
## Other Limits
### Data Retention
Data retention is **fixed and identical for every plan** — it is enforced by database TTLs, not by plan tier: daily aggregates and conversion and microconversion events (one row per event) are kept **24 months**, hourly aggregates 90 days, and the per-hit log 1 day. See [Data Location & Retention](https://sealmetrics.com/docs/security-privacy/data-location.md).
### LENS AI usage
LENS AI works in two modes, with different limits:
- **[Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md)** (managed, EU-hosted, no API key — add-on on Growth, included in Scale/Enterprise): **5M tokens per calendar month**, plus any non-expiring token packs you purchase. When quota and packs run out, Seal AI stops until the monthly reset or a pack purchase (you can always fall back to BYOK).
- **Bring-your-own-key (BYOK)**: connect your own Anthropic, OpenAI, DeepSeek, or Gemini API key under **My Account → LLM Providers**. Sealmetrics imposes **no quota** — usage is billed directly by your provider.
See the [AI Assistant docs](https://sealmetrics.com/docs/lens/ai-assistant.md) for setup.
### Websites and Users
All plans include unlimited websites and unlimited users. There are no limits on the number of sites you can track or team members you can invite.
## Reducing Usage
### Optimize Tracking
If you're approaching limits, consider:
1. **Exclude internal traffic** — Don't install pixel on staging/development environments
2. **Filter bot traffic** — Enabled by default, removes known bots
### Monitor by Website
Identify high-usage websites:
1. Go to **Settings > Billing**
2. View the **Event Usage** card
3. Consider if all websites need full tracking
## Planning for Growth
### Upgrade Triggers
Consider upgrading when:
| Trigger | Recommendation |
| --- | --- |
| Approaching 80%+ usage regularly | Consider upgrading proactively |
| Need webhooks/audit logs | Upgrade to Scale |
| Need unlimited events | Contact Enterprise sales |
## FAQ
### Do bots count toward my limit?
No. Bots are filtered out before they count, and Sealmetrics does not show bot statistics.
### What happens if I hit my limit mid-month?
Tracking continues uninterrupted. There are no overage charges. If you exceed your limit for two consecutive months that aren't forgiven, a Growth plan is auto-upgraded to Scale; a Scale plan instead receives an email to discuss Enterprise (it is not auto-upgraded).
### Do unused events roll over?
No. Event allowances reset each billing cycle and don't roll over.
### How quickly does usage update?
Usage data is synced periodically. There may be a short delay before the latest events appear in your usage dashboard.
## Add-ons & Extras
URL: https://sealmetrics.com/docs/billing/add-ons/
Additional features and capacity you can add to your Sealmetrics plan, including the Seal AI Private add-on and extra token packs.
All plans already include unlimited websites and unlimited users. The add-ons below cover AI capacity and Enterprise custom needs.
## Seal AI Private
Sealmetrics' EU-hosted, platform-managed AI for [LENS](https://sealmetrics.com/docs/lens.md) — no API key needed, no prompt retention, processed entirely in the EU.
| | |
| --- | --- |
| Price | €299/month billed annually upfront (€3,588/year) · €358.80/month on monthly contracts |
| Included quota | 5M tokens per calendar month |
| Extra capacity | 5M token packs at €358.80 each (1–10 per checkout, **never expire**) |
| Availability | Add-on on Growth · **Included** in Scale and Enterprise · Not available on Free |
Full details: **[Seal AI Private](https://sealmetrics.com/docs/billing/seal-ai-private.md)**.
Prefer your own key? LENS is also BYOK
Instead of (or alongside) Seal AI Private, you can connect your **own** Anthropic, OpenAI, DeepSeek, or Gemini API key. With BYOK your AI usage is billed directly by that provider and Sealmetrics does not meter it. See [LLM Providers](https://sealmetrics.com/docs/platform/settings/llm.md).
## Enterprise Add-ons
For Enterprise plan customers with additional needs:
| Add-on | Description | Pricing |
| --- | --- | --- |
| Custom SLA | 99.99% uptime guarantee | Custom |
| Dedicated AM | Named account manager | Included in Enterprise |
Contact [sales@sealmetrics.com](mailto:sales@sealmetrics.com) for these options.
## Frequently Asked Questions
### Do I pay Sealmetrics extra for AI usage?
Only if you use **Seal AI Private** (the managed EU provider): it's a paid add-on on Growth and included in Scale/Enterprise, with a 5M token/month quota and optional token packs. If you use **your own LLM key (BYOK)** instead, Sealmetrics doesn't charge or meter anything — your usage is billed by your provider.
### Are there volume discounts?
Contact [sales@sealmetrics.com](mailto:sales@sealmetrics.com) for custom pricing.
## Invoices & Payments
URL: https://sealmetrics.com/docs/billing/invoices/
Managing invoices, payment methods, and billing information in Sealmetrics.
Manage your billing, view invoices, update payment methods, and handle billing-related tasks.
## Viewing Invoices
### Access Invoice History
1. Go to **Organization → Billing** in the sidebar
2. Scroll to the **Invoices** section, which lists your billing history
```plaintext
Invoices
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Invoice Date Amount Status
─────────────────────────────────────────────
INV-2026-04 Apr 15 €724.79 Paid
INV-2026-03 Mar 15 €724.79 Paid
INV-2026-02 Feb 15 €724.79 Paid
INV-2026-01 Jan 15 €724.79 Paid
```
Each invoice row shows the invoice number, date, amount, and payment status.
### Invoice Details
A typical invoice breaks down like this:
```plaintext
Invoice INV-2026-01
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Invoice Date: January 15, 2026
Due Date: January 15, 2026
Status: Paid
Bill To:
Your Company S.L.
Calle Example 123
28001 Madrid, Spain
VAT: ES12345678A
───────────────────────────────────────────
Description Amount
───────────────────────────────────────────
Sealmetrics Growth (Monthly) €599.00
Jan 15 - Feb 14, 2026
───────────────────────────────────────────
Subtotal €599.00
VAT (21%) €125.79
───────────────────────────────────────────
Total €724.79
Amount Paid €724.79
Balance Due €0.00
```
### Download Options
Each invoice in the list has a **download icon** to save the invoice as a **PDF**, and a link to open the invoice online in Stripe. There is no CSV export of invoices — if you need data in another format for your accounting software, contact [billing@sealmetrics.com](mailto:billing@sealmetrics.com).
## Invoice issuer & VAT
Your official invoices are issued through **Quaderno**, which Sealmetrics uses for VAT/tax compliance. Quaderno validates EU VAT numbers against **VIES** and applies the correct tax treatment per location. Card payments are processed by **Stripe**; if a Quaderno invoice is unavailable, Sealmetrics falls back to the Stripe invoice for that payment.
## Payment Methods
### Accessing Payment Settings
Sealmetrics uses **Stripe** for secure payment processing (cards). Official invoices are issued through **Quaderno** for VAT compliance — see Invoice issuer & VAT. To manage your payment methods:
1. Go to **Organization → Billing**
2. Click **Manage** next to your current plan
3. This opens the **Stripe Customer Portal** where you can: Add new cards
4. Update existing cards
5. Remove old payment methods
6. Set a default payment method
### Change Your Credit Card
To update or replace your credit card:
1. Go to **Organization → Billing**
2. Click **Manage** to open the Stripe Customer Portal
3. In the Stripe portal: Click **Add payment method** to add a new card
4. Or click on an existing card to update it
5. Enter your new card details
6. Set as default if desired
7. Click **Save**
```plaintext
Payment Methods (Stripe Portal)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Primary:
┌─────────────────────────────────────────┐
│ Visa ending in 4242 │
│ Expires 12/2027 │
│ [Default] │
└─────────────────────────────────────────┘
Backup:
┌─────────────────────────────────────────┐
│ Mastercard ending in 5555 │
│ Expires 08/2028 │
│ [Make Default] [Remove] │
└─────────────────────────────────────────┘
[+ Add Payment Method]
```
### Add Payment Method
1. Click **+ Add Payment Method**
2. Enter your credit or debit card details
3. Click **Save**
### Supported Payment Methods
Sealmetrics accepts credit and debit cards through Stripe:
| Method | Availability |
| --- | --- |
| Visa | All plans |
| Mastercard | All plans |
| American Express | All plans |
| Other Stripe-supported cards | All plans |
Bank transfer, SEPA Direct Debit, and PayPal are not currently supported.
### Update Expiring Card
When your card is expiring:
1. You'll receive email notification 30 days before
2. Go to **Organization → Billing** and click **Manage** to open the Stripe portal
3. Click on the expiring card
4. Update details or add new card
5. Set new card as default if needed
## Billing Information
### Company Details
- **Invoice email**: on **Organization → Billing** you can set an **accounting email** so invoices are also sent to your accounting department.
- **Company name, billing address, and payment details**: managed in the **Stripe Customer Portal** — click **Manage** on the Billing page.
- **VAT number and other invoice details**: contact **[billing@sealmetrics.com](mailto:billing@sealmetrics.com)** to add or correct them.
### VAT/Tax Information
Tax is calculated and applied by Quaderno based on your billing location and VAT status. The exact rate shown on your invoice depends on your case.
#### EU Customers
If you have a valid EU VAT number:
- Provide VAT ID during signup or in billing settings
- VAT reverse charge applies (0% VAT)
- You self-report VAT in your country
#### Non-EU Customers
- No VAT charged
- Local taxes may apply in your jurisdiction
#### Spanish Customers
- 21% IVA applies
- VAT shown on all invoices
### Invoice Customization
Request custom invoice details:
- Purchase order numbers
- Cost center codes
- Department names
- Custom fields
Contact [billing@sealmetrics.com](mailto:billing@sealmetrics.com) for custom invoice requirements.
## Billing Cycle
### Monthly Billing
- Charged on the same day each month
- Based on your signup/upgrade date
- Example: Signed up Jan 15 → Billed 15th of each month
### Annual Billing
- Charged once per year
- ~17% savings (2 months free)
- Example: Annual starting Jan 15 → Next charge Jan 15 next year
### Changing Billing Cycle
**Monthly to Annual:**
1. Go to **Settings → Billing → Plan**
2. Click **Switch to Annual**
3. Pay prorated annual amount (minus current month credit)
4. Save ~17% going forward
**Annual to Monthly:**
- Automatic at renewal if you choose not to renew annually
- Contact support mid-term for special circumstances
## Failed Payments
### Automatic Retry
When a payment fails, Stripe automatically retries it over the following days (Stripe Dunning). You'll be notified by email of the failure, and any scheduled retry date is shown in the failure banner. The exact retry schedule is managed by Stripe and may vary depending on your case.
### Manual Retry
To retry immediately:
1. Go to **Settings → Billing**
2. See payment failure banner
3. Click **Retry Payment**
4. Or update payment method and retry
### Preventing Service Interruption
If payment fails:
```plaintext
Payment Failed
Your payment of €599.00 failed on Jan 15.
Card ending in 4242 was declined.
Reason: Insufficient funds
Next automatic retry: Jan 18
[Update Payment Method] [Retry Now]
```
1. Update payment method with valid card
2. Click **Retry Now**
3. Service continues uninterrupted
## Refunds & Credits
### Cancellation Refunds
Refund eligibility depends on your plan and circumstances. As a general guideline, monthly plans run until the end of the current period without a refund, while annual plans may qualify for a prorated refund depending on your case. Contact [billing@sealmetrics.com](mailto:billing@sealmetrics.com) to review your situation.
### Service Credits
Credits may be issued for:
- SLA violations
- Extended outages
- Billing errors
Credits appear on next invoice:
```plaintext
Invoice INV-2026-02
───────────────────────────────────────────
Sealmetrics Growth (Monthly) €599.00
Credit: January SLA compensation -€59.90
───────────────────────────────────────────
Total €539.10
```
### Requesting Refund
For refund requests:
1. Email [billing@sealmetrics.com](mailto:billing@sealmetrics.com)
2. Include invoice number
3. Explain circumstances
4. Response within 2 business days
## Receipts & Tax Documents
### Payment Receipts
Receipts are sent automatically after each payment:
- Sent to billing email
- Includes payment confirmation
- Links to full invoice
### Annual Tax Summary
If you need an annual summary of your payments for tax purposes, email **[billing@sealmetrics.com](mailto:billing@sealmetrics.com)** with your account email and the year you need. There is no self-service annual summary in the dashboard.
### VAT Invoices
All invoices include:
- Your VAT number (if provided)
- Our VAT number (included automatically)
- VAT breakdown
- Invoice date and number
## Contact Billing Support
For billing questions:
- **Email:** [billing@sealmetrics.com](mailto:billing@sealmetrics.com)
- **Response time:** 1 business day
- **Include:** Account email, invoice number (if relevant)
Common requests:
- Invoice copies
- Payment receipts
- VAT corrections
- Custom billing arrangements
## Seal AI Private
URL: https://sealmetrics.com/docs/billing/seal-ai-private/
Seal AI Private: Sealmetrics' EU-hosted AI add-on running gpt-oss-120b on Scaleway in Paris — pricing, the 5M monthly token quota, token packs, plan availability, and why OpenAI never sees your prompts.
**Seal AI Private** is Sealmetrics' platform-managed AI provider for [LENS AI](https://sealmetrics.com/docs/lens.md): your chat questions and AI insights are processed entirely in the **EU (Paris)**, with **no prompt retention**, and your data never trains third-party models. No API key required — it works out of the box.
It is available as a paid **add-on** on Growth plans and is **included** in Scale and Enterprise plans.
## What powers it
| | |
| --- | --- |
| Model | **`gpt-oss-120b`** — open weights, Apache 2.0 |
| Served by | **Scaleway SAS** (Iliad group) — Paris, France |
| Retention | None. Token counters only |
"GPT" is the model's lineage, not its vendor
**OpenAI is not involved and never receives your prompts.** `gpt-oss-120b` is an open-weights model published under Apache 2.0 — a static public artifact loaded onto Scaleway's infrastructure in Paris. There is no call to OpenAI anywhere in the request path, and no contract with OpenAI behind this service.
Scaleway is a named subprocessor in Annex 3 of our [DPA](https://sealmetrics.com/dpa.md), which is the authoritative and always-current list. For why this model was chosen over the alternatives — including the two we tried and replaced first — see [Why Seal AI runs on gpt-oss-120b](https://sealmetrics.com/docs/lens/seal-ai/model-selection.md); for how the request path is isolated, see [How Seal AI works](https://sealmetrics.com/docs/lens/seal-ai/private-ai-architecture.md).
If you use [BYOK](https://sealmetrics.com/docs/platform/settings/llm.md) instead, none of the above applies: your prompts go to your own provider, under your own key and your own contract, and that provider is not a Sealmetrics subprocessor.
The prices on this page are for Seal AI Private only — not for LENS
**LENS AI itself costs nothing extra.** It is included in every paid plan, and using it with [your own LLM key (BYOK)](https://sealmetrics.com/docs/platform/settings/llm.md) carries **no Sealmetrics charge at all** — no add-on fee, no token quota, no packs. You pay only your own provider (OpenAI, Anthropic, Gemini or DeepSeek) for what you use.
The pricing below applies **only if you choose Seal AI Private**, our managed EU-hosted LLM, instead of supplying your own key. It is a convenience and data-residency option, not a requirement for using LENS.
## Pricing
| Contract | Price |
| --- | --- |
| Annual contracts | **€299/month**, billed **€3,588/year upfront** |
| Monthly contracts | **€358.80/month** |
Activating the add-on mid-cycle is **not prorated** — billing starts at your next billing cycle. The add-on follows the billing interval of your base subscription.
## Availability by plan
| Plan | Seal AI Private |
| --- | --- |
| Free | Not available |
| Growth | Available as a paid add-on |
| Scale | **Included** |
| Enterprise | **Included** |
## The token quota
- Seal AI Private includes **5 million tokens per calendar month (UTC)**. Unused tokens do **not** roll over.
- Tokens are counted as prompt + completion tokens of each AI request (chat questions and automated LENS insights both draw from the same quota).
- At **80%** and **100%** consumption, the organization receives an email alert (once per month each).
### When the quota runs out
When the monthly quota and any pack balance are exhausted, Seal AI Private **stops** (hard stop) for both chat and insights, and the product shows a message with a purchase option. Two ways to keep going:
1. **Buy a token pack** (below), or
2. **Switch to your own key (BYOK)** — free of charge from Sealmetrics. The chat's provider selector lets any user fall back to their own OpenAI, Anthropic, Gemini, or DeepSeek key at any time, with no quota. See [LLM Providers](https://sealmetrics.com/docs/platform/settings/llm.md).
## Extra token packs
| | |
| --- | --- |
| Size | **5,000,000 tokens** per pack |
| Price | **€358.80 per pack** (same price on all contracts) |
| Quantity | 1–10 packs per checkout |
| Expiry | **Packs never expire** — pack tokens are consumed only after the monthly 5M quota is exhausted |
Packs are a **one-time purchase** (no auto-recharge) made from the [Seal AI Usage screen](https://sealmetrics.com/docs/platform/settings/seal-ai-usage.md) via Stripe checkout. Only organization **owners** can purchase.
## Who can manage it
| Action | Who |
| --- | --- |
| View the [Seal AI Usage screen](https://sealmetrics.com/docs/platform/settings/seal-ai-usage.md) | Organization **owner** and **admins** |
| Activate the add-on / buy packs / cancel | Organization **owner** only |
| Members | No menu entry; the chat still shows the aggregate quota ring, and on exhaustion members see "contact your admin" |
Cancelling the add-on takes effect at the end of the current billing period.
## For developers
Seal AI Private is managed through these API endpoints (JWT with `billing:manage` — organization owners):
| Endpoint | Description |
| --- | --- |
| `POST /billing/seal-ai/subscribe` | Add the add-on to the org's subscription (no proration; `403` on Free, `409` if already included in plan or already active) |
| `POST /billing/seal-ai/unsubscribe` | Remove the add-on at period end |
| `POST /billing/seal-ai/token-pack/checkout` | Stripe checkout for 1–10 token packs (entitled orgs only) |
| `GET /organizations/{slug}/seal-ai/usage` | Monthly usage summary — see [Organizations API](https://sealmetrics.com/docs/api/organizations/#seal-ai-usage) |
When the quota is exhausted, AI endpoints return `403` with `error_code: "seal_ai_quota_exceeded"` and a structured payload (`used_tokens`, `pack_balance_tokens`, `effective_quota_tokens`, `can_buy_pack`, `entitlement_source`, `resets_at`). See [LENS API](https://sealmetrics.com/docs/lens/api/lens-endpoints.md).
## Related documentation
- [Seal AI Usage screen](https://sealmetrics.com/docs/platform/settings/seal-ai-usage.md) — the consumption dashboard
- [LLM Providers](https://sealmetrics.com/docs/platform/settings/llm.md) — Seal AI Private vs. bring-your-own-key
- [LENS AI](https://sealmetrics.com/docs/lens.md) — what the AI can do
- [Why Seal AI runs on gpt-oss-120b](https://sealmetrics.com/docs/lens/seal-ai/model-selection.md) — the model audit and the trade-offs
- [How Seal AI works](https://sealmetrics.com/docs/lens/seal-ai/private-ai-architecture.md) — the request path and isolation model
- [Plans & Pricing](https://sealmetrics.com/docs/billing.md) — base plan pricing
## Billing FAQ
URL: https://sealmetrics.com/docs/billing/faq/
Frequently asked questions about Sealmetrics pricing, billing, and payments.
Common questions about plans, pricing, and billing.
## Plans & Pricing
### Which plan is right for me?
| Your Situation | Recommended Plan |
| --- | --- |
| Trying Sealmetrics on a small site, up to 1M events total | Free tier |
| Growing team, up to 5M events | Growth |
| Multi-brand retailer, up to 15M events | Scale |
| Unlimited events, custom requirements | Enterprise |
### Can I try before I buy?
Yes. Every account starts with its **first 1M events free** — in total over the life of the account, not per month — with no card required. There is no time-limited trial: billing starts only once that million is used, whether that takes a week or a year.
### Is there a free tier?
Yes. Signing up self-service — create an account, verify your email, then create an organization — starts you on a **free tier** with no credit card required: **1,000,000 events total**, cumulative for the life of the organization and not reset monthly. Sites provisioned through the [Agentic Package](https://sealmetrics.com/docs/integrations/agentic-package.md) start on the same free tier. Once the million events are used, measurement pauses until you choose a plan, and nothing is charged automatically. We also offer special pricing for nonprofits and early-stage startups.
### Do you offer discounts?
| Discount | Amount | How to Get |
| --- | --- | --- |
| Annual billing | ~17% savings (2 months free) | Select annual at checkout |
| Promo / coupon code | Varies | Enter the code at checkout |
| Nonprofits, startups, education | Varies by case | Email [sales@sealmetrics.com](mailto:sales@sealmetrics.com) |
If you have a promotional code, you can enter it during checkout — the code is validated (expiry, usage limits, and any plan restrictions) and the discount is applied to your subscription before payment.
### What currency do you charge in?
All prices are in Euros (EUR). Charges appear in EUR on your statement; your bank handles conversion if needed.
## Changing Plans
### Can I upgrade at any time?
Yes. Upgrades take effect immediately:
- You get instant access to new features
- Prorated charge for the remainder of your billing period
### Can I downgrade at any time?
Yes. Downgrades take effect at your next billing cycle:
- You keep current features until period ends
- New (lower) rate applies on next bill
### Can I switch from monthly to annual?
Yes. You'll:
1. Pay prorated annual amount (minus credit for current month)
2. Start saving ~17% immediately
3. Next charge is in 12 months
## Billing & Payments
### When am I charged?
- **Monthly:** Same day each month (based on signup date)
- **Annual:** Once per year on your signup anniversary
### Can I subscribe through Shopify?
Yes. If you install Sealmetrics from the Shopify App Store, billing is handled through Shopify's Managed Pricing and managed from your **Shopify Admin** (prices shown in USD). Otherwise, signing up directly on sealmetrics.com bills through Stripe (in EUR). An account uses one channel or the other, never both at the same time.
### What payment methods do you accept?
| Method | Availability |
| --- | --- |
| Credit/debit cards (Visa, Mastercard, Amex) | All plans |
| Other Stripe-supported cards | All plans |
Payments are processed securely through Stripe. Bank transfer, SEPA Direct Debit, and PayPal are not currently supported.
### Do I get an invoice?
Yes. Every payment generates an invoice with:
- Itemized charges
- VAT breakdown (EU)
- PDF download option
Invoices are issued through Quaderno for VAT compliance, with EU VAT numbers validated against VIES. See [Invoices & Payments](https://sealmetrics.com/docs/billing/invoices.md) for details.
### Can I add a PO number to invoices?
There is no self-service field for PO numbers in the dashboard. Contact **[billing@sealmetrics.com](mailto:billing@sealmetrics.com)** with your PO number and we will include it on your invoices.
## Limits & Overages
### What counts as an event?
Events include pageviews, virtual pageviews (SPAs), conversions, micro-conversions, and custom events. All event types count toward your monthly limit.
### What happens if I exceed my event limit?
1. Tracking continues (no data loss)
2. **No overage charges** — your monthly price stays fixed
3. One free overage month per year is included (used automatically for the first month you go over)
4. If you exceed your limit for two consecutive months that aren't forgiven, a Growth plan is auto-upgraded to Scale. A Scale plan is **not** auto-upgraded — instead you receive an email to discuss an Enterprise plan. (Auto-upgrade applies to Stripe-billed accounts; Shopify-billed accounts are asked to upgrade manually in Shopify Admin.)
### Do unused events roll over?
No. Event allowances reset each billing cycle.
## Free start & Cancellation
### What happens when my first 1M events are used?
Measurement pauses until you choose a plan. Nothing is charged automatically: billing starts only when you pick a plan and enter a payment method.
### How do I cancel?
1. Go to **Settings > Billing > Plan**
2. Click **Cancel Subscription**
3. Confirm cancellation
4. Access continues until period ends
### Is there a cancellation fee?
No. Cancel anytime with no penalties.
### Can I get a refund?
Refund eligibility depends on your plan and circumstances. In general, monthly plans run to the end of the current period, while annual plans may qualify for a prorated refund depending on your case. Contact [billing@sealmetrics.com](mailto:billing@sealmetrics.com) to review your situation.
### What happens to my data after cancellation?
After cancellation your account becomes read-only and your data is retained for a limited period during which you can still export it, after which it may be permanently deleted. Exact retention timing depends on your case, so export your data before cancelling if you need it. Contact [billing@sealmetrics.com](mailto:billing@sealmetrics.com) if you have specific retention questions.
## Taxes
### Do you charge VAT?
| Location | VAT Treatment |
| --- | --- |
| Spain | 21% IVA charged |
| EU with valid VAT ID | Reverse charge (0%) |
| EU without VAT ID | Your country's VAT rate |
| Non-EU | No VAT |
### How do I add my VAT number?
Provide your VAT ID during signup, or contact **[billing@sealmetrics.com](mailto:billing@sealmetrics.com)** to add it to your account. VAT numbers are validated against VIES, and future invoices then show the reverse charge treatment.
### Can I get a VAT refund for past invoices?
If you forgot to add your VAT ID, contact [billing@sealmetrics.com](mailto:billing@sealmetrics.com) with:
- Your VAT number
- Invoice numbers affected
We'll issue corrected invoices and credit the VAT.
## Users & Teams
### Can multiple people share one login?
No. Each team member should have their own login for:
- Security (audit trail)
- Personalized settings
- Individual permissions
### How many users can I have?
All plans include unlimited users. There is no user limit on any plan.
### Can I give clients read-only access?
Yes. Invite users with "Viewer" role. They can see dashboards but not change settings.
## Security
### Is my payment information secure?
Yes. We use Stripe for payment processing:
- PCI DSS Level 1 certified
- We never see or store your full card number
- All transactions encrypted
### Can I use 2FA for billing?
2FA protects your entire account, including billing. Enable at **Settings > Security > Two-Factor Authentication**.
## Getting Help
### Who do I contact for billing issues?
- **Email:** [billing@sealmetrics.com](mailto:billing@sealmetrics.com)
- **Response time:** 1 business day
- **Include:** Account email and relevant invoice numbers
### Can I talk to someone about pricing?
Yes! For custom pricing or questions:
- **Email:** [sales@sealmetrics.com](mailto:sales@sealmetrics.com)
### Where can I see my current plan and usage?
Go to **Settings > Billing** for:
- Current plan details
- Usage statistics
- Invoice history
- Payment methods
---
# Troubleshooting
## Troubleshooting
URL: https://sealmetrics.com/docs/troubleshooting/
Diagnose and fix common Sealmetrics issues: verify tracker installation in DevTools, confirm data collection with the Last hit timestamp, and resolve missing data.
Solutions for common issues with Sealmetrics tracking and reporting.
## Guides
| Guide | Use it when… |
| --- | --- |
| [Tracker or pixel not working](https://sealmetrics.com/docs/troubleshooting/tracker-not-working.md) | No data appearing at all — start here to triage which specific problem you have |
| [GTM Consent Mode blocking the tag](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md) | Data dropped after a CMP/consent banner went live, or only consenting visitors are tracked |
| [CSP errors: domains to allow](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md) | The console shows "Refused to load the script" / "Refused to connect" policy errors |
| [Duplicate pageviews](https://sealmetrics.com/docs/troubleshooting/duplicate-pageviews.md) | Pageviews doubled: script included twice, stub without `?auto=0`, or SPA without `?spa=0` |
| [Dates & timezone mismatch](https://sealmetrics.com/docs/troubleshooting/dates-timezone-mismatch.md) | Daily totals don't line up with another tool or your backend |
| [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md) | The snippet is installed but hits from a domain are silently rejected |
| [Data delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md) | Data seems to take longer than seconds to appear |
| [Conversions not appearing](https://sealmetrics.com/docs/troubleshooting/conversions-not-appearing.md) | Pageviews work but a conversion never reaches the Conversions report |
| [Numbers lower than another tool](https://sealmetrics.com/docs/troubleshooting/lower-numbers-than-other-tools.md) | Sealmetrics reports fewer visits than other analytics tools |
| [Test traffic blocked as bot](https://sealmetrics.com/docs/troubleshooting/test-traffic-blocked-as-bot.md) | Your own automated test visits (Selenium, Playwright, curl…) never show up |
| [Reconciling with your ERP, CRM, or database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) | Substantial conversion gaps against your source of truth |
| [Fixing `ReferenceError: sealmetrics is not defined`](https://sealmetrics.com/docs/troubleshooting/sealmetrics-is-not-defined.md) | Ad blockers break pages that call `sealmetrics.*` directly |
## Quick Diagnostics
### Check Tracker Installation
1. Open your website in a browser
2. Open Developer Tools (F12)
3. Go to the **Network** tab
4. Filter by `sealmetrics` or `pixel`
5. Reload the page
You should see:
- `t.js` script loading (200 OK)
- Beacon/fetch request to `t.sealmetrics.com` (204 No Content)
### Verify Data Collection
1. Log in to [my.sealmetrics.com](https://my.sealmetrics.com)
2. Open the **Overview** report
3. Visit your website in another tab
4. The **Last hit** timestamp at the top right should update within seconds
## Common Issues
### Tracking Not Working
**Symptoms:** No data appearing in dashboard
**Solutions:**
1. **Check script installation** ```javascript
// In browser console
console.log(typeof sealmetrics);
// Should output: "function"
```
2. **Verify Site ID** Confirm your Site ID matches the one in your tracker script
3. Find your Site ID in Settings → Sites → [your site] → General tab
4. **Check domain authorization** Go to Settings → Sites → [your site] → Domains
5. Ensure your website domain is listed — see [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md)
6. **Check for JavaScript errors** Open browser console (F12 → Console)
7. Look for any errors related to sealmetrics
### Conversions Not Appearing
**Symptoms:** Pageviews work but conversions don't show up
**Solutions:**
1. **Verify conversion code** ```javascript
// Check if tracker is loaded before calling
if (typeof sealmetrics !== 'undefined') {
sealmetrics.conv('purchase', 99.99);
}
```
2. **Check Network tab** Look for the beacon request after conversion fires
3. Verify the payload contains `"e":"purchase"` and `"v":99.99`
4. **Timing issues** Ensure `sealmetrics.conv()` is called AFTER the script loads
5. Use `window.addEventListener('load',...)` for page load events
6. **Full checklist** — [Conversions not appearing](https://sealmetrics.com/docs/troubleshooting/conversions-not-appearing.md) covers snippet signature, numeric amounts, flow variants, and report verification step by step
For substantial discrepancies between Sealmetrics and your ERP / CRM / internal database (missing conversions when reconciling totals), see [Conversions Don't Match Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — it walks through the firing-order requirement of the base pixel vs. the conversion pixel and the long tail of secondary causes.
### Duplicate Conversions
**Symptoms:** Same order appearing multiple times
**Solutions:**
1. **Server-side deduplication** (recommended) ```php
if (!$order->isTracked()) {
echo '';
$order->markAsTracked();
}
```
### SPA Navigation Not Tracked
**Symptoms:** Only first page view appears, navigation ignored
**Solutions:**
The tracker automatically detects History API navigation. If it's not working:
1. **Hash-based routing** Hash changes (`#/page`) require manual tracking
2. **Custom routing** If using a custom router, call `sealmetrics()` on route changes
3. If you fire pageviews manually on History API navigation, load the tracker with `?spa=0` to avoid double counting — see [Duplicate pageviews](https://sealmetrics.com/docs/troubleshooting/duplicate-pageviews.md)
### Data Discrepancy with Other Tools
**Symptoms:** Different numbers than Google Analytics
This is expected. Sealmetrics differs because:
1. **No cookies** — Sealmetrics uses cookieless session identification, GA uses cookies
2. **Bot filtering** — Sealmetrics has different bot detection
3. **Session definition** — Different session timeout rules
4. **Ad blocker immunity** — Sealmetrics tracks users blocked by ad blockers
See [Numbers lower than another tool](https://sealmetrics.com/docs/troubleshooting/lower-numbers-than-other-tools.md) for the diagnosis guide and [GA4 vs Sealmetrics](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md) for the detailed comparison.
## Network Issues
### Blocked by Ad Blockers
// ... full example at https://sealmetrics.com/docs/troubleshooting/
```
2. **Or use JavaScript** ```javascript
sealmetrics({ group: 'blog' });
```
3. **Check Reports** — Content groups appear in Pages report filters
## GTM-Specific Issues
### Tags Not Firing
1. **Consent gating** — The number one cause: the tag waits for consent it doesn't need. See [GTM Consent Mode blocking](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md)
2. **Verify trigger** — Check GTM Preview mode
3. **Check tag type** — Use Custom HTML tag
4. **Timing** — Ensure tag fires before page unload
See [Google Tag Manager integration](https://sealmetrics.com/docs/integrations/google-tag-manager.md) for detailed setup.
### Duplicate Pageviews with GTM
If the tracker is both hardcoded and loaded via GTM, or a stub-queued pageview runs without `?auto=0`, every load counts twice. See [Duplicate pageviews](https://sealmetrics.com/docs/troubleshooting/duplicate-pageviews.md).
## Still Having Issues?
1. **Check the FAQ** — [Common questions](https://sealmetrics.com/docs/faq.md)
2. **Contact support** — [support@sealmetrics.com](mailto:support@sealmetrics.com)
3. **Community** — [GitHub discussions](https://github.com/sealmetrics)
## Tracker or Pixel Not Working: No Data Appearing
URL: https://sealmetrics.com/docs/troubleshooting/tracker-not-working/
What to check when the Sealmetrics tracker or pixel is not working and no data appears in your dashboard: a 60-second check plus a symptom-by-symptom triage to the right fix.
If the tracker (pixel) seems to be not working — no data showing in your dashboard, no visits recorded, or tracking that suddenly stopped — the cause is almost always one of six things: the script isn't loading, consent tooling is blocking it, the domain isn't authorized, the Site ID is wrong, your own traffic is being filtered, or you're simply looking at the wrong date range. This page gets you to the right fix in a couple of minutes.
## The 60-second check
Do these two checks first — together they tell you which half of the problem you have.
**1. Is the pixel firing on your site?**
1. Open your website in a browser
2. Open Developer Tools (F12) → **Network** tab
3. Filter by `sealmetrics`
4. Reload the page
You should see the `t.js` script load (200 OK) and a beacon request to `t.sealmetrics.com` (204 No Content).
**2. Is Sealmetrics receiving anything?**
1. Open the **Overview** report at [my.sealmetrics.com](https://my.sealmetrics.com)
2. Check the **Last hit** timestamp at the top right — it updates within seconds of a tracked visit
| Pixel fires | Last hit updates | Meaning |
| --- | --- | --- |
| No | No | The script never loads → script not loading |
| Yes | No | The hit is sent but rejected → hits rejected |
| Yes | Yes | Data arrives; the report view is the issue → data exists but you can't see it |
## The script is not loading at all
No `t.js` request appears in the Network tab. Most common causes, in order:
1. **The snippet isn't on the page (or not on all pages).** View the page source and search for `sealmetrics`. If it's missing, revisit the [installation guide](https://sealmetrics.com/docs/implementation/tracker/installation.md) or your platform's integration ([WordPress](https://sealmetrics.com/docs/integrations/cms/wordpress.md), [Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify.md), [GTM](https://sealmetrics.com/docs/integrations/google-tag-manager.md)).
2. **GTM Consent Mode is holding the tag back.** If you load the tracker via Google Tag Manager and a consent banner went live recently, the tag is probably waiting for consent it doesn't need. See [GTM Consent Mode blocking the tag](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md).
3. **Your Content-Security-Policy blocks the script.** The console shows "Refused to load the script" errors. See [CSP errors: domains to allow](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md).
4. **An ad blocker on *your* browser.** Test in a private window with extensions disabled before concluding the tracker is broken — Sealmetrics resists ad blockers, but your own aggressive blocker can still hide requests locally. For a permanent solution, use [first-party tracking](https://sealmetrics.com/docs/implementation/tracker/first-party.md).
5. **Page errors before the snippet runs.** Check the Console tab for a `ReferenceError: sealmetrics is not defined` — see [the stub-buffer fix](https://sealmetrics.com/docs/troubleshooting/sealmetrics-is-not-defined.md).
## The pixel fires but no data reaches the dashboard
The beacon request appears in the Network tab, but **Last hit** never updates. The hit is being rejected server-side:
1. **Unauthorized domain** — the most common cause. Hits from domains not listed for the site are silently dropped. Go to Settings → Sites → [your site] → Domains and check the exact hostname (including `www.` vs apex). Full guide: [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md).
2. **Wrong Site ID.** The `id=` in your snippet must match the Site ID in Settings → Sites → [your site] → General tab (the same value the **Pixel Code** tab embeds in the generated snippet). See [How to find your Site ID](https://sealmetrics.com/docs/platform/account-setup/find-account-id.md).
3. **Your IP is excluded.** If your office or VPN IP is listed under [IP exclusions](https://sealmetrics.com/docs/platform/settings/tracking/ip-exclusions.md), your own visits will never appear — test from another network or a mobile connection.
4. **Your test visits look like a bot.** Automated visits (Selenium, Playwright, curl, headless Chrome) are filtered. See [Test traffic blocked as bot](https://sealmetrics.com/docs/troubleshooting/test-traffic-blocked-as-bot.md).
## Data arrives but you don't see it in reports
**Last hit** updates, so tracking works — the issue is where you're looking:
1. **Date range and timezone.** "Today" is defined by the site's timezone, not yours. See [Dates & timezone mismatch](https://sealmetrics.com/docs/troubleshooting/dates-timezone-mismatch.md).
2. **Brief processing delay.** Hits normally land in seconds; during traffic spikes a short queue delay is normal. Decision tree: [Data delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md).
3. **Wrong site selected.** With multiple sites in the account, confirm the site picker at the top matches the domain you're testing.
## Tracking worked before and suddenly stopped
When data flowed historically and then dropped to zero (or dropped sharply) on a specific date, ask what changed that day:
- **A consent banner / CMP went live** → [GTM Consent Mode blocking](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md)
- **A site redesign or theme change removed the snippet** → re-check the [installation](https://sealmetrics.com/docs/implementation/tracker/installation.md)
- **A CSP or security header was added** → [CSP errors](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md)
- **The domain changed** (new domain, added `www.`, moved to a subdomain) → [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md)
- **Numbers dropped but not to zero** → that's a different problem; see [Numbers lower than another tool](https://sealmetrics.com/docs/troubleshooting/lower-numbers-than-other-tools.md)
## Pageviews work but conversions don't
That's its own checklist — correct `conv()` signature, numeric amount, base pixel firing first: [Conversions not appearing](https://sealmetrics.com/docs/troubleshooting/conversions-not-appearing.md).
## Still stuck?
Write to **[support@sealmetrics.com](mailto:support@sealmetrics.com)** and include: the page URL you tested, a screenshot of the Network tab filtered by `sealmetrics`, and your Site ID. Those three things let support reproduce the problem immediately.
## Fixing ReferenceError: sealmetrics is not defined
URL: https://sealmetrics.com/docs/troubleshooting/sealmetrics-is-not-defined/
How to keep your site working when ad blockers, privacy extensions, or DNS filters prevent the Sealmetrics tracker from loading.
A guide for the customer's IT / development team. It resolves the `ReferenceError: sealmetrics is not defined` that appears when a blocker prevents the tracker from loading.
## The problem
When a visitor has an ad blocker, privacy extension, corporate firewall, or DNS filter active (uBlock Origin, AdGuard, Brave Shields, NextDNS, Pi-hole, etc.), the browser will not download `t.sealmetrics.com/t.js`. The `window.sealmetrics` variable is never created.
If your code (for example, a GTM tag) calls the API directly:
```javascript
sealmetrics.micro("Add_to_cart", { ... });
```
the browser throws `ReferenceError: sealmetrics is not defined`. That error halts execution of the JavaScript block where the call lives. If that block also contains UI, form, or navigation logic, the page breaks for the user.
This is **not a tracker bug**. It is the normal consequence of invoking any third-party library (GA4, Meta Pixel, Hotjar, Sealmetrics…) without protecting yourself against the "script blocked" case.
## The solution: stub buffer in `` (RECOMMENDED)
Inject this snippet once, inline in the ``, **before any call to `sealmetrics.*`** and **before** the main tracker script:
```html
```
### What it does
- Creates `window.sealmetrics`, `sealmetrics.conv`, and `sealmetrics.micro` as empty functions that enqueue calls into `sealmetrics.q`.
- If the real script loads: it drains the queue in FIFO order and sends every pending event.
- If the real script is blocked: the calls are absorbed silently. Zero console errors. Zero broken pages.
### Characteristics
- **Size:** ~180 bytes gzipped. No Core Web Vitals impact.
- **Idempotent:** pasting it twice does nothing. The `||` guards take care of that.
- **No dependencies:** ES5, compatible with every browser.
- **Industry-standard pattern**, same as `fbq` (Meta Pixel), `gtag` (Google), `_paq` (Matomo).
### Installing it from GTM
If you do not have access to the site HTML and everything is managed from GTM:
1. Create a new **Custom HTML** tag.
2. Paste the stub snippet (the `` block).
3. **Trigger:** `Initialization - All Pages` (`gtm.init`). This is the earliest GTM event.
4. **Priority:** maximum (for example, `1000`). This guarantees the stub runs before any other tag that calls `sealmetrics.*`.
5. Publish the container.
From that point on, every other tag can call `sealmetrics.micro(...)` or `sealmetrics.conv(...)` directly, without wrapping each call in a `typeof` guard.
## Alternative solution: per-call guard
If for any reason you cannot inject the stub (restrictive policies, no access to ``, etc.), wrap each tracker call with a check:
```javascript
if (typeof window.sealmetrics !== "undefined" && typeof window.sealmetrics.micro === "function") {
sealmetrics.micro("Add_to_cart", {
product_id: {{Product ID}},
product_name: {{Product Name}},
category: {{Product Category}},
page_title: {{Page Title}}
});
}
```
The `{{...}}` placeholders are GTM variable references — replace them with your own Data Layer variables.
For conversions:
```javascript
if (typeof window.sealmetrics !== "undefined" && typeof window.sealmetrics.conv === "function") {
sealmetrics.conv("purchase", 89.99, { currency: "EUR" });
}
```
### When to use this option
- Only when you cannot inject the stub.
- Assume the `if` has to be repeated in **every** GTM tag that calls the tracker. With many events, the maintenance cost grows fast.
## Summary table
| Aspect | Stub buffer (HEAD) | Per-call guard |
| --- | --- | --- |
| Install effort | Once | Once per call |
| Maintenance | None | High (every new tag needs the `if`) |
| Events lost if the script loads late | No (queued and drained) | Yes (calls before load are lost) |
| Size | ~180 bytes gzip | 0 |
| Recommended | Yes | Only as a fallback |
## What NOT to do
- **Do not disable the tracker.** The error does not come from the tracker — it comes from invoking it without protection. Disabling it fixes nothing structurally and leaves you without measurement.
- **Do not wrap every call in `try/catch`.** It works, but it hides other legitimate errors in the same block. The `typeof` guard is cleaner.
- **Do not load the tracker with `async` and assume it is available immediately.** Even when it loads, there is a window of time during which `window.sealmetrics` does not exist yet. The stub solves this without effort.
- **Do not paste the stub inside an iframe** (for example, a Shopify Web Pixel). The stub must live on the host page so the queued calls are drained by the tracker loaded in the same context.
## Verification
After installing the stub:
1. Open the site in a browser with uBlock Origin (or any blocker) active and filtering `sealmetrics.com`.
2. Open the browser console.
3. Navigate and fire events (clicks, conversions, etc.).
4. `ReferenceError: sealmetrics is not defined` must **not** appear.
5. The page must continue working normally (forms, navigation, UI).
Then disable the blocker and repeat: the calls must reach the Sealmetrics backend exactly as before.
## Related
- [Tracker installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — base setup, including the pre-load queue stub for deferred loading.
- [Tracker API reference](https://sealmetrics.com/docs/implementation/tracker/api-reference.md) — full `sealmetrics()`, `conv()`, and `micro()` signatures.
- [Google Tag Manager integration](https://sealmetrics.com/docs/integrations/google-tag-manager.md) — recommended setup for GTM.
- [Conversions Don't Match Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — diagnose substantial discrepancies between Sealmetrics and your source of truth.
## Sealmetrics Tag Not Firing in GTM (Consent Mode)
URL: https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking/
Why gating the Sealmetrics tag behind a consent management platform silently drops most of your data, how to diagnose it in GTM Preview, and how to configure the tag correctly.
The single most common cause of "Sealmetrics is missing data" is a Google Tag Manager container where the Sealmetrics tag is **gated behind consent** — either by GTM Consent Mode settings on the tag or by a consent management platform (Cookiebot, OneTrust, Usercentrics, Didomi, etc.) that blocks Custom HTML tags until the visitor clicks "Accept".
Sealmetrics is **cookieless and consentless by design**: it sets no cookies and uses no persistent identifiers, so, in our self-assessment, it does not require consent for its own analytics (in Germany an open question — see [Germany](https://sealmetrics.com/docs/compliance/germany-ttdsg-self-assessment.md)). Gating it behind a consent banner does not add any compliance benefit — it only removes from your reports every visitor who ignores or declines the banner, a share that is specific to each site.
## Symptoms
- Traffic in Sealmetrics dropped sharply the day a CMP or Consent Mode went live.
- Sealmetrics shows far fewer entrances than your server logs or ad platform clicks.
- Data only appears for visits where the tester clicked "Accept all" on the banner.
- In GTM Preview, the Sealmetrics tag shows as not fired or waiting for consent on page load.
## Diagnosis
1. **Open your site in a private window** (no prior consent choice stored).
2. Open **Developer Tools → Network** and filter by `sealmetrics`.
3. Load a page and **do not interact with the consent banner**. If no request to `t.js` appears until you click "Accept", the tag is consent-gated.
4. Confirm in **GTM Preview mode**: select the pageview event and check the Sealmetrics tag's status. A tag held back by Consent Mode does not appear under **Tags Fired** on page load.
5. Cross-check the dashboard: the **Last hit** timestamp on the **Overview** report updates within seconds of an unblocked hit. If it only moves after you grant consent, you have confirmed the cause.
## Solution
### 1. Remove the consent gate from the Sealmetrics tag
In GTM:
1. Open the Sealmetrics tag (Custom HTML or template tag).
2. Go to **Advanced Settings → Consent Settings**.
3. Select **No additional consent required**.
4. Make sure the tag's **trigger** is `Initialization - All Pages` (or `All Pages`) — not a custom "consent granted" event pushed by your CMP.
5. If your CMP has its own "auto-blocking" feature that rewrites or blocks scripts by domain, add `t.sealmetrics.com` (or your [first-party tracker domain](https://sealmetrics.com/docs/implementation/tracker/first-party.md)) to its allowlist of non-consent-required vendors.
6. Publish the container.
This is the configuration recommended in the [Google Tag Manager integration guide](https://sealmetrics.com/docs/integrations/google-tag-manager.md): Sealmetrics is cookieless and consentless by design, so a CMP should not block it.
### 2. Use the canonical GTM pattern (stub + `?auto=0`)
If other tags in your container call `sealmetrics(...)` and the load order is not guaranteed, use the canonical pattern documented in [Advanced GTM Integration](https://sealmetrics.com/docs/integrations/google-tag-manager-advanced.md): an inline **buffer stub** plus the tracker loaded with **`?auto=0`**, and a separate tag that fires the pageview manually.
```html
```
The stub queues any call made before the library loads and the library drains the queue in order, so no event is lost and no duplicate pageview is sent. On a single-page application where you also fire SPA pageviews manually from GTM, add `&spa=0` to the script URL as well, so the tracker's automatic pageview on route changes does not double-count your manual one — see [Duplicate pageviews](https://sealmetrics.com/docs/troubleshooting/duplicate-pageviews.md).
## What NOT to do
- **Do not fire the Sealmetrics tag on your CMP's "consent granted" event.** That trigger structurally excludes everyone who declines or ignores the banner, and it fires late — after the pageview context you wanted to measure.
- **Do not require `analytics_storage` consent for the tag.** Sealmetrics does not use cookies or any storage, so that consent signal is irrelevant to it.
- **Do not delete the tag from GTM to "fix" a CMP conflict.** Configure the exception instead — otherwise you keep the banner problem and lose all measurement.
## Related
- [Google Tag Manager integration](https://sealmetrics.com/docs/integrations/google-tag-manager.md) — standard setup, including the recommended consent settings.
- [Advanced GTM Integration](https://sealmetrics.com/docs/integrations/google-tag-manager-advanced.md) — the stub + `?auto=0` canonical pattern in full detail.
- [What is Consentless Analytics?](https://sealmetrics.com/docs/security-privacy/consentless-analytics.md) — why Sealmetrics does not need a consent gate.
- [Fixing `ReferenceError: sealmetrics is not defined`](https://sealmetrics.com/docs/troubleshooting/sealmetrics-is-not-defined.md) — protecting direct `sealmetrics.*` calls in GTM tags.
## Tracker Blocked by Content Security Policy (CSP)
URL: https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow/
How to detect Content-Security-Policy blocks in the browser console and which directives (script-src, connect-src) must allow the Sealmetrics tracker domain.
If your site sends a `Content-Security-Policy` header (or meta tag) that does not include the Sealmetrics tracker domain, the browser will refuse to load the script and/or refuse to send the tracking beacon — and you will see **zero data**, even though the snippet is installed correctly.
## Symptoms
- No requests to `t.sealmetrics.com` in the Network tab, even though the `
```
If you only queue `conv()` / `micro()` calls (never pageviews), you don't need `?auto=0` — the automatic pageview is the only one and is what you want. This anti-pattern is described in detail in [Advanced GTM Integration](https://sealmetrics.com/docs/integrations/google-tag-manager-advanced/#anti-pattern-stub-without-auto0).
## Cause 3: Manual SPA pageviews without `?spa=0`
On single-page applications the tracker detects route changes by itself (it hooks `pushState`, `replaceState`, and `popstate`) and fires an automatic pageview on every URL change. That automatic firing is deduplicated **only against the URL not changing** — the tracker skips a hit when `location.href` is still the same, but it has no way of knowing that *you* also fired a pageview manually for that same navigation.
So if your own code (for example a GTM tag on a `virtualPageView` / History Change trigger) calls `sealmetrics({ group:... })` on each route change **and** the script URL does not include `?spa=0`, every SPA navigation is counted twice:
- the tracker's automatic pageview (without your dynamic grouping), plus
- your manual pageview (with the grouping).
**Fix:** add `&spa=0` to the script URL. The SPA listeners stay installed and keep the internal URL/referrer state up to date — only the *automatic* pageview on navigation is suppressed, so your manual call still carries the correct URL and referrer:
```html
```
`auto` and `spa` are independent flags: `?auto=0` governs only the **initial** pageview, `?spa=0` only the **navigation** pageviews. Full GTM instrumentation with per-page grouping uses the stub plus both flags.
## What is already protected (don't chase these)
- **Iframes.** The tracker only auto-fires pageviews and installs SPA listeners in the top-level window, so an embed (e.g. a Shopify Web Pixel sandbox) does not add duplicate pageviews.
- **Reloading the same URL in a SPA.** The automatic SPA pageview only fires when the URL actually changed, so `replaceState` calls to the same URL do not double-count.
## Verification
After the fix, repeat the 60-second diagnosis: exactly one `/event` beacon per load and per navigation. Then watch the **Overview** report — Pageviews per Entrance should drop back to its historical ratio.
## Related
- [Advanced GTM Integration](https://sealmetrics.com/docs/integrations/google-tag-manager-advanced.md) — the canonical stub + `?auto=0` pattern and its anti-patterns.
- [SPA Support](https://sealmetrics.com/docs/implementation/tracker/spa-support.md) — how automatic SPA navigation tracking works.
- [Tracker installation](https://sealmetrics.com/docs/implementation/tracker/installation.md) — the standard, single-include setup.
- [Duplicate conversions](https://sealmetrics.com/docs/troubleshooting/#duplicate-conversions) — the equivalent problem for `conv()` calls.
## Report Dates Don't Match Another Tool
URL: https://sealmetrics.com/docs/troubleshooting/dates-timezone-mismatch/
Why daily totals in Sealmetrics can differ from another analytics tool or your backend — each hit's date is assigned at the site's timezone midnight — and how to change the site timezone.
You compare "Tuesday" in Sealmetrics with "Tuesday" in another analytics tool, your ad platform, or your backend — and the numbers are shifted, especially around the start and end of the range. In most cases nothing is missing: **the two systems are cutting the day at a different midnight.**
## How Sealmetrics assigns dates
Every hit is stamped with a **date calculated in your site's timezone** at the moment it is ingested. The day rolls over at **midnight local time for the site** — not at UTC midnight, and not at your server's timezone.
Concretely: a hit at 23:30 New York time on Monday belongs to Monday in a site configured with `America/New_York`, even though in UTC it is already Tuesday 04:30. A tool that buckets by UTC would put that same hit on Tuesday.
New sites default to **Europe/Madrid** unless you change it.
## Symptoms
- Daily totals are consistently shifted by a few hours' worth of traffic against the other tool, but multi-day totals for the same window roughly match.
- "Yesterday" disagrees between tools, while "last 30 days" is close.
- Discrepancies concentrate on the **first and last day** of the compared range.
- A campaign launched late in the evening shows on one day in Sealmetrics and the next day elsewhere.
## Diagnosis
1. **Check both timezones.** Find the site's timezone in Sealmetrics (see below) and the property/report timezone of the other tool (GA4 property timezone, ad platform account timezone, your database's `GROUP BY` timezone).
2. **Compare a wide window, not a single day.** Pick a closed multi-day range (e.g. the 1st to the 15th) in both tools. If the total converges but individual days don't, the mismatch is the day cutoff — not lost data.
3. **Look at the edges.** With different timezones, each day boundary moves a fixed number of hours of traffic from one day to its neighbor. The size of the daily shift should be consistent with the hour offset between both timezones.
If multi-day totals do **not** converge either, you are looking at a different problem — see [Numbers lower than another tool](https://sealmetrics.com/docs/troubleshooting/lower-numbers-than-other-tools.md) and [Reconciling with your ERP/CRM](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md).
## Solution: align the timezones
Ideally, set the same timezone in Sealmetrics and in the tools you reconcile against.
To change the site's timezone in Sealmetrics:
1. In the left sidebar, expand **Site Config** and click **Settings**.
2. On the **General** tab, find the **Timezone** field.
3. Pick your timezone (searchable by name or country) and click **Save Changes**.
Full walkthrough: [How to Change Your Time Zone](https://sealmetrics.com/docs/platform/account-setup/how-to-change-timezone.md).
Changing the timezone affects new data only
The date of each hit is computed **at ingest time** with the timezone the site had at that moment, and stored. Changing the timezone re-buckets hits from that point forward; already-stored days are not recalculated. Expect one transition day with a slightly short or long bucket, then clean alignment.
## Prevention
- Set the site timezone **when you create the site**, before collecting data, and match it to the timezone of the tools you report against.
- When reconciling with a database or ERP, always state the timezone of both sides in the comparison query — this is one of the standard checklist items in the [ERP/CRM reconciliation guide](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md).
## Related
- [How to Change Your Time Zone](https://sealmetrics.com/docs/platform/account-setup/how-to-change-timezone.md) — step-by-step with defaults.
- [Date Range selection](https://sealmetrics.com/docs/reports/date-range.md) — how report periods are defined.
- [Reconciling Sealmetrics with Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — when the gap is more than a day-boundary shift.
## No Data From a New or Staging Domain
URL: https://sealmetrics.com/docs/troubleshooting/unauthorized-domain/
What happens when the tracker fires from a domain that is not registered on your Sealmetrics site — the hit is silently rejected — and how to add domains from the Domains tab.
Every Sealmetrics site has a list of **authorized domains** — the websites allowed to send tracking data to it. When a hit arrives from a page whose domain is not on that list, the platform **rejects it silently**: the browser still receives a normal `204 No Content` response, no error appears in the console, and nothing is stored. This is a common cause of "the snippet is installed but there is no data".
## How domain validation works
For every incoming event (pageviews, conversions, and microconversions alike), the platform extracts the domain from the page URL the tracker reports and checks it against the site's authorized domains:
- **Exact match** is accepted: `example.com` on the list authorizes `example.com`.
- **Subdomains of an authorized domain** are accepted automatically: `example.com` on the list also authorizes `shop.example.com` and `reservations.example.com`.
- A leading `www.` is normalized away, so `www.example.com` and `example.com` are equivalent at validation time.
- **A site with no domains configured rejects everything.** At least one domain is required for tracking to work.
- An event whose page URL yields no usable domain at all is also rejected.
Rejection is deliberate and silent by design — the tracker never breaks the page or logs errors for the visitor.
## Symptoms
- `t.js` loads with `200` and the `/event` beacon returns `204` in the Network tab, but the **Last hit** timestamp on the **Overview** report never updates.
- Data flows from your main website but not from a **staging/preview environment** (`staging.example.com` works if `example.com` is listed — but `example-staging.com` or `preview.vercel.app` will not).
- No data from a **second production domain**: a country-specific domain (`example.fr`), a landing page builder domain, or a checkout hosted on a different registrable domain.
- Tracking stopped after a **domain migration or rebrand** (the site still lists only the old domain).
## Diagnosis
1. Open the affected page and note its exact hostname.
2. In the dashboard, open the site's **Domains** tab and compare the hostname against the list, remembering the matching rules above: subdomains of a listed domain pass; a *different* registrable domain does not.
3. Check the other usual silent-drop suspects if the domain looks right: wrong Site ID in the snippet, or the page never firing the beacon at all (see [Quick Diagnostics](https://sealmetrics.com/docs/troubleshooting/#quick-diagnostics)).
## Solution: add the domain
1. Open the site in the dashboard.
2. Go to the **Domains** tab.
3. Type the domain (e.g. `example.com` or `sub.example.com`) in the input field and add it.
The domain appears in the list and tracking is authorized immediately — reload the affected page and confirm that the **Last hit** timestamp updates. Full walkthrough: [How to Add Domains to Your Site](https://sealmetrics.com/docs/platform/account-setup/how-to-add-domains.md).
Registrable domain vs subdomain
You rarely need to list subdomains: adding `example.com` covers all its subdomains. You **do** need a separate entry for every distinct registrable domain — `example.fr`, `example-landing.com`, `checkout-partner.com` — that hosts pages with your tracker.
## Prevention
- When creating a site, add **every domain that will carry the tracker**: production domains, country domains, landing page builder domains, and any externally hosted checkout or confirmation pages.
- One Sealmetrics site is meant to track one domain (plus its subdomains) or one coherent set of your own domains — not arbitrary third-party sites. If a partner site needs measurement, give it its own site.
- After a domain migration, update the Domains tab **before** the DNS switch so no traffic is dropped during the transition.
## Related
- [How to Add Domains to Your Site](https://sealmetrics.com/docs/platform/account-setup/how-to-add-domains.md) — adding, listing, and removing domains.
- [Troubleshooting overview](https://sealmetrics.com/docs/troubleshooting.md) — checking Site ID and script installation.
- [Reconciling Sealmetrics with Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — off-domain confirmation pages as a cause of missing conversions.
## Data Taking Longer Than Expected to Appear
URL: https://sealmetrics.com/docs/troubleshooting/data-delay/
How long data normally takes to reach Sealmetrics reports (seconds, not hours), how to verify with the Last hit timestamp on Overview, and what to check when it seems delayed.
Sealmetrics processes hits in **seconds, not hours**. Each hit travels through an ingestion pipeline — the tracking pixel receives it, hands it to a processing queue, and a consumer writes it to the reporting database — and the whole trip normally completes within seconds of the visit. There is no daily batch and no scheduled report refresh to wait for.
If data seems delayed, the goal of this page is to distinguish the three very different situations that look identical at first glance: **the hit never arrived**, **the hit arrived but your report isn't looking at it**, and **the pipeline is briefly catching up**.
## First check: the "Last hit" timestamp
The fastest source of truth is the **Last hit** timestamp at the top right of the **Overview** report. It shows when the most recent hit for the site was received, and it updates within seconds of a tracked visit.
1. Open the **Overview** report for the site.
2. Visit your website in another tab (with no ad blocker interfering).
3. Reload the Overview: **Last hit** should move to "seconds ago".
| Observation | Meaning |
| --- | --- |
| **Last hit updates within seconds** | Ingestion is healthy. If a report still looks empty, the problem is on the report side — see below. |
| **Last hit does not update after your test visit** | The hit never arrived. This is not a delay — it's a tracking problem. |
| **Last hit lags by minutes during a big traffic spike** | Brief processing delays while the queue catches up are normal under spikes; data is not lost, it arrives slightly later. |
## If "Last hit" updates but a report looks empty
The hit arrived; the report just isn't showing it:
- **Date range.** Make sure the selected period includes **today** — several default ranges end yesterday. See [Date Range](https://sealmetrics.com/docs/reports/date-range.md).
- **Timezone.** "Today" is defined by the **site's timezone**, not yours. Near midnight, your test hit may fall on a different report day than you expect — see [Report dates don't match another tool](https://sealmetrics.com/docs/troubleshooting/dates-timezone-mismatch.md).
- **Filters and segments.** An active filter (source, country, content group…) can hide the fresh hit.
- **The specific report.** Conversions appear in the **Conversions** report, not as pageviews — a successful conversion test doesn't move the Pageviews number.
## If "Last hit" does not update at all
Then nothing is being ingested for the site and there is no delay to wait out. Work through the usual silent causes, in order of likelihood:
1. **The beacon never left the browser** — script blocked or missing. See [Quick Diagnostics](https://sealmetrics.com/docs/troubleshooting/#quick-diagnostics) and [CSP errors](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md).
2. **The tag is gated behind consent** in GTM — see [GTM Consent Mode blocking](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md).
3. **The page's domain is not authorized** for the site — the hit is rejected silently. See [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md).
4. **Your test traffic is being filtered as a bot** — automated or scripted visits don't count. See [Test traffic blocked as bot](https://sealmetrics.com/docs/troubleshooting/test-traffic-blocked-as-bot.md).
## When to contact support
If the site receives real traffic, the tracker verifies correctly in the Network tab (beacons returning `204`), and **Last hit** still stalls for more than a few minutes, contact **[support@sealmetrics.com](mailto:support@sealmetrics.com)** with your Site ID and the timestamp of a test visit — that is enough to trace the hit through the pipeline.
## Related
- [See Your Data Flow](https://sealmetrics.com/docs/getting-started/see-your-data-flow.md) — what a healthy first-data experience looks like.
- [Overview Report](https://sealmetrics.com/docs/reports/overview.md) — where the Last hit timestamp lives.
- [Quick Start — verification](https://sealmetrics.com/docs/getting-started/quick-start.md) — the standard install verification steps.
## Conversions Not Appearing
URL: https://sealmetrics.com/docs/troubleshooting/conversions-not-appearing/
A checklist for conversions that never reach the Conversions report: correct conv() snippet, numeric amount, base pixel firing first, and how to verify the beacon payload.
Pageviews work, but a conversion you fired never shows up in the **Conversions** report. Run through this checklist in order — it covers the causes from most to least common, and each step tells you how to verify it objectively in the browser.
## 1. The snippet uses the correct signature
```javascript
sealmetrics.conv(type, amount, properties);
```
- **`type`** (string, required) — the conversion label you will see in the report, e.g. `'purchase'`, `'lead'`, `'signup'`. A missing or empty type is not a conversion.
- **`amount`** (number, optional) — the monetary value. Omit it or pass `0` for non-monetary conversions.
- **`properties`** (object, optional) — custom key-value data.
```javascript
// Purchase with value
sealmetrics.conv('purchase', 99.99);
// Lead without monetary value
sealmetrics.conv('lead', 0);
```
Full syntax and examples: [Conversions](https://sealmetrics.com/docs/implementation/tracker/conversions.md).
## 2. The amount is a real number, not a string
The tracker only attaches the value when `amount` is a JavaScript **number**. If your template interpolates it as a string — `sealmetrics.conv('purchase', "99.99")` — the conversion is sent **without a value**: it appears in the report but with no revenue.
Watch out for locale formats too: `"1.299,00"` or `"99,99"` are not valid numbers. Convert server-side, or with `parseFloat()` on a dot-decimal string, before calling `conv()`.
```javascript
// Wrong — string amount, revenue is dropped
sealmetrics.conv('purchase', '99.99');
// Right — numeric amount
sealmetrics.conv('purchase', 99.99);
```
## 3. The base pixel fires first on the same page
The conversion call is not standalone: the base tracker (`t.js`) must be present **on the confirmation page** and its pageview must fire **before** `sealmetrics.conv(...)`. If the conversion code runs before the library loads, you either get a `ReferenceError` (call lost) or an unattributable conversion.
This is the single most common root cause of substantial conversion gaps — the full explanation, firing-order diagram, and fixes are in [Reconciling Sealmetrics with Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md). To protect calls that may run before the library loads, use the stub buffer from [Fixing `ReferenceError: sealmetrics is not defined`](https://sealmetrics.com/docs/troubleshooting/sealmetrics-is-not-defined.md).
## 4. The conversion fires for every variant of the flow
Verify the whole matrix, not just your happy path: every payment method (card, PayPal, bank transfer…), every language/country version, mobile and desktop themes, and confirmation pages hosted on external domains. Any variant that skips the page with the `conv()` call silently under-counts. Off-domain confirmation pages also need the domain authorized on the site — see [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md).
## 5. Verify the beacon in the Network tab
1. Open **Developer Tools → Network**, filter by `sealmetrics`.
2. Complete a test conversion (real flow, not just pasting into the console — though the console works for a first smoke test).
3. On the confirmation page you should see, in this order: the base pixel's pageview beacon, then
4. a second `/event` beacon whose payload contains `"e":"purchase"` (your type) and `"v":99.99` (your amount).
5. Both should return `204 No Content`.
If the conversion beacon has `"e"` but no `"v"`, you are hitting step 2 (string amount). If there is no conversion beacon at all, the call never executed — check for JavaScript errors in the Console and for consent-gated tags ([GTM Consent Mode blocking](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md)).
## 6. Check the report the right way
1. Open the **Conversions** report (sidebar → **Conversions**).
2. Make sure the top-right toggle is on **Conversions** — if you fired `sealmetrics.micro(...)`, the event lands in the **Microconversions** view instead.
3. Set the date range to **today** (site timezone — see [Dates & timezone mismatch](https://sealmetrics.com/docs/troubleshooting/dates-timezone-mismatch.md)).
4. Reload the report. Hits arrive in seconds, so the **Last hit** timestamp at the top right of the **Overview** report should already show your test — if it doesn't move, nothing is being ingested (see [Data delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md)).
## Still missing?
If the beacon leaves the browser with the right payload, returns `204`, and the conversion still never appears, contact **[support@sealmetrics.com](mailto:support@sealmetrics.com)** with the Site ID, the conversion type, and the timestamp of the test — that is enough to trace it.
## Related
- [Conversions — tracker reference](https://sealmetrics.com/docs/implementation/tracker/conversions.md) — full `conv()` syntax, properties, and item arrays.
- [Conversions Report](https://sealmetrics.com/docs/reports/conversions.md) — reading the report and the Conversions/Microconversions toggle.
- [Reconciling Sealmetrics with Your ERP, CRM, or Database](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — substantial gaps between real orders and reported conversions.
- [Measure conversions](https://sealmetrics.com/docs/getting-started/measure-conversions.md) — guided first-conversion setup.
## Numbers Lower Than Another Tool
URL: https://sealmetrics.com/docs/troubleshooting/lower-numbers-than-other-tools/
Why Sealmetrics can legitimately report fewer (or more) visits than GA4 or another tool: entrances vs sessions, bot filtering at ingest, and no sampling.
Two analytics tools measuring the same site **never report identical numbers** — they count different things, filter different traffic, and cut the day at different moments. Before treating a gap as a tracking bug, check whether it is explained by these legitimate model differences. If, after accounting for them, the gap is still large and unexplained, then troubleshoot it as missing data.
## 1. Entrances are not GA4 sessions
Sealmetrics' primary traffic metric is the **Entrance**: it counts a new entrance when a visitor arrives with an empty referrer or from a different domain than yours. There is no session timeout, no session re-opening after 30 minutes of inactivity, and no session splitting at midnight — because all of those require persistent identifiers Sealmetrics deliberately does not use.
GA4's *session* is a different construct (timeout-based, identifier-based), so comparing Entrances to Sessions is comparing two different definitions — a stable percentage difference between them is expected and not a bug.
Read the definition in full: [How Sealmetrics Calculates Entrances](https://sealmetrics.com/docs/reports/insights/how-sealmetrics-calculates-entrances.md).
**What to check:** compare like with like where possible (Pageviews against Pageviews is far closer to apples-to-apples than Entrances against Sessions), and compare **trends** rather than absolute values.
## 2. Bots are filtered at ingest
Sealmetrics rejects known bot and tool traffic **before it is stored**: hits from search engine crawlers, SEO tools, link-preview fetchers, uptime monitors, HTTP libraries, and headless/automation browsers never enter your reports, and burst behavior (many pageviews from one session within seconds) is rate-limited too. See [Bot Detection & Traffic Quality](https://sealmetrics.com/docs/security-privacy/bot-detection.md).
A tool with weaker (or different) bot filtering will report that traffic as visits. This inflates the *other* tool rather than shrinking Sealmetrics — but from your point of view it looks the same: "Sealmetrics shows less".
**What to check:** in the other tool, look at the traffic Sealmetrics doesn't show — hostnames, user agents, datacenter-heavy geographies, sessions with zero engagement. Bot traffic usually concentrates in obvious pockets.
## 3. No sampling, no consent loss — the gap can point the other way
Sealmetrics processes **every hit** it receives: reports are never sampled or modeled. And because it is consentless, it also measures the visitors who decline or ignore a consent banner — traffic that consent-gated tools structurally lose. On sites with a consent banner, Sealmetrics typically reports **more** traffic than GA4, not less.
So the *direction* of the gap is diagnostic:
| Observation | Likely explanation |
| --- | --- |
| Sealmetrics moderately below the other tool, stable ratio over time | Definition differences (entrances vs sessions) and bot filtering — expected |
| Sealmetrics above the other tool | Consent loss and ad blockers hitting the other tool — expected |
| Sealmetrics drastically below, or the ratio suddenly changed | A real tracking problem — go to the checklist below |
The full side-by-side comparison of both measurement models is in [GA4 vs Sealmetrics](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md).
## 4. Conversions on pages that navigate away immediately
This one is specific to **conversion counts**, and it is the usual answer when your own tag manager or server log says an event fired but it never reaches the Conversions report.
A conversion call has to execute *before* the browser leaves the page. Sealmetrics dispatches hits with `navigator.sendBeacon`, which survives page unload by design — so once the call runs, the send is safe. The risk is the call never running: a tag bound to DOM-ready or window-load on a page that redirects a few hundred milliseconds after it opens.
The flows where this concentrates are the ones built out of redirects — links from business listings, ad platforms that bounce through a redirector, and any chain that lands, counts, and forwards.
**How to tell it apart from a missing pixel.** Take the conversions you believe are missing and split them in two:
| What you find for that visit | What it means |
| --- | --- |
| No pageview recorded at all | The tracker never ran on that domain or page — a coverage problem, not a timing one. Check the pixel is present on every hostname in the flow ([Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md)) |
| Pageview recorded, conversion missing | The visit was tracked but the conversion call didn't execute in time — a timing problem. Move the call earlier, off DOM-ready and onto the earliest event that carries the data you need |
A domain showing **100% loss** is always the first case, and it is worth checking before anything else: it means the pixel simply isn't there.
**If you are comparing against a Sealmetrics v1 period,** expect v1 to be lower here. v1's transport did not survive fast navigation the way `sendBeacon` does, so redirect-heavy flows lost a meaningful share of conversions on v1 that v2 now captures. A step up in conversions after migrating is that gap closing, not double-counting.
## Before comparing, normalize the comparison
- **Same date window and same timezone** on both sides — see [Dates & timezone mismatch](https://sealmetrics.com/docs/troubleshooting/dates-timezone-mismatch.md).
- **Same scope**: one Sealmetrics site vs one GA4 property covering the same hostnames.
- **Same metric family**: pageviews vs pageviews, conversions vs conversions.
- **Closed periods**: compare finished days, not today-so-far.
## If the gap is still unexplained
A sudden or very large deficit on the Sealmetrics side usually means hits are being lost before ingestion. Work through:
1. [GTM Consent Mode blocking](https://sealmetrics.com/docs/troubleshooting/gtm-consent-mode-blocking.md) — the number one cause of "Sealmetrics suddenly shows less".
2. [CSP errors](https://sealmetrics.com/docs/troubleshooting/csp-errors-domains-to-allow.md) — the tracker or its beacon blocked by policy.
3. [Unauthorized domain](https://sealmetrics.com/docs/troubleshooting/unauthorized-domain.md) — part of your traffic served from a domain the site doesn't authorize.
4. [Reconciling with your ERP/CRM](https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy.md) — for conversion-count gaps specifically.
## Related
- [GA4 vs Sealmetrics — Complete Comparison](https://sealmetrics.com/docs/faq/ga4-vs-sealmetrics.md)
- [How Sealmetrics Calculates Entrances](https://sealmetrics.com/docs/reports/insights/how-sealmetrics-calculates-entrances.md)
- [Bot Detection & Traffic Quality](https://sealmetrics.com/docs/security-privacy/bot-detection.md)
- [Data Discrepancy with Other Tools](https://sealmetrics.com/docs/troubleshooting/#data-discrepancy-with-other-tools) — the short version in the overview.
## Test Visits Not Appearing (Filtered as Bot Traffic)
URL: https://sealmetrics.com/docs/troubleshooting/test-traffic-blocked-as-bot/
Why visits generated with curl, Selenium, Playwright, headless Chrome, or load-testing tools never appear in Sealmetrics, how to diagnose it, and how to test without tripping the filters.
You are testing the tracker with an automation tool or a script, the beacon returns `204 No Content`, and yet nothing appears in the reports. In most cases nothing is broken: **the platform is doing its job**, filtering traffic that identifies itself as automated so it never pollutes your reports. Real visitors are unaffected — the filters below only catch tools and abnormal behavior.
## How your test traffic gets filtered
### 1. The global User-Agent blocklist
Every incoming hit is checked against a global blocklist of known non-human User-Agent patterns. It covers, among others:
- **CLI and HTTP clients:** `curl/`, `Wget/`, `HTTPie/`, `python-requests`, `axios/`, `node-fetch`, `Go-http-client`, `okhttp/`…
- **Headless and automation browsers:** `HeadlessChrome`, `PhantomJS`, `Puppeteer`, `Playwright`, `Selenium`, `webdriver`…
- **Load-testing tools:** `JMeter`, `k6/`, `Locust`, `artillery`, `ApacheBench`, `wrk/`…
- **Generic substrings:** any User-Agent containing `bot`, `crawler`, `spider`, or `scraper`.
This is why a Playwright or Selenium run with the default User-Agent, a `curl` smoke test, or a custom UA like `MyCompany-TestBot` never shows up. The generic `bot` substring match is deliberately aggressive — it also catches home-made User-Agents you might not think of as "bots".
### 2. The burst detector
Independently of the User-Agent, a session that fires a burst of pageviews — more than a handful within a couple of seconds — is treated as a bot and blocked for a period. Scripted click-through tests that load pages as fast as possible trip this even with a legitimate browser User-Agent.
Both filters reject silently: the browser (or script) still gets a normal `204` response, so nothing on the client side reveals the hit was discarded.
## Diagnosis
1. **Check the User-Agent your tool sends.** In DevTools → Network, click the beacon request and inspect the `User-Agent` request header; in scripts, print the UA you configured. Compare it against the categories above — including the generic `bot`/`crawler`/`spider`/`scraper` substrings.
2. **Repeat the test manually in a normal browser** (regular Chrome/Firefox/Safari window, no automation). If the manual visit appears within seconds — check the **Last hit** timestamp on the **Overview** report — ingestion is healthy and your automated traffic is being filtered, as designed.
3. **Check the pace.** If your script navigates several pages per second with the same browser profile, slow it down to human speed and retry.
## Solution
- **For install verification, use a real browser.** A normal browsing session is the ground truth for "does tracking work" — automation is unnecessary for that check.
- **If you must automate, don't look like a bot:** Configure a standard desktop browser User-Agent instead of the tool's default (Playwright, Selenium, and Puppeteer all allow overriding the UA). Make sure the value contains none of the blocked substrings — in particular avoid `Headless` and the word `bot` anywhere in it.
- Pace navigation like a human: leave a few seconds between pageviews rather than firing them back-to-back.
**Accept that load tests will not appear in reports.** That is the desired outcome — a load test that inflated Entrances would be a data-quality incident. Verify load-test delivery at the HTTP level (`204` responses), not in the dashboard.
The opposite problem: excluding real internal traffic
If what you actually want is the reverse — your office or team's *genuine* browsing polluting the reports — don't fight the bot filters; exclude those IPs explicitly instead. See [IP Exclusions](https://sealmetrics.com/docs/platform/settings/tracking/ip-exclusions.md).
## What NOT to do
- **Do not benchmark "tracking accuracy" with automated traffic.** The filters make automated hits a biased sample by design; conclusions drawn from them are meaningless.
- **Do not disguise sustained synthetic traffic as human to make it count.** You would be permanently polluting your own entrances, conversion rates, and attribution to win a test.
## Related
- [Bot Detection & Traffic Quality](https://sealmetrics.com/docs/security-privacy/bot-detection.md) — the full multi-layer filtering model.
- [IP Exclusions](https://sealmetrics.com/docs/platform/settings/tracking/ip-exclusions.md) — excluding your own team's real traffic.
- [Data delay](https://sealmetrics.com/docs/troubleshooting/data-delay.md) — distinguishing filtered traffic from delayed traffic.
- [Troubleshooting overview](https://sealmetrics.com/docs/troubleshooting.md) — quick installation diagnostics.
## Conversions Don't Match Your ERP, CRM, or Database
URL: https://sealmetrics.com/docs/troubleshooting/erp-crm-database-discrepancy/
How to diagnose and fix substantial discrepancies between Sealmetrics conversions and your source of truth (ERP, CRM, internal database).
Your **ERP, CRM, or internal database** is the source of truth for what actually happened in your business: the orders that were placed, the leads that were captured, the contracts that were signed. Sealmetrics is the measurement layer on top of that reality.
When both systems are correctly wired, **Sealmetrics should reconcile with your source of truth with only a minimal discrepancy** — typically a small percentage caused by edge cases (users disabling JavaScript, network failures at the exact moment of the request, manual orders entered directly into the back office, refunds, etc.).
If the gap you are seeing is **substantial** — for example, your ERP shows 1,000 orders this month and Sealmetrics shows 600 — this is almost never a measurement bug on the platform side. In our experience, it comes down to one of two implementation problems on the website, with a long tail of secondary causes.
On Shopify? Start somewhere else
This page assumes conversions are recorded by the **pixel** in the browser. On a **Shopify** store they are not: purchases are confirmed server-side by the `orders/create` webhook, so Causes 1 and 2 below cannot be the explanation. Go to [Shopify → Orders or revenue don't match Shopify](https://sealmetrics.com/docs/integrations/ecommerce/shopify/#orders-or-revenue-dont-match-shopify) instead.
The single most common root cause
The **base pixel (`t.js`) must finish loading and register the pageview *before* `sealmetrics.conv(...)` is called** for any conversion or microconversion. The conversion call is not standalone — it attaches to the session created by the base pixel. If the order is wrong, or the base pixel is missing on the confirmation page, the conversion is sent without a session and the platform cannot count or attribute it correctly. This is the first thing to verify on any reconciliation issue.
## The Expected Behavior
Before digging into the causes, it helps to establish what "normal" looks like:
- **Small discrepancy (under ~5%)** — Expected. JavaScript blockers, network errors, users abandoning the thank-you page before the request leaves, very old browsers, etc.
- **Moderate discrepancy (5%–15%)** — Worth investigating. Usually a partial firing issue: the pixel works for most flows but fails on a specific payment method, language version, or checkout variant.
- **Substantial discrepancy (over 15%)** — Almost always an implementation issue. One of the two causes below is responsible in the vast majority of cases.
## Cause 1: The Conversion Pixel Is Not Firing on Every Conversion
The Sealmetrics conversion pixel (`sealmetrics.conv(...)`) must be executed **every single time** a real conversion happens in your business. If it is not called, Sealmetrics has no way to know the conversion exists — and your ERP will record an order that never reached the dashboard.
### How to verify it
1. Place a **test order, lead, or signup** through the same flow your real users follow.
2. Open the browser **Developer Tools → Network tab** before the conversion completes.
3. Filter by `sealmetrics` or `pixel`.
4. When you reach the thank-you / confirmation page, you should see a **beacon request** going out to `t.sealmetrics.com` containing the conversion event and amount.
If you do **not** see that request, the conversion pixel is not being called.
### Typical reasons the conversion pixel is not called
- The thank-you page is **hosted on a different domain** (for example, the payment gateway's domain) and the pixel is not installed there.
- The thank-you page is **skipped entirely** for certain payment methods (PayPal, Bizum, bank transfer, in-store pickup, etc.) — orders complete server-side and the user never sees the page where the pixel lives.
- The pixel is wrapped in a **conditional** (`if`) that excludes some scenarios — repeat customers, logged-in users, specific countries, B2B orders, etc.
- The order is created **manually in the back office** by a sales rep, by phone, or by a customer service agent. These conversions never trigger a browser-side event.
- A **JavaScript error earlier in the page** prevents the script from executing the conversion line.
- The conversion fires inside an **iframe** or a **modal** that is removed before the network request leaves the browser.
### How to fix it
- Make sure the conversion pixel lives on **every confirmation page**, including those served by external payment processors or third-party checkouts.
- For payment methods that skip the browser confirmation (PayPal IPN, bank transfer, manual orders), fire the conversion when the user is redirected back to your site — outside the Shopify integration there is no server-to-server conversion endpoint, so the conversion has to reach Sealmetrics from the browser.
- Remove conditionals that exclude segments of real conversions.
- Validate your checkout flow end-to-end for **each payment method and country** you support.
## Cause 2: The Base Pixel Is Not Firing Before the Conversion Pixel
The base pixel (the `t.js` tracker that registers the pageview) is what gives Sealmetrics the **session context** needed to attribute a conversion. The conversion pixel does not work in isolation — it relies on the base pixel having loaded and registered the pageview **first**.
If the conversion pixel is called **before** the base pixel has finished loading and registering the pageview, the conversion request will be sent without the session it belongs to, and the platform may not be able to count or attribute it correctly.
### Required firing order
Every conversion and microconversion must follow this sequence on the confirmation page:
```text
Correct order (conversion is counted)
────────────────────────────────────────────────────────────────
1. Browser parses