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
|