From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

Product Recommendation (DCO)

MRAID Product Recommendation (feed based DCO) solution is used to show several products at once in a single banner. The products in which the visitor was interested the most are shown in front thus significantly increasing user engagement rate.

  • Specifications

    Please follow General specifications.

  • Configuration

    The following script should be inserted in the <head> container:

    <script src="http://s1.adform.net/banners/scripts/mobile/dco.js"></script>

    The following script is used to represent product data:

    <script type="adform/template" data-client="4790" data-template="4944" data-messages="" data-engine="2">
        {{#messages}}
            <div class="product">
                <div class="product_name">{{product_name}}</div>
                <div class="product_price">from <span>{{product_price}}</span></div>
                <img class="product_image" src="{{product_image}}">
                <a onclick="mraid.open('{{$link}}');" class="cta">Find out more</a>
            </div>
        {{/messages}}
    </script>

     When loaded into the system, XML file takes the following structure: http://s1.adform.net/Banners/Elements/Templates/{data-client}/{data-template}.xml

    It is not necessary to provide a value in data-messages attribute as the banner will most probably load many products

    {{$link}} is necessary to use to properly track clicks on individual products. More products can be loaded by modifying Adform.DCO.loadMessages(2)

    For data synchronization and transformation please contact Adform Rich Media Support