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

can we avoid flickering using timeout key

Level 3
Level 3

we have a specific requirement and can anyone help on this.

There will be spinner on the web page(specific location) for 2 seconds and within 2 seconds target should return the targeted content to the page. If not, default content should show up automatically and target shouldn't try to replace the default offer after 2 seconds. Adding the below code in DTM under Javascript/Third Party tags section{

"mbox": "mbox_location2",

"success": function(offers) { {

          "mbox": "mbox_location2",

          "offer": offers

       } );


"error": function(status, error) {

     if (console && console.log) {





"timeout": 2000


or, is there any better approach to get the solution for this requirement.



0 Replies