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?
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 :
Just wondering what you found to be the issue.