Product cards

It is possible to clear or add additional product cards to the video. Event detail video action update provides videoFactory which can be used to build a new video object to replace current video.

More about product factory and custom events.


document.addEventListener('fw:video:impression', function (event) {{ videoFactory }) =>
    videoFactory((videoBuilder) =>
        .product(productBuilder => 
            .name('A Warm Hat')
            .url(/* ... */)
            // ... see more about product factory, follow the link above
        .product(/* ... */)

Last updated