Getting _satellite.getvar is not a function error | Community
Skip to main content
ankitnagarsheth
Level 2
July 11, 2018
Solved

Getting _satellite.getvar is not a function error

  • July 11, 2018
  • 2 replies
  • 2627 views

I implemented the async launch script in the head section. But, when I load the page and see it in console, I get the error _satellite.getVar is not a function.

Any idea what could be the issue?

Thanks

Ankit

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Stewart_Schilling

That's a good one!

It says that it's coming from with your AppMeasurement's doPlugins function...

My only guess (and this is a wild guess at that) is that somewhere prior to this error, someone inadvertently overwrote _satellite.getVar by assigning something to it that is. indeed, not a function.  

A line of code like this would do that :

_satellite.getVar="foo";

2 replies

Stewart_Schilling
Community Advisor
Stewart_SchillingCommunity AdvisorAccepted solution
Community Advisor
July 11, 2018

That's a good one!

It says that it's coming from with your AppMeasurement's doPlugins function...

My only guess (and this is a wild guess at that) is that somewhere prior to this error, someone inadvertently overwrote _satellite.getVar by assigning something to it that is. indeed, not a function.  

A line of code like this would do that :

_satellite.getVar="foo";

Stewart_Schilling
Community Advisor
Community Advisor
July 13, 2018

Ankit,

     Just wondering what you found to be the issue. 

-Stew