2020-07-27 09:09:42 +00:00
|
|
|
# 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
|
2021-07-28 15:09:57 +00:00
|
|
|
COLLECTOR_URL = Gitlab.config.gitlab.url.sub(%r{\Ahttps?\://}, '') + '/-/collector'
|
2020-07-27 09:09:42 +00:00
|
|
|
end
|
|
|
|
end
|