Understand how OpenRevenue counts active visitors and powers realtime website analytics.
How realtime works
The tracker sends lightweight ping heartbeats every 15 seconds while the tab is visible. These heartbeats keep the live count, country list, sparkline, and realtime map fresh.
If a visitor switches tabs, closes the page, or their browser throttles background work, OpenRevenue stops treating that tab as actively engaged until it becomes visible again.
Active users
The main realtime number is an event-window “active users in the last 30 minutes” count. A visitor is counted when they have a pageview in that window plus a heartbeat at least 10 seconds after the pageview, or when their pageview is fresh enough that the engagement heartbeat is still pending.OpenRevenue also keeps a stricter recent window internally. That window uses at least 2 heartbeats in 5 minutes, or the same fresh 90-second pageview grace.The small per-minute chart is pageview-based and uses fixed minute buckets: the newest bar starts at 0 when a minute begins, fills as users register pageviews during that minute, then shifts left when the next minute starts.
Accuracy
Realtime tools do not all count active visitors the exact same way. OpenRevenue avoids counting every one-off pageview for a full 30 minutes, because that can inflate the live number when visitors bounce quickly.Compared with Google Analytics, OpenRevenue’s number should be close but not always identical. Differences can come from blocked scripts, background tabs, browser throttling, ad blockers, bot filtering, network latency, and deploy timing for the latest tracker script.
Storage
Realtime presence is stored in Redis. Heartbeat pings are not written to the analytics event stream in ClickHouse and are not written to Postgres analytics tables.Monthly usage counts pageviews and custom events only. Pings, outbound links, transactions, and performance events stay out of billing usage.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OpenRevenue Documentation","description":"Guides and API reference for OpenRevenue, the revenue-first, privacy-friendly web analytics platform.","colors":{"primary":"#FF6A00","light":"#FF8A3D","dark":"#E65F00"},"logo":{"light":"https://mintcdn.com/openrevenue/J1l4-iBBUEFWlkEV/logo/light.svg?fit=max\u0026auto=format\u0026n=J1l4-iBBUEFWlkEV\u0026q=85\u0026s=b6aaaa596c2fdec956ef9bf89504cbe8","dark":"https://mintcdn.com/openrevenue/J1l4-iBBUEFWlkEV/logo/dark.svg?fit=max\u0026auto=format\u0026n=J1l4-iBBUEFWlkEV\u0026q=85\u0026s=21e889cdcab926dc84a432170328a88a","href":"https://www.openrevenue.com"},"favicon":"https://mintcdn.com/openrevenue/J1l4-iBBUEFWlkEV/favicon.svg?fit=max\u0026auto=format\u0026n=J1l4-iBBUEFWlkEV\u0026q=85\u0026s=05cdaf97843f04bc86712beeab8836b2","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.openrevenue.com"}},"appearance":{"default":"system"},"background":{"color":{"light":"#FFFFFF","dark":"#101011"}},"navbar":{"links":[{"href":"https://www.openrevenue.com/pricing","label":"Pricing"},{"href":"https://www.openrevenue.com/blog","label":"Blog"}],"primary":{"type":"button","label":"Dashboard","href":"https://www.openrevenue.com/dashboard"}},"footer":{"links":[{"header":"Product","items":[{"label":"Pricing","href":"https://www.openrevenue.com/pricing"},{"label":"Live demo","href":"https://www.openrevenue.com/demo/nike.com"},{"label":"Public API","href":"https://www.openrevenue.com/account/api"},{"label":"ChatGPT plugin","href":"https://chatgpt.com/plugins/plugin_asdk_app_6a7ec2575360819190063dd4bcf6bfb5"},{"label":"Start free trial","href":"https://www.openrevenue.com/auth/signup"}]},{"header":"Capabilities","items":[{"label":"Revenue attribution","href":"https://www.openrevenue.com/revenue-attribution"},{"label":"Visitor profiles","href":"https://www.openrevenue.com/visitor-profiles"},{"label":"Realtime","href":"https://www.openrevenue.com/realtime"},{"label":"Performance","href":"https://www.openrevenue.com/performance"},{"label":"Funnels","href":"https://www.openrevenue.com/funnels"},{"label":"AI assistant","href":"https://www.openrevenue.com/ai-assistant"},{"label":"Embeddable widgets","href":"https://www.openrevenue.com/embeddable-widgets"}]},{"header":"Resources","items":[{"label":"Blog","href":"https://www.openrevenue.com/blog"},{"label":"Crawlers","href":"https://www.openrevenue.com/crawlers"},{"label":"Data","href":"https://www.openrevenue.com/data"},{"label":"Status","href":"https://status.openrevenue.com"},{"label":"Contact","href":"https://www.openrevenue.com/contact"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"https://www.openrevenue.com/terms"},{"label":"Privacy Policy","href":"https://www.openrevenue.com/privacy"},{"label":"DPA","href":"https://www.openrevenue.com/dpa"},{"label":"GDPR","href":"https://www.openrevenue.com/gdpr"},{"label":"Security","href":"https://www.openrevenue.com/security"}]}]},"search":{"prompt":"Search the docs..."},"seo":{"metatags":{"canonical":"https://docs.openrevenue.com","og:site_name":"OpenRevenue","og:locale":"en_US","twitter:site":"@openrevenue_"},"indexing":"navigable"},"fonts":{"family":"Inter"},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"one-light","dark":"one-dark-pro"}},"latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Status","icon":"activity","href":"https://status.openrevenue.com"},{"anchor":"Support","icon":"life-buoy","href":"mailto:support@openrevenue.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openrevenue","hasAudioNarration":false,"actualSubdomain":"openrevenue","customDomains":["docs.openrevenue.com"],"gitSource":{"type":"github","owner":"eggerco","repo":"openrevenue","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":"","_id":"6afae29ad57358ecbcbff576"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aff2fcf42e7ae4824d61256","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Documentation","count":25},{"language":"default","tag":"API reference","count":22},{"language":"default","tag":"Project API","count":17},{"language":"default","tag":"Advanced","count":15},{"language":"default","tag":"Installation","count":8},{"language":"default","tag":"Account API","count":4},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"MCP","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"h1,h2,h3{letter-spacing:-0.015em}"}]}
{"page":{"pagePath":"advanced/realtime","slug":"/advanced/realtime","pageMetadata":{"title":"Realtime","description":"Understand how OpenRevenue counts active visitors and powers realtime website analytics.","keywords":["live","visitors","globe"],"icon":"globe","href":"/advanced/realtime"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Understand how OpenRevenue counts active visitors and powers realtime website analytics.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading,Info}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`how-realtime-works`,children:`How realtime works`}),`\n`,_jsxs(_components.p,{children:[`The tracker sends lightweight `,_jsx(_components.code,{children:`ping`}),` heartbeats every 15 seconds while the tab is visible. These heartbeats keep the live count, country list, sparkline, and realtime map fresh.`]}),`\n`,_jsx(Info,{children:_jsx(_components.p,{children:`If a visitor switches tabs, closes the page, or their browser throttles background work, OpenRevenue stops treating that tab as actively engaged until it becomes visible again.`})}),`\n`,_jsx(Heading,{level:`2`,id:`active-users`,children:`Active users`}),`\n`,_jsx(_components.p,{children:`The main realtime number is an event-window “active users in the last 30 minutes” count. A visitor is counted when they have a pageview in that window plus a heartbeat at least 10 seconds after the pageview, or when their pageview is fresh enough that the engagement heartbeat is still pending.`}),`\n`,_jsx(_components.p,{children:`OpenRevenue also keeps a stricter recent window internally. That window uses at least 2 heartbeats in 5 minutes, or the same fresh 90-second pageview grace.`}),`\n`,_jsx(_components.p,{children:`The small per-minute chart is pageview-based and uses fixed minute buckets: the newest bar starts at 0 when a minute begins, fills as users register pageviews during that minute, then shifts left when the next minute starts.`}),`\n`,_jsx(Heading,{level:`2`,id:`accuracy`,children:`Accuracy`}),`\n`,_jsx(_components.p,{children:`Realtime tools do not all count active visitors the exact same way. OpenRevenue avoids counting every one-off pageview for a full 30 minutes, because that can inflate the live number when visitors bounce quickly.`}),`\n`,_jsx(_components.p,{children:`Compared with Google Analytics, OpenRevenue’s number should be close but not always identical. Differences can come from blocked scripts, background tabs, browser throttling, ad blockers, bot filtering, network latency, and deploy timing for the latest tracker script.`}),`\n`,_jsx(Heading,{level:`2`,id:`storage`,children:`Storage`}),`\n`,_jsx(_components.p,{children:`Realtime presence is stored in Redis. Heartbeat pings are not written to the analytics event stream in ClickHouse and are not written to Postgres analytics tables.`}),`\n`,_jsx(_components.p,{children:`Monthly usage counts pageviews and custom events only. Pings, outbound links, transactions, and performance events stay out of billing usage.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"one-light","dark":"one-dark-pro"}},"config":{},"pageMetadata":{"title":"Realtime","description":"Understand how OpenRevenue counts active visitors and powers realtime website analytics.","keywords":["live","visitors","globe"],"icon":"globe","href":"/advanced/realtime"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How realtime works","slug":"how-realtime-works","depth":2,"children":[]},{"title":"Active users","slug":"active-users","depth":2,"children":[]},{"title":"Accuracy","slug":"accuracy","depth":2,"children":[]},{"title":"Storage","slug":"storage","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/openrevenue/210906b708c245a1/anchor-redirects.js","/_mintlify/custom/openrevenue/c5c29fe173162547/openrevenue-tracker.js"],"subdomain":"openrevenue","siteName":"OpenRevenue Documentation","title":"Realtime - OpenRevenue Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T12:54:36.393Z","originalFileLocation":"advanced/realtime.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Understand how OpenRevenue counts active visitors and powers realtime website analytics.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenRevenue Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Realtime - OpenRevenue Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Understand how OpenRevenue counts active visitors and powers realtime website analytics.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenRevenue\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openrevenue.com/advanced/realtime\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openrevenue.mintlify.site/_mintlify/api/og/v2?division=Advanced\u0026amp;title=Realtime\u0026amp;description=Understand+how+OpenRevenue+counts+active+visitors+and+powers+realtime+website+analytics.\u0026amp;theme=964c81b8eb93cf8ceccc844c\u0026amp;signature=4e53f3f5ffaa4c3e477efbb77142080e8ac9d1b678a3e31d59c6e11afbdb7ccc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Realtime - OpenRevenue Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Understand how OpenRevenue counts active visitors and powers realtime website analytics.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openrevenue.mintlify.site/_mintlify/api/og/v2?division=Advanced\u0026amp;title=Realtime\u0026amp;description=Understand+how+OpenRevenue+counts+active+visitors+and+powers+realtime+website+analytics.\u0026amp;theme=964c81b8eb93cf8ceccc844c\u0026amp;signature=4e53f3f5ffaa4c3e477efbb77142080e8ac9d1b678a3e31d59c6e11afbdb7ccc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/openrevenue/B427Cx3R8QFicYQk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenRevenue Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6A00\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openrevenue.com/advanced/realtime\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/advanced/realtime.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openrevenue.com/#organization\",\"name\":\"OpenRevenue Documentation\",\"url\":\"https://docs.openrevenue.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openrevenue/J1l4-iBBUEFWlkEV/logo/light.svg?fit=max\u0026auto=format\u0026n=J1l4-iBBUEFWlkEV\u0026q=85\u0026s=b6aaaa596c2fdec956ef9bf89504cbe8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openrevenue.com#website\",\"name\":\"OpenRevenue Documentation\",\"url\":\"https://docs.openrevenue.com\",\"publisher\":{\"@id\":\"https://docs.openrevenue.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openrevenue.com/advanced/realtime#webpage\",\"url\":\"https://docs.openrevenue.com/advanced/realtime\",\"name\":\"Realtime\",\"description\":\"Understand how OpenRevenue counts active visitors and powers realtime website analytics.\",\"dateModified\":\"2026-11-16T12:54:36.393Z\",\"isPartOf\":{\"@id\":\"https://docs.openrevenue.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openrevenue.com/advanced/realtime#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openrevenue.com/advanced/realtime#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OpenRevenue Documentation\",\"item\":\"https://docs.openrevenue.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Realtime\",\"item\":\"https://docs.openrevenue.com/advanced/realtime\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.openrevenue.com/advanced/realtime#article\",\"headline\":\"Realtime\",\"name\":\"Realtime\",\"description\":\"Understand how OpenRevenue counts active visitors and powers realtime website analytics.\",\"url\":\"https://docs.openrevenue.com/advanced/realtime\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openrevenue.com/advanced/realtime#webpage\"},\"dateModified\":\"2026-11-16T12:54:36.393Z\",\"keywords\":\"live, visitors, globe\",\"publisher\":{\"@id\":\"https://docs.openrevenue.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openrevenue.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenRevenue Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OpenRevenue Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/advanced/realtime.md","siteName":"OpenRevenue Documentation","nav":{"global":{"anchors":[{"anchor":"Status","icon":"activity","href":"https://status.openrevenue.com"},{"anchor":"Support","icon":"life-buoy","href":"mailto:support@openrevenue.com"}]},"tabs":[{"tab":"Documentation","icon":"book-open","groups":[{"group":"Getting started","pages":[{"title":"Welcome to OpenRevenue","sidebarTitle":"Introduction","icon":"house","href":""},{"title":"Installation","icon":"download","href":"/installation"}]},{"group":"Installation","pages":[{"title":"HTML installation","sidebarTitle":"HTML","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/html.svg","href":"/installation/html"},{"title":"Next.js installation","sidebarTitle":"Next.js","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/next.svg","href":"/installation/nextjs"},{"title":"React installation","sidebarTitle":"React","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/react.svg","href":"/installation/react"},{"title":"Vue.js installation","sidebarTitle":"Vue.js","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/vue.svg","href":"/installation/vue"},{"title":"Nuxt installation","sidebarTitle":"Nuxt","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/nuxt.svg","href":"/installation/nuxt"},{"title":"SvelteKit installation","sidebarTitle":"SvelteKit","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/svelte.svg","href":"/installation/sveltekit"},{"title":"Astro installation","sidebarTitle":"Astro","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/astro.svg","href":"/installation/astro"},{"title":"Angular installation","sidebarTitle":"Angular","description":"Install OpenRevenue analytics in Angular through index.html or an Angular service.","icon":"https://mintlify.s3.us-west-1.amazonaws.com/openrevenue/images/frameworks/angular.svg","href":"/installation/angular"}]},{"group":"Advanced","pages":[{"title":"Realtime","icon":"globe","href":"/advanced/realtime"},{"title":"Custom events","description":"Track signups, clicks, downloads, conversions, and other product actions with OpenRevenue custom events.","icon":"mouse-pointer-click","href":"/advanced/custom-events"},{"title":"Funnels","icon":"funnel","href":"/advanced/funnels"},{"title":"Transactions","icon":"receipt","href":"/advanced/transactions"},{"title":"Revenue integrations","icon":"circle-dollar-sign","href":"/advanced/revenue"},{"title":"Integrations","icon":"plug","href":"/advanced/integrations"},{"title":"Visitors","icon":"users","href":"/advanced/visitors"},{"title":"Cookies and consent","icon":"cookie","href":"/advanced/cookies-and-consent"},{"title":"Public stats","icon":"share-2","href":"/advanced/public-stats"},{"title":"Widgets","icon":"layout-dashboard","href":"/advanced/widgets"},{"title":"Installation security","icon":"shield-check","href":"/advanced/security"},{"title":"Uploaded files","icon":"upload","href":"/advanced/uploads"},{"title":"Web Vitals","sidebarTitle":"Web vitals","icon":"gauge","href":"/advanced/web-vitals"},{"title":"Bot traffic tracking","sidebarTitle":"Bot tracking","icon":"bot","href":"/advanced/bot-tracking"},{"title":"First-party proxy","icon":"route","href":"/advanced/first-party-proxy"}]}]},{"tab":"API reference","icon":"square-terminal","pages":[{"title":"API reference","href":"/api/account-api"}]}]},"basePath":"","title":"Realtime - OpenRevenue Documentation","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}