2020-10-24 23:57:45 +05:30
|
|
|
# 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-10-27 15:23:28 +05:30
|
|
|
COLLECTOR_URL = Gitlab.config.gitlab.url.sub(%r{\Ahttps?\://}, '') + '/-/collector'
|
2020-10-24 23:57:45 +05:30
|
|
|
end
|
|
|
|
end
|