whole_func_string: function recordOrderInCriteo( cart, orderId ) {
  	if ( ! isAdTrackingAllowed() || ! isCriteoEnabled ) {
  		return;
  	}
  
  	const params = [
  		'trackTransaction',
  		{
  			id: orderId,
  			currency: cart.currency,
  			item: cartToCriteoItems( cart ),
  		},
  	];
  	debug( 'recordOrderInCriteo:', params );
  	recordInCriteo( ...params );
  }
func_code_string: function recordOrderInCriteo( cart, orderId ) {
  	if ( ! isAdTrackingAllowed() || ! isCriteoEnabled ) {
  		return;
  	}
  
  	const params = [
  		'trackTransaction',
  		{
  			id: orderId,
  			currency: cart.currency,
  			item: cartToCriteoItems( cart ),
  		},
  	];
  	debug( 'recordOrderInCriteo:', params );
  	recordInCriteo( ...params );
  }
func_documentation_string: Records an order in Criteo
  
  @param {Object} cart - cart as `CartValue` object
  @param {Number} orderId - the order id
  @returns {void}