As follow up to T352075, we want to restrict click tracking via the data-event-name attribute to only apply to certain tags, to avoid the situation where clicking a single element can trigger multiple events (e.g. in the case of clicking a LABEL element). As currently written our instrumentation could give the impression certain elements are clicked more than twice the normal rate.
As part of this we're adding tests.
QA steps
- Check that clicking radio buttons in the client preferences triggers events
- Check that clicking links in the Vector menus trigger events
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T352566#9422739 |
2 | ✅ | T352566#9422739 |
QA Results - Production
AC | Status | Details |
---|---|---|
1 | ✅ | T352566#9436280 |
2 | ✅ | T352566#9436280 |