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

tracker.rb « product_analytics « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e5550c2e6ef61ce3b8892ef30a8f60ad3e5ba33d (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ProductAnalytics
  class Tracker
    # The file is located in the /public directory
    URL = Gitlab.config.gitlab.url + '/-/sp.js'

    # The collector URL minus protocol and /i
    COLLECTOR_URL = Gitlab.config.gitlab.url.sub(%r{\Ahttps?\://}, '') + '/-/collector'
  end
end