Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Update FAQ and subscription components to replace "events" with "pageviews" for consistency across the application. Remove outdated FAQ item regarding event definitions. Refactor related text in various documentation and components to reflect this terminology change.

Bill Yang0d1e20d6e7b3
diff --git a/client/src/app/subscribe/components/FAQSection.tsx b/client/src/app/subscribe/components/FAQSection.tsx
index 0087d2117..c89e5328d 100644
--- a/client/src/app/subscribe/components/FAQSection.tsx
+++ b/client/src/app/subscribe/components/FAQSection.tsx
@@ -6,11 +6,6 @@ interface FAQItem {
}
const FAQ_ITEMS: FAQItem[] = [
- {
- question: "What counts as an event?",
- answer:
- "An event is either a pageview or a custom event that you create on your website. Pageviews are tracked automatically, while custom events can be defined to track specific user interactions.",
- },
{
question: "Can I change my plan later?",
answer: "Absolutely. You can upgrade, downgrade, or cancel your plan at any time through your account settings.",
@@ -28,7 +23,10 @@ export function FAQSection() {
<h3 className="text-xl font-semibold mb-4 text-neutral-900 dark:text-neutral-100">Frequently Asked Questions</h3>
{FAQ_ITEMS.map((faq, index) => (
- <div key={index} className="bg-neutral-50 dark:bg-neutral-800/20 p-5 rounded-lg border border-neutral-200 dark:border-neutral-700">
+ <div
+ key={index}
+ className="bg-neutral-50 dark:bg-neutral-800/20 p-5 rounded-lg border border-neutral-200 dark:border-neutral-700"
+ >
<h4 className="font-medium mb-2 text-neutral-900 dark:text-neutral-100">{faq.question}</h4>
<p className="text-neutral-600 dark:text-neutral-300">{faq.answer}</p>
</div>
diff --git a/client/src/app/subscribe/components/PricingCard.tsx b/client/src/app/subscribe/components/PricingCard.tsx
index 8ef42e742..17d919ce6 100644
--- a/client/src/app/subscribe/components/PricingCard.tsx
+++ b/client/src/app/subscribe/components/PricingCard.tsx
@@ -115,10 +115,9 @@ export function PricingCard({ isLoggedIn }: { isLoggedIn: boolean }) {
<div className="max-w-6xl mx-auto">
{/* Shared controls section */}
<div className="max-w-xl mx-auto mb-8">
- {/* Events per month and billing toggle */}
<div className="flex justify-between mb-6 items-center">
<div>
- <h3 className="font-semibold mb-2">Events per month</h3>
+ <h3 className="font-semibold mb-2">Monthly pageviews</h3>
<div className="text-3xl font-bold text-emerald-400">
{typeof eventLimit === "number" ? eventLimit.toLocaleString() : eventLimit}
</div>
@@ -189,7 +188,7 @@ export function PricingCard({ isLoggedIn }: { isLoggedIn: boolean }) {
<div className="mb-6">
<div>
<span className="text-3xl font-bold">{DEFAULT_EVENT_LIMIT.toLocaleString()}</span>
- <span className="ml-1 text-neutral-600 dark:text-neutral-400">events/month</span>
+ <span className="ml-1 text-neutral-600 dark:text-neutral-400">pageviews/m</span>
</div>
</div>
diff --git a/client/src/components/subscription/FreePlan.tsx b/client/src/components/subscription/FreePlan.tsx
index d2ca3e11c..b8744c41e 100644
--- a/client/src/components/subscription/FreePlan.tsx
+++ b/client/src/components/subscription/FreePlan.tsx
@@ -38,7 +38,7 @@ export function FreePlan() {
<CardHeader>
<CardTitle className="flex items-center">Free Plan</CardTitle>
<CardDescription>
- You are on the Free plan with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month.
+ You are on the Free plan with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month.
</CardDescription>
</CardHeader>
<CardContent>
diff --git a/client/src/components/subscription/OverridePlan.tsx b/client/src/components/subscription/OverridePlan.tsx
index 5b0105907..1578b273d 100644
--- a/client/src/components/subscription/OverridePlan.tsx
+++ b/client/src/components/subscription/OverridePlan.tsx
@@ -47,7 +47,7 @@ export function OverridePlan() {
{formatPlanName(subscription.planName)} Plan
</CardTitle>
<CardDescription>
- You have a custom plan with up to {subscription?.eventLimit.toLocaleString()} events per month.
+ You have a custom plan with up to {subscription?.eventLimit.toLocaleString()} pageviews per month.
</CardDescription>
</CardHeader>
<CardContent>
diff --git a/docs/src/app/(home)/compare/plausible/ComparisonContent.tsx b/docs/src/app/(home)/compare/plausible/ComparisonContent.tsx
index 41ec9bca0..449916ebc 100644
--- a/docs/src/app/(home)/compare/plausible/ComparisonContent.tsx
+++ b/docs/src/app/(home)/compare/plausible/ComparisonContent.tsx
@@ -68,10 +68,10 @@ export function PlausibleComparisonContent() {
<p className="leading-relaxed">
Plausible requires payment from day one, even for small personal projects. We believe analytics should be
accessible to everyone, which is why Rybbit offers a generous free tier with{" "}
- {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month. Perfect for personal blogs, side projects, or testing
- before you commit. When you're ready to upgrade, our pricing is competitive and transparent. Both companies
- are bootstrapped and independent, but we've chosen to make getting started easier for developers and small
- businesses who are just beginning their journey.
+ {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month. Perfect for personal blogs, side projects, or
+ testing before you commit. When you're ready to upgrade, our pricing is competitive and transparent. Both
+ companies are bootstrapped and independent, but we've chosen to make getting started easier for developers and
+ small businesses who are just beginning their journey.
</p>
</div>
diff --git a/docs/src/app/(home)/compare/simpleanalytics/ComparisonContent.tsx b/docs/src/app/(home)/compare/simpleanalytics/ComparisonContent.tsx
index 2028b5b88..860d994f4 100644
--- a/docs/src/app/(home)/compare/simpleanalytics/ComparisonContent.tsx
+++ b/docs/src/app/(home)/compare/simpleanalytics/ComparisonContent.tsx
@@ -70,7 +70,7 @@ export function SimpleAnalyticsComparisonContent() {
<p className="leading-relaxed">
SimpleAnalytics offers unlimited pageviews on their free tier, but with a major catch: they delete all data
older than 30 days. This makes historical comparisons impossible and limits the free tier's usefulness for any
- serious analysis. Rybbit's free tier provides {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month with
+ serious analysis. Rybbit's free tier provides {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month with
full data retention. You can track seasonal trends, compare year-over-year growth, and build a complete
picture of your site's performance over time. A truly useful free tier shouldn't delete your history just when
it becomes valuable.
diff --git a/docs/src/app/(home)/features/page.tsx b/docs/src/app/(home)/features/page.tsx
index 1eb4e3146..b1b7334b2 100644
--- a/docs/src/app/(home)/features/page.tsx
+++ b/docs/src/app/(home)/features/page.tsx
@@ -515,7 +515,7 @@ export default function FeaturesPage() {
</div>
<p className="text-neutral-500 dark:text-neutral-400 text-sm flex items-center justify-center gap-2 mt-8">
<CheckCircle className="w-4 h-4" />
- No credit card required • Cancel anytime • {DEFAULT_EVENT_LIMIT.toLocaleString()} events/month free
+ No credit card required • Cancel anytime • {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews/month free
</p>
</div>
</section>
diff --git a/docs/src/app/(home)/page.tsx b/docs/src/app/(home)/page.tsx
index 00016fd07..3c26959bc 100644
--- a/docs/src/app/(home)/page.tsx
+++ b/docs/src/app/(home)/page.tsx
@@ -529,15 +529,6 @@ export default function HomePage() {
for either personal or business use.
</AccordionContent>
</AccordionItem>
- <AccordionItem value="item-9" className="border-t border-neutral-300/50 dark:border-neutral-800/50">
- <AccordionTrigger className="px-6 py-4 text-base md:text-lg font-medium hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors">
- What counts as an event?
- </AccordionTrigger>
- <AccordionContent className="px-6 pb-4 text-neutral-700 dark:text-neutral-300">
- An event is either a pageview or a custom event that you create on your website. Pageviews are
- tracked automatically, while custom events can be defined to track specific user interactions.
- </AccordionContent>
- </AccordionItem>
</Accordion>
</div>
</div>
diff --git a/docs/src/app/(home)/pricing/components/ComparisonSection.tsx b/docs/src/app/(home)/pricing/components/ComparisonSection.tsx
index f944ca509..6a2e79221 100644
--- a/docs/src/app/(home)/pricing/components/ComparisonSection.tsx
+++ b/docs/src/app/(home)/pricing/components/ComparisonSection.tsx
@@ -16,7 +16,7 @@ const COMPARISON_FEATURES = [
category: "Usage",
features: [
{
- name: "Monthly events",
+ name: "Monthly pageviews",
free: DEFAULT_EVENT_LIMIT.toLocaleString(),
standard: "100K - 20M+",
pro: "100K - 20M+",
diff --git a/docs/src/app/(home)/pricing/page.tsx b/docs/src/app/(home)/pricing/page.tsx
index 7a6c12318..12a816f29 100644
--- a/docs/src/app/(home)/pricing/page.tsx
+++ b/docs/src/app/(home)/pricing/page.tsx
@@ -20,20 +20,10 @@ export default function PricingPage() {
Frequently Asked Questions
</h3>
- <div className="bg-neutral-50 dark:bg-neutral-800/20 p-5 rounded-lg border border-neutral-200 dark:border-neutral-700">
- <h4 className="font-medium mb-2 text-neutral-900 dark:text-neutral-100">What counts as an event?</h4>
- <p className="text-neutral-600 dark:text-neutral-300">
- An event is either a pageview or a custom event that you create on
- your website. Pageviews are tracked automatically, while custom
- events can be defined to track specific user interactions.
- </p>
- </div>
-
<div className="bg-neutral-50 dark:bg-neutral-800/20 p-5 rounded-lg border border-neutral-200 dark:border-neutral-700">
<h4 className="font-medium mb-2 text-neutral-900 dark:text-neutral-100">Can I change my plan later?</h4>
<p className="text-neutral-600 dark:text-neutral-300">
- Absolutely. You can upgrade, downgrade, or cancel your plan at any
- time through your account settings.
+ Absolutely. You can upgrade, downgrade, or cancel your plan at any time through your account settings.
</p>
</div>
@@ -42,13 +32,12 @@ export default function PricingPage() {
What happens if I go over my event limit?
</h4>
<p className="text-neutral-600 dark:text-neutral-300">
- We&apos;ll notify you when you&apos;re approaching your limit. You can
- either upgrade to a higher plan or continue with your current plan
- (events beyond the limit won&apos;t be tracked).
+ We&apos;ll notify you when you&apos;re approaching your limit. You can either upgrade to a higher plan or
+ continue with your current plan (events beyond the limit won&apos;t be tracked).
</p>
</div>
</div>
</div>
</div>
);
-}
\ No newline at end of file
+}
diff --git a/docs/src/app/(home)/tools/components/ToolCTA.tsx b/docs/src/app/(home)/tools/components/ToolCTA.tsx
index 28e69144c..9713cb496 100644
--- a/docs/src/app/(home)/tools/components/ToolCTA.tsx
+++ b/docs/src/app/(home)/tools/components/ToolCTA.tsx
@@ -8,21 +8,13 @@ interface ToolCTAProps {
buttonText?: string;
}
-export function ToolCTA({
- title,
- description,
- eventLocation,
- buttonText = "Start tracking for free"
-}: ToolCTAProps) {
+export function ToolCTA({ title, description, eventLocation, buttonText = "Start tracking for free" }: ToolCTAProps) {
return (
<div className="border-t border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900 py-20">
<div className="max-w-4xl mx-auto px-6 text-center">
- <h2 className="text-3xl md:text-4xl font-bold text-neutral-900 dark:text-white mb-4">
- {title}
- </h2>
+ <h2 className="text-3xl md:text-4xl font-bold text-neutral-900 dark:text-white mb-4">{title}</h2>
<p className="text-lg text-neutral-600 dark:text-neutral-400 mb-8 max-w-2xl mx-auto">
- {description} Get started for free with up to{" "}
- {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month.
+ {description} Get started for free with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month.
</p>
<TrackedButton
href="https://app.rybbit.io/signup"
diff --git a/docs/src/app/(home)/tools/meta-description-generator/MetaDescriptionForm.tsx b/docs/src/app/(home)/tools/meta-description-generator/MetaDescriptionForm.tsx
index 3f988e11e..09f1b44ed 100644
--- a/docs/src/app/(home)/tools/meta-description-generator/MetaDescriptionForm.tsx
+++ b/docs/src/app/(home)/tools/meta-description-generator/MetaDescriptionForm.tsx
@@ -102,9 +102,7 @@ export function MetaDescriptionForm() {
disabled={isLoading}
className="w-full px-4 py-3 bg-white dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-lg text-neutral-900 dark:text-white placeholder-neutral-400 focus:outline-none focus:ring-2 focus:ring-emerald-500 disabled:opacity-50"
/>
- <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">
- Comma-separated keywords to include
- </p>
+ <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">Comma-separated keywords to include</p>
</div>
{error && (
@@ -156,17 +154,16 @@ export function MetaDescriptionForm() {
</button>
</div>
<div className="flex items-center gap-4 text-xs">
- <span className={`font-medium ${getLengthColor(option.length)}`}>
- {option.length} characters
- </span>
-
+ <span className={`font-medium ${getLengthColor(option.length)}`}>{option.length} characters</span>
+
<span className="text-neutral-600 dark:text-neutral-400">{option.approach}</span>
</div>
</div>
))}
<div className="p-3 bg-blue-50 dark:bg-blue-950/30 border border-blue-200 dark:border-blue-900 rounded-lg">
<p className="text-sm text-blue-900 dark:text-blue-200">
- <strong>Tip:</strong> Optimal meta description length is 150-160 characters. Longer descriptions may be truncated in search results.
+ <strong>Tip:</strong> Optimal meta description length is 150-160 characters. Longer descriptions may
+ be truncated in search results.
</p>
</div>
</div>
@@ -181,7 +178,8 @@ export function MetaDescriptionForm() {
Optimize your content with Rybbit
</h2>
<p className="text-lg text-neutral-600 dark:text-neutral-400 mb-8 max-w-2xl mx-auto">
- Track which pages perform best and refine your meta descriptions based on real visitor data. Get started for free with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month.
+ Track which pages perform best and refine your meta descriptions based on real visitor data. Get started for
+ free with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month.
</p>
<TrackedButton
href="https://app.rybbit.io/signup"
diff --git a/docs/src/app/(home)/tools/page-speed-calculator/PageSpeedForm.tsx b/docs/src/app/(home)/tools/page-speed-calculator/PageSpeedForm.tsx
index 2c8ef5b67..bc8bed20f 100644
--- a/docs/src/app/(home)/tools/page-speed-calculator/PageSpeedForm.tsx
+++ b/docs/src/app/(home)/tools/page-speed-calculator/PageSpeedForm.tsx
@@ -55,9 +55,10 @@ export function PageSpeedForm() {
// Bounce rate calculation (assume current is 50% baseline)
const currentBounceRate = 50;
- const newBounceRate = timeDifference < 0
- ? Math.max(currentBounceRate + bounceRateIncrease, 0)
- : Math.min(currentBounceRate + bounceRateIncrease, 100);
+ const newBounceRate =
+ timeDifference < 0
+ ? Math.max(currentBounceRate + bounceRateIncrease, 0)
+ : Math.min(currentBounceRate + bounceRateIncrease, 100);
return {
conversionImpact: conversionImpact * 100,
@@ -69,7 +70,7 @@ export function PageSpeedForm() {
bounceRateChange: bounceRateIncrease,
currentBounceRate,
newBounceRate,
- timeDifference
+ timeDifference,
};
};
@@ -102,9 +103,13 @@ export function PageSpeedForm() {
placeholder="4.5"
className="w-full pl-4 pr-20 py-3 bg-white dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-lg text-neutral-900 dark:text-white placeholder-neutral-400 focus:outline-none focus:ring-2 focus:ring-emerald-500"
/>
- <span className="absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400">seconds</span>
+ <span className="absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400">
+ seconds
+ </span>
</div>
- <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">Your current page load time (check with PageSpeed Insights)</p>
+ <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">
+ Your current page load time (check with PageSpeed Insights)
+ </p>
</div>
{/* Target Load Time */}
@@ -121,9 +126,13 @@ export function PageSpeedForm() {
placeholder="2.0"
className="w-full pl-4 pr-20 py-3 bg-white dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-lg text-neutral-900 dark:text-white placeholder-neutral-400 focus:outline-none focus:ring-2 focus:ring-emerald-500"
/>
- <span className="absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400">seconds</span>
+ <span className="absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400">
+ seconds
+ </span>
</div>
- <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">Your target load time (recommended: under 3 seconds)</p>
+ <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">
+ Your target load time (recommended: under 3 seconds)
+ </p>
</div>
{/* Monthly Visitors */}
@@ -155,7 +164,9 @@ export function PageSpeedForm() {
placeholder="2.5"
className="w-full pl-4 pr-10 py-3 bg-white dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-lg text-neutral-900 dark:text-white placeholder-neutral-400 focus:outline-none focus:ring-2 focus:ring-emerald-500"
/>
- <span className="absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400">%</span>
+ <span className="absolute right-4 top-1/2 -translate-y-1/2 text-neutral-500 dark:text-neutral-400">
+ %
+ </span>
</div>
<p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">Your current conversion rate</p>
</div>
@@ -186,17 +197,22 @@ export function PageSpeedForm() {
<label className="block text-sm font-medium text-neutral-900 dark:text-white mb-2">
{metrics.monthlyImpact >= 0 ? "Monthly Revenue Gain" : "Monthly Revenue Loss"}
</label>
- <div className={`px-4 py-6 border rounded-lg text-center ${
- metrics.monthlyImpact >= 0
- ? "bg-emerald-50 dark:bg-emerald-950/30 border-emerald-300 dark:border-emerald-800"
- : "bg-red-50 dark:bg-red-950/30 border-red-300 dark:border-red-800"
- }`}>
- <div className={`text-4xl font-bold ${
+ <div
+ className={`px-4 py-6 border rounded-lg text-center ${
metrics.monthlyImpact >= 0
- ? "text-emerald-600 dark:text-emerald-400"
- : "text-red-600 dark:text-red-400"
- }`}>
- {metrics.monthlyImpact >= 0 ? "+" : "-"}${Math.abs(metrics.monthlyImpact).toLocaleString(undefined, { maximumFractionDigits: 0 })}
+ ? "bg-emerald-50 dark:bg-emerald-950/30 border-emerald-300 dark:border-emerald-800"
+ : "bg-red-50 dark:bg-red-950/30 border-red-300 dark:border-red-800"
+ }`}
+ >
+ <div
+ className={`text-4xl font-bold ${
+ metrics.monthlyImpact >= 0
+ ? "text-emerald-600 dark:text-emerald-400"
+ : "text-red-600 dark:text-red-400"
+ }`}
+ >
+ {metrics.monthlyImpact >= 0 ? "+" : "-"}$
+ {Math.abs(metrics.monthlyImpact).toLocaleString(undefined, { maximumFractionDigits: 0 })}
</div>
<div className="text-sm text-neutral-600 dark:text-neutral-400 mt-1">per month</div>
</div>
@@ -207,17 +223,22 @@ export function PageSpeedForm() {
<label className="block text-sm font-medium text-neutral-900 dark:text-white mb-2">
Annual Impact
</label>
- <div className={`px-4 py-4 border rounded-lg text-center ${
- metrics.annualImpact >= 0
- ? "bg-emerald-50 dark:bg-emerald-950/30 border-emerald-300 dark:border-emerald-800"
- : "bg-red-50 dark:bg-red-950/30 border-red-300 dark:border-red-800"
- }`}>
- <div className={`text-2xl font-bold ${
+ <div
+ className={`px-4 py-4 border rounded-lg text-center ${
metrics.annualImpact >= 0
- ? "text-emerald-600 dark:text-emerald-400"
- : "text-red-600 dark:text-red-400"
- }`}>
- {metrics.annualImpact >= 0 ? "+" : "-"}${Math.abs(metrics.annualImpact).toLocaleString(undefined, { maximumFractionDigits: 0 })}
+ ? "bg-emerald-50 dark:bg-emerald-950/30 border-emerald-300 dark:border-emerald-800"
+ : "bg-red-50 dark:bg-red-950/30 border-red-300 dark:border-red-800"
+ }`}
+ >
+ <div
+ className={`text-2xl font-bold ${
+ metrics.annualImpact >= 0
+ ? "text-emerald-600 dark:text-emerald-400"
+ : "text-red-600 dark:text-red-400"
+ }`}
+ >
+ {metrics.annualImpact >= 0 ? "+" : "-"}$
+ {Math.abs(metrics.annualImpact).toLocaleString(undefined, { maximumFractionDigits: 0 })}
</div>
</div>
</div>
@@ -228,7 +249,8 @@ export function PageSpeedForm() {
</label>
<div className="px-4 py-4 bg-neutral-100 dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-lg text-center">
<div className="text-2xl font-bold text-neutral-900 dark:text-white">
- {metrics.conversionImpact >= 0 ? "+" : ""}{metrics.conversionImpact.toFixed(1)}%
+ {metrics.conversionImpact >= 0 ? "+" : ""}
+ {metrics.conversionImpact.toFixed(1)}%
</div>
</div>
</div>
@@ -250,22 +272,36 @@ export function PageSpeedForm() {
</label>
<div className="px-4 py-4 bg-blue-50 dark:bg-blue-950/30 border border-blue-300 dark:border-blue-800 rounded-lg text-center">
<div className="text-2xl font-bold text-blue-600 dark:text-blue-400">
- {metrics.timeDifference > 0 ? "+" : ""}{metrics.bounceRateChange.toFixed(1)}%
+ {metrics.timeDifference > 0 ? "+" : ""}
+ {metrics.bounceRateChange.toFixed(1)}%
</div>
</div>
</div>
</div>
- <div className={`p-4 rounded-lg border ${
- metrics.monthlyImpact >= 0
- ? "bg-emerald-50 dark:bg-emerald-950/30 border-emerald-200 dark:border-emerald-900 text-emerald-900 dark:text-emerald-200"
- : "bg-orange-50 dark:bg-orange-950/30 border-orange-200 dark:border-orange-900 text-orange-900 dark:text-orange-200"
- }`}>
+ <div
+ className={`p-4 rounded-lg border ${
+ metrics.monthlyImpact >= 0
+ ? "bg-emerald-50 dark:bg-emerald-950/30 border-emerald-200 dark:border-emerald-900 text-emerald-900 dark:text-emerald-200"
+ : "bg-orange-50 dark:bg-orange-950/30 border-orange-200 dark:border-orange-900 text-orange-900 dark:text-orange-200"
+ }`}
+ >
<h3 className="font-semibold mb-2">Impact Summary:</h3>
<ul className="text-sm space-y-1">
- <li>Improving load time from <strong>{currentLoadTime}s</strong> to <strong>{targetLoadTime}s</strong></li>
- <li>Conversion rate changes from <strong>{parseFloat(conversionRate).toFixed(2)}%</strong> to <strong>{metrics.newConversionRate.toFixed(2)}%</strong></li>
- <li>Potential revenue impact: <strong>${Math.abs(metrics.monthlyImpact).toLocaleString(undefined, { maximumFractionDigits: 0 })}/month</strong> ({metrics.monthlyImpact >= 0 ? "gain" : "loss"})</li>
+ <li>
+ Improving load time from <strong>{currentLoadTime}s</strong> to <strong>{targetLoadTime}s</strong>
+ </li>
+ <li>
+ Conversion rate changes from <strong>{parseFloat(conversionRate).toFixed(2)}%</strong> to{" "}
+ <strong>{metrics.newConversionRate.toFixed(2)}%</strong>
+ </li>
+ <li>
+ Potential revenue impact:{" "}
+ <strong>
+ ${Math.abs(metrics.monthlyImpact).toLocaleString(undefined, { maximumFractionDigits: 0 })}/month
+ </strong>{" "}
+ ({metrics.monthlyImpact >= 0 ? "gain" : "loss"})
+ </li>
<li>Based on industry research: 7% conversion impact per second of load time</li>
</ul>
</div>
@@ -294,7 +330,9 @@ export function PageSpeedForm() {
How much does page speed really matter?
</AccordionTrigger>
<AccordionContent className="px-6 pb-4 text-neutral-700 dark:text-neutral-300">
- Studies show that for every 1 second delay in page load time, conversions decrease by approximately 7%, bounce rate increases by 7%, and customer satisfaction drops by 16%. A 2-second delay can result in abandonment rates up to 87% for e-commerce sites. This makes page speed a critical business metric.
+ Studies show that for every 1 second delay in page load time, conversions decrease by approximately 7%,
+ bounce rate increases by 7%, and customer satisfaction drops by 16%. A 2-second delay can result in
+ abandonment rates up to 87% for e-commerce sites. This makes page speed a critical business metric.
</AccordionContent>
</AccordionItem>
@@ -303,7 +341,10 @@ export function PageSpeedForm() {
What are Google Core Web Vitals and why are they important?
</AccordionTrigger>
<AccordionContent className="px-6 pb-4 text-neutral-700 dark:text-neutral-300">
- Google Core Web Vitals are three key metrics that measure user experience: Largest Contentful Paint (LCP, visual loading speed), First Input Delay (FID, responsiveness), and Cumulative Layout Shift (CLS, visual stability). Google uses these metrics as ranking factors in search results, making them essential for SEO. Meeting these thresholds directly impacts your site's visibility and traffic.
+ Google Core Web Vitals are three key metrics that measure user experience: Largest Contentful Paint
+ (LCP, visual loading speed), First Input Delay (FID, responsiveness), and Cumulative Layout Shift (CLS,
+ visual stability). Google uses these metrics as ranking factors in search results, making them essential
+ for SEO. Meeting these thresholds directly impacts your site's visibility and traffic.
</AccordionContent>
</AccordionItem>
@@ -312,7 +353,9 @@ export function PageSpeedForm() {
What's a good page load time?
</AccordionTrigger>
<AccordionContent className="px-6 pb-4 text-neutral-700 dark:text-neutral-300">
- Google recommends pages load in under 3 seconds on mobile. However, the faster the better—pages that load in under 1 second see significantly higher engagement. Amazon found that every 100ms improvement in load time increased revenue by 1%. Most successful e-commerce sites target between 1-2 seconds.
+ Google recommends pages load in under 3 seconds on mobile. However, the faster the better—pages that
+ load in under 1 second see significantly higher engagement. Amazon found that every 100ms improvement in
+ load time increased revenue by 1%. Most successful e-commerce sites target between 1-2 seconds.
</AccordionContent>
</AccordionItem>
@@ -321,7 +364,10 @@ export function PageSpeedForm() {
What are the best ways to improve page speed?
</AccordionTrigger>
<AccordionContent className="px-6 pb-4 text-neutral-700 dark:text-neutral-300">
- Key improvements include: optimizing images (compress and use modern formats like WebP), minifying CSS/JS files, enabling browser caching, using a Content Delivery Network (CDN), reducing server response time, eliminating render-blocking resources, lazy-loading below-the-fold content, and choosing lightweight analytics tools like{" "}
+ Key improvements include: optimizing images (compress and use modern formats like WebP), minifying
+ CSS/JS files, enabling browser caching, using a Content Delivery Network (CDN), reducing server response
+ time, eliminating render-blocking resources, lazy-loading below-the-fold content, and choosing
+ lightweight analytics tools like{" "}
<Link href="https://app.rybbit.io" className="text-emerald-600 dark:text-emerald-400 hover:underline">
Rybbit
</Link>{" "}
@@ -334,7 +380,11 @@ export function PageSpeedForm() {
How can analytics tools affect my page speed?
</AccordionTrigger>
<AccordionContent className="px-6 pb-4 text-neutral-700 dark:text-neutral-300">
- Many analytics tools can significantly impact page performance by loading large scripts synchronously and making blocking network requests. This reduces your page's speed and negatively affects user experience. Tools like Rybbit are designed to minimize this impact with lightweight asynchronous loading (3KB script, loaded after page interactive), ensuring you get the insights you need without compromising performance.
+ Many analytics tools can significantly impact page performance by loading large scripts synchronously
+ and making blocking network requests. This reduces your page's speed and negatively affects user
+ experience. Tools like Rybbit are designed to minimize this impact with lightweight asynchronous loading
+ (3KB script, loaded after page interactive), ensuring you get the insights you need without compromising
+ performance.
</AccordionContent>
</AccordionItem>
</Accordion>
@@ -348,7 +398,8 @@ export function PageSpeedForm() {
Lightning-fast analytics that won't slow you down
</h2>
<p className="text-lg text-neutral-600 dark:text-neutral-400 mb-8 max-w-2xl mx-auto">
- Rybbit's tiny 3KB script loads asynchronously and won't impact your page speed. Get started for free with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month.
+ Rybbit's tiny 3KB script loads asynchronously and won't impact your page speed. Get started for free with up
+ to {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month.
</p>
<TrackedButton
href="https://app.rybbit.io/signup"
diff --git a/docs/src/app/(home)/tools/seo-title-generator/SEOTitleForm.tsx b/docs/src/app/(home)/tools/seo-title-generator/SEOTitleForm.tsx
index 2c45b0617..41ecaa896 100644
--- a/docs/src/app/(home)/tools/seo-title-generator/SEOTitleForm.tsx
+++ b/docs/src/app/(home)/tools/seo-title-generator/SEOTitleForm.tsx
@@ -103,9 +103,7 @@ export function SEOTitleForm() {
disabled={isLoading}
className="w-full px-4 py-3 bg-white dark:bg-neutral-800 border border-neutral-300 dark:border-neutral-700 rounded-lg text-neutral-900 dark:text-white placeholder-neutral-400 focus:outline-none focus:ring-2 focus:ring-emerald-500 disabled:opacity-50"
/>
- <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">
- Comma-separated keywords to include
- </p>
+ <p className="text-xs text-neutral-500 dark:text-neutral-400 mt-1">Comma-separated keywords to include</p>
</div>
{error && (
@@ -157,17 +155,16 @@ export function SEOTitleForm() {
</button>
</div>
<div className="flex items-center gap-4 text-xs">
- <span className={`font-medium ${getLengthColor(option.length)}`}>
- {option.length} characters
- </span>
-
+ <span className={`font-medium ${getLengthColor(option.length)}`}>{option.length} characters</span>
+
<span className="text-neutral-600 dark:text-neutral-400">{option.approach}</span>
</div>
</div>
))}
<div className="p-3 bg-blue-50 dark:bg-blue-950/30 border border-blue-200 dark:border-blue-900 rounded-lg">
<p className="text-sm text-blue-900 dark:text-blue-200">
- <strong>Tip:</strong> Optimal title length is 50-60 characters. Longer titles may be truncated in search results.
+ <strong>Tip:</strong> Optimal title length is 50-60 characters. Longer titles may be truncated in
+ search results.
</p>
</div>
</div>
@@ -182,7 +179,8 @@ export function SEOTitleForm() {
Track your SEO performance with Rybbit
</h2>
<p className="text-lg text-neutral-600 dark:text-neutral-400 mb-8 max-w-2xl mx-auto">
- See which pages drive organic traffic and optimize your titles based on real data. Get started for free with up to {DEFAULT_EVENT_LIMIT.toLocaleString()} events per month.
+ See which pages drive organic traffic and optimize your titles based on real data. Get started for free with
+ up to {DEFAULT_EVENT_LIMIT.toLocaleString()} pageviews per month.
</p>
<TrackedButton
href="https://app.rybbit.io/signup"
diff --git a/docs/src/components/PricingSection.tsx b/docs/src/components/PricingSection.tsx
index 7630209e0..11199cb2a 100644
--- a/docs/src/components/PricingSection.tsx
+++ b/docs/src/components/PricingSection.tsx
@@ -151,10 +151,9 @@ export function PricingSection() {
{/* Shared controls section */}
<div className="max-w-xl mx-auto mb-8">
- {/* Events per month and billing toggle */}
<div className="flex justify-between mb-6 items-center">
<div>
- <h3 className="font-semibold mb-2">Events per month</h3>
+ <h3 className="font-semibold mb-2">Monthly pageviews</h3>
<div className="text-3xl font-bold text-emerald-600 dark:text-emerald-400">
{typeof eventLimit === "number" ? eventLimit.toLocaleString() : eventLimit}
</div>
@@ -223,7 +222,7 @@ export function PricingSection() {
priceDisplay={
<div>
<span className="text-3xl font-bold">{DEFAULT_EVENT_LIMIT.toLocaleString()}</span>
- <span className="ml-1 text-neutral-400">events/month</span>
+ <span className="ml-1 text-neutral-400">pageviews/m</span>
</div>
}
buttonText="Start for free"