Expand my Community achievements bar.

Need for viewsEnabled in at.js configuration

Avatar

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?

Thanks!

 

0 Replies