Skip to content

yaratul2005/ServerTrack

Repository files navigation

Ratul Ads Conversion Tracker (Ratul-ACT)

WordPress Compatibility PHP Compatibility WooCommerce Compatibility Ad-Blocker Resiliency

Meta Conversions API TikTok Events API Google Ads Enhanced Conversions


🌟 Executive Summary

Ratul Ads Conversion Tracker (Ratul-ACT) is a self-hosted, enterprise-grade first-party Conversion API (CAPI) and browser tracking gateway for WordPress and WooCommerce.

Designed to bypass ad-blockers and privacy regulations (iOS 14+, Safari ITP), Ratul-ACT routes tracking events directly through your own domain. It synchronizes browser event ids and server dispatches to provide Meta, Google, and TikTok with perfect deduplication data. By eliminating dependency on expensive external tag containers like Stape.io or Google Cloud GTM, it acts as a direct, self-hosted CAPI engine on your WordPress server.


🚀 Key Features & Capabilities

Feature Description Business Benefit
First-Party Cookie Engine Issues first-party Set-Cookie headers directly via PHP, protecting tracking identifiers (fbclid, gclid) from Safari's 7-day script caps. Extends attribution lifespans to 2 years
Ad-Blocker Resilience Proxies client-side events through a local WordPress REST endpoint. Recovers up to 20–30% of lost checkout signals
Signal Enrichment Extracts IP, City, State, ZIP, and User-Agent parameters dynamically on the client, with fallbacks for Cloudflare and Nginx. Maximizes Meta Event Match Quality (EMQ)
Anti-Fraud Approval Prevents automatic purchase tracking, allowing manual confirmation and fraud checks from the admin order screen. Prevents fake/refunded orders from polluting ad algorithms
Fail-Safe Retry Queue Exponential back-off retry loop that automatically resends failed platform payloads. Guarantees delivery of server-side conversions

📊 Live Verification & Deduplication

1. Meta Event Manager Deduplication

Both client-side browser triggers and server-side CAPI webhooks report matching Event IDs, allowing Meta to successfully deduplicate actions:

  • View Content: ViewContent Deduplication
  • Add to Cart: AddToCart Deduplication
  • Initiate Checkout: InitiateCheckout Deduplication

🖥️ UI Dashboard & Configuration

Real-Time Performance Analytics

Inspect event metrics, health stats, API response logs, and queue retries in real-time. Real-Time Dashboard

Multi-Pixel Meta CAPI Setup

Loop dispatches to multiple Meta Pixels with toggle controls for PII parameter hashing. Meta Settings

WooCommerce Advanced Sources

Configure extended WooCommerce triggers (order lifecycle status, wishlist opt-ins) and toggle Manual Purchase Verification. WooCommerce Event Sources Settings


🛠️ Installation & Activation

  1. Upload the ratul-ads-conversion-tracker directory to /wp-content/plugins/.
  2. Activate the plugin via Plugins → Installed Plugins.
  3. Go to Ratuls-ACTSettings to set up your ad platform access tokens.
  4. Monitor active events and match metrics in Ratuls-ACTDashboard.

📚 Technical Documentation

To explore the deeper mechanics of the plugin, refer to the accompanying documentation files:

  • 🛠️ ARCHITECTURE.md: Details the codebase design, data flows, database deduplication engine, and ITP cookie bypass logic.
  • 🛡️ COMPLIANCE.md: Explains GDPR/CCPA cookie consent manager integrations (CookieYes, Complianz) and the data security PII blocklist.

📄 License & Credits

Licensed under GPL-2.0-or-later. Created and maintained by MD. Yaser Ahmmed Ratul.

About

lets not waste money on server side tracking and data de duplication. I , Yaser Ahmmed Ratul Invented this plugin in order to replace a 20$ monthly shit for free of cost for the digital marketers. enjoy !

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages