I think I’m a little confused. I don’t see a function name, but your returning a value and I don’t see where you’re calling a function, for example
// functions.php
function get_tracking_options() {
// your function code here
}
// in template
$custom_fields = get_tracking_options();
echo $custom_fields['body'];