वर्णन
Datablow Event Tracker connects your WordPress site directly to Meta using the Conversions API (CAPI). It sends events from both the browser and the server side with matching deduplication keys, so your ad campaigns receive complete and accurate conversion data.
Traditional browser-only tracking loses 20–30% of event data due to ad-blockers, iOS privacy protections, and Safari Intelligent Tracking Prevention (ITP). This plugin addresses those challenges by acting as a local proxy on your own domain and writing cookies server-side.
Core Features
- PageView Tracking — Fires PageView events from both the browser pixel and the server side.
- Deduplication Engine — Generates matching
event_idvalues for browser and server events so Meta merges them automatically. - Audit Logger — Stores the last 50 Conversions API payloads and HTTP response codes in your admin dashboard.
- Test Simulator — Manually trigger test CAPI payloads from WordPress to verify your configuration.
- Ad-Blocker Script Proxy — Serves the Meta Pixel JavaScript from your own domain endpoint, preventing ad-blockers from blocking the tracker.
- Cookie Keeper — Writes
_fbpand_fbccookies from PHP (server side), extending their lifespan up to 2 years and bypassing Safari ITP limits. - User Registration — Sends
CompleteRegistrationevents when new users register on your site. - URL-to-Event Mapping — Fire any standard Meta event on specific URL paths without writing code.
External Services
This plugin connects to Meta (Facebook) external services to track web events and transmit conversion data. Specifically:
-
Meta Pixel JavaScript (connect.facebook.net)
- The plugin loads the Meta Pixel JavaScript library from
https://connect.facebook.net/en_US/fbevents.jsin the visitor’s browser to enable browser-side event tracking. - When the Ad-Blocker Script Proxy feature is enabled, this script is fetched server-side and cached locally, then served from your own domain to the visitor’s browser.
- What data is sent: No user data is sent to this URL directly; it is a JavaScript file load only.
- When: On every front-end page load when a Pixel ID is configured.
- The plugin loads the Meta Pixel JavaScript library from
-
Meta Pixel Noscript Fallback (www.facebook.com/tr)
- The plugin outputs a 1×1 pixel
<img>tag inside a<noscript>block requestinghttps://www.facebook.com/tr. - What data is sent: Pixel ID and a PageView event signal for visitors who have JavaScript disabled.
- When: On every front-end page load when a Pixel ID is configured and JavaScript is disabled.
- The plugin outputs a 1×1 pixel
-
Meta Graph API / Conversions API (graph.facebook.com)
- The plugin sends server-side event data to
https://graph.facebook.com/v19.0/{pixel_id}/events. - What data is sent: Event name, event time, deduplication event ID, action source, hashed user data (SHA-256 hashed email, phone, name, city, state, zip, country), client IP address, user agent, and Facebook browser/click cookies (
_fbp,_fbc). For purchase events, value and currency are also included. - When: On PageView (every front-end page load), custom URL-mapped events, and user registrations — depending on which features are enabled in settings.
- Authentication: An Access Token stored in WordPress options is appended to each request.
- The plugin sends server-side event data to
These connections to Meta services are required for the plugin’s core conversion tracking functionality. The processing occurs on Meta’s external servers.
- Service Provider: Meta Platforms, Inc.
- Meta Terms of Service: https://www.facebook.com/legal/terms
- Meta Privacy Policy: https://www.facebook.com/about/privacy
- Meta Conversions API Terms: https://www.facebook.com/legal/developer_terms
- Meta Platform Terms: https://developers.facebook.com/terms/
No data is transmitted until you configure a valid Meta Pixel ID and Conversions API Access Token in the plugin settings.
स्थापना
- Upload the
datablow-capi-trackerfolder to/wp-content/plugins/, or install directly from the WordPress Plugin Directory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Settings Meta CAPI Tracker.
- Enter your Meta Pixel ID and Conversions API Access Token.
- Enable the tracking events you want (user registration, pageview).
- Click Save Configuration.
नेहमी विचारले जाणारे प्रश्न
-
How do I generate a Conversions API Access Token?
-
Go to Meta Events Manager Settings scroll to the Conversions API section click Generate access token.
-
Why do I need to deduplicate events?
-
When you send both browser (Pixel) and server (CAPI) events, Meta could count the same conversion twice. The plugin attaches a matching
eventIDto both the browser and server events. Meta detects the matching IDs and merges them into a single event. -
How do I test the connection?
-
Go to Meta Events Manager Test Events, copy the Test Event Code, paste it into the plugin’s Configuration panel, then go to the Test Event Center tab and click Trigger Server-Side Event.
-
Does the plugin store any personal data?
-
The plugin stores the last 50 CAPI request logs in the WordPress database (
wp_options), which include HTTP response codes and Meta API response bodies. No raw user PII (email, phone, name) is stored — all fields are SHA-256 hashed before transmission and are not stored in logs. -
Is the plugin GDPR compliant?
-
The plugin transmits hashed user data and cookies to Meta. You are responsible for obtaining appropriate user consent under GDPR or other applicable regulations before enabling tracking. Consider using a cookie consent plugin to gate tracking until consent is given.
समीक्षा
ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.
योगदानकर्ते आणि विकसक
“Datablow Event Tracker for Meta Conversions API” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत योगदान केले आहे.
योगदानकर्तेभाषांतर करा “Datablow Event Tracker for Meta Conversions API” तुमच्या भाषेत.
विकासातील आग्रह?
कोड ब्राउझ करा, SVN संग्रहालय तपासा, किंवा विकास लॉग च्या RSS द्वारे सदस्यता घ्या.
बदलांची यादी
1.0.2
- Standardized codebase for initial public release.
- Renamed all function/option/constant prefixes from
meta_capitodataevtrto avoid conflicts with other plugins. - Hooked Cookie Keeper, Script Proxy, and URL Event Scanner — these features now activate properly on every page load.
- Added CompleteRegistration tracking on user registration — no restrictions.
- Removed all license-gating and pro/free mode UI from the admin settings page.
- Fixed all unescaped outputs in the admin settings page.
- Fixed
$_COOKIE,$_SERVER, and$_GETinputs now all sanitized and validated before use. - All inline JavaScript output now uses
wp_add_inline_script()— no directecho '<script>'calls. - Used
esc_url()(notesc_url_raw) for URL values in JavaScript string context. - Admin JavaScript now loaded via
wp_add_inline_script()attached to a registered script handle.
1.0.1
- Updated slug to
datablow-capi-tracker. - Fixed readme contributor list.
- Improved output escaping.
1.0.0
- Initial release.