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
BedrockMission!

Learn More

View all

Sign in to view all badges

can we avoid flickering using timeout key

Avatar

Avatar
Validate 1
Level 2
muthu1985
Level 2

Likes

9 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
muthu1985
Level 2

Likes

9 likes

Total Posts

27 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
muthu1985
Level 2

27-02-2019

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 adobe.target.getOffer({

"mbox": "mbox_location2",

"success": function(offers) {

       adobe.target.applyOffer( {

          "mbox": "mbox_location2",

          "offer": offers

       } );

},

"error": function(status, error) {

     if (console && console.log) {

       console.log(status);

       console.log(error);

     }

},

"timeout": 2000

});

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

thanks,

Muthu

Accepted Solutions (0)

Answers (0)