troubleshooting Question

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

Avatar of 894359
894359Flag for United States of America asked on
Web DevelopmentJavaScript
2 Comments1 Solution117 ViewsLast Modified:
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

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!
ASKER CERTIFIED SOLUTION
A.E. Veltstra
Sr. Software Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros