diff --git a/plugins/browser-plugin-button-click-tracking/src/api.ts b/plugins/browser-plugin-button-click-tracking/src/api.ts index b20954473..148ae6b0d 100644 --- a/plugins/browser-plugin-button-click-tracking/src/api.ts +++ b/plugins/browser-plugin-button-click-tracking/src/api.ts @@ -117,18 +117,12 @@ export function addListenersToButtonElements( context?: DynamicContext, document = window.document ) { - const addListener = (button: HTMLButtonElement | HTMLInputElement) => { - button.addEventListener('click', () => { - clickHandler(trackerId, button, context); - }); - }; - - // Add listeners to + + +