Privacy & Compliance
The plugin is designed to work with analytics while respecting user privacy:- No cookies: Pure server-side implementation
- No JavaScript: No client-side tracking code
- Data minimization: Only HTTP metadata, no content
- Automatic redaction: Sensitive parameters removed
- Public only: Admin and user areas excluded
Data Collection
The plugin collects standard HTTP request metadata from public pages:Required Fields
The following fields are required for every log entry sent to Agent Analytics:All required fields must be present for successful log ingestion. Missing fields will result in validation errors on the API side.
Optional Fields
These fields are included when available but not required:The plugin does not collect: page content, form data, WordPress user information, admin activity, database queries, or any server-side application data.
Automatic Path Filtering
Always Excluded Paths
The following paths are automatically excluded from logging and cannot be overridden:Request Type Exclusions
The plugin automatically skips:- Admin-referred requests: Any request with a referer containing
wp-admin - REST API calls: Requests with
rest_route=/wp/*query parameter - CLI operations: WP-CLI commands
- Edit context: REST requests with
context=editparameter
Path Filtering Priority
Paths are evaluated in this order:- Built-in exclusions (wp-admin, wp-login.php, etc.)
- Custom deny paths (user-configured patterns)
- Referer check (requests from wp-admin)
- REST API check (WordPress core API)
Query Parameter Redaction
Default Redacted Parameters
The following query parameter keys are automatically redacted (replaced with[REDACTED]):
Redaction uses substring matching. Any parameter containing these strings will be redacted (e.g.,
user_password, api_token, card_number).Redaction Example
Original query string:Log Ingestion Token Security
Storage Methods
The plugin supports three methods for Log Ingestion Token configuration, in order of security preference:- Environment Variable (Most Secure)
- WordPress Constant
- Database (Encrypted)
Add to your server environment:Or in
wp-config.php:IP Address Handling
Detection Order
The plugin attempts to detect the real client IP in this order:HTTP_X_FORWARDED_FOR- First IP in the list (for proxies/load balancers)HTTP_CF_CONNECTING_IP- Cloudflare’s real IP headerHTTP_X_REAL_IP- Alternative proxy headerHTTP_TRUE_CLIENT_IP- Cloudflare Enterprise headerREMOTE_ADDR- Direct connection (fallback)
The plugin automatically handles reverse proxies used by managed WordPress hosts (WP Engine, Kinsta, etc.) and CDNs (Cloudflare, Fastly).
IP Privacy Considerations
- No anonymization: Full IP addresses are captured for accurate bot detection
- Required for service: IP data is essential for geographic analysis and reverse DNS lookups
- GDPR compliance: Consider your legal requirements for IP data collection
Configuration Options
General Settings
Privacy Settings
Advanced Settings
Custom Path Filtering
Wildcard Pattern Examples
Add custom path exclusions using these patterns:Data Retention
Plugin-Side Retention
- Queue entries: Deleted after successful send
- Failed entries: Retried up to 6 times with exponential backoff
- Old entries: Auto-cleaned after retention period (default 7 days)
- Maximum queue: Oldest entries dropped when limit reached (100,000)
API-Side Processing
- Successful logs: Processed immediately by Agent Analytics
- Validation errors: Logged but entry still deleted from queue
- Authentication failures: Queue paused, circuit breaker activated
Performance Characteristics
Request Impact
Request Impact
- Processing overhead: < 1ms per request
- Memory usage: Minimal (single array per request)
- Database operations: One INSERT per request
- No output buffering: Does not delay response delivery
Background Processing
Background Processing
- Send interval: Every 60 seconds (configurable)
- Batch size: Up to 500 logs per send (configurable)
- Timeout: 5 second maximum per batch
- Queue limit: 100,000 entries maximum
Reliability Features
Reliability Features
- Automatic retry: Exponential backoff on failures
- Circuit breaker: Pauses after 3 consecutive failures
- Queue persistence: Logs preserved during outages
- Lock mechanism: Prevents concurrent processing
Security Best Practices
- Store Log Ingestion Tokens in environment variables rather than the database for production sites.
- Ensure all sensitive areas of your site are excluded from logging.
- Check the Status tab regularly to ensure logs are sending properly.
- Use the “Send Test Event” feature to verify connectivity without affecting real data.
- Ensure your WordPress site uses HTTPS to protect data in transit to your server.
If you discover any security issues or need assistance with configuration, please contact support@tryprofound.com immediately.