Skip to content

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

Fix docs (#379)

Bill Yanga5223b1791c5
diff --git a/docs/src/content/guides/react/next-js.mdx b/docs/src/content/guides/react/next-js.mdx
index 0c0075bc1..e7d4dc456 100644
--- a/docs/src/content/guides/react/next-js.mdx
+++ b/docs/src/content/guides/react/next-js.mdx
@@ -1,4 +1,5 @@
import { Steps } from "nextra/components"
+import { Callout } from "nextra/components"
# Next.js
@@ -114,7 +115,7 @@ and where you are using the script:
```
Note that this rewrite will consume the bandwidth of your server, as all tracking requests will be proxied through your Next.js application. Consider this when evaluating your hosting costs and server capacity requirements.
-import { Callout } from "nextra/components"
+
<Callout type="info">
**Page View Tracking in Next.js**: Rybbit's tracking script is designed to automatically detect route changes when using Next.js's `&lt;Link&gt;` component or `router.push()` and track them as page views. If you encounter a rare scenario where page views are not being tracked correctly after client-side navigation, you might need to manually trigger page views using `window.rybbit.trackPageview()`. However, test the default behavior first, as manual tracking is typically not necessary.
diff --git a/docs/src/content/guides/shopify.mdx b/docs/src/content/guides/shopify.mdx
index bcf3dfe04..87817cfe4 100644
--- a/docs/src/content/guides/shopify.mdx
+++ b/docs/src/content/guides/shopify.mdx
@@ -1,4 +1,5 @@
import { Steps } from "nextra/components"
+import { Callout } from "nextra/components"
# Shopify