Skip to Content

JavaScript File

URL: https://www.lifestylefoodies.com/wp-content/plugins/google-analytics-premium/assets/js/frontend-gtag.min.js
HTTP Status: 200 OK
MIME Type: application/x-javascript
Last Modified: Thu, 10 Nov 2022 13:16:12 GMT
Download Time: Less than a second
Cookies: None
Size: 12 KB
HTTP Headers:  11 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1;var MonsterInsights=function(){var e=[],i='',r=!1;this.setLastClicked=function(t,n,i){t=typeof t!=='undefined'?t:[];n=typeof n!=='undefined'?n:[];i=typeof i!=='undefined'?i:!1;e.valuesArray=t;e.fieldsArray=n}

2;this.getLastClicked=function(){return e}

3;this.setInternalAsOutboundCategory=function(e){i=e}

4;this.getInternalAsOutboundCategory=function(){return i}

5;this.sendEvent=function(e,t,n){x(e,t,n,[])}

6;function d(){if(window.monsterinsights_debug_mode){return!0}

7

8else{return!1}

9}

10;function c(e,t,n){var l={}

11;for(var i in e){if(!e.hasOwnProperty(i)){continue}

12;if(t&&t.indexOf(i)===-1){continue}

13;if(n&&n.indexOf(i)>-1){continue}

14;l[i]=e[i]}

15;return l}

16;function b(e,t,n){if(!monsterinsights_frontend.v4_id||e!=='event'){return}

17;var i=n.event_category||'',a=['event_name','event_category','event_label','value',],l=c(n,null,a);l.action=t;l.send_to=monsterinsights_frontend.v4_id;let hitType=i.replace('-','_');if(i.indexOf('outbound-link')!==-1){hitType='click'}

18

19else if(i==='download'){hitType='file_download'}

20;__gtagTracker(e,hitType,l)}

21;function y(e,t,n){if(!monsterinsights_frontend.ua){return}

22;var l=['event_category','event_label','value',],i=c(n,l);i.send_to=monsterinsights_frontend.ua;__gtagTracker(e,t,i)}

23;function l(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{}

24;y(t,i,l);b(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)}

25;function x(t,i,l,a){t=typeof t!=='undefined'?t:'event';i=typeof i!=='undefined'?i:'';a=typeof a!=='undefined'?a:[];l=typeof l!=='undefined'?l:{}

26;__gtagTracker(t,i,l);e.valuesArray=a;e.fieldsArray=l;e.fieldsArray.event_action=i;e.tracked=!0;n('Tracked: '+a.type);n(e)}

27;function t(t){t=typeof t!=='undefined'?t:[];e.valuesArray=t;e.fieldsArray=[];e.tracked=!1;n('Not Tracked: '+t.exit);n(e)}

28;function n(e){if(d()){console.dir(e)}

29}

30;function o(e){return e.replace(/^\s+|\s+$/gm,'')}

31;function u(){var n=0,e=document.domain,i=e.split('.'),t='_gd'+(new Date()).getTime();while(n<(i.length-1)&&document.cookie.indexOf(t+'='+t)==-1){e=i.slice(-1-(++n)).join('.');document.cookie=t+'='+t+';domain='+e+';'}

32;document.cookie=t+'=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain='+e+';';return e}

33;function h(e){e=e.toString();e=e.substring(0,(e.indexOf('#')==-1)?e.length:e.indexOf('#'));e=e.substring(0,(e.indexOf('?')==-1)?e.length:e.indexOf('?'));e=e.substring(e.lastIndexOf('/')+1,e.length);if(e.length>0&&e.indexOf('.')!==-1){e=e.substring(e.lastIndexOf('.')+1);return e}

34

35else{return''}

36}

37;function w(e){return e.which==1||e.which==2||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey}

38;function g(){var e=[];if(typeof monsterinsights_frontend.download_extensions=='string'){e=monsterinsights_frontend.download_extensions.split(',')}

39;return e}

40;function m(){var e=[];if(typeof monsterinsights_frontend.inbound_paths=='string'){e=JSON.parse(monsterinsights_frontend.inbound_paths)}

...

</html>