File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,20 @@ export const addCustomClickEventListener = (eventName: string) => {
3434 'elementUrl' : targetElement . href || targetElement . action || '' ,
3535 'elementURL' : targetElement . href || targetElement . action || '' ,
3636 elementTarget : targetElement . target || '' ,
37+ clickUrl : targetElement . href || targetElement . action || '' ,
38+ clickURL : targetElement . href || targetElement . action || '' ,
3739 elementText : targetElement . textContent || '' ,
3840 originalEvent : event ,
3941 inShadowDom : shadowFound ,
4042 } ,
43+ custom_event : {
44+ clickUrl : targetElement . href || targetElement . action || '' ,
45+ clickURL : targetElement . href || targetElement . action || '' ,
46+ 'elementUrl' : targetElement . href || targetElement . action || '' ,
47+ 'elementURL' : targetElement . href || targetElement . action || '' ,
48+ elementTarget : targetElement . target || '' ,
49+ elementText : targetElement . textContent || '' ,
50+ }
4151 } )
4252 }
4353 }
You can’t perform that action at this time.
0 commit comments