πΈ Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update all instances of rybbit.io to rybbit.com in application and documentation files
Bill Yangb45b24a21bbb
diff --git a/client/src/app/[site]/components/Header/DemoSignupBanner.tsx b/client/src/app/[site]/components/Header/DemoSignupBanner.tsxindex d1997f0d0..d49759e50 100644--- a/client/src/app/[site]/components/Header/DemoSignupBanner.tsx+++ b/client/src/app/[site]/components/Header/DemoSignupBanner.tsx@@ -23,7 +23,7 @@ export function DemoSignupBanner() {<span>Enjoying the demo? Get started with your own analytics dashboard!</span></div><Button variant="success" size="sm" asChild>- <Link href="https://app.rybbit.io/signup" target="_blank" rel="noopener">+ <Link href="https://app.rybbit.com/signup" target="_blank" rel="noopener">Sign Up <ArrowRight className="ml-1 h-3 w-3" /></Link></Button>diff --git a/client/src/components/TopBar.tsx b/client/src/components/TopBar.tsxindex c0343a785..68ac73971 100644--- a/client/src/components/TopBar.tsx+++ b/client/src/components/TopBar.tsx@@ -64,7 +64,7 @@ export function TopBar() {<Linkhref={typeof window !== "undefined" && globalThis.location.hostname === DEMO_HOSTNAME- ? "https://app.rybbit.io/signup"+ ? "https://app.rybbit.com/signup": "/signup"}passHrefdiff --git a/client/src/hooks/useIsProduction.ts b/client/src/hooks/useIsProduction.tsindex a519072d0..f7fe40b6f 100644--- a/client/src/hooks/useIsProduction.ts+++ b/client/src/hooks/useIsProduction.ts@@ -1,7 +1,7 @@export function useIsProduction() {const hostname = typeof window !== "undefined" ? window.location.hostname : "";- const isProduction = hostname === "demo.rybbit.com" || hostname === "app.rybbit.io";- const isAppProduction = hostname === "app.rybbit.io";+ const isProduction = hostname === "demo.rybbit.com" || hostname === "app.rybbit.com";+ const isAppProduction = hostname === "app.rybbit.com";return { isProduction, isAppProduction };}diff --git a/client/src/lib/stripe.ts b/client/src/lib/stripe.tsindex 3edbeeb8a..0cb58bd15 100644--- a/client/src/lib/stripe.ts+++ b/client/src/lib/stripe.ts@@ -311,7 +311,7 @@ const TEST_TO_PRICE_ID = {};export const getStripePrices = () => {- if (process.env.NEXT_PUBLIC_BACKEND_URL?.includes("app.rybbit.io")) {+ if (process.env.NEXT_PUBLIC_BACKEND_URL?.includes("app.rybbit.com")) {return STRIPE_PRICES;}return STRIPE_PRICES.map(price => ({diff --git a/docs/content/docs/api.mdx b/docs/content/docs/api.mdxindex 1cb1fac2b..b168e13bd 100644--- a/docs/content/docs/api.mdx+++ b/docs/content/docs/api.mdx@@ -34,7 +34,7 @@ In your site dashboard: Settings β API Key tab β Generate API Key<Tabs items={['Pageview', 'Custom Event']}><Tab value="Pageview">```bash-curl -X POST 'https://app.rybbit.io/api/track' \+curl -X POST 'https://app.rybbit.com/api/track' \-H 'Content-Type: application/json' \-d '{"api_key": "rb_your_api_key_here",@@ -50,7 +50,7 @@ curl -X POST 'https://app.rybbit.io/api/track' \</Tab><Tab value="Custom Event">```bash-curl -X POST 'https://app.rybbit.io/api/track' \+curl -X POST 'https://app.rybbit.com/api/track' \-H 'Content-Type: application/json' \-d '{"api_key": "rb_your_api_key_here",@@ -93,7 +93,7 @@ curl -X POST 'https://app.rybbit.io/api/track' \<Tab value="Node.js">```javascriptconst trackEvent = async (eventData) => {- const response = await fetch('https://app.rybbit.io/api/track', {+ const response = await fetch('https://app.rybbit.com/api/track', {method: 'POST',headers: {'Content-Type': 'application/json',@@ -133,7 +133,7 @@ import osdef track_event(event_data):response = requests.post(- 'https://app.rybbit.io/api/track',+ 'https://app.rybbit.com/api/track',headers={'Content-Type': 'application/json'},json={'api_key': os.getenv('RYBBIT_API_KEY'),@@ -191,7 +191,7 @@ func trackEvent(event TrackingEvent) error {}resp, err := http.Post(- "https://app.rybbit.io/api/track",+ "https://app.rybbit.com/api/track","application/json",bytes.NewBuffer(jsonData),)@@ -233,7 +233,7 @@ import java.util.Map;import java.util.HashMap;public class RybbitTracker {- private static final String API_URL = "https://app.rybbit.io/api/track";+ private static final String API_URL = "https://app.rybbit.com/api/track";private static final String API_KEY = System.getenv("RYBBIT_API_KEY");private static final String SITE_ID = System.getenv("RYBBIT_SITE_ID");@@ -287,7 +287,7 @@ public class RybbitTracker {<?phpclass RybbitTracker {- private $apiUrl = 'https://app.rybbit.io/api/track';+ private $apiUrl = 'https://app.rybbit.com/api/track';private $apiKey;private $siteId;@@ -345,7 +345,7 @@ require 'json'require 'uri'class RybbitTracker- API_URL = 'https://app.rybbit.io/api/track'+ API_URL = 'https://app.rybbit.com/api/track'def initialize@api_key = ENV['RYBBIT_API_KEY']@@ -408,7 +408,7 @@ public class RybbitTrackerprivate readonly HttpClient _httpClient;private readonly string _apiKey;private readonly string _siteId;- private const string ApiUrl = "https://app.rybbit.io/api/track";+ private const string ApiUrl = "https://app.rybbit.com/api/track";public RybbitTracker(){@@ -479,7 +479,7 @@ impl RybbitTracker {client: reqwest::Client::new(),api_key: env::var("RYBBIT_API_KEY").expect("RYBBIT_API_KEY not set"),site_id: env::var("RYBBIT_SITE_ID").expect("RYBBIT_SITE_ID not set"),- api_url: "https://app.rybbit.io/api/track".to_string(),+ api_url: "https://app.rybbit.com/api/track".to_string(),}}@@ -534,7 +534,7 @@ import UIKitclass RybbitTracker {static let shared = RybbitTracker()- private let apiUrl = "https://app.rybbit.io/api/track"+ private let apiUrl = "https://app.rybbit.com/api/track"private let apiKey: Stringprivate let siteId: String@@ -627,7 +627,7 @@ import java.util.Localeclass RybbitTracker(private val context: Context) {companion object {- private const val API_URL = "https://app.rybbit.io/api/track"+ private const val API_URL = "https://app.rybbit.com/api/track"private val JSON = "application/json; charset=utf-8".toMediaType()}@@ -712,7 +712,7 @@ class RybbitTracker {factory RybbitTracker() => _instance;RybbitTracker._internal();- static const String _apiUrl = 'https://app.rybbit.io/api/track';+ static const String _apiUrl = 'https://app.rybbit.com/api/track';static const String _apiKey = String.fromEnvironment('RYBBIT_API_KEY');static const String _siteId = String.fromEnvironment('RYBBIT_SITE_ID');diff --git a/docs/content/docs/guides/angular.mdx b/docs/content/docs/guides/angular.mdxindex 843c1421e..d3427f6cf 100644--- a/docs/content/docs/guides/angular.mdx+++ b/docs/content/docs/guides/angular.mdx@@ -23,7 +23,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet. It will look like```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -54,7 +54,7 @@ Open `src/index.html` and paste the Rybbit tracking snippet just before the clos<link rel="icon" type="image/x-icon" href="favicon.ico"><!-- Rybbit Tracking Snippet --><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/astro.mdx b/docs/content/docs/guides/astro.mdxindex 7e859fed0..8e33735ab 100644--- a/docs/content/docs/guides/astro.mdx+++ b/docs/content/docs/guides/astro.mdx@@ -21,7 +21,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet. It will look like```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -61,7 +61,7 @@ const rybbitSiteId = "YOUR_SITE_ID"; // Replace with your actual Site ID<!-- Rybbit Tracking Snippet --><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id={rybbitSiteId}asyncdeferdiff --git a/docs/content/docs/guides/bubble.mdx b/docs/content/docs/guides/bubble.mdxindex fc86bae4c..1f59f24be 100644--- a/docs/content/docs/guides/bubble.mdx+++ b/docs/content/docs/guides/bubble.mdx@@ -21,7 +21,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet. It will look like```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/docusaurus.mdx b/docs/content/docs/guides/docusaurus.mdxindex beec7d9d8..a498ac835 100644--- a/docs/content/docs/guides/docusaurus.mdx+++ b/docs/content/docs/guides/docusaurus.mdx@@ -17,7 +17,7 @@ Docusaurus provides a configuration option to add scripts or tags to the `<head><Step>### Retrieve Your Tracking Script Details-Navigate to your Rybbit dashboard to obtain your **Site ID**. The script source will be `https://app.rybbit.io/api/script.js`.+Navigate to your Rybbit dashboard to obtain your **Site ID**. The script source will be `https://app.rybbit.com/api/script.js`.</Step><Step>@@ -50,7 +50,7 @@ const config = {// Add Rybbit script herescripts: [{- src: 'https://app.rybbit.io/api/script.js',+ src: 'https://app.rybbit.com/api/script.js',async: true,defer: true,'data-site-id': 'YOUR_SITE_ID', // Replace with your actual Site ID@@ -65,7 +65,7 @@ const config = {// attributes: {// async: true,// defer: true,- // src: 'https://app.rybbit.io/api/script.js',+ // src: 'https://app.rybbit.com/api/script.js',// 'data-site-id': 'YOUR_SITE_ID', // Replace// },// },diff --git a/docs/content/docs/guides/drupal.mdx b/docs/content/docs/guides/drupal.mdxindex 205b9ffbf..3a31b51bb 100644--- a/docs/content/docs/guides/drupal.mdx+++ b/docs/content/docs/guides/drupal.mdx@@ -15,7 +15,7 @@ Integrating Rybbit Analytics with your Drupal site can be done by adding the traFirst, you'll need your Rybbit tracking script. You can find this in your Rybbit dashboard under **Site Settings > Tracking Code**. It will look something like this:```html-<script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+<script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>```Replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.@@ -55,7 +55,7 @@ Modify it to include the script:<js-bottom-placeholder token="{{ placeholder_token }}">{# Rybbit Analytics Script #}- <script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+ <script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script></body></html>```diff --git a/docs/content/docs/guides/framer.mdx b/docs/content/docs/guides/framer.mdxindex 2264b353e..d0ab85764 100644--- a/docs/content/docs/guides/framer.mdx+++ b/docs/content/docs/guides/framer.mdx@@ -19,7 +19,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet.```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/google-tag-manager.mdx b/docs/content/docs/guides/google-tag-manager.mdxindex e38444830..583ac5a32 100644--- a/docs/content/docs/guides/google-tag-manager.mdx+++ b/docs/content/docs/guides/google-tag-manager.mdx@@ -20,7 +20,7 @@ Normally, the script would look like:```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"async></script>@@ -32,7 +32,7 @@ However, GTM sanitizes script tags by removing non-standard HTML attributes like<script>(function() {var el = document.createElement("script");- el.src = "https://app.rybbit.io/api/script.js";+ el.src = "https://app.rybbit.com/api/script.js";el.async = true;el.defer = true;el.setAttribute("data-site-id", "YOUR_SITE_ID");diff --git a/docs/content/docs/guides/hugo.mdx b/docs/content/docs/guides/hugo.mdxindex fdd01b5c9..86edb1f91 100644--- a/docs/content/docs/guides/hugo.mdx+++ b/docs/content/docs/guides/hugo.mdx@@ -14,7 +14,7 @@ Integrating Rybbit Analytics with your Hugo static site involves adding the tracFirst, you'll need your Rybbit tracking script. You can find this in your Rybbit dashboard under **Site Settings > Tracking Code**. It will look something like this:```html-<script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+<script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>```Replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.@@ -32,13 +32,13 @@ Paste your Rybbit tracking script into this new file:```html{{/* layouts/partials/rybbit-analytics.html */}}{{ if not .Site.IsServer }} {{/* Only include in production builds */}}- <script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+ <script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>{{ end }}```**Explanation:**- `{{ if not .Site.IsServer }}`: This Hugo condition ensures that the tracking script is only included when you build your site for production (`hugo`) and not during local development (`hugo server`). This prevents tracking your own local page views.-- Replace `https://app.rybbit.io` and `YOUR_SITE_ID` with your actual details.+- Replace `https://app.rybbit.com` and `YOUR_SITE_ID` with your actual details.</Step><Step>@@ -74,7 +74,7 @@ Modify `layouts/partials/rybbit-analytics.html` to use a site parameter:```html{{/* layouts/partials/rybbit-analytics.html */}}{{ if and (not .Site.IsServer) .Site.Params.rybbitSiteID }}- <script async defer src="{{ .Site.Params.rybbitInstanceURL | default "https://app.rybbit.io" }}/api/script.js" data-site-id="{{ .Site.Params.rybbitSiteID }}"></script>+ <script async defer src="{{ .Site.Params.rybbitInstanceURL | default "https://app.rybbit.com" }}/api/script.js" data-site-id="{{ .Site.Params.rybbitSiteID }}"></script>{{ end }}```</Step>@@ -86,7 +86,7 @@ Open your Hugo configuration file (e.g., `config.toml`) and add:```toml[params]- rybbitInstanceURL = "https://app.rybbit.io" # Your Rybbit instance URL+ rybbitInstanceURL = "https://app.rybbit.com" # Your Rybbit instance URLrybbitSiteID = "YOUR_SITE_ID" # Your Rybbit Site ID```diff --git a/docs/content/docs/guides/jekyll.mdx b/docs/content/docs/guides/jekyll.mdxindex 1862fe9f0..8fb162b47 100644--- a/docs/content/docs/guides/jekyll.mdx+++ b/docs/content/docs/guides/jekyll.mdx@@ -14,7 +14,7 @@ Integrating Rybbit Analytics with your Jekyll static site involves adding the trFirst, you'll need your Rybbit tracking script. You can find this in your Rybbit dashboard under **Site Settings > Tracking Code**. It will look something like this:```html-<script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+<script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>```Replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.@@ -45,7 +45,7 @@ Open this file and paste the Rybbit tracking script just before the closing `</b<!-- Rybbit Analytics Script -->{% raw %}{% if jekyll.environment == "production" %}- <script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+ <script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>{% endif %}{% endraw %}@@ -55,7 +55,7 @@ Open this file and paste the Rybbit tracking script just before the closing `</b**Explanation:**- `{% raw %}{% if jekyll.environment == "production" %}{% endraw %}`: This Liquid tag condition ensures the script is only included when your site is built for production (e.g., when `JEKYLL_ENV=production jekyll build`). This prevents tracking your local development views.-- Replace `YOUR_SITE_ID` with your actual Site ID. The script source `https://app.rybbit.io/api/script.js` is for the standard cloud-hosted Rybbit instance.+- Replace `YOUR_SITE_ID` with your actual Site ID. The script source `https://app.rybbit.com/api/script.js` is for the standard cloud-hosted Rybbit instance.</Step></Steps>@@ -75,7 +75,7 @@ A cleaner approach is to create an include file for the script.{% raw %}{% comment %} _includes/rybbit-analytics.html {% endcomment %}{% if jekyll.environment == "production" and site.rybbit_site_id %}- <script async defer src="{{ site.rybbit_instance_url | default: 'https://app.rybbit.io' }}/api/script.js" data-site-id="{{ site.rybbit_site_id }}"></script>+ <script async defer src="{{ site.rybbit_instance_url | default: 'https://app.rybbit.com' }}/api/script.js" data-site-id="{{ site.rybbit_site_id }}"></script>{% endif %}{% endraw %}```@@ -106,7 +106,7 @@ A cleaner approach is to create an include file for the script.```yaml# Rybbit Analytics Configuration-rybbit_instance_url: "https://app.rybbit.io" # Optional, defaults in include+rybbit_instance_url: "https://app.rybbit.com" # Optional, defaults in includerybbit_site_id: "YOUR_SITE_ID"```This method keeps your credentials in the configuration file and makes the script inclusion conditional on `rybbit_site_id` being set.diff --git a/docs/content/docs/guides/laravel.mdx b/docs/content/docs/guides/laravel.mdxindex 762e54557..9a96c23b2 100644--- a/docs/content/docs/guides/laravel.mdx+++ b/docs/content/docs/guides/laravel.mdx@@ -14,7 +14,7 @@ Integrating Rybbit Analytics with your Laravel application is straightforward. YFirst, you'll need your Rybbit tracking script. You can find this in your Rybbit dashboard under **Site Settings > Tracking Code**. It will look something like this:```html-<script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+<script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>```Replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.@@ -55,7 +55,7 @@ Open your main Blade layout file. Paste the Rybbit tracking script just before t{{-- Rybbit Analytics Script --}}@if(app()->environment('production'))- <script async defer src="{{ config('services.rybbit.instance_url', 'https://app.rybbit.io') }}/api/script.js" data-site-id="{{ config('services.rybbit.site_id') }}"></script>+ <script async defer src="{{ config('services.rybbit.instance_url', 'https://app.rybbit.com') }}/api/script.js" data-site-id="{{ config('services.rybbit.site_id') }}"></script>@endif</body></html>@@ -63,13 +63,13 @@ Open your main Blade layout file. Paste the Rybbit tracking script just before t**Explanation:**- `@if(app()->environment('production'))`: This Blade directive ensures the script is only included when your Laravel application is running in the `production` environment. This prevents tracking during local development.-- `{{ config('services.rybbit.instance_url', 'https://app.rybbit.io') }}/api/script.js` and `{{ config('services.rybbit.site_id') }}`: This is a recommended way to manage your Rybbit credentials using Laravel's configuration system. The `config('services.rybbit.instance_url')` should resolve to your Rybbit instance's base URL (e.g., `https://app.rybbit.io` or your self-hosted URL), and `/api/script.js` is appended to it. The fallback shown ensures it defaults to the cloud-hosted Rybbit script. See step 4 for `.env` configuration.+- `{{ config('services.rybbit.instance_url', 'https://app.rybbit.com') }}/api/script.js` and `{{ config('services.rybbit.site_id') }}`: This is a recommended way to manage your Rybbit credentials using Laravel's configuration system. The `config('services.rybbit.instance_url')` should resolve to your Rybbit instance's base URL (e.g., `https://app.rybbit.com` or your self-hosted URL), and `/api/script.js` is appended to it. The fallback shown ensures it defaults to the cloud-hosted Rybbit script. See step 4 for `.env` configuration.If you prefer not to use the config helper immediately, you can hardcode the values:```php{{-- Rybbit Analytics Script --}}@if(app()->environment('production'))- <script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+ <script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>@endif```Remember to replace placeholders with your actual script URL and Site ID.@@ -84,7 +84,7 @@ It's best practice to store your Rybbit Site ID and instance URL in your `.env`Open your `.env` file and add:```bash-RYBBIT_INSTANCE_URL=https://app.rybbit.io+RYBBIT_INSTANCE_URL=https://app.rybbit.comRYBBIT_SITE_ID=YOUR_SITE_ID```diff --git a/docs/content/docs/guides/mintlify.mdx b/docs/content/docs/guides/mintlify.mdxindex e1dcc5e30..9c18a7977 100644--- a/docs/content/docs/guides/mintlify.mdx+++ b/docs/content/docs/guides/mintlify.mdx@@ -17,7 +17,7 @@ Mintlify allows you to add custom JavaScript files to your documentation by plac<Step>### Retrieve Your Tracking Script Details-Navigate to your Rybbit dashboard to obtain your **Site ID**. The script source will be `https://app.rybbit.io/api/script.js` (or your self-hosted URL if applicable).+Navigate to your Rybbit dashboard to obtain your **Site ID**. The script source will be `https://app.rybbit.com/api/script.js` (or your self-hosted URL if applicable).</Step><Step>@@ -30,7 +30,7 @@ Create a new JavaScript file in your Mintlify content directory (typically where(function() {// Create the script elementconst script = document.createElement('script');- script.src = 'https://app.rybbit.io/api/script.js';+ script.src = 'https://app.rybbit.com/api/script.js';script.async = true;script.defer = true;script.setAttribute('data-site-id', 'YOUR_SITE_ID'); // Replace with your actual Site ID@@ -42,7 +42,7 @@ Create a new JavaScript file in your Mintlify content directory (typically whereMake sure to replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.-If you're self-hosting Rybbit, replace `https://app.rybbit.io/api/script.js` with your self-hosted URL (e.g., `https://your-domain.com/api/script.js`).+If you're self-hosting Rybbit, replace `https://app.rybbit.com/api/script.js` with your self-hosted URL (e.g., `https://your-domain.com/api/script.js`).</Step><Step>@@ -69,7 +69,7 @@ You can customize the Rybbit script behavior by adding data attributes to the sc```javascript filename="rybbit-analytics.js"(function() {const script = document.createElement('script');- script.src = 'https://app.rybbit.io/api/script.js';+ script.src = 'https://app.rybbit.com/api/script.js';script.async = true;script.defer = true;script.setAttribute('data-site-id', 'YOUR_SITE_ID');diff --git a/docs/content/docs/guides/react/gatsby.mdx b/docs/content/docs/guides/react/gatsby.mdxindex bdcb890b4..95f5613b4 100644--- a/docs/content/docs/guides/react/gatsby.mdx+++ b/docs/content/docs/guides/react/gatsby.mdx@@ -16,7 +16,7 @@ The recommended way to add a script that should appear on every page in a Gatsby<Steps>### Retrieve Your Tracking Script Details-Navigate to your Rybbit dashboard to obtain your **Site ID**. The script source will be `https://app.rybbit.io/api/script.js`.+Navigate to your Rybbit dashboard to obtain your **Site ID**. The script source will be `https://app.rybbit.com/api/script.js`.### Modify `gatsby-ssr.js`@@ -31,7 +31,7 @@ export const onRenderBody = ({ setHeadComponents }) => {setHeadComponents([<scriptkey="rybbit-analytics-script" // A unique key for React- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id={rybbitSiteId}asyncdefer@@ -60,7 +60,7 @@ module.exports = {{resolve: `gatsby-plugin-script`,options: {- src: `https://app.rybbit.io/api/script.js`,+ src: `https://app.rybbit.com/api/script.js`,async: true,defer: true,['data-site-id']: `YOUR_SITE_ID`, // Replace with your Site IDdiff --git a/docs/content/docs/guides/react/next-js.mdx b/docs/content/docs/guides/react/next-js.mdxindex 2a1394db9..a27882ddd 100644--- a/docs/content/docs/guides/react/next-js.mdx+++ b/docs/content/docs/guides/react/next-js.mdx@@ -37,7 +37,7 @@ export default function RootLayout({ children }) {<body>{children}<Script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"strategy="afterInteractive"/>@@ -58,7 +58,7 @@ function MyApp({ Component, pageProps }) {<><Component {...pageProps} /><Script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"strategy="afterInteractive"/>@@ -85,7 +85,7 @@ With Next.js's [rewrites](https://nextjs.org/docs/app/api-reference/config/next-NEXT_PUBLIC_RYBBIT_HOST=https://your-hosted-rybbit-instance.com# use this value if you are using the Rybbit hosted tracking-NEXT_PUBLIC_RYBBIT_HOST=https://app.rybbit.io+NEXT_PUBLIC_RYBBIT_HOST=https://app.rybbit.com``````jsdiff --git a/docs/content/docs/guides/react/remix.mdx b/docs/content/docs/guides/react/remix.mdxindex 9defb5eff..2559e6b36 100644--- a/docs/content/docs/guides/react/remix.mdx+++ b/docs/content/docs/guides/react/remix.mdx@@ -20,7 +20,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet. It will look like```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"async></script>@@ -52,7 +52,7 @@ export default function App() {<Links />{/* Rybbit Tracking Snippet */}<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id={rybbitSiteId}asyncdeferdiff --git a/docs/content/docs/guides/react/vite-cra.mdx b/docs/content/docs/guides/react/vite-cra.mdxindex 98b34cff1..7c0c93efb 100644--- a/docs/content/docs/guides/react/vite-cra.mdx+++ b/docs/content/docs/guides/react/vite-cra.mdx@@ -24,7 +24,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet. It will look like```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -51,7 +51,7 @@ Open your `index.html` file and paste the Rybbit tracking snippet just before th<title>My React App</title><!-- Rybbit Tracking Snippet --><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/shopify.mdx b/docs/content/docs/guides/shopify.mdxindex 1880c5402..9157351ba 100644--- a/docs/content/docs/guides/shopify.mdx+++ b/docs/content/docs/guides/shopify.mdx@@ -20,7 +20,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet.```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/squarespace.mdx b/docs/content/docs/guides/squarespace.mdxindex 4efd5904d..6c9f51957 100644--- a/docs/content/docs/guides/squarespace.mdx+++ b/docs/content/docs/guides/squarespace.mdx@@ -15,7 +15,7 @@ Integrating Rybbit Analytics with your Squarespace website is straightforward. YFirst, you'll need your Rybbit tracking script. You can find this in your Rybbit dashboard under **Site Settings > Tracking Code**. It will look something like this:```html-<script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+<script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>```Replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.diff --git a/docs/content/docs/guides/svelte/sveltekit.mdx b/docs/content/docs/guides/svelte/sveltekit.mdxindex 7bd78f6ce..0ed3d698e 100644--- a/docs/content/docs/guides/svelte/sveltekit.mdx+++ b/docs/content/docs/guides/svelte/sveltekit.mdx@@ -22,7 +22,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet:```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -47,7 +47,7 @@ Open `src/app.html` and paste the Rybbit tracking snippet into the `<head>` sect<meta name="viewport" content="width=device-width, initial-scale=1" /><!-- Rybbit Tracking Snippet --><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/svelte/vite.mdx b/docs/content/docs/guides/svelte/vite.mdxindex e4297ab8d..67ab9345a 100644--- a/docs/content/docs/guides/svelte/vite.mdx+++ b/docs/content/docs/guides/svelte/vite.mdx@@ -20,7 +20,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet:```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -46,7 +46,7 @@ Open `index.html` and paste the Rybbit tracking snippet just before the closing<title>My Svelte App</title><!-- Rybbit Tracking Snippet --><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/vue/nuxt.mdx b/docs/content/docs/guides/vue/nuxt.mdxindex 1a8f687b8..02bbf2517 100644--- a/docs/content/docs/guides/vue/nuxt.mdx+++ b/docs/content/docs/guides/vue/nuxt.mdx@@ -31,7 +31,7 @@ export default defineNuxtConfig({head: {script: [{- src: 'https://app.rybbit.io/api/script.js',+ src: 'https://app.rybbit.com/api/script.js',async: true,defer: true,'data-site-id': 'YOUR_SITE_ID', // Replace with your Site ID@@ -53,7 +53,7 @@ export default {// ... other head propertiesscript: [{- src: 'https://app.rybbit.io/api/script.js',+ src: 'https://app.rybbit.com/api/script.js',async: true,defer: true,'data-site-id': 'YOUR_SITE_ID', // Replace with your Site IDdiff --git a/docs/content/docs/guides/vue/vite.mdx b/docs/content/docs/guides/vue/vite.mdxindex 96d9e1fed..271bdd988 100644--- a/docs/content/docs/guides/vue/vite.mdx+++ b/docs/content/docs/guides/vue/vite.mdx@@ -22,7 +22,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet:```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -48,7 +48,7 @@ Open `index.html` and paste the Rybbit tracking snippet just before the closing<title>My Vue App</title><!-- Rybbit Tracking Snippet --><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/webflow.mdx b/docs/content/docs/guides/webflow.mdxindex 45d7fb054..e9d81a389 100644--- a/docs/content/docs/guides/webflow.mdx+++ b/docs/content/docs/guides/webflow.mdx@@ -20,7 +20,7 @@ Navigate to your Rybbit dashboard to obtain your code snippet.```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdeferdiff --git a/docs/content/docs/guides/wix.mdx b/docs/content/docs/guides/wix.mdxindex 97ce53dbc..5ec77cf41 100644--- a/docs/content/docs/guides/wix.mdx+++ b/docs/content/docs/guides/wix.mdx@@ -15,7 +15,7 @@ Integrating Rybbit Analytics with your Wix website involves adding a custom codeFirst, you'll need your Rybbit tracking script. You can find this in your Rybbit dashboard under **Site Settings > Tracking Code**. It will look something like this:```html-<script async defer src="https://app.rybbit.io/api/script.js" data-site-id="YOUR_SITE_ID"></script>+<script async defer src="https://app.rybbit.com/api/script.js" data-site-id="YOUR_SITE_ID"></script>```Replace `YOUR_SITE_ID` with your actual Site ID from your Rybbit dashboard.diff --git a/docs/content/docs/guides/wordpress.mdx b/docs/content/docs/guides/wordpress.mdxindex 819bfa228..7171f02b1 100644--- a/docs/content/docs/guides/wordpress.mdx+++ b/docs/content/docs/guides/wordpress.mdx@@ -24,7 +24,7 @@ You can integrate Rybbit into your WordPress site to track user behavior and gat3. Paste your Rybbit tracking snippet into the section designated for scripts in the header.```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"asyncdefer@@ -44,7 +44,7 @@ You can integrate Rybbit into your WordPress site to track user behavior and gatfunction add_rybbit_script_to_head() {?><script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID" // Replace YOUR_SITE_ID with your actual Site IDasyncdefer@@ -65,7 +65,7 @@ You can integrate Rybbit into your WordPress site to track user behavior and gat3. Paste your Rybbit tracking snippet right before the closing `</head>` tag:```html<script- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID" <!-- Replace YOUR_SITE_ID with your actual Site ID -->asyncdeferdiff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdxindex 88a318bfe..5ae9099b5 100644--- a/docs/content/docs/index.mdx+++ b/docs/content/docs/index.mdx@@ -88,7 +88,7 @@ See how Rybbit compares to other analytics solutions:Choose the option that's right for you:-- **Cloud Version:** Sign up for the hosted version at [rybbit.io/signup](https://app.rybbit.io/signup). Get up and running in minutes.+- **Cloud Version:** Sign up for the hosted version at [rybbit.io/signup](https://app.rybbit.com/signup). Get up and running in minutes.- **Self-Host:** Follow our [Self-Hosting Guide](/docs/self-hosting) to set up Rybbit on your own server.And then learn how to add the [Tracking Script](/docs/script) to your website to start collecting data.diff --git a/docs/content/docs/inviting-users.mdx b/docs/content/docs/inviting-users.mdxindex f60f1e757..9e26f3c8b 100644--- a/docs/content/docs/inviting-users.mdx+++ b/docs/content/docs/inviting-users.mdx@@ -14,7 +14,7 @@ import { Callout } from 'fumadocs-ui/components/callout';<Step>### Add the user to your organization-Go to https://app.rybbit.io/organization "Add Member" button in the top right. Enter the user's email address and select the user's role.+Go to https://app.rybbit.com/organization "Add Member" button in the top right. Enter the user's email address and select the user's role.</Step><Step>diff --git a/docs/content/docs/localhost-tracking.mdx b/docs/content/docs/localhost-tracking.mdxindex 790e3fc1e..a20a28900 100644--- a/docs/content/docs/localhost-tracking.mdx+++ b/docs/content/docs/localhost-tracking.mdx@@ -27,7 +27,7 @@ In your site dashboard: Settings β API Key tab β Generate API Key```html<scriptdefer- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"data-api-key="rb_your_api_key_here"></script>@@ -45,7 +45,7 @@ In your site dashboard: Settings β API Key tab β Generate API Key<!-- Production: NO API KEY --><scriptdefer- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id="YOUR_SITE_ID"></script>```@@ -64,7 +64,7 @@ export function Analytics() {return (<scriptdefer- src="https://app.rybbit.io/api/script.js"+ src="https://app.rybbit.com/api/script.js"data-site-id={process.env.NEXT_PUBLIC_RYBBIT_SITE_ID}{...(isDev && { 'data-api-key': process.env.NEXT_PUBLIC_RYBBIT_API_KEY })}/>@@ -76,7 +76,7 @@ export function Analytics() {// Vanilla JS exampleconst script = document.createElement('script');script.defer = true;-script.src = 'https://app.rybbit.io/api/script.js';+script.src = 'https://app.rybbit.com/api/script.js';script.setAttribute('data-site-id', 'YOUR_SITE_ID');// Only add API key in developmentdiff --git a/docs/content/docs/script.mdx b/docs/content/docs/script.mdxindex 843e30851..2b5b3d9da 100644--- a/docs/content/docs/script.mdx+++ b/docs/content/docs/script.mdx@@ -10,9 +10,9 @@ To start tracking user activity on your website, add the Rybbit tracking scriptThe webpage should give you this script tag like this when you first add a website. Place it within the `<head>` section of your website. Include it on every page you wish to track.```html-<script src="https://app.rybbit.io/api/script.js" async data-site-id="YOUR_SITE_ID"></script>+<script src="https://app.rybbit.com/api/script.js" async data-site-id="YOUR_SITE_ID"></script>```-If you are self-hosting Rybbit `app.rybbit.io` will be domain of your Rybbit instance.+If you are self-hosting Rybbit `app.rybbit.com` will be domain of your Rybbit instance.## Configurationdiff --git a/docs/src/app/(home)/page.tsx b/docs/src/app/(home)/page.tsxindex 15cd2a43a..f251da860 100644--- a/docs/src/app/(home)/page.tsx+++ b/docs/src/app/(home)/page.tsx@@ -120,7 +120,7 @@ export default function HomePage() {<div className="flex flex-col items-center my-8 md:my-10"><div className="flex flex-col sm:flex-row items-center justify-center gap-4 md:gap-6 text-base md:text-lg px-4"><TrackedButton- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"eventName="signup"eventProps={{ location: "hero", button_text: "Track your site" }}className="w-full sm:w-auto bg-emerald-600 hover:bg-emerald-500 text-white font-medium px-5 py-3 rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-opacity-50 cursor-pointer"@@ -491,7 +491,7 @@ export default function HomePage() {<div className="flex flex-col sm:flex-row items-center justify-center gap-4 md:gap-6 mb-6 md:mb-8 w-full sm:w-auto"><TrackedButton- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"eventName="signup"eventProps={{ location: "bottom_cta", button_text: "Track your site for free" }}className="w-full sm:w-auto bg-emerald-600 hover:bg-emerald-500 text-white text-lg font-medium px-6 md:px-8 py-3 md:py-4 rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-opacity-50 cursor-pointer"diff --git a/docs/src/app/compare/components/ComparisonPage.tsx b/docs/src/app/compare/components/ComparisonPage.tsxindex 6351a62fa..96e8458e0 100644--- a/docs/src/app/compare/components/ComparisonPage.tsx+++ b/docs/src/app/compare/components/ComparisonPage.tsx@@ -68,7 +68,7 @@ export function ComparisonPage({ competitorName, sections, comparisonContent }:<div className="relative z-10 flex flex-col items-center my-8 md:my-10"><div className="flex flex-col sm:flex-row items-center justify-center gap-4 md:gap-6 text-base md:text-lg px-4"><TrackedButton- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"eventName="signup"eventProps={{ location: "hero", button_text: "Track your site" }}className="w-full sm:w-auto bg-emerald-600 hover:bg-emerald-500 text-white font-medium px-5 py-3 rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-opacity-50 cursor-pointer"@@ -197,7 +197,7 @@ export function ComparisonPage({ competitorName, sections, comparisonContent }:<div className="flex flex-col sm:flex-row items-center justify-center gap-4 md:gap-6 mb-6 md:mb-8 w-full sm:w-auto"><TrackedButton- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"eventName="signup"eventProps={{ location: "bottom_cta", button_text: "Track your site for free" }}className="w-full sm:w-auto bg-emerald-600 hover:bg-emerald-500 text-white text-lg font-medium px-6 md:px-8 py-3 md:py-4 rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-opacity-50 cursor-pointer"diff --git a/docs/src/app/pricing/components/ComparisonSection.tsx b/docs/src/app/pricing/components/ComparisonSection.tsxindex bd9af6aec..13871043d 100644--- a/docs/src/app/pricing/components/ComparisonSection.tsx+++ b/docs/src/app/pricing/components/ComparisonSection.tsx@@ -195,7 +195,7 @@ export function ComparisonSection() {Free <span className="text-sm text-neutral-400 font-normal block">$0/month</span></div><a- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"className="inline-flex items-center justify-center px-4 py-2 bg-neutral-700 hover:bg-neutral-600 text-white text-sm font-medium rounded-lg border border-neutral-600 transform hover:-translate-y-0.5 transition-all duration-200">Start Free@@ -206,7 +206,7 @@ export function ComparisonSection() {Standard <span className="text-sm text-neutral-400 font-normal block">From $19/month</span></div><a- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"className="inline-flex items-center justify-center px-4 py-2 bg-emerald-600 hover:bg-emerald-500 text-white text-sm font-medium rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200">Try Free@@ -217,7 +217,7 @@ export function ComparisonSection() {Pro <span className="text-sm text-neutral-400 font-normal block">From $39/month</span></div><a- href="https://app.rybbit.io/signup"+ href="https://app.rybbit.com/signup"className="inline-flex items-center justify-center px-4 py-2 bg-emerald-600 hover:bg-emerald-500 text-white text-sm font-medium rounded-lg shadow-lg shadow-emerald-900/20 transform hover:-translate-y-0.5 transition-all duration-200">Try Freediff --git a/docs/src/components/CustomHeader.tsx b/docs/src/components/CustomHeader.tsxindex 6fdf37d5e..4813b6b86 100644--- a/docs/src/components/CustomHeader.tsx+++ b/docs/src/components/CustomHeader.tsx@@ -103,7 +103,7 @@ export function CustomHeader() {</a>{/* Login Button */}- <a href="https://app.rybbit.io" target="_blank" rel="noopener noreferrer">+ <a href="https://app.rybbit.com" target="_blank" rel="noopener noreferrer"><buttononClick={() => trackAdEvent("login", { location: "header" })}className="bg-neutral-800 hover:bg-neutral-700 text-white text-sm font-medium px-3 py-1.5 rounded-md border border-neutral-600 transform hover:-translate-y-0.5 transition-all duration-200 hover:border-neutral-400 focus:outline-none focus:ring-2 focus:ring-neutral-400 focus:ring-opacity-50"@@ -171,7 +171,7 @@ export function CustomHeader() {</a><div className="pt-2 border-t border-neutral-800">- <a href="https://app.rybbit.io" target="_blank" rel="noopener noreferrer" className="block w-full">+ <a href="https://app.rybbit.com" target="_blank" rel="noopener noreferrer" className="block w-full"><buttononClick={() => trackAdEvent("login", { location: "header" })}className="w-full bg-neutral-800 hover:bg-neutral-700 text-white text-sm font-medium px-3 py-2 rounded-md border border-neutral-600"diff --git a/docs/src/components/PricingSection.tsx b/docs/src/components/PricingSection.tsxindex 5395d076b..3b694127b 100644--- a/docs/src/components/PricingSection.tsx+++ b/docs/src/components/PricingSection.tsx@@ -197,7 +197,7 @@ export function PricingSection() {</div></div>- <Link href="https://app.rybbit.io/signup" className="w-full block">+ <Link href="https://app.rybbit.com/signup" className="w-full block"><buttononClick={() => trackAdEvent("signup", { location: "pricing" })}data-rybbit-event="signup"@@ -253,7 +253,7 @@ export function PricingSection() {</button></Link>) : (- <Link href="https://app.rybbit.io/signup" className="w-full block">+ <Link href="https://app.rybbit.com/signup" className="w-full block"><buttononClick={() => trackAdEvent("signup", { location: "pricing" })}data-rybbit-event="signup"@@ -318,7 +318,7 @@ export function PricingSection() {</button></Link>) : (- <Link href="https://app.rybbit.io/signup" className="w-full block">+ <Link href="https://app.rybbit.com/signup" className="w-full block"><buttononClick={() => trackAdEvent("signup", { location: "pricing" })}data-rybbit-event="signup"