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: d4a88b879f0835ff06dc3fd080b4e03634eb64d6 (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(/\Ahttps?\:\/\//, '') + '/-/collector'
  end
end