Commit 15d67855 authored by Phil Hughes's avatar Phil Hughes

Merge branch '9101-usage-ping-for-gsd-filters' into 'master'

Adds snowplough tracking to the GSD filters

Closes #9101

See merge request gitlab-org/gitlab-ee!9119
parents 2135edc2 7b56662d
import Stats from 'ee/stats';
import * as types from './mutation_types';
export const setFilter = ({ commit }, payload) => {
commit(types.SET_FILTER, payload);
Stats.trackEvent(document.body.dataset.page, 'set_filter', {
label: payload.filterId,
value: payload.optionId,
});
};
export const setFilterOptions = ({ commit }, payload) => {
......
---
title: Adds snowplough tracking for the group security dashboard filters
merge_request: 9119
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment