Setup

Add web analytics
to any site in 2 minutes.

No SDKs, no configuration files, no data pipelines. Paste one line of HTML and your analytics dashboard is ready.

Setup

Live in under 2 minutes.

No complicated setup. No data scientists needed. Paste one line of code and you're collecting data instantly.

01

Create an account

Sign up with your email address. No credit card required for the 14-day trial.

02

Add the snippet

Copy and paste a single line of HTML into your website's head tag.

03

Watch the data flow

That's it. Your dashboard is live. Visitor data starts appearing immediately.

index.html
<!-- Add to your <head> tag -->
<script
  defer
  data-domain="yoursite.com"
  src="https://ghostlyx.com/js/script.min.js"
></script>

Works everywhere

GhostlyX is framework-agnostic. If it renders HTML, it works.

HTML index.html
<head>
  <script
    defer
    data-domain="yoursite.com"
    src="https://ghostlyx.com/js/script.min.js"
  ></script>
</head>
Next.js layout.tsx
<Script
  defer
  data-domain="yoursite.com"
  src="https://ghostlyx.com/js/script.min.js"
  strategy="afterInteractive"
/>
WordPress functions.php
add_action( 'wp_head', function() {
  echo '<script defer
    data-domain="yoursite.com"
    src="https://ghostlyx.com/js/script.min.js">
  </script>';
} );
Laravel Blade layouts/app.blade.php
<head>
  @vite(['resources/css/app.css'])
  <script defer
    data-domain="yoursite.com"
    src="https://ghostlyx.com/js/script.min.js"
  ></script>
</head>

Common questions

Will it slow down my site?

No. The script is under 2 kB gzipped and loads with the defer attribute, meaning it never blocks your page render. Your Core Web Vitals and Lighthouse score are unaffected.

Do I need to update my privacy policy?

Because GhostlyX collects no personal data and uses no cookies, most legal frameworks do not require you to update your privacy policy or display a cookie consent banner. Always consult your legal team for your specific jurisdiction.

Can I track multiple domains?

Yes. Add the script to each domain with its own data-domain value. Each site gets its own dashboard in your GhostlyX account.

Does it work with single-page apps?

Yes. GhostlyX automatically tracks history-based navigation in React, Vue, Angular, and other SPAs without any additional configuration.

Can I verify the script is working?

Open your dashboard immediately after adding the script and navigate to your site. The live visitor count will update within seconds if the script is loaded correctly.

Ready to add the snippet?

Create your free account and you'll have your tracking code in under a minute.