CP Referrer and Conversion Tracking
v2.0.9codepeople · 2020年2月26日 上架
Track visitor referral websites, generate custom campaign links, and attribute conversions from forms, bookings, and WooCommerce.
- 正在使用
- 300+
- 评分
- 4.7 / 5
- 累计下载
- 1.6 万
- 最近更新
- 2026年11月25日
贡献者
截图
CP Referrer and Conversion Tracking is a practical tool for evaluating the results of your marketing campaigns. It records the referral website of each visitor and attributes conversions—such as purchases, contact form submissions, appointments, bookings, and user registrations—back to their original traffic sources.
The main features include:
- Records the external HTTP referrer and initial landing page of each website visitor (Tracking Logs).
- Displays interactive daily and hourly charts alongside yearly, monthly, weekly, and daily analytics summaries (Tracking Stats).
- Allows you to create custom campaign links for different marketing platforms with live previews and one-click copying (Referral Sources).
- Records both the initial (first-touch) referrer and the most recent (last-touch) referrer for conversions (Conversions).
- Includes built-in conversion tracking integrations for popular WordPress plugins (Add-Ons).
- Built-in GDPR and privacy controls: salted IP hashing, IP anonymization, Do Not Track / Global Privacy Control support, cookieless mode, WordPress Privacy Policy Guide integration, and Personal Data Export/Erasure support.
Recording the Referrer
The CP Referrer and Conversion Tracking plugin detects and stores the referring website whenever an external HTTP referer header is present (for example, when a visitor clicks a link from Google, Facebook, or another external website).
Visitors with identified referrers are listed under the Tracking Logs menu. The referrer, visitor identifier (salted hash, anonymized IP, or full IP depending on your privacy setting), landing page, and timestamp of the first visit are recorded in the logs.
To avoid storing excessive log data, old logs are automatically deleted after 90 days by default. You can customize this retention period or trigger an immediate cleanup from the General Settings screen.
Graphics and Statistics of Referral Websites
Recorded logs power interactive charts showing daily and hourly referral trends, as well as a percentage breakdown of top referral sources.
Historical summaries are also calculated for logs received per year, over the last 12 months, over the last 12 weeks, and over the last 30 days. This helps you evaluate referral trends across different time frames. Note: Historical totals may be affected by the automatic deletion of expired logs.
This section is located under the Tracking Stats menu.
Creating Custom Referral Links for Marketing Campaigns
The Referral Sources section lets you build custom links for different marketing platforms, making it easier to identify exact traffic sources.
For example, you can set up dedicated entry URLs for a Google Ads campaign and for Facebook Ads. This ensures the exact referral source is reported even if a visitor’s browser strips the automatic HTTP referer header.
Tracking Conversions
CP Referrer and Conversion Tracking can identify the referral source behind conversions such as contact form submissions, WooCommerce orders, bookings, appointment requests, and new user registrations.
Each conversion lists both the initial visit’s referrer and the latest session’s referrer if the visitor returned through a different source before converting.
To record conversions from a supported plugin, enable its integration under the Add-Ons menu. Built-in conversion tracking add-ons are included for the following plugins and features:
- WooCommerce (HPOS and Classic Order Storage compatible)
- Contact Form 7
- Contact Form to Email
- Appointment Hour Booking
- Appointment Booking Calendar
- Booking Calendar Contact Form
- Calculated Fields Form
- Contact Form with PayPal
- CP Polls
- WP Time Slots Booking Form
- WordPress User Registrations
Conversions are listed under the Conversions menu.
Privacy and GDPR Controls
Under General Settings, you can tailor data collection to match your site’s privacy requirements:
- Visitor IP Address Handling: Choose between one-way salted hashing (recommended for GDPR), WordPress Core IP anonymization, or legacy full IP storage.
- Do Not Track (DNT) & Global Privacy Control (GPC): Automatically skip logging and cookies when visitors enable browser privacy signals.
- Cookieless Mode: Disable first-party tracking cookies (
cprreftrackandcprreftracklatest) while keeping server-side first-touch attribution active. - Clean Uninstall: Optionally remove all database tables and plugin options when deleting the plugin from WordPress.
- WordPress Privacy Tools: Automatically adds suggested disclosure language to Settings > Privacy > Policy Guide and supports Export Personal Data and Erase Personal Data requests for matching conversion records.
For developers: If you need to track a custom conversion programmatically, please see the FAQ section below for the supported hooks.



