How to map a taxonomy term into Feeds Importer?
It was simpler than what I thought.

The code is exactly the same, but instead of 'value', we have to use 'tid':

function set_profile_value(FeedsSource $source, $entity, $target, array $values, array $mapping) {
    if (substr($source-&gt;id, 0, 7) == 'my_data') {
        if (!empty($mapping['profile'])) {
            $entity-&gt;{$target}[$entity-&gt;language][0]['tid'] = $mapping['profile'];
        }
    }
}