File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ registerCustomElement({
77 component : App ,
88} )
99
10- addCustomClickEventListener ( 'gtm.linkClick ' )
10+ addCustomClickEventListener ( 'DocNavLink ' )
Original file line number Diff line number Diff line change @@ -31,11 +31,8 @@ export const addCustomClickEventListener = (eventName: string) => {
3131 element : targetElement ,
3232 elementId : targetElement . id || '' ,
3333 elementClasses : targetElement . className || '' ,
34- elementUrl : targetElement . href || targetElement . action || '' ,
35- elementURL : targetElement . href || targetElement . action || '' ,
34+ docNavLinkUrl : targetElement . href || targetElement . action || '' ,
3635 elementTarget : targetElement . target || '' ,
37- clickUrl : targetElement . href || targetElement . action || '' ,
38- clickURL : targetElement . href || targetElement . action || '' ,
3936 elementText : targetElement . textContent || '' ,
4037 originalEvent : event ,
4138 inShadowDom : shadowFound ,
You can’t perform that action at this time.
0 commit comments