SQM Views - Fast Endpoint Drop-in Installation
==============================================

This drop-in file enables high-performance page view tracking by bypassing
the full WordPress stack. It's recommended for high-traffic sites.

INSTALLATION
------------

1. Copy `sqm-views-pages.php` to your WordPress root directory
   (the same directory where wp-config.php is located)

2. Configure your web server to route tracking requests to this file.

   For Apache (.htaccess), add before WordPress rewrite rules:

   RewriteEngine On
   RewriteRule ^sqm-views-pages\.php$ - [L]

   For Nginx, add to your server block:

   location = /sqm-views-pages.php {
       fastcgi_pass unix:/var/run/php/php-fpm.sock;
       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
       include fastcgi_params;
   }

3. The SQM Views plugin must be installed and activated for the drop-in
   to function. The drop-in uses the plugin's autoloader and classes.

VERIFICATION
------------

After installation, the tracking endpoint will be available at:
https://your-site.com/sqm-views-pages.php

You can verify it's working by checking the Network tab in your browser's
developer tools - page view requests should return HTTP 200 responses.

REQUIREMENTS
------------

- SQM Views plugin installed and activated
- PHP 7.4 or higher
- Write access to WordPress root directory

SUPPORT
-------

For issues or questions, visit:
https://wordpress.org/support/plugin/sqm-views/
