excellent

$tag_id = get_query_var('tag_id');

テキストテキストテキストテキストテキスト