main script not loading

New Member
2 0 0

I recently uninstalled the Shop Protector application from my Shopify Store because the software developer was not able to protect my "Sign up for my newsletter button". Following is the email I received from the developer:
"1. The main script https://script.metricode.com/ellipsis.js?api_key=43676b1c-5577-4853-ac6c-f7a9d46dd10f is supposed to be added to every front end page of your website asynchronously after page load via Shopify's ScriptTag API. This is the officially recommended method for adding scripts on customer shops. However, I can see that the that script is not actually loading, it's listed as a script to be loaded but does not in fact load. This is causing the behavioral analysis (the core of how our AI to determine bots from humans) not to work. 2. As far as why this might be happening, I'm not sure as I've never seen this in thousands of implementations. Although it is worth noting that you have many errors in the browser console, mostly related to issues with cookies on your site. It may be possible that this is part of the issue. 3. Most importantly, the form protection cannot work without being able to successfully call the core script so I would recommend disabling the protection until you can get the other items resolved. So I have temporarily unprotected your forms for the time being. I know you don't want spam but you don't want to block actual customers either. I would recommend reaching out to Shopify for the main issue...#1 above because until that's fixed and our script can be properly loaded the app will not help."

 

I contacted Shopify support but they sent me here.  I have no tech skills and am therefore just hoping someone can provide a step by step on how to troubleshoot/fix the issue.

 

Thanks 

0 Likes
Shopify Partner
798 75 111

Hey there,

 

Can you share a (preview) link to your store? It'll be easier for the community to debug and help.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes
Highlighted
New Member
2 0 0

Preview link to my Shopify Store:  https://wle7nd3t0dup7vw5-20064843.shopifypreview.com

0 Likes
Shopify Partner
798 75 111

Unfortunately, now that the app for which the script was not loading is uninstalled, the code is no longer there, so there is nothing actually to debug :(

All scripts for other apps are loading just fine, here is a list of it:

(function() {
  function asyncLoad() {
    var urls = ["https:\/\/qb.boldapps.net\/quantity_breaks.php?shop=zeroeggcount.myshopify.com","\/\/api.hubapi.com\/scriptloader\/v1\/4883808.js?shop=zeroeggcount.myshopify.com","https:\/\/cdn.getshogun.com\/pixel.js?v=5\u0026shop=zeroeggcount.myshopify.com","https:\/\/static.klaviyo.com\/onsite\/js\/klaviyo.js?company_id=KGTTWWH\u0026shop=zeroeggcount.myshopify.com"];
    for (var i = 0; i < urls.length; i++) {
      var s = document.createElement('script');
      s.type = 'text/javascript';
      s.async = true;
      s.src=urls[i];
      var x = document.getElementsByTagName('script')[0];
      x.parentNode.insertBefore(s, x);
    }
  };
  if(window.attachEvent) {
    window.attachEvent('onload', asyncLoad);
  } else {
    window.addEventListener('load', asyncLoad, false);
  }
})();

All in one, without Shop Protector installed there is no way to find out what has happened.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes