Expand my Community achievements bar.

JOIN US Next Wednesday, 12/6/23 @ 8am PT for the next Community Q&A Coffee Break! Bring your Machine Learning, AI Reporting & Analysis Questions to the chat. Experts Brent Kostak, Cristinel Anastasoaie, & Drew Burns of the Adobe Target Product Team will be providing deep insights and useful tips

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