Hello
We use _satellite.track to track pageviews in the Single Page Application while the Adobe script loads asyncronously. As expected, sometimes we get error message: _satellite is not defined. It means that the _satellite.track had been fired before the script finished loading.
What is the best way to solve this issue technically? Is there any method recommended by Adobe?
Thank you in advance.
Galyna
Solved! Go to Solution.
Views
Replies
Total Likes
I think the only real option here is to code around the context of your site. Before calling _satellite.track(), make sure it exists. This could be done in various ways...
You have a lot of options, but at the end of the day, it's just a timing challenge, and you'll have to decide what fits best in your environment.
I think the only real option here is to code around the context of your site. Before calling _satellite.track(), make sure it exists. This could be done in various ways...
You have a lot of options, but at the end of the day, it's just a timing challenge, and you'll have to decide what fits best in your environment.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies