Adobe-Marketing-Cloud / target-atjs-extensions

Adobe Target extensions to at.js to support Single Page Application implementations
56 stars 29 forks source link

at.js Remote Offer Code #19

Closed kk-adobe closed 6 years ago

kk-adobe commented 7 years ago

Team -

What code is needed to utilize Remote Offers w/ at.js v0.9.6.

Assumption:

Code Snippets: / adobe.target.xt.getRemoteOffersPlugin / is added to the bottom of the at.js library.

Is this polyfill code still needed w/ at.js v0.9.6, since it has it's own polyfill?

It would be great to have a wiki with links to code snippets to enable this functionality. The documentation lacks clarity of which code is needed to enable the Remote Offers feature. Also, does implementation vary across at.js versions?

Thanks, Kollin

XDex commented 7 years ago

@kk-adobe We have a Wiki page with a sample snippet here https://github.com/Adobe-Marketing-Cloud/target-atjs-extensions/wiki/Remote-Offers Regarding the polyfills, these are indeed not needed for at.js v0.9.6, I'll make a release and refactor the extensions and docs to account for this as soon as I get back from my PTO.. On your last question - the implementation should be the same for all at.js versions..

XDex commented 6 years ago

@kk-adobe fyi, remote offers extension is now working with at.js > 1.0, after the latest fix in #33