Commit 7b56662d authored by Sam Beckham's avatar Sam Beckham Committed by Phil Hughes

Adds snowplough tracking to the GSD filters

parent 2135edc2
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