=== CF7 Visited Pages URL Tracking === Contributors: thechetanvaghela Donate link: https://profiles.wordpress.org/thechetanvaghela/ Tags: contact form 7 add on, track visited pages, Contact form 7 mail Requires at least: 6.2.2 Requires PHP: 7.2 Tested up to: 7.0 Stable tag: 1.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Track visitors' page history and include the visited page URLs in Contact Form 7 email notifications. == Description == **CF7 Visited Pages URL Tracking** enhances **Contact Form 7** by recording the pages a visitor views before submitting a form and automatically including those URLs in the email notification. The plugin stores the visitor's page history in browser cookies. When a Contact Form 7 form is submitted, the list of previously visited pages is inserted into the email body using a simple mail tag. This helps website owners better understand visitor behavior, identify user interests, and gain additional context for enquiries. Whether you're collecting sales leads, support requests, or general enquiries, knowing which pages a visitor viewed before contacting you can provide valuable insights. ### Features * Track the pages visitors view before submitting a Contact Form 7 form. * Automatically include visited page URLs in email notifications. * Simple mail tag integration with Contact Form 7. * Helps understand visitor navigation and user intent. * Lightweight and easy to configure. * Compatible with the latest versions of Contact Form 7. ### Use Cases * Understand the visitor's journey before making an enquiry. * Improve lead qualification by identifying pages of interest. * Provide additional context for support requests. * Analyze visitor behavior without using complex analytics tools. * Help sales teams understand what content influenced a submission. == Installation == 1. Upload the plugin to the `/wp-content/plugins/` directory, or install it through the WordPress Plugins screen. 2. Activate the plugin through the **Plugins** menu in WordPress. 3. Open **CF7 – Track Visited Pages** from the WordPress admin menu. 4. Add the following mail tag to your Contact Form 7 email template: `[CF7VPUT_VISITED_Details]` 5. Save your Contact Form 7 settings and start tracking visitor page history. == Frequently Asked Questions == = Does this plugin require Contact Form 7? = Yes. This plugin extends the functionality of Contact Form 7 and requires it to be installed and activated. = How do I display the visited pages in the email? = Simply add the following mail tag to your Contact Form 7 email template: `[CF7VPUT_VISITED_Details]` = What information is tracked? = The plugin records the URLs of pages visited before the form submission and includes them in the notification email. = Does the plugin require any additional configuration? = No. After activation, simply add the mail tag to your Contact Form 7 email template. == Screenshots == 1. Plugin settings page. 2. Contact Form 7 mail template with the tracking mail tag. 3. Example email containing the visitor's page history. == Changelog == = 1.0.2 = * Tested with the latest three major WordPress releases. * Improved compatibility with the latest Contact Form 7 releases. * Improved plugin stability and performance. * Improved code quality to meet the latest WordPress coding standards. * Minor bug fixes and maintenance updates. = 1.0.1 = * Initial public release. * Tested with the latest WordPress releases. = 1.0.0 = Initial public release. == Upgrade Notice == = 1.0.2 = Recommended update with compatibility improvements, enhanced stability, and maintenance updates. = 1.0.1 = Recommended update with compatibility improvements, enhanced stability, and maintenance updates. = 1.0.0 = Initial public release.