Expand my Community achievements bar.

Take 10 minutes to complete an Adobe Target review on Gartner Peer Insights, and as a thank you for your time, you’ll have the option to receive a $25 gift card!

Need for viewsEnabled in at.js configuration


Level 4

Hello all, hopefully a simple question to answer. We've been using at.js 2.x for a couple years, and the default configuration passed to init() includes "viewsEnabled: true". This generates the initial prefetch, and is something that we do not utilize in our implementation. We don't use a hybrid model and instead rely solely on Target to make the decision on what tests to show a visitor. We use the getOffer() method to initiated the request, and then applyOffer() accordingly. This results in 2 actual server calls to the Target endpoint.


Is there a reason to keep "viewsEnabled" as true? Will there be any harm if we deactivate it?



0 Replies