Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Getting _satellite.getvar is not a function error

ankitn32559436
Level 3
Level 3

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?

2018-07-11_15-23-38.png

Thanks

Ankit

1 Accepted Solution
StewSchilling
Correct answer by
Community Advisor
Community Advisor

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";

View solution in original post

2 Replies
StewSchilling
Correct answer by
Community Advisor
Community Advisor

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";

View solution in original post

StewSchilling
Community Advisor
Community Advisor

Ankit,

     Just wondering what you found to be the issue. 

-Stew