Commit 37c2385c authored by Stan Hu's avatar Stan Hu

Add missing quotes in Snowplow integration

This was causing a "Uncaught ReferenceError: cf is not defined" in the
JavaScript console.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60421
parent 9886230b
......@@ -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