Antlytics

Add Antlytics to Hashnode

Install the Antlytics snippet on your Hashnode blog via Advanced settings (custom domain required).

Add Antlytics to Hashnode

Prerequisites

  • An Antlytics account (sign up free)
  • Your tracking ID from Settings → Tracking Snippet in your Antlytics dashboard

Install the snippet

  1. In your Hashnode dashboard, go to your blog's Settings.
  2. Click Advanced.
  3. Paste the snippet into the Head HTML field.
  4. Click Update.

Note: Custom Head HTML requires a custom domain on Hashnode. It is not available on the default hashnode.dev subdomain.

<script
  defer
  src="https://www.antlytics.com/tracker.js"
  data-tracking-id="YOUR-SITE-ID"
  data-api-host="https://www.antlytics.com"
></script>

Note: Replace YOUR-SITE-ID with the tracking ID from your Antlytics dashboard.

Verify installation

  1. Visit your site in a browser.
  2. Open your Antlytics dashboard → Overview.
  3. Your visit should appear within a few seconds.

If data does not appear after a few minutes, check the troubleshooting guide.

Optional: First-party proxy

To avoid ad blockers, set up a first-party proxy on your own domain.

Need help?

Email support@antlytics.com with your site ID and page URL.