Visitor Tracker Documentation

SSP — Visitor Tracker (Docs)

SSP Documentation

SSP Visitor Tracker

Overview

SSP Visitor Tracker is a privacy-first analytics solution for WordPress. Track visitor sessions, page views, traffic sources, and conversions without relying on external services like Google Analytics. All data stays on your server.

WooCommerce Ready: Automatically tracks add-to-cart, checkout, and purchase events without any configuration.
Admin LocationDashboard sidebar → Visitor Tracker
RequirementsWordPress 5.0+, PHP 7.4+
Data StorageCustom database tables (auto-created)
External ServicesNone — 100% self-hosted

Dashboard

The Dashboard provides a high-level view of your site’s traffic and engagement.

Stats Cards

Visitors TodayUnique sessions today with pageview count.
Visitors YesterdayYesterday’s traffic for quick comparison.
This WeekWeek-to-date visitor count.
This MonthMonth-to-date visitor count.
Avg. SessionAverage time visitors spend on your site, plus pages per session.
Bounce RatePercentage of single-page sessions under 10 seconds. Color-coded: green (<40%), yellow (40-70%), red (>70%).
ConversionsPurchase events this month with conversion rate.
Add to CartsTotal add-to-cart events this month.

Top Pages

Shows your most viewed pages this month with total views and unique visitors.

Traffic Sources

Breakdown of where your visitors come from, categorized by type (social, organic, paid, direct, referral).

Devices & Browsers

Distribution of desktop vs. mobile vs. tablet traffic, plus browser breakdown.

Real-Time Visitors

The Real-Time tab shows visitors currently active on your site.

What It Shows

  • Active count — Number of visitors in the last 5 minutes.
  • Current page — What each visitor is viewing right now.
  • Device — Desktop, mobile, or tablet.
  • Browser — Chrome, Safari, Firefox, etc.
  • Last activity — When they last loaded a page.
Auto-refreshes every 30 seconds. The pulsing green dot indicates live data.

Sessions

The Sessions tab lists individual visitor sessions from the last 7 days.

Session List

SourceWhere the visitor came from (with color-coded badge).
DeviceDesktop, mobile, or tablet.
PagesNumber of pages viewed in the session.
DurationTotal time on site.
Date & TimeWhen the session started.

Session Detail View

Click “View” on any session to see the complete visitor journey:

  • Session metadata — Device, browser, OS, source, duration, IP address.
  • Page-by-page timeline — Every page visited with time spent on each.
  • Events — Any add-to-cart, checkout, or purchase events that occurred.
Use session detail to understand exactly how visitors navigate your site and where they convert or drop off.

Pages

The Pages tab shows all pages visited this month, ranked by views.

Metrics Per Page

PagePage title and full URL.
ViewsTotal pageviews.
UniqueNumber of unique sessions that viewed this page.

Page Title Detection

The plugin intelligently extracts page titles using:

  1. Open Graph og:title meta tag
  2. First <h1> element on the page
  3. Document title (cleaned of site name suffix)
  4. URL path as fallback

Traffic Sources

The Sources tab provides detailed traffic attribution.

Source Types

Facebook, Twitter/X, Instagram, LinkedIn, Reddit, Pinterest, TikTok, YouTube.
OrganicSearch engines (Google, Bing, DuckDuckGo, Yahoo, Yandex, Baidu). Shows search keywords when available.
Google Ads (gclid), Facebook Ads (fbclid), Bing Ads (msclkid), or UTM medium = cpc.
DirectNo referrer detected — typed URL, bookmarks, or links from apps.
ReferralLinks from other websites.
UTM source or medium contains “email” or “newsletter”.

UTM Parameter Support

The plugin recognizes standard UTM parameters:

  • utm_source — Traffic source (e.g., “facebook”, “newsletter”)
  • utm_medium — Marketing medium (e.g., “cpc”, “email”, “social”)
  • utm_campaign — Campaign name

Click ID Detection

Automatically detects paid traffic from:

  • gclid — Google Ads
  • fbclid — Facebook/Instagram Ads
  • msclkid — Microsoft/Bing Ads
  • ttclid — TikTok Ads

In-App Browser Detection

When users click links from social media apps (which don’t send referrers), the plugin detects the in-app browser and attributes correctly to Facebook, Instagram, Reddit, Twitter, LinkedIn, Pinterest, or TikTok.

Events

The Events tab tracks user interactions beyond pageviews.

Automatic WooCommerce Events

view_productVisitor views a product page.
add_to_cartProduct added to cart (includes product name and quantity).
view_cartVisitor views the cart page.
begin_checkoutVisitor reaches the checkout page.
purchaseOrder completed (thank you page reached).

Event Summary

Shows event counts by type for the last 7 days — quickly see how many add-to-carts, checkouts, and purchases occurred.

Recent Events Feed

Chronological list of recent events with details like product name, scroll depth, or file downloaded.

Conversion Attribution: When a purchase occurs, the plugin traces back to the original traffic source and credits the conversion to that campaign link.

Campaign Links

Create trackable short links for marketing campaigns in the Campaigns tab.

Creating a Campaign Link

  1. Enter a Campaign Label (e.g., “Reddit”, “Newsletter”, “Twitter Bio”).
  2. Enter the Destination URL — where visitors should land.
  3. Click Generate Link.
  4. Copy the generated short URL and share it.

How It Works

When someone clicks your campaign link:

  1. Click is counted immediately.
  2. A tracking cookie is set (90-day attribution window).
  3. UTM parameters are appended to the destination URL.
  4. Visitor is redirected to your destination.
  5. If they complete a purchase, the conversion is attributed to this campaign.

Campaign Metrics

ClicksTotal times the link was clicked.
ConversionsPurchases attributed to this campaign.
RateConversion rate (conversions ÷ clicks).

Link Format

Campaign links use the format: https://yoursite.com/?ssp_src=campaign-slug

Settings

Configure tracking behavior in the Settings tab.

General Settings

TimezoneAll dates and times are displayed in this timezone. Default: America/Detroit.
Data RetentionAutomatically delete data older than this many days (7-365). Default: 90 days.

Privacy Options

Don’t track admin usersExcludes logged-in administrators from tracking. Recommended.
Don’t track logged-in usersExcludes all logged-in users from tracking.
Filter bot trafficAutomatically filters known bots, crawlers, and scrapers.

Bot Filtering

When enabled, the plugin automatically filters out non-human traffic.

Detected Bots Include

  • Search engine crawlers (Googlebot, Bingbot, Yandex, Baidu, DuckDuckBot)
  • SEO tools (Ahrefs, SEMrush, Screaming Frog, Moz)
  • Social media preview bots (Facebook, Twitter, LinkedIn, WhatsApp, Telegram, Discord, Slack)
  • Monitoring services (Pingdom, Uptime monitors)
  • Headless browsers (PhantomJS, Headless Chrome)
  • HTTP clients (curl, wget, Python requests, Axios)
  • AI crawlers (GPTBot, ClaudeBot)
Bot filtering happens server-side, so bot requests are discarded before being stored — keeping your database clean and your metrics accurate.

Privacy & Self-Exclusion

Self-Exclusion Link

Exclude yourself from tracking on any device or browser:

  1. Go to Settings → find the Self-Exclusion Link section.
  2. Copy the unique URL.
  3. Open that URL in any browser or device you want excluded.
  4. A cookie is set that tells the tracker to ignore your activity for ~1 year.
Works on phones, other computers, incognito windows — any browser that opens the link gets the exclusion cookie.

Regenerate Token

If your exclusion URL is compromised, click “Regenerate Token” to create a new one. Old links will stop working.

Data You Collect

The plugin stores:

  • Session ID (random, not personally identifiable)
  • IP address
  • User agent (browser/device info)
  • Pages visited with timestamps
  • Referrer URL
  • Events (add-to-cart, checkout, purchase)

Data You Don’t Collect

  • No cookies for cross-site tracking
  • No fingerprinting
  • No data shared with third parties
  • No personal information (name, email) unless you add custom events

FAQ

What counts as a “session”?

A session is a group of pageviews from the same visitor. Sessions are identified by a random ID stored in the browser’s sessionStorage. A new session starts when the visitor opens a new browser tab/window or returns after their session expires.

How is duration calculated?

Duration = time between first and last pageview in the session. If a visitor views only one page, duration is 0 (counted as a bounce if under 10 seconds).

Why is my traffic showing as “Direct”?

Direct traffic means no referrer was detected. Common causes: links from HTTPS to HTTP, in-app browsers that strip referrers, bookmarks, typed URLs, links from PDFs/documents, or privacy extensions.

WooCommerce events not tracking?

Events are detected by page URL patterns (/cart/, /checkout/, /thank-you/, /product/) and button classes (.add_to_cart_button). Custom themes may need adjustments if they use non-standard URLs or classes.

My own visits are being tracked?

  • Enable “Don’t track admin users” in Settings.
  • Use the Self-Exclusion Link on all your devices.

Database growing too large?

  • Reduce Data Retention period in Settings.
  • Click “Clear All Data” for a fresh start.
  • Cleanup runs automatically daily.

How does conversion attribution work?

When a purchase event occurs, the plugin looks at the session’s first referrer. If that referrer came from a campaign link (or has a matching utm_source), the conversion is credited to that campaign. Attribution window is 90 days via cookie.

Can I export the data?

Yes. Click “Export CSV” in the header to download all visitor logs (up to 10,000 rows) including session ID, IP, device, browser, OS, referrer, URL, page title, and timestamp.

Does this work with caching plugins?

Yes. Tracking happens via JavaScript after page load, so it works with page caching, CDNs, and static site optimizations.

Is this GDPR compliant?

The plugin stores IP addresses and uses a session cookie. For GDPR compliance, you should disclose analytics in your privacy policy. Consider enabling “Don’t track logged-in users” and shorter data retention. The plugin does not share data externally or use tracking for advertising.