update matomo script
This commit is contained in:
		| @@ -47,34 +47,34 @@ | |||||||
|       cookieconsent.run({ "notice_banner_type": "headline", "consent_type": "express", "palette": "light", "language": "en", "page_load_consent_levels": ["strictly-necessary"], "notice_banner_reject_button_hide": false, "preferences_center_close_button_hide": false, "website_name": "https://www.mycelium.threefold.io/", "website_privacy_policy_url": "https://library.threefold.me/info/legal/#/legal__privacypolicy" }); |       cookieconsent.run({ "notice_banner_type": "headline", "consent_type": "express", "palette": "light", "language": "en", "page_load_consent_levels": ["strictly-necessary"], "notice_banner_reject_button_hide": false, "preferences_center_close_button_hide": false, "website_name": "https://www.mycelium.threefold.io/", "website_privacy_policy_url": "https://library.threefold.me/info/legal/#/legal__privacypolicy" }); | ||||||
|     }); |     }); | ||||||
|     </script> |     </script> | ||||||
|     <!-- Google Tag Manager --> |  | ||||||
|     <script>(function (w, d, s, l, i) { |  | ||||||
|       w[l] = w[l] || []; w[l].push({ |  | ||||||
|         'gtm.start': |  | ||||||
|           new Date().getTime(), event: 'gtm.js' |  | ||||||
|       }); var f = d.getElementsByTagName(s)[0], |  | ||||||
|         j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = |  | ||||||
|           'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); |  | ||||||
|     })(window, document, 'script', 'dataLayer', 'GTM-N7PNMFH'); |  | ||||||
|     </script> |  | ||||||
|     <!-- End Google Tag Manager --> |  | ||||||
|     <!-- Global site tag (gtag.js) - Google Analytics --> |  | ||||||
|     <script async src="https://www.googletagmanager.com/gtag/js?id=UA-100065546-1"></script> |  | ||||||
|     <script> |  | ||||||
|     window.dataLayer = window.dataLayer || []; |  | ||||||
|     function gtag() { dataLayer.push(arguments); } |  | ||||||
|     gtag('js', new Date()); |  | ||||||
|  |  | ||||||
|     gtag('config', 'UA-100065546-1'); |  | ||||||
|     </script> |  | ||||||
|     <!-- Matomo Tag Manager --> |     <!-- Matomo Tag Manager --> | ||||||
| <script> | <script> | ||||||
|   var _mtm = window._mtm = window._mtm || []; |   var _mtm = window._mtm = window._mtm || []; | ||||||
|   _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); |   _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'}); | ||||||
|  |   (function() { | ||||||
|     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; |     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; | ||||||
|     g.async = true; g.src = 'https://analytics.threefold.io/js/container_KIcuIdn4.js'; s.parentNode.insertBefore(g, s); |     g.async=true; g.src='https://analytics.threefold.io/js/container_KsiljvY9.js'; s.parentNode.insertBefore(g,s); | ||||||
|  |   })(); | ||||||
| </script> | </script> | ||||||
| <!-- End Matomo Tag Manager --> | <!-- End Matomo Tag Manager --> | ||||||
|  |  | ||||||
|  |  | ||||||
|  |     <!-- Matomo --> | ||||||
|  | <script> | ||||||
|  |   var _paq = window._paq = window._paq || []; | ||||||
|  |   /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ | ||||||
|  |   _paq.push(['trackPageView']); | ||||||
|  |   _paq.push(['enableLinkTracking']); | ||||||
|  |   (function() { | ||||||
|  |     var u="//analytics.threefold.io/"; | ||||||
|  |     _paq.push(['setTrackerUrl', u+'matomo.php']); | ||||||
|  |     _paq.push(['setSiteId', '23']); | ||||||
|  |     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; | ||||||
|  |     g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); | ||||||
|  |   })(); | ||||||
|  | </script> | ||||||
|  | <!-- End Matomo Code --> | ||||||
|     <!-- Crisp --> |     <!-- Crisp --> | ||||||
|     <script type="text/plain" cookie-consent="tracking"> |     <script type="text/plain" cookie-consent="tracking"> | ||||||
|         window.$crisp = []; |         window.$crisp = []; | ||||||
| @@ -87,18 +87,7 @@ | |||||||
|             d.getElementsByTagName("head")[0].appendChild(s); |             d.getElementsByTagName("head")[0].appendChild(s); | ||||||
|         })(); |         })(); | ||||||
|     </script> |     </script> | ||||||
|     <!-- Crisp without cookies --> |    | ||||||
|     <!-- <script type="text/javascript" cookie-consent="tracking"> |  | ||||||
|     window.$crisp = []; |  | ||||||
|     window.CRISP_WEBSITE_ID = "1a5a5241-91cb-4a41-8323-5ba5ec574da0"; |  | ||||||
|     (function () { |  | ||||||
|       d = document; |  | ||||||
|       s = d.createElement("script"); |  | ||||||
|       s.src = "https://client.crisp.chat/l.js"; |  | ||||||
|       s.async = 1; |  | ||||||
|       d.getElementsByTagName("head")[0].appendChild(s); |  | ||||||
|     })(); |  | ||||||
|   </script> --> |  | ||||||
|     <!-- end of Crisp--> |     <!-- end of Crisp--> | ||||||
|     <!-- Required meta tags --> |     <!-- Required meta tags --> | ||||||
|     <meta charset="utf-8"> |     <meta charset="utf-8"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user