Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClickAnalyticsPlugin extension should have html tag configurability #2318

Open
trimbms opened this issue Mar 29, 2024 · 1 comment
Open

ClickAnalyticsPlugin extension should have html tag configurability #2318

trimbms opened this issue Mar 29, 2024 · 1 comment

Comments

@trimbms
Copy link

trimbms commented Mar 29, 2024

Is your feature request related to a problem? Please describe.
I'm working on a project where we wanted to use the ClickAnalyticsPlugin to capture all click events for analytics. However, we're using a framework that renames the html tags with custom names, thereby bypassing the extension's filter for 4 specific tags (with 4 different input types allowed) : extensions/applicationinsights-clickanalytics-js/src/handlers/AutoCaptureHandler.ts#L61
Also, the documentation doesn't explicitly call out the limitations to which types of clicks are to be recorded.

Describe the solution you'd like
Can these tags be made to be configurable? If not, add documentation indicating which HTML tags that are clicked that will get recorded.

Describe alternatives you've considered
The alternative I'm exploring is to create my own catch-all event handler with my own filter, but I'm not going to implement all of the features the ClickAnalyticsPlugin extension provides. It just seems like this could have been part of the config.

Additional context
N/a

@cherullo
Copy link

This would be very helpful indeed.
Duplicate of #2136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants