DirectoryFast
  • 🚀Get Started
  • 🔤Tutorials
    • Bring me to life!
    • How it's structured?
    • Make it yours
    • Bonus
  • 🛠️Features
    • AI
      • AI URL Scanner & Scan Jobs
    • Analytics
    • Authentication
    • API
      • Protected Endpoints
    • Blog
    • Database
    • Emails
    • Error Pages
    • Icons
    • Payments
    • Private Pages
    • SEO
  • 📦General Components
    • Shadcn/ui Components
    • Navbar
    • Footer
    • SignIn Modal
    • Hero Section
    • Social Proof
    • Collections Social Proof
    • Featured Section
    • Latest Collections Section
    • Latest Products Section
    • Recommended Section
  • 📦Directory Components
    • Product Card
    • Collection Card
    • Product Note
    • Search Bar
    • Tags
    • Product Options Toggle
    • Combobox
    • Multi-Combobox
    • Submit Product
    • Feature Product
    • Manage Note
    • Manage Collection
    • Dashboard Tables
  • ⛓️Links
    • GitHub Repository
    • Support
Powered by GitBook
On this page
  • Internal Analytics
  • Stats Showcasing
  1. Features

Analytics

Collect all the analytics you want and showcase them with PostHog

PreviousAI URL Scanner & Scan JobsNextAuthentication

Last updated 11 months ago

Internal Analytics

  1. Create your account on

  2. Get your API key in Settings > Personal API keys

  3. Fill the the key in your .env file:

.env
NEXT_PUBLIC_POSTHOG_KEY=

Stats Showcasing

Showcasing your analytic stats allows your customers to be sure that your site has an interesting reach.

  1. Create a Dashboard on PostHog (Website Metrics is fine to start with)

  2. Click on the Share button on the top right corner

  3. Check the "Share dashboard publicly" box

  4. Copy the "Embed dashboard" code into your .env file:

.env
NEXT_PUBLIC_POSTHOG_IFRAME_URL=

Your visitors have now access to your Analytics Dashboard with the newly added "Stats" link on the Navbar.

🛠️
PostHog