mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 15:43:14 +01:00
#40: remove superflous tags
This commit is contained in:
parent
ae04d48523
commit
a0f2b0cdc2
1 changed files with 10 additions and 15 deletions
|
@ -22,18 +22,13 @@ html
|
||||||
= content_tag :div, msg, class: name
|
= content_tag :div, msg, class: name
|
||||||
= yield
|
= yield
|
||||||
javascript:
|
javascript:
|
||||||
<!-- Matomo -->
|
var _paq = _paq || [];
|
||||||
<script type="text/javascript">
|
_paq.push(['trackPageView']);
|
||||||
var _paq = _paq || [];
|
_paq.push(['enableLinkTracking']);
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
(function() {
|
||||||
_paq.push(['trackPageView']);
|
var u="//analytics.leipzig.codefor.de/";
|
||||||
_paq.push(['enableLinkTracking']);
|
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||||
(function() {
|
_paq.push(['setSiteId', '1']);
|
||||||
var u="//analytics.leipzig.codefor.de/";
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||||
_paq.push(['setSiteId', '1']);
|
})();
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
||||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<!-- End Matomo Code -->
|
|
||||||
|
|
Loading…
Reference in a new issue