Privacy-focused, server-side conversion tracking for Meta (Facebook) ads without requiring the Meta Pixel.
- Captures
fbclidfrom Meta ad clicks and stores as first-party cookie (7 days) - Sends server-side conversion events to Meta Conversions API
- Works without client-side Meta Pixel JavaScript
- Compatible with ad blockers
- Minimal tracking footprint
- Copy plugin folder to
/wp-content/plugins/ - Activate in WordPress Admin > Plugins
- Configure in Settings > Minimal Meta Conversions
Required settings (Settings > Minimal Meta Conversions):
- Pixel ID - Your Meta Pixel/Dataset ID (numeric)
- Access Token - Generate in Meta Events Manager > Settings > Conversions API
- Event Name - Select conversion type (default: Purchase)
Optional settings:
- Test Event Code - For testing (generate in Events Manager > Test Events)
- Debug Logging - Enable to log events to plugin log file
Add shortcode to your conversion/thank-you page:
[meta_capi_conversion]
The shortcode fires a conversion event when:
- Page loads with the shortcode
- Visitor has a stored
fbclidcookie (came from Meta ad) - Pixel ID and Access Token are configured
- Visitor clicks Meta ad →
fbclidparameter captured from URL - Stored as cookie → First-party cookie for 7 days
- Conversion page → Shortcode detects cookie
- API call → Server sends event to Meta Conversions API
- Attribution → Meta attributes conversion to ad campaign
- ✅ Server-side only (no browser pixel)
- ✅ First-party cookies
- ✅ Standard Meta event names
- ✅ Test mode support
- ✅ Debug logging
- ✅ Duplicate prevention (1 hour cooldown)
- ✅ Works with HTTPS
- WordPress with WP Cron
- PHP 7.0+
- SSL recommended (for secure cookies)
- Meta Business account with Pixel/Dataset
- Events Manager → Select your Pixel
- Settings → Conversions API
- Generate Access Token → Copy to plugin settings
- Test Events → Generate test code (optional, for testing)
Enable debug logging checkbox in plugin settings. Logs are written to:
Log file: wp-content/minimal-conversions.log
Example log entries:
[2025-01-15 14:23:45] Captured fbclid from URL: abc123...[2025-01-15 14:25:10] Firing conversion event: Purchase | fbclid: abc123...[2025-01-15 14:25:11] API Response [200]: {"events_received":1...}
No WP_DEBUG required - The plugin writes to its own log file independently.
0.1.0
GPL2