File "wc-marketing.min.js"
Full Path: /home/tekvhqgl/public_html/wp-content/plugins/google-analytics-for-wordpress/assets/js/wc-marketing.min.js
File size: 727 bytes
MIME-type: text/plain
Charset: utf-8
;window.MonsterInsights_WooCommerce_Marketing=window.MonsterInsights_WooCommerce_Marketing||{};(function(o,t,e,n){'use strict';n.interval;n.insertAnalyticsBox=function(){var n=e('.woocommerce-card:nth-child(2)'),o=n.length?n:e('.components-card:nth-child(2)'),i=e(t.getElementById('monsterinsights-wcm-components-card'));if(o.length){console.log('showed');o.after(i.show())}};n.initBox=function(){if(e('.woocommerce-marketing-overview').length||e('.woocommerce-marketing-overview-multichannel').length){if(n.interval){clearInterval(n.interval)};n.insertAnalyticsBox()}};n.init=function(){n.interval=setInterval(()=>n.initBox(),1000);n.initBox()};e(n.init)})(window,document,jQuery,window.MonsterInsights_WooCommerce_Marketing);