Commit 8290b44e authored by Magdalena Frankiewicz's avatar Magdalena Frankiewicz

Enable tracking unique visits by default

Add changelog
parent 915ac9c6
...@@ -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