Take your business to next level
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.
If you’re searching for detailed documentation on Referral Reports, including Referred Visitors, Referrers, and Search Engines, visit our dedicated guide here: Referral Reports Documentation.
The Referral Tracking and Source Categories system in WP Statistics helps categorize and track referral traffic to your website based on a set of predefined rules and configurations. This document explains how referrals are defined, the source categories currently available, and how the plugin detects and assigns these categories.
Referrals in WP Statistics are determined by analyzing the domain information sent by browsers when a visitor is referred to your website.
example.com
) and excludes additional details such as www
, path names, or URL parameters.sub.example.com
will be recorded separately from example.com
as a new referral domain.Source Categories classify referral traffic into specific types based on the domain address and query parameters. This allows you to better understand the nature of your traffic.
Each referral is assigned to one and only one source category, determined by the order of categories and rules.
WP Statistics determines the source category based on the domain address and query parameters associated with the referral.
Order of Source Categories:
The order of detection is critical. WP Statistics checks each referral against the following categories in sequence:
The first category that matches the referral data is assigned to the visitor.
Detection Process:
google.com
for Paid Search).google.com
and the URL contains query parameters matching the following pattern: /\b(gclid|gad_source)\b|utm_medium=(.*cp.*|ppc|retargeting|paid.*)(?:&|$)/
If new source channels are introduced or existing rules are updated, you can manually refresh your database:
For privacy compliance, WP Statistics removes all query parameters from URLs before saving them in the database. However:
google.com
with the query parameter gclid
, the traffic will be categorized as Paid Search.bing.com
without paid campaign parameters will fall under Organic Search.Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.