Last Updated on May 7, 2020 by BrodNeil
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. Here is a good article from Shopify. Hopefully, that will 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 the tracking code is functioning properly.