Hi Tom,
I am investigating a similar issue to the original poster and your solution to add a noindex tag to blog category and blog tag pages is great.
Before I mess with code injection, will your script work in version 7.1? (This is the website in question - https://www.personnelchecks.co.uk/)
Thanks!
Tyler