Is there an event we can listen to so we know when adobe target scripts are done loading? For SPA..
We have a react SPA. First page that the user goes to, it seems the "adobe" object is available, but target.getJsonOffer() is not there yet. Eventually it is there and we can execute it but not unless we do some sort of timeout functionality or force the SPA to re-render.
Is there some sort of mechanism to knowing when the getJsonOffer, triggerView, etc. functions are available so we can start firing them?