How do I get rid of what looks like code above my announcement bar?

How do I get rid of what looks like code above my announcement bar?

snarlybarly
Visitor
1 0 1

I have not done anything new to my theme in a while and today checking my analytics and a new product page to make sure it looks good. I see this long code-like stuff at the top of my page that just showed up out of nowhere. Below is what everyone sees who visits my site.

 

"); } 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(); } }); } })();

 

How do I get rid of this? I'm sure customers seeing this is not good for business.

Replies 6 (6)

Hardik29418
Shopify Partner
2913 419 1081

@snarlybarly  I will need Shopify store access to remove this error.

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

Guleria
Shopify Partner
3184 620 891

Please share the theme.liquid code here. 

- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on store Hire me. - Email: guleriathakur43@gmail.com - Skype: navrocks1 ,
- Try GEMPAGES a great page builder
- Support me PayPal
yackleyjaxon
Visitor
2 0 0

I also have this same issue

Dirk
Shopify Staff
2396 255 526

Hey, @yackleyjaxon 

You may have code appearing above your announcement bar due to unsupported customizations or changes made to the notification templates. Our theme Support can provide limited custom solutions for notification template changes, but extensive customizations or changes beyond what is supported (Shopify developed themes only) may require the assistance of Shopify experts would be able to accomplish this at a reasonable price.
 
I would recommend reaching out to our authenticated support here for our team to take a closer look.

Dirk | Social Care @ 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

yackleyjaxon
Visitor
2 0 0
I have not customized the themes before this code shows up above the
announcement bar, it is immediately there after i download and publish the
theme

JasmeetVT14313
Shopify Partner
222 50 60

Hi @snarlybarly 
Please  share your store URL so that I can guide you accordingly.

Unlock Your Store's Potential with a Free Consultation!
Ready to boost your Shopify store's performance?
Book a Free Consultation and get a comprehensive Store Audit today!
Don't miss this opportunity to enhance your online business.