Documentation

Quick Start

Get up and running with Academalytics in under 5 minutes.

1. Create an Account

Sign up at academalytics.uk/admin/register using your .ac.uk email address. You'll receive a verification email to confirm your address.

2. Create a Project

After logging in, create a new project (e.g., "University Website" or "Department Sites"). Projects help you organize multiple sites.

3. Add a Site

Within your project, add a new site. You'll get a unique tracking ID that looks like: site_abc123def456

4. Install the Tracking Code

Add this single line to your website's <head> section:

<script src="https://academalytics.uk/tracker.js" data-site-id="YOUR_TRACKING_ID" async defer></script>

Replace YOUR_TRACKING_ID with your actual tracking ID.

5. View Your Analytics

That's it! Data will start appearing in your dashboard within seconds.

Installation Methods

WordPress

Add the tracking code to your theme's header:

  1. Go to Appearance → Theme File Editor
  2. Select header.php
  3. Add the tracking code before </head>
  4. Click Update File

Alternatively, use a plugin like "Insert Headers and Footers" to avoid editing theme files.

Static HTML

Simply paste the tracking code in the <head> section of your HTML files.

React / Next.js

Add to your _app.js or _document.js:

<Head>
  <script
    src="https://academalytics.uk/tracker.js"
    data-site-id="YOUR_TRACKING_ID"
    async
    defer
  ></script>
</Head>

Moodle

Add to your Moodle theme:

  1. Go to Site administration → Appearance → Additional HTML
  2. Paste the tracking code in Within HEAD
  3. Click Save changes

What is Tracked?

  • Page views - Every time someone views a page
  • Sessions - Grouped page views (expires after 30 minutes of inactivity)
  • Referrers - Where visitors came from (search engines, social media, direct)
  • Pages - Which pages are most popular
  • Browsers - Browser types and versions
  • Screen sizes - Device categories (mobile, tablet, desktop)
  • Country - Geographic location at country level

What is NOT Tracked?

  • Personal information
  • IP addresses (used momentarily for country detection, then discarded)
  • Cookies or persistent identifiers
  • Cross-site activity
  • Precise geolocation (only country-level)
  • Visitors with Do Not Track enabled

Troubleshooting

No data appearing?

  1. Check the tracking code is in the <head> section
  2. Verify your tracking ID is correct
  3. Open browser DevTools (F12) and check the Network tab for the tracker.js request
  4. Ensure your site is set to "Active" in the Academalytics dashboard
  5. Check if you have Do Not Track enabled (we respect DNT)

Tracking my own visits?

By default, all visitors are tracked. To exclude your own visits, enable Do Not Track in your browser settings.

GDPR compliance?

Academalytics is GDPR compliant by default. No cookies, no personal data, no consent banner needed. See our Privacy Policy for details.

Need Help?

Email James at j.alvarez@sussex.ac.uk