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

Satellite track is getting undefined

Knowledgeseeker98
Level 3
Level 3

Hi experts,

We have added launch code in the header file and we have  satellite track which is used in JS file.But while executing it i'm getting issue as undefined.

But in console ,i can see script is getting loaded also i can able to access the satellite property.

The only issue is script is getting loaded after the js file.

 

Any solution for this.

 

MicrosoftTeams-image (17).png

 

 

Thanks

 

3 Replies
evolytics_brian
Community Advisor
Community Advisor

@Knowledgeseeker98 

If I'm reading your question right, you're saying that you have a custom JS file that attempts to reference the _satellite.track() method, but that file is loading before Launch is loaded on the page. If that's the case, you're going to have to load the JS file (or at least delay the _satellite.track() call) after the Launch script loads.

Knowledgeseeker98
Level 3
Level 3
Thanks for the reply @evolytics_brian , Let me try as you suggested, will post the results once its done.
jantzen_belliston-Adobe
Community Manager
Community Manager
Moving this to the Launch community.