Nick here from Shopify.
From what you have said it sounds like the error is because the Google Analytics snippet of code you have put in is either not valid or correct. Your best bet here might be to double check it is correct and maybe repeat the process to be sure. I took a look for you and found the guide Shopify has on this going through all the steps on this which you can see here.
Hopefully the guide can help you and get this right, but if you try again and it doesn't work, don't hesitate to let me know in a reply and we can take a closer look into why this might be happening.
All the best, Nick
i had the same issue.
I created a new property and selected web only (previously i selected both app and web).
this time the jtag format included US-XXXX-X vs the previous one was G-XXXX)
i hope this helps.
I am having the same issue and I have retried several times. I even re-registered in GA to get new code but still got he same error message.
Don't know why I didn't see it before but I just saw one of the other posters mentioned that it has to be Web only and noy web + apps. It worked just fine!