diff --git a/workspaces/website/src/pages/(components)/NavbarStickyBanner/NavbarStickyBanner.tsx b/workspaces/website/src/pages/(components)/NavbarStickyBanner/NavbarStickyBanner.tsx index 5667d144d4..38b8bf9281 100644 --- a/workspaces/website/src/pages/(components)/NavbarStickyBanner/NavbarStickyBanner.tsx +++ b/workspaces/website/src/pages/(components)/NavbarStickyBanner/NavbarStickyBanner.tsx @@ -28,13 +28,17 @@ const NavbarStickyBanner = ({ true ); - const onClose = () => { + const onReadMore = (event: React.MouseEvent) => { + event.stopPropagation(); + gtmEvent("Navbar_banner_read_more"); + }; + + const onClose = (event: React.MouseEvent) => { + event.stopPropagation(); gtmEvent("Navbar_banner_close"); setIsOpenStorage(false); }; - const onReadMore = () => gtmEvent("Navbar_banner_read_more"); - return (