Tail gas measurement