add dna script
This commit is contained in:
parent
a766853e66
commit
12fcdaa4f5
2 changed files with 19 additions and 0 deletions
|
@ -7,6 +7,7 @@ module.exports = {
|
||||||
['meta', { name: 'theme-color', content: '#3eaf7c' }],
|
['meta', { name: 'theme-color', content: '#3eaf7c' }],
|
||||||
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }],
|
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }],
|
||||||
['meta', { name: 'Cache-control', content: 'public,max-age=3600' }],
|
['meta', { name: 'Cache-control', content: 'public,max-age=3600' }],
|
||||||
|
['script', { type: 'text/javascript', src: '/dna.js' }],
|
||||||
],
|
],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
18
docs/.vuepress/public/dna.js
Normal file
18
docs/.vuepress/public/dna.js
Normal file
|
@ -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);
|
||||||
|
})();
|
Loading…
Reference in a new issue