diff options
| author | Horus3 | 2015-05-17 03:32:03 +0200 |
|---|---|---|
| committer | Horus3 | 2015-05-17 03:32:03 +0200 |
| commit | cc207536d1f8618385d9807906818180cd596777 (patch) | |
| tree | 0093a6b12994c3d75b2be0abb6a43dae1eb9bf98 /views/footer.html | |
| parent | feb97c32649dfaa7c98283423125283a53d5dd09 (diff) | |
| download | freemail-cc207536d1f8618385d9807906818180cd596777.tar.gz | |
Improve tests. Fix (major) typos. Include Piwik and it tracks the language.
Diffstat (limited to 'views/footer.html')
| -rw-r--r-- | views/footer.html | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/views/footer.html b/views/footer.html index 19c589b..007474b 100644 --- a/views/footer.html +++ b/views/footer.html @@ -19,7 +19,25 @@ <script> $(document).ready(function(){ $('.dropdown-toggle').dropdown(); - }) + }); + var _paq = _paq || []; + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + (function() { + var u="//a.iamfabulous.de/"; + _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setSiteId', 12]); + /* + _paq.push([function () { + if (!this.getCustomVariable(1)) { + this.setCustomVariable(1, "Language", {{.}}, "visit"); + } + }]); + */ + _paq.push(['setCustomVariable', 1, "Language",{{.}}, "visit"]); + 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> </body> </html> |
