How can we keep OpenX from blocking page load?

前端 未结 5 1141
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 03:13

We\'re using OpenX to serve ads on a number of sites. If the OpenX server has problems, however, it blocks page loads on these sites. I\'d rather have the sites fail gracefully,

5条回答
  •  灰色年华
    2021-02-06 03:43

    OpenX has some documentation on how to make their tags load asynchronously: http://docs.openx.com/ad_server/adtagguide_synchjs_implementing_async.html

    I've tested it, and it works well in current Chrome/Firefox.

    It takes some manual tweaking of their ad code. Their example of how the ad tags should end up:

    
    
    
    
    
    Some content here.
    
    Ad goes here.
    
    
    
    
    Some other content here.

提交回复
热议问题