trboApplication.controller("controller/integration/gtm",function($scope,$filter,dataConnector,sessionStorage){$scope.translations=$filter("i18n")("integration");window.setTimeout(function(){$('#integrationContainer .step').tab({context:'parent'});$('u').on('click',function(){var tabName=$(this).attr("data-tab");$.tab('change tab',tabName);$(".step").removeClass("active");$(".step[data-tab="+tabName+"]").addClass("active")})},500);$("#pluginCodePopUp").popup({hoverable:!0,delay:{hide:500},position:'bottom left'});var staticBaseUrl=sessionStorage.get("staticBaseUrl");$scope.frontendBaseUrl=sessionStorage.get("frontendBaseUrl");$scope.staticBaseUrl=staticBaseUrl;$scope.sale='';$scope.basket='';$scope.currentBasket='';$scope.datalayer='';$scope.productView='';$scope.productViewObject='';$scope.spa='';$scope.pageView='';dataConnector.shops.getShopHashCode(sessionStorage.getShopId(),function(result){$scope.shopTrackingCode='';$scope.hashCode=result.data.hash;if(sessionStorage.getShopId()==1||sessionStorage.getShopId()==12611){$scope.shopTrackingCode=''} window.setTimeout(function(){hljs.initHighlighting()},100)})})