var dataLayer = require('kwf/data-layer');

dataLayer.onPush(function (data) {
    window.dataLayer.push(data);
});

var dataLayer = require('kwf/data-layer');

dataLayer.onPush(function (data) {
    if (window.dataLayer) window.dataLayer.push(data);
});

Fix missing datalayer object, as this is not set if ignored is true
Fix missing datalayer object, as this is not set if ignored is true
