Commit 8090f5a1 authored by Markus Koller's avatar Markus Koller

Merge branch 'enable-track-unique-visits-ff-by-default' into 'master'

Enable track_unique_visits feature flag by default

See merge request gitlab-org/gitlab!43989
parents 4b7e5399 8290b44e
...@@ -14,7 +14,7 @@ module Analytics ...@@ -14,7 +14,7 @@ module Analytics
end end
def track_visit(target_id) def track_visit(target_id)
return unless Feature.enabled?(:track_unique_visits) return unless Feature.enabled?(:track_unique_visits, default_enabled: true)
return unless visitor_id return unless visitor_id
Gitlab::Analytics::UniqueVisits.new.track_visit(visitor_id, target_id) Gitlab::Analytics::UniqueVisits.new.track_visit(visitor_id, target_id)
......
---
title: Enable track_unique_visits feature flag by default
merge_request: 43989
author:
type: other
...@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33146 ...@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33146
rollout_issue_url: rollout_issue_url:
group: group::analytics group: group::analytics
type: development type: development
default_enabled: false default_enabled: true
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