All /

Can I track WooCommerce conversions using server-side tracking?

Yes! If you’re running a WooCommerce store and your conversions aren’t tracking accurately—especially when you’re not using the default WooCommerce “thank you” page—you can enable server-side conversion tracking as a fallback.

This method triggers a conversion when the order status changes to “processing” or “complete”—making it much more reliable for custom checkout flows, third-party gateways, or cases where the user doesn’t reach the thank you page.


How to enable it

  1. Go to Settings > AB Split Test

  2. Scroll down to the WooCommerce Server-Side Conversions section

  3. Check the box:
    “Enable server-side conversion tracking for WooCommerce orders”

  4. Save your changes

 

Once enabled, AB Split Test will count a conversion when an order is marked as processing or complete—no thank you page visit required.

Screenshot of WordPress settings with the WooCommerce server side conversion tracking option enabled. The checkbox for "Enable server side conversion tracking for WooCommerce" is checked.

Tracking Additional WooCommerce Statuses

By default, AB Split Test tracks conversions for orders marked as "completed" or "processing" in WooCommerce.

If you'd like to track other order statuses (such as "on-hold", "pending", "failed", etc.), you can easily do this with a simple WordPress filter.

Example: Track "On-Hold" Orders

To also treat “on-hold” orders as conversions, add this snippet to your theme’s functions.php file or a custom plugin:

add_filter( 'abst_convert_statuses', function( $statuses ) {
$statuses[] = 'on-hold'; // Add 'on-hold' to the tracked statuses
return $statuses;
});

Leave a Comment

You must be logged in to post a comment.