Many thanks, I’ve updated the template and will try it.
I also can’t get the code to save… have tried pasting the Tracking ID, the full UA tracking code, and the <amp-analytics> code above (with my ID), but the code block remains blank after I save.
Just wanted to confirm that I am having the same problem.