Jetrack

Jetrack

Features

Visitor Tracking

Understanding visitor metrics and session tracking

Jetrack automatically tracks every visitor to your website, giving you deep insights into who's visiting, how often they return, and how they engage with your content.

What Gets Tracked Automatically

once you install the tracking script, BrandJet automatically collects:

  • Unique Visitors - Individual people visiting your site
  • Sessions - Groups of interactions within a time window
  • Pageviews - Individual page loads
  • Session Duration - Time spent on your site
  • Bounce Rate - Single-page sessions
  • Returning Visitors - People who come back

All of this happens automatically. No configuration needed.

Understanding Visitor Metrics

Unique Visitors

A unique visitor is identified by a cookie stored in their browser. This means:

  • Same person, same device = 1 unique visitor
  • Same person, different device = 2 unique visitors
  • Different browser = Different visitor ID

How It Works:

When someone visits, we generate a unique visitor ID and store it in a cookie named bj_vid. This cookie lasts for 730 days (2 years). If they return within that time, we recognize them as the same visitor.

Privacy Note: The visitor ID is completely anonymous (UUID format like a1b2c3d4-e5f6-7890-abcd-ef1234567890). We don't collect or store any personal information.

Daily Active Users (DAU)

DAU tracks unique visitors within a single day. This metric helps you:

  • Monitor day-to-day engagement
  • Spot traffic patterns
  • Identify peak activity days
  • Track campaign effectiveness

How to View DAU:

  1. Go to your website dashboard
  2. Look at the main chart
  • Click the metric dropdown
  1. Select "Daily Active Users (DAU)"

The chart will update to show daily active users over your selected time range.

Monthly Active Users (MAU)

MAU tracks unique visitors over a 30-day rolling window. This shows:

  • Long-term engagement trends
  • Growth patterns
  • Retention over time
  • Overall audience size

Calculating MAU:

MAU counts distinct visitors who visited at least once in the last 30 days from any given date.

Returning Visitors

Returning visitors are people who have visited your site before. We track:

  • Total returning visitors in a time period
  • Percentage of traffic that's returning
  • Return frequency

Why It Matters:

High returning visitor rates indicate:

  • Engaging content that brings people back
  • Strong brand loyalty
  • Effective email/content marketing
  • Good product-market fit

Session Tracking

What Is a Session?

A session is a group of user interactions within a time window. A new session starts when:

  • A user visits for the first time
  • 30 minutes of inactivity have passed
  • The day changes (midnight in the website's timezone)

###Session Metrics

Session Duration

Average time users spend on your site per session. We calculate this by:

  1. Recording when each session starts
  2. Tracking the last activity (pageview or custom event)
  3. Calculating the difference

Bounce Rate

Percentage of sessions where the user viewed only one page. Lower bounce rates generally indicate:

  • Engaging content
  • Clear navigation
  • Relevant landing pages

Formula: (Single-page sessions / Total sessions) × 100

Heartbeat Tracking

To accurately measure session duration, we use a "heartbeat" system:

  • Every 15 seconds, a lightweight Signal is sent
  • This happens only when the page is visible (not minimized)
  • Stops when the user leaves or minimizes the browser
  • Resumes when they return

Why Heartbeats?

Without heartbeats, we'd only know:

  • When someone arrives
  • When they navigate to another page

With heartbeats, we know:

  • actual time spent reading/engaging
  • When they leave (approximately)
  • More accurate session duration

Visitor Identification

We use a first-party cookie (bj_vid) stored on your domain:

Cookie Details:

  • Name: bj_vid
  • Duration: 730 days (2 years)
  • Type: First-party, HttpOnly
  • SameSite: Lax
  • Value: UUID (e.g., a1b2c3d4-e5f6-7890-abcd-ef1234567890)

No Fingerprinting:

Unlike some analytics tools, we don't use:

  • Canvas fingerprinting
  • Browser fingerprinting
  • Device fingerprinting
  • IP address tracking

We rely purely on the cookie. If a user deletes cookies, they become a "new" visitor.

Cross-Domain Tracking

Want to track the same visitor across multiple domains? We support cross-domain tracking:

How It Works:

  1. Add data-cross-domain-domains="example.com,shop.example.com" to your tracking script
  2. When users click links to allowed domains, we pass the visitor ID via URL
  3. The receiving domain picks up the ID and uses it

Example:

<script
    async
    defer
    data-website-id="your-id"
    data-cross-domain-domains="example.com,app.example.com"
    src="https://analytics.brandjet.ai/script.js">
</script>

Now visitors moving from example.com to app.example.com maintain the same visitor ID.

Viewing Visitor Data

Dashboard Overview

Your main dashboard shows:

  • Total Visitors - Top-left card, big number
  • Percentage Change - Compared to previous period
  • Visitor Chart - Interactive timeline
  • Metric Toggle - Switch between Visitors, DAU, MAU

Filtering by Time

Select different date ranges to analyze visitor patterns:

  • Today - Real-time visitor tracking
  • Yesterday - Compare to previous days
  • Last 7 Days - Week-over-week trends
  • Last 30 Days - Monthly patterns
  • Custom Range - Any date range you want

Granularity Options

  • Hourly - Available for single-day views, shows visitors per hour
  • Daily - Shows visitors per day for multi-day ranges

Privacy & Compliance

GDPR Compliance

Our visitor tracking is GDPR-compliant because:

  • We use anonymous visitor IDs (UUIDs)
  • No personal data is collected
  • No cross-site tracking
  • Users can delete cookies anytime
  • No data is sold or shared

Respecting User Privacy

What We DON'T Track:

  • Names, emails, or personal info
  • Exact IP addresses (only used for geo-location, then discarded)
  • Mouse movements or keystrokes
  • Form input values
  • Passwords or sensitive data

What We DO Track:

  • Page URLs
  • Referrer URLs
  • Browser type and version
  • Operating system
  • Screen resolution
  • Language settings
  • Approximate location (country/city)

Technical Details

How Session Duration Is Calculated

Session Duration = Last Activity Time - First Activity Time

Where activities include:

  • Pageviews
  • Custom events
  • Heartbeats (every 15 seconds)

How Bounce Rate Is Calculated

Bounce Rate = (Sessions with only 1 pageview / Total sessions) × 100

A session counts as a "bounce" if:

  • User viewed exactly 1 page
  • No custom events were triggered
  • User left or closed the tab

Best Practices

###Getting Accurate Data

  1. Install on all pages - Make sure the tracking script is on every page
  2. Use consistent domains - Don't mix www and non-www
  3. Filter internal traffic - Exclude your own visits in Settings → Exclusions
  4. Test thoroughly - Verify tracking works before launching

Interpreting Metrics

High Returning Visitor %:

  • Good: Loyal audience, engaging content
  • Consider: Are you attracting enough new visitors?

Low Bounce Rate:

  • Good: Users explore multiple pages
  • Consider: Is your content meeting expectations?

Long Session Duration:

  • Good: Users are engaged
  • Consider: Are they finding what they need quickly enough?

Troubleshooting

Visitors Not Being Tracked

Check these:

  1. Tracking script is installed in <head> section
  2. data-website-id matches your dashboard
  3. Not testing on localhost without data-allow-localhost="true"
  4. Ad blockers are disabled (for testing)
  5. Cookies are enabled in browser

Duplicate Visitor Counts

Common causes:

  1. User switches devices or browsers
  2. User clears cookies frequently
  3. Private/Incognito mode
  4. Multiple websites with same domain (use different website IDs)

Inaccurate Session Duration

Possible reasons:

  1. User left tab open but inactive (heartbeats stop after inactivity)
  2. Browser was minimized (heartbeats pause when page is hidden)
  3. Network issues preventing heartbeats

This is normal - we track engaged time, not just how long a tab is open.

Next Steps

On this page