Satellite track is getting undefined | Community
Skip to main content
Ashok_Adiyolil
Level 2
January 29, 2021
Question

Satellite track is getting undefined

  • January 29, 2021
  • 2 replies
  • 2254 views

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.

 

 

 

Thanks

 

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

2 replies

Brian_Johnson_
Level 8
January 29, 2021

@ashok_adiyolil 

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.

Ashok_Adiyolil
Level 2
February 4, 2021
Thanks for the reply @brian_johnson_ , Let me try as you suggested, will post the results once its done.
jantzen_b
Adobe Employee
Adobe Employee
February 1, 2021
Moving this to the Launch community.