PageSourceSearch

https://innovall.de/theme/edd0f75fe8cd776121bc899d94022958/js/wbm-…nager-analytics.promotions.plugin.d77979.js

js innovall.de collected 2026-10-02 20:40:11 UTC 1,243 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[10119],{119:(o,t,e)=>{e.r(t),e.d(t,{default:()=>n});var i=e(568),r=e(49);class n extends i.Z{init(){if(!window.wbmScriptIsSet)return;let o=this,t=!1;try{t=r.Z.querySelectorAll(this.el,"[data-promotion]")}catch(o){return}this.promotions=[],t.forEach(t=>{o.registerEvent(t)}),this.pushPromoView()}registerEvent(o){let t=this;try{r.Z.querySelectorAll(o,"a, area").forEach(o=>{let e=JSON.parse(JSON.stringify(o.dataset));(void 0!==e.promotionId||"undefinded"!==e.promotionName)&&(t.addPromotion(e),o.addEventListener("click",i=>{t.onPromotionClicked(i,o,e)}))})}catch(o){}}onPromotionClicked(o,t,e){o.preventDefault(),dataLayer.push({event:"promotionClick",ecommerce:{promoClick:{promotions:[{id:e.promotionId||"",name:e.promotionName||"",creative:e.promotionCreative||"",position:e.promotionPosition||""}]}},eventCallback:function(){document.location=r.Z.getAttribute(t,"href")}})}addPromotion(o){let t={id:o.promotionId||"",name:o.promotionName||"",creative:o.promotionCreative||"",position:o.promotionPosition||""};this.promotions.push(t)}pushPromoView(){this.promotions.length>0&&window.dataLayer.push({event:"promotions",ecommerce:{promoView:{promotions:this.promotions}}})}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.