Welcome to mirror list, hosted at ThFree Co, Russian Federation.

utils.js « error_tracking « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d1cd70a72fac2874f1a8441c6758a0dc73a65493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* eslint-disable @gitlab/require-i18n-strings, import/prefer-default-export */

/**
 * Tracks snowplow event when User clicks on error link to Sentry
 * @param {String}  externalUrl that will be send as a property for the event
 */
export const trackClickErrorLinkToSentryOptions = url => ({
  category: 'Error Tracking',
  action: 'click_error_link_to_sentry',
  label: 'Error Link',
  property: url,
});