Some code has appeared above the header, and I don't know how it got there, or how to remove it.

Some code has appeared above the header, and I don't know how it got there, or how to remove it.

lstt2023
Tourist
3 0 3

I am hoping that someone will be able to help.....

This code appeared at the very top of my page above the header and announcement bar.  I opened the computer to check on analytics and update some information, and it was suddenly there.  I am by no means familiar with code, so I would not have added it - but I would very much like to know how to remove it from the store's page. I went to my store from my daughter's computer (as a customer) and it was visible on there....Not a very professional look when customers go to the site!  I would greatly appreciate any help!  

 

"); } else { win._boomrl = function() { bootstrap(); }; if (win.addEventListener) { win.addEventListener("load", win._boomrl, false); } else if (win.attachEvent) { win.attachEvent("onload", win._boomrl); } } doc.close(); } var link = document.createElement("link"); if (link.relList && typeof link.relList.supports === "function" && link.relList.supports("preload") && ("as" in link)) { window.BOOMR.snippetMethod = "p"; link.href = window.BOOMR.url; link.rel = "preload"; link.as = "script"; link.addEventListener("load", promote); link.addEventListener("error", function() { iframeLoader(true); }); setTimeout(function() { if (!promoted) { iframeLoader(true); } }, LOADER_TIMEOUT); BOOMR_lstart = new Date().getTime(); parentNode.appendChild(link); } else { iframeLoader(false); } function boomerangSaveLoadTime(e) { window.BOOMR_onload = (e && e.timeStamp) || new Date().getTime(); } if (window.addEventListener) { window.addEventListener("load", boomerangSaveLoadTime, false); } else if (window.attachEvent) { window.attachEvent("onload", boomerangSaveLoadTime); } if (document.addEventListener) { document.addEventListener("onBoomerangLoaded", function(e) { e.detail.BOOMR.init({ ResourceTiming: { enabled: true, trackedResourceTypes: ["script", "img", "css"] }, }); e.detail.BOOMR.t_end = new Date().getTime(); }); } else if (document.attachEvent) { document.attachEvent("onpropertychange", function(e) { if (!e) e=event; if (e.propertyName === "onBoomerangLoaded") { e.detail.BOOMR.init({ ResourceTiming: { enabled: true, trackedResourceTypes: ["script", "img", "css"] }, }); e.detail.BOOMR.t_end = new Date().getTime(); } }); } })();Som

Replies 6 (6)

SomeUsernameHe
Shopify Partner
495 55 100

Is it possible to get your store url to check? It is hard with just a snippet of code to tell what exactly is going on.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
lstt2023
Tourist
3 0 3
Thank you. We got it fixed last night
SomeUsernameHe
Shopify Partner
495 55 100

What was the solution? It is happening to other people so if you could give how you fixed it, it could help others. 

https://community.shopify.com/c/shopify-design/random-code-appeared-today/td-p/2406397

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
lstt2023
Tourist
3 0 3
In all honesty, I had to uninstall a couple of apps that I had installed
through shopify admin. Somehow, something that I downloaded caused it to
appear. Once I deleted the apps that I do not use, it went away.
The code that was appearing on my end was not visible to customers as I had
initially thought, it was only visible on my end

gfcgroup
Tourist
9 0 0

mine too today how to remove it please

Victoria
Shopify Staff
2275 154 262

Hi, all.

 

Thank you for reaching out and sharing your questions to the thread.

 

To gather more context, could you provide insight on the following:

 

 

I look forward to hearing back.

Victoria | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog