Hi,
To display tracking number or text in email notification I use this code which is added to HTML version:
<?php
if($data->order_status == 'shipped'){
?><?php echo JText::_( 'CUSTOM_SHIPPING_MESSAGE' ); ?><br><span style="color:#1c8faf !important;font-size:12px;font-weight:bold;"><?php echo JText::_( 'CUSTOM_TRACKING_INFO_SUBJECT' ); ?></span><a href="<?php echo JText::_( 'CUSTOM_POST_HYPERLINK' ); ?>{VAR:order.tracking_number}" target="_blank">{VAR:tracking_number}</a><br>
<span style="color:#1c8faf !important;font-size:12px;font-weight:bold;"><?php echo JText::_( 'CUSTOM_POSTAGE_DATA' ); ?></span><?php echo $data->cart->postage_date;
}
?>
Tracking number is displayed as hyperlink....
'CUSTOM_POST_HYPERLINK' = is joomla translation override, I added there my postage service tracking link, in your case it will be UPS
You can modify it to your needs.
Hope that helps.
Thanks