Hi! I just ticked the box “remove from top bar” or something like that.
No error message now.
I think it is because wp comprimize the top section of code and site kit does not like that. I still get the stats okay, so I think I will be happy with this solution.
Thank you for your help and thorough answer.
Anders