microsoft / microsoft/ApplicationInsights-JS

Click analytics not logging no native html input elements

Open
#2,136 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
685
Forks
261
Avg merge
21h 33m
Merged PRs (30d)
5

Description

**Is your feature request related to a problem? Please describe.**
We are trying to implement Click Analytics in an Angular app and would like to be able to collect click data from more than just 'standard' HTML input elements. As an example we have a mat-card with a button within it. Both the card and the button perform the same action but I want to know which the user clicked.

**Describe the solution you'd like**
I would like a configurable include list of elements that will be recorded.

**Describe alternatives you've considered**
Equally logging anything where a data-id property exists would also be effective for our use.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the SDK's click analytics handling and the logic that records standard HTML input elements; compare it with the requested configurable include list or data-id behavior. Done means the selected non-native elements are recorded reliably, with coverage for the requested configuration or attribute-based approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
analytics, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.