diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index a556828..33b7622 100755 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -7,6 +7,7 @@ module.exports = { ['meta', { name: 'theme-color', content: '#3eaf7c' }], ['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }], ['meta', { name: 'Cache-control', content: 'public,max-age=3600' }], + ['script', { type: 'text/javascript', src: '/dna.js' }], ], /** diff --git a/docs/.vuepress/public/dna.js b/docs/.vuepress/public/dna.js new file mode 100644 index 0000000..ffea777 --- /dev/null +++ b/docs/.vuepress/public/dna.js @@ -0,0 +1,18 @@ +var _paq = window._paq || []; +_paq.push(['setRequestMethod', 'POST']); +_paq.push(['disableCookies']); +_paq.push(['trackPageView']); +_paq.push(['enableLinkTracking']); +(function() { + var e = 'https://dna.zint.ch/'; + _paq.push(['setTrackerUrl', e + 'pdna']); + _paq.push(['setSiteId', '2']); + var a = document, + t = a.createElement('script'), + p = a.getElementsByTagName('script')[0]; + (t.type = 'text/javascript'), + (t.async = !0), + (t.defer = !0), + (t.src = e + 'jdna'), + p.parentNode.insertBefore(t, p); +})();