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 1

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 4 (4)

SomeUsernameHe
Shopify Partner
455 49 83

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 1
Thank you. We got it fixed last night
SomeUsernameHe
Shopify Partner
455 49 83

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 1
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