Retrieving Target offers via alloy.js
Hello all,
Cracking more into our implementation of alloy.js with a goal of replacing all of the legacy Adobe libraries...
Right now we use at.js and make a call to getOffers() with some parameters to retrieve eligible activities/experiences. Then we call applyOffers() to execute them.
I'm have a difficult time trying to get this to work via alloy.js. I've followed the instructions here to the letter, and even tried myriad combinations/changes, but I get empty decisions and propositions arrays every time.
We don't use "views" as such... We simply have activities and experiences in Target, some with custom code, some via the VEC. Nothing particularly special. Also, there is an implication in the documentation that "decisionScopes" are synonymous with mboxes, but when I try to pass the global mbox name, I get an error stating that I shouldn't do that.
In the datastream configuration, Target is enabled and the client code and environment code are both set
Is there an alloy command and syntax that indeed parallels the getOffer()-applyOffer() functionality provided by at.js?
