In case you are trying to verify your Shopify site using Google analytics in your Google Search Console, you’d probably encounter this: The Google Analytics tracking code on your site looks malformed.
Don’t be alarmed. Somehow Google analytics verification can’t work with Shopify (at this point in time). The tracking code is malformed in the page source.
Instead of forcing your way, try the META tag verification a good article from Shopify instead. Here is to help you out with the steps.
Note, however, that even though you cannot verify your Shopify site using Google analytics — you still have to paste your tracking code on your Shopify site. You still need to track your site’s metrics (analytics). Check your site’s Google analytics after a day or two to see if tracking code is functioning properly.