diff options
author | Phil Hughes <me@iamphill.com> | 2019-05-09 14:21:28 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-05-09 14:21:28 +0000 |
commit | 8361506afe7fc9bbb8056e8793741756497c5032 (patch) | |
tree | 2c02d0d64aa4b57fcfc686b086c0ac8e29951e84 | |
parent | 6b2f4ea58957b542415054a81aaebdb3b0fc76f4 (diff) | |
parent | 38635c645e5e7af59b39a6936c3280eaf999a221 (diff) | |
download | gitlab-ce-8361506afe7fc9bbb8056e8793741756497c5032.tar.gz |
Merge branch 'support-string-piwik-website-ids' into 'master'
Supports Matomo/Piwik string website ID ("Protect Track ID" plugin)
Closes #61606
See merge request gitlab-org/gitlab-ce!28214
-rw-r--r-- | app/views/layouts/_piwik.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_piwik.html.haml b/app/views/layouts/_piwik.html.haml index a888e8ae187..473b14ce626 100644 --- a/app/views/layouts/_piwik.html.haml +++ b/app/views/layouts/_piwik.html.haml @@ -7,7 +7,7 @@ (function() { var u="//#{extra_config.piwik_url}/"; _paq.push(['setTrackerUrl', u+'piwik.php']); - _paq.push(['setSiteId', #{extra_config.piwik_site_id}]); + _paq.push(['setSiteId', "#{extra_config.piwik_site_id}"]); 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); })(); |