woocommerce_tracker_data filter-hookWC 2.3.0

Filter the data that's sent with the tracker.

Usage

add_filter( 'woocommerce_tracker_data', 'wp_kama_woocommerce_tracker_data_filter' );

/**
 * Function for `woocommerce_tracker_data` filter-hook.
 * 
 * @param  $data 
 *
 * @return 
 */
function wp_kama_woocommerce_tracker_data_filter( $data ){

	// filter...
	return $data;
}
$data
-

Changelog

Since 2.3.0 Introduced.

Where the hook is called

WC_Tracker::get_tracking_data()
woocommerce_tracker_data
woocommerce/includes/class-wc-tracker.php 217
return apply_filters( 'woocommerce_tracker_data', $data );

Where the hook is used in WooCommerce

Usage not found.