Skip to content
WooCommerce plugin that fires conversion events to Google Ads, Facebook Pixel, TikTok, Snapchat, and Pinterest on order...

2024 · Contributor (Software Engineer, weDevs)

WooCommerce Conversion Tracking

WooCommerce plugin that fires conversion events to Google Ads, Facebook Pixel, TikTok, Snapchat, and Pinterest on order completion, add-to-cart, and checkout.

The challenge

Tracking conversions across Google Ads, Facebook, TikTok, Snapchat, and Pinterest from one WooCommerce store usually means stitching together five plugins, each with its own GDPR posture and event schema.

The result

One plugin fires standardised events (purchase, add-to-cart, initiate-checkout) to all five networks with a single consent gate, deduplication, and a unified debug log. Saves five plugins' worth of config and conflict surface.

Year
2024
Role
Contributor (Software Engineer, weDevs)
Stack
6 teches
Status
Published

Overview

WooCommerce Conversion Tracking synchronizes purchase events from WooCommerce stores with major advertising platforms — so store owners can track ad ROI accurately and build retargeting audiences.

Supported Platforms

  • Google Ads (purchase, add-to-cart, begin-checkout)
  • Facebook / Meta Pixel (Purchase, ViewContent, AddToCart, InitiateCheckout)
  • TikTok Pixel
  • Snapchat Pixel
  • Pinterest Tag

Architecture

Each platform is implemented as a discrete adapter: a PHP class that hooks into WooCommerce checkout and cart events, builds the platform-specific payload, and injects the tracking script. Adding a new platform takes under an hour.

Privacy

All PII is hashed client-side before being sent to ad platforms. Compatible with GDPR consent managers — fires only after consent is granted.

Available On

WordPress.org plugin repository.

Share
𝕏 in

Related work

Building something similar?

Let's talk about your project.

Open to freelance engagements and consulting on Laravel, WordPress, and AI-powered systems.