Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-18 12:10:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-18 12:10:26 +0300
commit3b4c0d27d5ad32fecdcc95e86bf919fc13830c5b (patch)
tree98001b846bd52e10a3aa0fd9adff82b19ae89847 /doc/development/snowplow
parent514ace363222f19595375f59b123b5e27c2b9b8a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/snowplow')
-rw-r--r--doc/development/snowplow/index.md13
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/development/snowplow/index.md b/doc/development/snowplow/index.md
index 59361e5206c..527b4292b23 100644
--- a/doc/development/snowplow/index.md
+++ b/doc/development/snowplow/index.md
@@ -551,14 +551,14 @@ Snowplow Micro is a Docker-based solution for testing frontend and backend event
update application_settings set snowplow_collector_hostname='localhost:9090', snowplow_enabled=true, snowplow_cookie_domain='.gitlab.com';
```
-1. Update `DEFAULT_SNOWPLOW_OPTIONS` in `app/assets/javascripts/tracking/index.js` to remove `forceSecureTracker: true`:
+1. Update `DEFAULT_SNOWPLOW_OPTIONS` in `app/assets/javascripts/tracking/constants.js` to remove `forceSecureTracker: true`:
```diff
- diff --git a/app/assets/javascripts/tracking/index.js b/app/assets/javascripts/tracking/index.js
- index 0a1211d0a76..3b98c8f28f2 100644
- --- a/app/assets/javascripts/tracking/index.js
- +++ b/app/assets/javascripts/tracking/index.js
- @@ -7,7 +7,6 @@ const DEFAULT_SNOWPLOW_OPTIONS = {
+ diff --git a/app/assets/javascripts/tracking/constants.js b/app/assets/javascripts/tracking/constants.js
+ index 598111e4086..eff38074d4c 100644
+ --- a/app/assets/javascripts/tracking/constants.js
+ +++ b/app/assets/javascripts/tracking/constants.js
+ @@ -7,7 +7,6 @@ export const DEFAULT_SNOWPLOW_OPTIONS = {
appId: '',
userFingerprint: false,
respectDoNotTrack: true,
@@ -566,7 +566,6 @@ Snowplow Micro is a Docker-based solution for testing frontend and backend event
eventMethod: 'post',
contexts: { webPage: true, performanceTiming: true },
formTracking: false,
-
```
1. Update `snowplow_options` in `lib/gitlab/tracking.rb` to add `protocol` and `port`: