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