Avatar of MJ
MJ
Flag for United States of America asked on

JS ReferenceError: __ is not defined but Only on a Specific Web App. All Others Don't Throw this Error?

I'm trying to figure out why I'm getting an error only on a specific website? We include our tag management code on our 3rd party web apps. I have never had any issues and the same code is running on a bunch of other web apps with no issue but now I'm getting an error only on a specific site?  If you go to the site ( click  here to see ) you'll notice in the dev. console that it throws an error of:

satelliteLib-8b0957229e4e0b480ac27c82c946e106ec00b3ce-staging.js:14 Uncaught ReferenceError: __ is not defined

and in the file it is the underscore in this code
t.push(n)}):__.map(s,fu

Open in new window


I have no idea why this only happens on this web app?  FYI, if you want to see the site properly, you have to  add "#testdtm" in place of the "#testnhd" and reload the page . These qualifiers set two flags in local storage. You will then have the app set-up properly but get the error. The same files are serverd to many 3rd party sites but for some reason, it throws an error only here? Any insight/help is appreciated.

Thanks!
Web DevelopmentJavaScript

Avatar of undefined
Last Comment
MJ

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
A.E. Veltstra

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
MJ

ASKER
I'm trying out a JS Script Blocker plugin to see if I can isolate the issue.
Your help has saved me hundreds of hours of internet surfing.
fblack61