Code randomly appearing at the top of my shopify store

Topic summary

Unexpected HTML-like code (e.g., class=“collection” with data-money-format, shop URL, and language attributes) is rendering at the top of a Shopify storefront. The store owner reports no recent app or theme changes.

Diagnosis: A respondent identifies “corrupted codes under Google tag area,” suggesting the issue stems from the Google tracking code section rather than the theme or apps.

Proposed fix: Re-add (re-paste) the Google tag code to the appropriate area to restore proper formatting and remove the visible code snippet on the storefront.

Evidence: Screenshots are provided showing the visible code on the site header and the corrupted Google tag area, which are central to the diagnosis.

Status: No confirmation that the fix was applied or that the issue is resolved. The discussion remains open with the primary action item being to reinsert the Google tag code correctly.

Summarized with AI on February 11. AI used: gpt-5.

I went to my shopify store today and found this code at the top of my site. As far as I know we haven’t updated any apps or themes.

<class=“collection " data-money-format=”${{amount}} " data-shop-url=“https://drfredericksoriginal.com” data-default-lang=“en” data-current-lang=“en”>

Any idea how to get rid of it?

I can see some corrupted codes under Google tag area.

Please add the code again and it should be fixed.