📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
Better replays / experiments / feature flags empty states
Blue Mouse9a064f396018
diff --git a/backend/apps/cloud/src/project/project.controller.ts b/backend/apps/cloud/src/project/project.controller.tsindex ce5bec9f2..c0d2ac2f7 100644--- a/backend/apps/cloud/src/project/project.controller.ts+++ b/backend/apps/cloud/src/project/project.controller.ts@@ -1964,16 +1964,21 @@ export class ProjectController {this.projectService.allowedToView(project, userId, headers['x-password'])- const [isDataExists, isErrorDataExists, isCaptchaDataExists] =- await Promise.all([- !_isEmpty(- await this.projectService.getPIDsWhereAnalyticsDataExists([id]),- ),- !_isEmpty(await this.projectService.getPIDsWhereErrorsDataExists([id])),- !_isEmpty(- await this.projectService.getPIDsWhereCaptchaDataExists([id]),- ),- ])+ const [+ isDataExists,+ isErrorDataExists,+ isCaptchaDataExists,+ isReplayDataExists,+ ] = await Promise.all([+ !_isEmpty(+ await this.projectService.getPIDsWhereAnalyticsDataExists([id]),+ ),+ !_isEmpty(await this.projectService.getPIDsWhereErrorsDataExists([id])),+ !_isEmpty(await this.projectService.getPIDsWhereCaptchaDataExists([id])),+ !_isEmpty(+ await this.projectService.getPIDsWhereSessionReplayDataExists([id]),+ ),+ ])let rolelet isAccessConfirmed = true@@ -2020,6 +2025,7 @@ export class ProjectController {isDataExists,isErrorDataExists,isCaptchaDataExists,+ isReplayDataExists,organisationId: project.organisation?.id,role,}diff --git a/backend/apps/cloud/src/project/project.service.ts b/backend/apps/cloud/src/project/project.service.tsindex 313164b8c..9e2c0106e 100644--- a/backend/apps/cloud/src/project/project.service.ts+++ b/backend/apps/cloud/src/project/project.service.ts@@ -584,6 +584,10 @@ export class ProjectService {project,PlanFeatureCode.experiments,),+ [PlanFeatureCode.replays]: this.projectOwnerHasFeature(+ project,+ PlanFeatureCode.replays,+ ),}}@@ -1216,6 +1220,43 @@ export class ProjectService {return _map(data, ({ pid }) => pid)}+ async getPIDsWhereSessionReplayDataExists(+ projectIds: string[],+ ): Promise<string[]> {+ if (_isEmpty(projectIds)) {+ return []+ }++ const params = _reduce(+ projectIds,+ (acc, curr, index) => ({+ ...acc,+ [`pid_${index}`]: curr,+ }),+ {},+ )++ const pids = _join(+ _map(params, (val, key) => `{${key}:FixedString(12)}`),+ ',',+ )++ const query = `+ SELECT DISTINCT pid+ FROM session_replay_chunks+ WHERE pid IN (${pids})+ `++ const { data } = await clickhouse+ .query({+ query,+ query_params: params,+ })+ .then((resultSet) => resultSet.json<{ pid: string }>())++ return _map(data, ({ pid }) => pid)+ }+async getSubscriberByEmail(projectId: string, email: string) {return this.projectSubscriberRepository.findOne({where: { projectId, email },diff --git a/backend/apps/cloud/src/user/entities/user.entity.ts b/backend/apps/cloud/src/user/entities/user.entity.tsindex ef6d1cfdf..4f2899d7b 100644--- a/backend/apps/cloud/src/user/entities/user.entity.ts+++ b/backend/apps/cloud/src/user/entities/user.entity.ts@@ -42,6 +42,7 @@ export enum PlanType {export enum PlanFeatureCode {featureFlags = 'featureFlags',experiments = 'experiments',+ replays = 'replays',}export enum DashboardBlockReason {@@ -117,6 +118,7 @@ const PLAN_TYPE_RANK = {const PLAN_FEATURE_REQUIRED_PLAN = {[PlanFeatureCode.featureFlags]: PlanType.plus,[PlanFeatureCode.experiments]: PlanType.plus,+ [PlanFeatureCode.replays]: PlanType.plus,} as constexport const getEffectivePlanType = (diff --git a/web/app/api/api.server.ts b/web/app/api/api.server.tsindex ccd458cec..b055741fd 100644--- a/web/app/api/api.server.ts+++ b/web/app/api/api.server.ts@@ -2233,6 +2233,10 @@ export interface Project {isOwner: booleanisLocked: booleanfeatureAccess?: ProjectFeatureAccess+ isDataExists?: boolean+ isErrorDataExists?: boolean+ isCaptchaDataExists?: boolean+ isReplayDataExists?: booleanisCaptchaProject: booleanisCaptchaEnabled: booleanisAnalyticsProject: booleandiff --git a/web/app/lib/constants/index.ts b/web/app/lib/constants/index.tsindex 9966f044b..806283687 100644--- a/web/app/lib/constants/index.ts+++ b/web/app/lib/constants/index.ts@@ -538,7 +538,7 @@ export const localisePath = (pathname: string, lang: string): string => {// Increase this counter every time some major change is done within localisation files// This will prevent cached version or raw locale strings being displayed in production-export const I18N_CACHE_BREAKER = 41+export const I18N_CACHE_BREAKER = 42export const roles: Role[] = ['admin', 'viewer']diff --git a/web/app/lib/models/Project.ts b/web/app/lib/models/Project.tsindex 557893164..56f203f2c 100644--- a/web/app/lib/models/Project.ts+++ b/web/app/lib/models/Project.ts@@ -266,6 +266,7 @@ export interface Project {isDataExists: booleanisErrorDataExists: booleanisCaptchaDataExists: boolean+ isReplayDataExists: booleanfeatureAccess?: ProjectFeatureAccesssessionReplayRetentionDays?: numberbotsProtectionLevel: 'off' | 'basic' | 'strict'diff --git a/web/app/lib/pricing/features.ts b/web/app/lib/pricing/features.tsindex daadf2e86..137f4fd9a 100644--- a/web/app/lib/pricing/features.ts+++ b/web/app/lib/pricing/features.ts@@ -1,3 +1,3 @@-export type PlanFeatureCode = 'featureFlags' | 'experiments'+export type PlanFeatureCode = 'featureFlags' | 'experiments' | 'replays'export type ProjectFeatureAccess = Record<PlanFeatureCode, boolean>diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsxindex 41e8f7e46..02b26dedb 100644--- a/web/app/pages/Project/View/ViewProject.tsx+++ b/web/app/pages/Project/View/ViewProject.tsx@@ -301,6 +301,7 @@ const ViewProjectContent = () => {const projectPassword = useProjectPassword(id)const experimentsAccess = useProjectFeatureAccess('experiments')const featureFlagsAccess = useProjectFeatureAccess('featureFlags')+ const replaysAccess = useProjectFeatureAccess('replays')const { theme, setTheme } = useTheme()@@ -1614,7 +1615,11 @@ const ViewProjectContent = () => {/>) : null}{activeTab === PROJECT_TABS.replays ? (- <ReplaysView tnMapping={tnMapping} />+ replaysAccess.hasAccess ? (+ <ReplaysView tnMapping={tnMapping} />+ ) : (+ <PlanFeatureLocked feature='replays' />+ )) : null}{activeTab === PROJECT_TABS.errors ? (<ErrorsView />diff --git a/web/app/pages/Project/View/components/PlanFeatureLocked.tsx b/web/app/pages/Project/View/components/PlanFeatureLocked.tsxindex a421d5318..b211cb78f 100644--- a/web/app/pages/Project/View/components/PlanFeatureLocked.tsx+++ b/web/app/pages/Project/View/components/PlanFeatureLocked.tsx@@ -1,7 +1,8 @@import { LockIcon } from '@phosphor-icons/react'-import { useTranslation } from 'react-i18next'+import { Trans, useTranslation } from 'react-i18next'import { useProjectFeatureAccess } from '~/hooks/useProjectFeatureAccess'+import { DOCS_URL } from '~/lib/constants'import type { PlanFeatureCode } from '~/lib/pricing/features'import Button from '~/ui/Button'import { Text } from '~/ui/Text'@@ -11,7 +12,18 @@ interface PlanFeatureLockedProps {feature: PlanFeatureCode}-const allowedFeatures = ['featureFlags', 'experiments'] as const+const allowedFeatures = ['featureFlags', 'experiments', 'replays'] as const+const featureDocsUrls: Record<(typeof allowedFeatures)[number], string> = {+ featureFlags: `${DOCS_URL}/analytics-dashboard/feature-flags`,+ experiments: `${DOCS_URL}/analytics-dashboard/experiments`,+ replays: `${DOCS_URL}/analytics-dashboard/session-replays`,+}+const featureDocsAriaLabels: Record<(typeof allowedFeatures)[number], string> =+ {+ featureFlags: 'ariaLabels.openFeatureFlagsGuide',+ experiments: 'ariaLabels.openExperimentsGuide',+ replays: 'ariaLabels.openSessionReplaysGuide',+ }const PlanFeatureLocked = ({ feature }: PlanFeatureLockedProps) => {const { t } = useTranslation('common')@@ -38,10 +50,32 @@ const PlanFeatureLocked = ({ feature }: PlanFeatureLockedProps) => {as='p'size='sm'colour='secondary'- className='mx-auto mt-2 max-w-md whitespace-pre-line'+ className='mx-auto mt-2 max-w-md'>{t(`project.featureAccess.${audience}Description`)}</Text>+ <Text+ as='p'+ size='sm'+ colour='secondary'+ className='mx-auto mt-3 max-w-md'+ >+ <Trans+ t={t}+ i18nKey={`project.featureAccess.${safeFeature}.description`}+ components={{+ docs: (+ <a+ href={featureDocsUrls[safeFeature]}+ aria-label={t(featureDocsAriaLabels[safeFeature])}+ className='font-medium underline decoration-dashed hover:decoration-solid'+ target='_blank'+ rel='noreferrer noopener'+ />+ ),+ }}+ />+ </Text>{isOwner ? (<div className='mt-6 flex justify-center'><Button to={routes.billing_choose_plan}>diff --git a/web/app/pages/Project/tabs/Experiments/ExperimentsView.tsx b/web/app/pages/Project/tabs/Experiments/ExperimentsView.tsxindex e9a3d233d..01f535c6e 100644--- a/web/app/pages/Project/tabs/Experiments/ExperimentsView.tsx+++ b/web/app/pages/Project/tabs/Experiments/ExperimentsView.tsx@@ -17,7 +17,7 @@ import {MagnifyingGlassIcon,} from '@phosphor-icons/react'import { useState, useEffect, useMemo, useRef, useCallback, memo } from 'react'-import { useTranslation } from 'react-i18next'+import { Trans, useTranslation } from 'react-i18next'import { Link } from '~/ui/Link'import { useFetcher, useLocation, useSearchParams } from 'react-router'import { toast } from 'sonner'@@ -27,6 +27,7 @@ import type {ExperimentResults as ExperimentResultsSummary,ExperimentVariantResult,} from '~/api/api.server'+import { DOCS_URL } from '~/lib/constants'import DashboardHeader from '~/pages/Project/View/components/DashboardHeader'import {useViewProjectContext,@@ -52,6 +53,7 @@ import { LoaderView } from '../../View/components/LoaderView'dayjs.extend(relativeTime)+const EXPERIMENTS_DOCS_URL = `${DOCS_URL}/analytics-dashboard/experiments`const DEFAULT_EXPERIMENTS_TAKE = 20type ExperimentStatus = 'draft' | 'running' | 'paused' | 'completed'@@ -1247,7 +1249,21 @@ const ExperimentsView = ({colour='secondary'className='mx-auto mt-2 max-w-md whitespace-pre-wrap'>- {t('experiments.description')}+ <Trans+ t={t}+ i18nKey='experiments.description'+ components={{+ docs: (+ <a+ href={EXPERIMENTS_DOCS_URL}+ aria-label={t('ariaLabels.openExperimentsGuide')}+ className='font-medium underline decoration-dashed hover:decoration-solid'+ target='_blank'+ rel='noreferrer noopener'+ />+ ),+ }}+ /></Text><div className='mt-6'><Button size='lg' onClick={handleNewExperiment}>diff --git a/web/app/pages/Project/tabs/FeatureFlags/FeatureFlagsView.tsx b/web/app/pages/Project/tabs/FeatureFlags/FeatureFlagsView.tsxindex 86c9205ec..365c8f771 100644--- a/web/app/pages/Project/tabs/FeatureFlags/FeatureFlagsView.tsx+++ b/web/app/pages/Project/tabs/FeatureFlags/FeatureFlagsView.tsx@@ -28,7 +28,7 @@ import {Suspense,use,} from 'react'-import { useTranslation } from 'react-i18next'+import { Trans, useTranslation } from 'react-i18next'import { Link } from '~/ui/Link'import {useLocation,@@ -50,6 +50,7 @@ import {useFeatureFlagStatsProxy,useFeatureFlagProfilesProxy,} from '~/hooks/useAnalyticsProxy'+import { DOCS_URL } from '~/lib/constants'import DashboardHeader from '~/pages/Project/View/components/DashboardHeader'import {useViewProjectContext,@@ -80,6 +81,7 @@ import { LoaderView } from '../../View/components/LoaderView'dayjs.extend(relativeTime)+const FEATURE_FLAGS_DOCS_URL = `${DOCS_URL}/analytics-dashboard/feature-flags`const DEFAULT_FEATURE_FLAGS_TAKE = 20const DEFAULT_FEATURE_FLAG_PROFILES_TAKE = 15@@ -1236,7 +1238,21 @@ const FeatureFlagsViewInner = ({colour='secondary'className='mx-auto mt-2 max-w-md whitespace-pre-wrap'>- {t('featureFlags.description')}+ <Trans+ t={t}+ i18nKey='featureFlags.description'+ components={{+ docs: (+ <a+ href={FEATURE_FLAGS_DOCS_URL}+ aria-label={t('ariaLabels.openFeatureFlagsGuide')}+ className='font-medium underline decoration-dashed hover:decoration-solid'+ target='_blank'+ rel='noreferrer noopener'+ />+ ),+ }}+ /></Text><div className='mt-6'><Button size='lg' onClick={handleNewFlag}>diff --git a/web/app/pages/Project/tabs/Replays/NoReplays.tsx b/web/app/pages/Project/tabs/Replays/NoReplays.tsxindex b6a0a750e..6e050a956 100644--- a/web/app/pages/Project/tabs/Replays/NoReplays.tsx+++ b/web/app/pages/Project/tabs/Replays/NoReplays.tsx@@ -1,21 +1,36 @@-import { FunnelIcon, MonitorPlayIcon } from '@phosphor-icons/react'+import {+ CalendarIcon,+ CheckCircleIcon,+ FunnelIcon,+ MonitorPlayIcon,+} from '@phosphor-icons/react'import _isEmpty from 'lodash/isEmpty'import { memo } from 'react'-import { useTranslation } from 'react-i18next'+import { Trans, useTranslation } from 'react-i18next'+import { DOCS_URL } from '~/lib/constants'import Filters from '~/pages/Project/View/components/Filters'import { Filter } from '~/pages/Project/View/interfaces/traffic'import { typeNameMapping } from '~/pages/Project/View/ViewProject.helpers'import { Text } from '~/ui/Text'+const SESSION_REPLAYS_DOCS_URL = `${DOCS_URL}/analytics-dashboard/session-replays`+const setupStepKeys = [+ 'project.noReplaysSetupSteps.startRecorder',+ 'project.noReplaysSetupSteps.choosePrivacy',+ 'project.noReplaysSetupSteps.reviewRecordings',+] as const+interface NoReplaysProps {filters: Filter[]+ hasReplayData: boolean}-const NoReplays = ({ filters }: NoReplaysProps) => {+const NoReplays = ({ filters, hasReplayData }: NoReplaysProps) => {const { t } = useTranslation('common')const tnMapping = typeNameMapping(t)const hasFilters = !_isEmpty(filters)+ const isSetupEmpty = !hasFilters && !hasReplayDatareturn (<>@@ -24,25 +39,59 @@ const NoReplays = ({ filters }: NoReplaysProps) => {<div className='mx-auto mb-6 flex size-14 items-center justify-center rounded-xl bg-gray-100 dark:bg-slate-900'>{hasFilters ? (<FunnelIcon className='size-7 text-gray-700 dark:text-gray-200' />- ) : (+ ) : isSetupEmpty ? (<MonitorPlayIcon className='size-7 text-gray-700 dark:text-gray-200' />+ ) : (+ <CalendarIcon className='size-7 text-gray-700 dark:text-gray-200' />)}</div><Text as='h3' size='xl' weight='medium' className='tracking-tight'>{hasFilters? t('project.noReplaysFiltersTitle')- : t('project.noReplaysTitle')}+ : isSetupEmpty+ ? t('project.noReplaysSetupTitle')+ : t('project.noReplaysTitle')}</Text><Textas='p'size='sm'colour='secondary'- className='mx-auto mt-2 max-w-md'+ className='mx-auto mt-2 max-w-md whitespace-pre-wrap'>- {hasFilters- ? t('project.noReplaysFiltersDesc')- : t('project.noReplaysContent')}+ {hasFilters ? (+ t('project.noReplaysFiltersDesc')+ ) : isSetupEmpty ? (+ <Trans+ t={t}+ i18nKey='project.noReplaysSetupDesc'+ components={{+ howto: (+ <a+ href={SESSION_REPLAYS_DOCS_URL}+ aria-label={t('ariaLabels.openSessionReplaysGuide')}+ className='font-medium underline decoration-dashed hover:decoration-solid'+ target='_blank'+ rel='noreferrer noopener'+ />+ ),+ }}+ />+ ) : (+ t('project.noReplaysContent')+ )}</Text>+ {isSetupEmpty ? (+ <ul className='mx-auto mt-6 max-w-md space-y-3 text-left'>+ {setupStepKeys.map((key) => (+ <li key={key} className='flex gap-3'>+ <CheckCircleIcon className='mt-0.5 size-4 shrink-0 text-emerald-600 dark:text-emerald-400' />+ <Text as='span' size='sm' colour='secondary'>+ {t(key)}+ </Text>+ </li>+ ))}+ </ul>+ ) : null}</div></>)diff --git a/web/app/pages/Project/tabs/Replays/ReplaysView.tsx b/web/app/pages/Project/tabs/Replays/ReplaysView.tsxindex 5fac94875..e5dc711be 100644--- a/web/app/pages/Project/tabs/Replays/ReplaysView.tsx+++ b/web/app/pages/Project/tabs/Replays/ReplaysView.tsx@@ -379,7 +379,10 @@ const ReplaysViewInner = ({) : null}{replaysLoading && _isEmpty(replays) ? <LoaderView /> : null}{!replaysLoading && _isEmpty(replays) && !hasShownContentRef.current ? (- <NoReplays filters={filters} />+ <NoReplays+ filters={filters}+ hasReplayData={Boolean(project?.isReplayDataExists)}+ />) : null}<Replaysreplays={replays}diff --git a/web/app/routes/projects.$id.tsx b/web/app/routes/projects.$id.tsxindex ae6ac0a33..04df7bc19 100644--- a/web/app/routes/projects.$id.tsx+++ b/web/app/routes/projects.$id.tsx@@ -738,7 +738,10 @@ export async function loader({ request, params }: LoaderFunctionArgs) {password || undefined,).then((res) => res.data)}- } else if (tab === PROJECT_TABS.replays) {+ } else if (+ tab === PROJECT_TABS.replays &&+ (isSelfhosted || project.featureAccess?.replays === true)+ ) {replaysData = getSessionReplaysServer(request,projectId,diff --git a/web/public/locales/en.json b/web/public/locales/en.jsonindex bd7793751..20c2244c6 100644--- a/web/public/locales/en.json+++ b/web/public/locales/en.json@@ -179,6 +179,8 @@"openDataImportDocumentation": "Open data import documentation","openErrorTrackingDocumentation": "Open error tracking documentation","openErrorTrackingGuide": "Open error tracking guide",+ "openExperimentsGuide": "Open Experiments guide",+ "openFeatureFlagsGuide": "Open Feature Flags guide","openFeedbackForm": "Open feedback form","openGoogleSearchConsole": "Open Google Search Console","openGoogleSearchConsoleSelfHostingGuide": "Open Google Search Console self-hosting guide",@@ -188,6 +190,7 @@"openSwetrixDiscord": "Open Swetrix Discord","openSwetrixOnX": "Open Swetrix on X","openSwetrixWebsite": "Open Swetrix website",+ "openSessionReplaysGuide": "Open Session replays guide","openTimezoneSettings": "Open timezone settings","openTrackingSetupDocumentation": "Open tracking setup documentation","openTroubleshootingGuide": "Open troubleshooting guide",@@ -759,7 +762,7 @@"desc": "Invite teammates, assign roles and manage shared projects from one organisation workspace."},"experiments": {- "title": "Experiments & Feature Flags",+ "title": "Experiments & Feature flags","desc": "Run A/B tests to find what works best. Roll out features gradually with built-in feature flags."},"captcha": {@@ -1197,7 +1200,7 @@"goals": "Goals","goalsDesc": "Conversion goals help you track important user actions on your website.\nDefine pageview goals or custom event goals to measure how many visitors complete specific actions.","experiments": "Experiments",- "featureFlags": "Feature Flags",+ "featureFlags": "Feature flags","featureFlagsDesc": "Feature flags allow you to toggle features for cohorts or individuals.\nTest the impact before rolling out to everyone.","askAi": "Ask AI","revenue": "Revenue",@@ -1423,8 +1426,8 @@"noChartData": "No chart data available for the selected period"},"featureFlags": {- "title": "Feature Flags",- "description": "Feature flags allow you to toggle features for cohorts or individuals.\nTest the impact of new features before rolling out to everyone.",+ "title": "Feature flags",+ "description": "Feature flags allow you to toggle features for cohorts or individuals.\nTest the impact of new features before rolling out to everyone.\n<docs>Learn more in the docs</docs>.","add": "Add feature flag","addFlag": "Add Flag","filterFlags": "Filter flags",@@ -1512,7 +1515,7 @@},"experiments": {"title": "Experiments",- "description": "Run A/B tests to compare variants and find what works best.\nCreate experiments linked to goals and let Bayesian statistics determine the winner.",+ "description": "Run A/B tests to compare variants and find what works best.\nCreate experiments linked to goals and let Bayesian statistics determine the winner.\n<docs>Learn more in the docs</docs>.","create": "Create Experiment","edit": "Edit Experiment","editDisabledRunning": "Pause this experiment to edit settings.",@@ -2069,15 +2072,22 @@},"featureAccess": {"featureFlags": {- "ownerTitle": "Feature Flags are not available on your plan",- "viewerTitle": "Feature Flags are not available for this project"+ "ownerTitle": "Feature flags are not available on your plan",+ "viewerTitle": "Feature flags are not available for this project",+ "description": "Feature flags let you roll out changes, target visitors, and toggle features without deploying new code. <docs>Learn more in the docs</docs>."},"experiments": {"ownerTitle": "Experiments are not available on your plan",- "viewerTitle": "Experiments are not available for this project"+ "viewerTitle": "Experiments are not available for this project",+ "description": "Experiments let you run A/B tests, split traffic between variants, and measure which version performs better. <docs>Learn more in the docs</docs>."+ },+ "replays": {+ "ownerTitle": "Session replays are not available on your plan",+ "viewerTitle": "Session replays are not available for this project",+ "description": "Session replays record browser sessions so you can review user journeys, debug issues, and understand drop-offs. <docs>Learn more in the docs</docs>."},"ownerDescription": "This feature is included in Plus and Enterprise. Upgrade your plan to use it in this project.",- "viewerDescription": "The project owner does not have access to this feature on their current plan. Contact them to upgrade the project plan.",+ "viewerDescription": "This feature is included in Plus and Enterprise. The project owner needs to upgrade the project plan to enable it.","upgradePlan": "Upgrade plan"},"waiting": {@@ -2122,8 +2132,15 @@"noSessionsFound": "No sessions found for this period.","exploreSessions": "View sessions","noSessionsFiltersDesc": "No sessions match this period and filter set. Try changing the date range or filters.",- "noReplaysTitle": "No replays yet",- "noReplaysContent": "No session replays were recorded for this period. Try a different date range.",+ "noReplaysSetupTitle": "No session replays yet",+ "noReplaysSetupDesc": "Session replays let you watch recorded browser sessions with the analytics context Swetrix already collected. They start recording only after your website calls startSessionReplay().\n<howto>Learn how to set up Session replays</howto>.",+ "noReplaysSetupSteps": {+ "startRecorder": "Start the recorder from your site code after Swetrix is initialised.",+ "choosePrivacy": "Choose a privacy mode before recording pages that may contain sensitive data.",+ "reviewRecordings": "Recorded sessions will appear here for the selected date range."+ },+ "noReplaysTitle": "No replays for this period",+ "noReplaysContent": "No session replays were recorded for the selected period. Try a different date range.","noReplaysFiltersTitle": "No replays found","noReplaysFiltersDesc": "No replays match this period and filter set. Try changing the date range or filters.","noCaptchaEv": "No CAPTCHA events were recorded for this period.\nIf you have not set up CAPTCHA yet, see the <url>docs</url> to add it to your app.",