Skip to content

Commit

Permalink
fix(dedicated): fix my services filter tracking (#14671)
Browse files Browse the repository at this point in the history
ref: MANAGER-16208

Signed-off-by: Omar ALKABOUSS MOUSSANA <[email protected]>
  • Loading branch information
oalkabouss authored Dec 19, 2024
1 parent 83d1f27 commit 71113ba
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,13 @@ export default class AutorenewCtrl {
);

if (newCriteria) {
const property = newCriteria.property
? newCriteria.property.toLowerCase()
: 'search-text';
const value = newCriteria.value?.toLowerCase();

this.atInternet.trackClick({
name: `${TRACKING_FILTER_NAME_PREFIX}::go-to-${newCriteria.property?.toLowerCase()}-${newCriteria.value?.toLowerCase()}::service`,
name: `${TRACKING_FILTER_NAME_PREFIX}::go-to-${property}-${value}::service`,
type: 'action',
page_category: TRACKING_PAGE_CATEGORY,
page: {
Expand Down

0 comments on commit 71113ba

Please sign in to comment.