Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Need for viewsEnabled in at.js configuration

jgrubbs
Level 2
Level 2

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