Commit 4cffe652 authored by Clement Ho's avatar Clement Ho

Merge branch 'sh-fix-snowplow-js' into 'master'

Add missing quotes in Snowplow integration

Closes gitlab-ce#60421

See merge request gitlab-org/gitlab-ee!10820
parents 1d2ba80c 37c2385c
......@@ -5,7 +5,7 @@
};p[i].q=p[i].q||[];n=l.createElement(o);g=l.getElementsByTagName(o)[0];n.async=1;
n.src=w;g.parentNode.insertBefore(n,g)}}(window,document,"script","#{asset_url('snowplow/sp.js')}","snowplow"));
window.snowplow('newTracker', #{Gitlab::SnowplowTracker::NAMESPACE}, '#{Gitlab::CurrentSettings.snowplow_collector_uri}', {
window.snowplow('newTracker', '#{Gitlab::SnowplowTracker::NAMESPACE}', '#{Gitlab::CurrentSettings.snowplow_collector_uri}', {
appId: '#{Gitlab::CurrentSettings.snowplow_site_id}',
cookieDomain: '#{Gitlab::CurrentSettings.snowplow_cookie_domain}',
userFingerprint: false,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment