Hey
Thanks for this!
It’s been an interesting couple of hours.
I found another plug in called google content experiments that looked easy to setup but it needed code just below the head tag so I put their code in the functions.php file. This was a big mistake. Site went down. So used FTP for first time to reverse the error. Good learning!
Before I tried the original code you provided, I saw your per page pluging. Tried it and it seems to work!! I’ve not had any results in google analytics yet, but the initial validation worked. So am going to try using it.
Thanks for your help!